1 /*
2  *  This program is free software; you can redistribute it and/or modify
3  *  it under the terms of the GNU General Public License as published by
4  *  the Free Software Foundation; either version 2 of the License, or
5  *  (at your option) any later version.
6  *
7  *  This program is distributed in the hope that it will be useful,
8  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  *  GNU General Public License for more details.
11  *
12  *  You should have received a copy of the GNU General Public License
13  *  along with this program; if not, write to the Free Software
14  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15  */
16 
17 #ifndef UQM_GAMEEV_H_
18 #define UQM_GAMEEV_H_
19 
20 #include "libs/compiler.h"
21 #include "libs/gfxlib.h"
22 
23 #if defined(__cplusplus)
24 extern "C" {
25 #endif
26 
27 
28 enum
29 {
30 	ARILOU_ENTRANCE_EVENT = 0,
31 	ARILOU_EXIT_EVENT,
32 	HYPERSPACE_ENCOUNTER_EVENT,
33 	KOHR_AH_VICTORIOUS_EVENT,
34 	ADVANCE_PKUNK_MISSION,
35 	ADVANCE_THRADD_MISSION,
36 	ZOQFOT_DISTRESS_EVENT,
37 	ZOQFOT_DEATH_EVENT,
38 	SHOFIXTI_RETURN_EVENT,
39 	ADVANCE_UTWIG_SUPOX_MISSION,
40 	KOHR_AH_GENOCIDE_EVENT,
41 	SPATHI_SHIELD_EVENT,
42 	ADVANCE_ILWRATH_MISSION,
43 	ADVANCE_MYCON_MISSION,
44 	ARILOU_UMGAH_CHECK,
45 	YEHAT_REBEL_EVENT,
46 	SLYLANDRO_RAMP_UP,
47 	SLYLANDRO_RAMP_DOWN,
48 
49 	NUM_EVENTS
50 };
51 
52 typedef enum
53 {
54 	CLOSING = 0,
55 	OPENING
56 } ARILOU_GATE_STATE;
57 
58 extern void AddInitialGameEvents (void);
59 extern void EventHandler (BYTE selector);
60 extern void SetRaceDest (BYTE which_race, COORD x, COORD y, BYTE days_left,
61 		BYTE func_index);
62 
63 
64 #if defined(__cplusplus)
65 }
66 #endif
67 
68 #endif  /* UQM_GAMEEV_H_ */
69