source: abuse/trunk/src/id.hpp @ 112

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