static public bool F_Responder(DoomDef.event_t ev) { if (ev.type != DoomDef.evtype_t.ev_keydown) { return(false); } if (finalestage == 1 && g_game.gameepisode == 2) { // we're showing the water pic, make any key kick to demo mode finalestage++; /* * memset((byte *)0xa0000, 0, SCREENWIDTH*SCREENHEIGHT); * memset(screen, 0, SCREENWIDTH*SCREENHEIGHT); * I_SetPalette(W_CacheLumpName("PLAYPAL", PU_CACHE));*/ return(true); } return(false); }
//--------------------------------------------------------------------------- // // PROC D_PostEvent // // Called by the I/O functions when input is detected. // //--------------------------------------------------------------------------- static public void D_PostEvent(DoomDef.event_t ev) { events[eventhead] = ev; eventhead = (++eventhead) & (DoomDef.MAXEVENTS - 1); }