// // IN_Ticker // // Runs intermission timer, starts music, checks for acceleration // when user presses a key, and runs the level if an intermission // camera is active. Gamemode-specific ticker is called. // void IN_Ticker(void) { // counter for general background animation intertime++; // intermission music if(intertime == 1) S_ChangeMusicNum(GameModeInfo->interMusNum, true); IN_checkForAccelerate(); InterFuncs->Ticker(); // keep the level running when using an intermission camera if(realbackdrop) P_Ticker(); }
static void cheat_mus(const void *arg) { const char *buf = (const char *)arg; //jff 3/20/98 note: this cheat allowed in netgame/demorecord //jff 3/17/98 avoid musnum being negative and crashing if(!ectype::isDigit(buf[0]) || !ectype::isDigit(buf[1])) return; int musnum = GameModeInfo->MusicCheat(buf); if(musnum < 0) doom_printf("%s", DEH_String("STSTR_NOMUS")); // Ty 03/27/98 - externalized else { doom_printf("%s", DEH_String("STSTR_MUS")); // Ty 03/27/98 - externalized S_ChangeMusicNum(musnum, 1); idmusnum = musnum; // jff 3/17/98: remember idmus number for restore } }