示例#1
0
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();
}
示例#2
0
void exitGame(void) {
    Audio_DisableEngine();
    /* fprintf(stderr, "exit game\n"); */
}