void initPause(void) { nebu_Input_HidePointer(); nebu_Input_Mouse_WarpToOrigin(); /* disable game sound effects */ Audio_DisableEngine(); /* * TODO: Provide an option to disable game music here. * Game should be totally silent in pause mode. (Nice when * the boss is walking by, phone call, etc...) */ updateSettingsCache(); }
void exitGame(void) { Audio_DisableEngine(); /* fprintf(stderr, "exit game\n"); */ }