Esempio n. 1
0
static void mouse_cb (int button, int state, int x, int y) {
    QuitGameOver ();
}
void CGameOver::Mouse (int button, int state, int x, int y) {
	QuitGameOver ();
}
Esempio n. 3
0
void GameOverKeys (unsigned int key, bool special, bool release, int x, int y) {
    if (release) return;
    if (key == 13 || key == 27) QuitGameOver ();
}
void CGameOver::Keyb (unsigned int key, bool special, bool release, int x, int y) {
	if (release) return;
	if (key == 13 || key == SDLK_ESCAPE) QuitGameOver ();
}