TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
exitmenu.h
Go to the documentation of this file.
1/***************************************************************************
2
3 file : exitmenu.h
4 created : Sat Mar 18 23:42:22 CET 2000
5 copyright : (C) 2000-2026 by Eric EspiƩ, Bernhard Wymann
6 email : berniw@bluewin.ch
7
8 ***************************************************************************/
9
10/***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
18
19
20#ifndef _EXITMENU_H_
21#define _EXITMENU_H_
22
23#if _WIN32
24#include <windows.h>
25#endif
26
27/* onQuit runs only after confirmation, while the race and GL context are alive. */
28extern void *TorcsExitMenuInit(void *menu, void (*onQuit)(void) = 0);
29extern void *TorcsMainExitMenuInit(void *mainMenu);
30
31#endif /* _EXITMENU_H_ */
32
33
34
void * TorcsExitMenuInit(void *menu, void(*onQuit)(void)=0)
Definition exitmenu.cpp:83
void * TorcsMainExitMenuInit(void *mainMenu)
Definition exitmenu.cpp:90
static void * mainMenu
Definition racestate.cpp:39