source: abuse/trunk/src/id.h @ 682

Last change on this file since 682 was 555, checked in by Sam Hocevar, 8 years ago

ps3: make everything compile on the PS3. Of course, nothing links yet
because so much support is missing.

  • Property svn:keywords set to Id
File size: 4.8 KB
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
9 */
10
11#ifndef __ID_HPP_
12#define __ID_HPP_
13
14enum dev_ids
15{
16        ID_NULL,
17
18     DEV_COMMAND=3050,
19
20    ID_LOAD_GAME_NUMBER=3000,
21    ID_LOAD_GAME_PREVIEW=3100,
22    ID_LOAD_PLAYER_GAME=3200,
23
24    DEV_COMMAND_OK,
25    DEV_EDIT_FG,
26    DEV_EDIT_BG,
27    DEV_EDIT_FGBG,
28    DEV_PLAY,
29    DEV_SAVE,
30    DEV_QUIT,
31    DEV_CREATE,
32        DEV_OEDIT_OK,
33    DEV_OEDIT_DELETE,
34    DEV_OEDIT_MOVE,
35    DEV_OEDIT_FRONT,
36    DEV_OEDIT_BACK,
37    DEV_OEDIT_TYPE,
38    DEV_OEDIT_LEFT,
39    DEV_OEDIT_RIGHT,
40    DEV_OEDIT_CHAR_BOX,
41    DEV_OEDIT_COPY,
42    DEV_OEDIT_STATE,
43
44    DEV_LEDIT_OK,
45    DEV_LEDIT_COPY,
46    DEV_LEDIT_DEL,
47    DEV_LEDIT_MOVE,
48    DEV_LEDIT_W,
49    DEV_LEDIT_H,
50    DEV_LEDIT_R1,
51    DEV_LEDIT_R2,
52
53
54    DEV_MUSIC_PICKLIST,
55    DEV_PALETTE,
56    DEV_LIGHT_BUTTON_BOX,
57    DEV_LIGHT0,
58    DEV_LIGHT1,
59    DEV_LIGHT2,
60    DEV_LIGHT3,
61    DEV_LIGHT4,
62    DEV_LIGHT5,
63    DEV_LIGHT6,
64    DEV_LIGHT7,
65    DEV_LIGHT8,
66    DEV_LIGHT9,
67    DEV_AMBIENT,
68    DEV_LIGHTW,
69    DEV_LIGHTH,
70    DEV_LIGHTR1,
71    DEV_LIGHTR2,
72    DEV_LIGHT_ADD,
73    DEV_BG_PICKER,
74    DEV_FG_PICKER,
75    DEV_CHAR_PICKER,
76    DEV_OBJECTS_DELETE,
77    DEV_LIGHTS_DELETE,
78    DEV_OEDIT_AI,
79    DEV_AI_OK,
80    DEV_AI_XVEL,
81    DEV_AI_YVEL,
82    DEV_AI_XACEL,
83    DEV_AI_YACEL,
84    DEV_AI_STTIME,
85    DEV_AI_GRAVITY,
86    DEV_AI_HEALTH,
87    DEV_AI_MORPHPR,
88    DEV_AI_TYPE,
89    DEV_AI_STATE,
90    DEV_AI_FADE,
91
92
93    DO_VOLUME,
94    RAISE_SFX,
95    LOWER_SFX,
96    RAISE_MUSIC,
97    LOWER_MUSIC,
98    TOP_MENU,
99        CALB_JOY,
100    ID_KEY_SETUP,
101    ID_MOUSE_SETUP,
102    JOY_OK,
103    ORDER_INFO,
104    DEV_NULL,
105    PICK_MUSIC,
106    TOGGLE_FORETILES,
107    TOGGLE_BACKTILES,
108    TOGGLE_PALETTES,
109    SHOW_FOREGROUND,
110    SHOW_FOREGROUND_BOUND,
111    SHOW_BACKGROUND,
112    SHOW_CHARACTERS,
113    SHOW_LIGHT,
114
115    SENSOR_XRANGE,
116    SENSOR_YRANGE,
117    SENSOR_SIGNAL,
118    SENSOR_ACTIVATE,
119
120    ELCONTROL_ALLOW_DIR,
121    ELEVATOR_SPEED,
122    ELEVATOR_DIR,
123    ELEVATOR_DIRECTION,
124    CHAR_SELECT,
125
126    ID_MODEM,
127    ID_TCPIP,
128    ID_IPX,
129    ID_SPLIT_SCREEN,
130
131    ID_VOLUME,
132    ID_SFX_UP,
133    ID_SFX_DOWN,
134    ID_MUSIC_UP,
135    ID_MUSIC_DOWN,
136    ID_SFX_OFF,
137    ID_MUSIC_OFF,
138    ID_SFX_CHANNELS,
139
140    ID_LIGHT_DETAIL,
141    ID_SCREEN_SIZE,
142
143    ID_NEW_GAME,
144    ID_DIFFICULTY,
145    ID_LOAD_GAME,
146    ID_QUIT,
147    ID_QUIT_OK,
148    ID_RETURN,
149    ID_SHOW_SELL,
150    ID_NETWORKING,
151
152    ID_MESS_STR1,
153    ID_MESS_STR2,
154    ID_MESS_STR3,
155    ID_MESS_STR4,
156    ID_LEVEL_LOAD,
157    ID_LEVEL_LOAD_OK,
158    ID_LEVEL_SAVE,
159    ID_LEVEL_SAVEAS,
160    ID_LEVEL_SAVEAS_OK,
161    ID_GAME_SAVE,
162    ID_GAME_LOAD,
163    ID_LEVEL_RESIZE,
164    ID_LEVEL_RESIZE_OK,
165    ID_LEVEL_NEW,
166    ID_LEVEL_NEW_OK,
167
168
169    ID_CACHE_PROFILE,
170    ID_CACHE_PROFILE_END,
171    ID_EDIT_SAVE,
172
173    ID_SUSPEND,
174    ID_PLAY_MODE,
175    ID_SET_SCROLL,
176    ID_SET_SCROLL_OK,
177    ID_CENTER_PLAYER,
178    ID_ADD_PALETTE,
179    ID_ADD_PALETTE_OK,
180    ID_TOGGLE_DELAY,
181    ID_SMALL_MODE,
182    ID_GOD_MODE,
183    ID_CLEAR_WEAPONS,
184    ID_TOGGLE_LIGHT,
185    ID_TOGGLE_MAP,
186    ID_PROFILE,
187
188    ID_MOUSE_SCROLL,
189    ID_LOCK_PALETTES,
190    ID_SEARCH,
191    ID_SEARCH_FOREWARD,
192    ID_SEARCH_BACKWARD,
193    ID_SEARCH_TEXT,
194    ID_TOGGLE_NAMES,
195    ID_WARN_CANCEL,
196    ID_SET_SCROLL_CHECK,
197
198    ID_WIN_FORE,
199    ID_WIN_BACK,
200    ID_WIN_LAYERS,
201    ID_WIN_LIGHTING,
202    ID_WIN_PALETTES,
203    ID_WIN_OBJECTS,
204    ID_WIN_CONSOLE,
205    ID_WIN_TOOLBAR,
206    ID_SAVE_WINDOWS,
207    ID_CANCEL,
208    ID_SETUP_OK,
209    ID_SETUP_DETECT,
210
211    ID_INTERPOLATE_DRAW,
212    ID_DISABLE_AUTOLIGHT,
213
214    ID_DMODE_DRAW,
215    ID_DMODE_PICK,
216    ID_DMODE_FILL,
217    ID_DMODE_LINE,
218    ID_DMODE_RECT,
219    ID_DMODE_BAR,
220    ID_DMODE_AREA,
221    DEV_AREA_OK,
222    DEV_AREA_DELETE,
223    DEV_AREA_AMBIENT,
224    DEV_AREA_AMBIENT_SPEED,
225    DEV_AREA_VIEW_XOFF,
226    DEV_AREA_VIEW_YOFF,
227    DEV_AREA_VIEW_XOFF_SPEED,
228    DEV_AREA_VIEW_YOFF_SPEED,
229
230    ID_START_GAME,
231    ID_EASY,
232    ID_MEDIUM,
233    ID_HARD,
234    ID_EXTREME,
235    ID_LIGHT_ON,
236    ID_LIGHT_OFF,
237    ID_SHOW_FPS,
238    ID_RAISE_ALL,
239    SHOW_LINKS,
240
241    ID_RED_PICKER,
242    ID_GREEN_PICKER,
243    ID_BLUE_PICKER,
244    ID_GAMMA_OK,
245    ID_ENLARGE_RENDER,
246    ID_NET_DISCONNECT,
247
248    ID_DISABLE_VIEW_SHIFT,
249    ID_RECORD_DEMO,
250    ID_RECORD_DEMO_OK,
251    ID_RECORD_DEMO_FILENAME,
252
253    ID_PLAY_DEMO,
254    ID_PLAY_DEMO_OK,
255    ID_PLAY_DEMO_FILENAME
256
257
258};
259
260
261#define EDIT_MODE               1
262#define DRAW_FG_LAYER           2
263#define DRAW_BG_LAYER           4
264#define DRAW_PEOPLE_LAYER       8
265#define DRAW_HELP_LAYER        16
266#define PERFORMANCE_TEST_MODE  32
267#define DRAW_LIGHTS            64
268#define DRAW_FG_BOUND_LAYER   128
269#define SUSPEND_MODE          256
270#define MAP_MODE              512
271#define DRAW_LINKS           1024
272
273#endif
274
275
Note: See TracBrowser for help on using the repository browser.