void WI_drawShowNextLoc (void) { int i; // draw animated background WI_drawAnimatedBack (); if (gamemode != commercial && gamemode != commercial_bfg ) { if (wbs->epsd > 2) { WI_drawEL(); return; } // draw a splat on taken cities. for (i=0; i < NUMMAPS; i++) { if (FindLevelInfo (names[wbs->epsd][i])->flags & LEVEL_VISITED) WI_drawOnLnode(i, &splat, 1); } // draw flashing ptr if (snl_pointeron) WI_drawOnLnode(WI_MapToIndex (wbs->next), yah, 2); } // draws which level you are entering.. WI_drawEL(); }
void WI_drawShowNextLoc () { int i; // draw animated background WI_drawAnimatedBack (); if (gamemode != commercial) { if (!(gameinfo.gametype & (GAME_Doom|GAME_Heretic)) || epsd > 2) { WI_drawEL(); return; } // draw a splat on taken cities. for (i = 0; i < NUMMAPS; i++) { if (FindLevelInfo (names[epsd][i])->flags & LEVEL_VISITED) WI_drawOnLnode (i, &splat, epsd); } // draw flashing ptr if (snl_pointeron) WI_drawOnLnode (WI_MapToIndex (wbs->next, wbs->next_ep), yah, wbs->next_ep); } // draws which level you are entering.. WI_drawEL(); }
void WI_drawShowNextLoc(void) { int i; int last; extern boolean secretexit; // [crispy] Master Level support WI_slamBackground(); // draw animated background WI_drawAnimatedBack(); if ( gamemode != commercial) { if (wbs->epsd > 2) { WI_drawEL(); return; } last = (wbs->last == 8 || wbs->last == 9) ? wbs->next - 1 : wbs->last; // [crispy] support E1M10 "Sewers" // draw a splat on taken cities. for (i=0 ; i<=last ; i++) WI_drawOnLnode(i, splat); // splat the secret level? if (wbs->didsecret) WI_drawOnLnode(8, splat); // [crispy] the splat for E1M10 "Sewers" is drawn only once, // i.e. now, when returning from the level // (and this is not going to change) if (crispy_havee1m10 && wbs->epsd == 0 && wbs->last == 9) WI_drawOnLnode(9, splat); // draw flashing ptr if (snl_pointeron) WI_drawOnLnode(wbs->next, yah); } if (singleplayer && ( (gamemission == pack_nerve && wbs->last == 7) || (gamemission == pack_master && wbs->last == 19 && !secretexit) || (gamemission == pack_master && wbs->last == 20))) return; // draws which level you are entering.. if ( (gamemode != commercial) || wbs->next != 30) WI_drawEL(); }
void WI_drawShowNextLoc(void) { int i; int last; WI_slamBackground(); // draw animated background WI_drawAnimatedBack(); if ( ::g->gamemode != commercial) { if (::g->wbs->epsd > 2) { WI_drawEL(); return; } last = (::g->wbs->last == 8) ? ::g->wbs->next - 1 : ::g->wbs->last; // don't draw any splats for extra secret levels if( last == 9 ) { for (i=0 ; i<MAXPLAYERS ; i++) { ::g->players[i].didsecret = false; } ::g->wbs->didsecret = false; last = -1; } // draw a splat on taken cities. for (i=0 ; i<=last ; i++) WI_drawOnLnode(i, &::g->splat); // splat the secret level? if (::g->wbs->didsecret) WI_drawOnLnode(8, &::g->splat); // draw flashing ptr if (::g->snl_pointeron) WI_drawOnLnode(::g->wbs->next, ::g->yah); } // draws which level you are entering.. if ( (::g->gamemode != commercial) || ::g->wbs->next != 30) WI_drawEL(); }
void WI_drawShowNextLoc(void) { int i; int last; WI_slamBackground(); // draw animated background WI_drawAnimatedBack(); if ( gamemode != commercial) { if (wbs->epsd > 2) { WI_drawEL(); return; } last = (wbs->last == 8) ? wbs->next - 1 : wbs->last; // draw a splat on taken cities. for (i=0 ; i<=last ; i++) WI_drawOnLnode(i, &splat); // splat the secret level? if (wbs->didsecret) WI_drawOnLnode(8, &splat); // draw flashing ptr if (snl_pointeron) WI_drawOnLnode(wbs->next, yah); } // draws which level you are entering.. if ( (gamemode != commercial) || wbs->next != 30) WI_drawEL(); }
static void WI_drawShowNextLoc(void) { int i; int last; WI_slamBackground(); WI_drawAnimatedBack(); if (gamemode != commercial) { if (wbs->epsd > 2) { WI_drawEL(); return; } last = (wbs->last == 8) ? wbs->next - 1 : wbs->last; for (i = 0; i <= last; i++) WI_drawOnLnode(i, &splat); if (wbs->didsecret) WI_drawOnLnode(8, &splat); if (snl_pointeron) WI_drawOnLnode(wbs->next, yah); } if ((gamemode != commercial) || wbs->next != 30) WI_drawEL(); }