author | dominik |
Fri, 13 Aug 2004 18:27:33 +0000 | |
changeset 39 | d177340ed556 |
parent 37 | 61bf1df68d82 |
child 71 | 1b8e15a10515 |
permissions | -rw-r--r-- |
0 | 1 |
#ifndef TTD_H |
2 |
#define TTD_H |
|
3 |
||
4 |
// include strings |
|
5 |
#include "table/strings.h" |
|
6 |
||
7 |
#ifndef VARDEF |
|
8 |
#define VARDEF extern |
|
9 |
#endif |
|
10 |
||
11 |
// use this on non static functions |
|
12 |
#define PUBLIC |
|
13 |
||
14 |
typedef struct Rect { |
|
15 |
int left,top,right,bottom; |
|
16 |
} Rect; |
|
17 |
||
18 |
typedef struct SmallPoint { |
|
19 |
int16 x,y; |
|
20 |
} SmallPoint; |
|
21 |
||
22 |
typedef struct Point { |
|
23 |
int x,y; |
|
24 |
} Point; |
|
25 |
||
26 |
typedef struct Pair { |
|
27 |
int a; |
|
28 |
int b; |
|
29 |
} Pair; |
|
30 |
||
31 |
typedef struct YearMonthDay { |
|
32 |
int year, month, day; |
|
33 |
} YearMonthDay; |
|
34 |
||
35 |
#include "macros.h" |
|
36 |
||
37 |
// Forward declarations of structs. |
|
38 |
typedef struct Vehicle Vehicle; |
|
39 |
typedef struct Depot Depot; |
|
40 |
typedef struct Checkpoint Checkpoint; |
|
41 |
typedef struct Window Window; |
|
42 |
typedef struct Station Station; |
|
43 |
typedef struct ViewPort ViewPort; |
|
44 |
typedef struct Town Town; |
|
45 |
typedef struct NewsItem NewsItem; |
|
46 |
typedef struct Industry Industry; |
|
47 |
typedef struct DrawPixelInfo DrawPixelInfo; |
|
48 |
typedef uint16 VehicleID; |
|
49 |
typedef uint16 StringID; |
|
50 |
typedef uint16 SpriteID; |
|
51 |
typedef uint32 PalSpriteID; |
|
52 |
||
53 |
typedef uint32 WindowNumber; |
|
54 |
typedef byte WindowClass; |
|
55 |
||
56 |
||
57 |
enum GameModes { |
|
58 |
GM_MENU, |
|
59 |
GM_NORMAL, |
|
60 |
GM_EDITOR |
|
61 |
}; |
|
62 |
||
63 |
enum SwitchModes { |
|
64 |
SM_NONE = 0, |
|
65 |
SM_NEWGAME = 1, |
|
66 |
SM_EDITOR = 2, |
|
67 |
SM_LOAD = 3, |
|
68 |
SM_MENU = 4, |
|
69 |
SM_SAVE = 5, |
|
70 |
SM_GENRANDLAND = 6, |
|
71 |
SM_LOAD_SCENARIO = 9, |
|
72 |
||
73 |
}; |
|
74 |
||
75 |
enum MapTileTypes { |
|
76 |
MP_CLEAR, |
|
77 |
MP_RAILWAY, |
|
78 |
MP_STREET, |
|
79 |
MP_HOUSE, |
|
80 |
MP_TREES, |
|
81 |
MP_STATION, |
|
82 |
MP_WATER, |
|
83 |
MP_STRANGE, |
|
84 |
MP_INDUSTRY, |
|
85 |
MP_TUNNELBRIDGE, |
|
86 |
MP_UNMOVABLE |
|
87 |
}; |
|
88 |
||
89 |
typedef struct TileInfo { |
|
90 |
uint x; |
|
91 |
uint y; |
|
92 |
uint tileh; |
|
93 |
uint type; |
|
94 |
uint map5; |
|
95 |
uint tile; |
|
96 |
uint z; |
|
97 |
} TileInfo; |
|
98 |
||
99 |
enum { |
|
100 |
NG_EDGE = 1, |
|
101 |
}; |
|
102 |
||
103 |
/* Display Options */ |
|
104 |
enum { |
|
105 |
DO_SHOW_TOWN_NAMES = 1, |
|
106 |
DO_SHOW_STATION_NAMES = 2, |
|
107 |
DO_SHOW_SIGNS = 4, |
|
108 |
DO_FULL_ANIMATION = 8, |
|
109 |
DO_TRANS_BUILDINGS = 0x10, |
|
110 |
DO_FULL_DETAIL = 0x20, |
|
111 |
DO_CHECKPOINTS = 0x40, |
|
112 |
}; |
|
113 |
||
114 |
/* Landscape types */ |
|
115 |
enum { |
|
116 |
LT_NORMAL = 0, |
|
117 |
LT_HILLY = 1, |
|
118 |
LT_DESERT = 2, |
|
119 |
LT_CANDY = 3, |
|
120 |
||
121 |
NUM_LANDSCAPE = 4, |
|
122 |
}; |
|
123 |
||
124 |
enum { |
|
125 |
NUM_PRICES = 49, |
|
126 |
}; |
|
127 |
||
128 |
typedef struct Prices { |
|
129 |
int32 station_value; |
|
130 |
int32 build_rail; |
|
131 |
int32 build_road; |
|
132 |
int32 build_signals; |
|
133 |
int32 build_bridge; |
|
134 |
int32 build_train_depot; |
|
135 |
int32 build_road_depot; |
|
136 |
int32 build_ship_depot; |
|
137 |
int32 build_tunnel; |
|
138 |
int32 train_station_track; |
|
139 |
int32 train_station_length; |
|
140 |
int32 build_airport; |
|
141 |
int32 build_bus_station; |
|
142 |
int32 build_truck_station; |
|
143 |
int32 build_dock; |
|
144 |
int32 build_railvehicle; |
|
145 |
int32 build_railwagon; |
|
146 |
int32 aircraft_base; |
|
147 |
int32 roadveh_base; |
|
148 |
int32 ship_base; |
|
149 |
int32 build_trees; |
|
150 |
int32 terraform; |
|
151 |
int32 clear_1; |
|
152 |
int32 purchase_land; |
|
153 |
int32 clear_2; |
|
154 |
int32 clear_3; |
|
155 |
int32 remove_trees; |
|
156 |
int32 remove_rail; |
|
157 |
int32 remove_signals; |
|
158 |
int32 clear_bridge; |
|
159 |
int32 remove_train_depot; |
|
160 |
int32 remove_road_depot; |
|
161 |
int32 remove_ship_depot; |
|
162 |
int32 clear_tunnel; |
|
163 |
int32 clear_water; |
|
164 |
int32 remove_rail_station; |
|
165 |
int32 remove_airport; |
|
166 |
int32 remove_bus_station; |
|
167 |
int32 remove_truck_station; |
|
168 |
int32 remove_dock; |
|
169 |
int32 remove_house; |
|
170 |
int32 remove_road; |
|
171 |
int32 running_rail[3]; |
|
172 |
int32 aircraft_running; |
|
173 |
int32 roadveh_running; |
|
174 |
int32 ship_running; |
|
175 |
int32 build_industry; |
|
176 |
} Prices; |
|
177 |
||
178 |
#define GAME_DIFFICULTY_NUM 18 |
|
179 |
||
180 |
typedef struct GameDifficulty { |
|
181 |
int max_no_competitors; |
|
182 |
int competitor_start_time; |
|
183 |
int number_towns; |
|
184 |
int number_industries; |
|
185 |
int max_loan; |
|
186 |
int initial_interest; |
|
187 |
int vehicle_costs; |
|
188 |
int competitor_speed; |
|
189 |
int competitor_intelligence; |
|
190 |
int vehicle_breakdowns; |
|
191 |
int subsidy_multiplier; |
|
192 |
int construction_cost; |
|
193 |
int terrain_type; |
|
194 |
int quantity_sea_lakes; |
|
195 |
int economy; |
|
196 |
int line_reverse_mode; |
|
197 |
int disasters; |
|
198 |
int town_council_tolerance; // minimum required town ratings to be allowed to demolish stuff |
|
199 |
} GameDifficulty; |
|
200 |
||
201 |
typedef struct AcceptedCargo { |
|
202 |
int type_1, amount_1; |
|
203 |
int type_2, amount_2; |
|
204 |
int type_3, amount_3; |
|
205 |
} AcceptedCargo; |
|
206 |
||
207 |
typedef struct TileDesc { |
|
208 |
StringID str; |
|
209 |
byte owner; |
|
210 |
uint32 dparam[2]; |
|
211 |
} TileDesc; |
|
212 |
||
213 |
typedef struct { |
|
214 |
int16 left, top; |
|
215 |
byte width_1, width_2; |
|
216 |
} ViewportSign; |
|
217 |
||
218 |
typedef struct SignStruct { |
|
219 |
StringID str; |
|
220 |
ViewportSign sign; |
|
221 |
int16 x,y; |
|
222 |
byte z; |
|
223 |
} SignStruct; |
|
224 |
||
225 |
||
226 |
typedef int32 CommandProc(int x, int y, uint32 flags, uint32 p1, uint32 p2); |
|
227 |
||
228 |
typedef void DrawTileProc(TileInfo *ti); |
|
229 |
typedef uint GetSlopeZProc(TileInfo *ti); |
|
230 |
typedef int32 ClearTileProc(uint tile, byte flags); |
|
231 |
typedef void GetAcceptedCargoProc(uint tile, AcceptedCargo *res); |
|
232 |
typedef void GetTileDescProc(uint tile, TileDesc *td); |
|
233 |
typedef uint32 GetTileTrackStatusProc(uint tile, int mode); |
|
234 |
typedef void GetProducedCargoProc(uint tile, byte *b); |
|
235 |
typedef void ClickTileProc(uint tile); |
|
236 |
typedef void AnimateTileProc(uint tile); |
|
237 |
typedef void TileLoopProc(uint tile); |
|
238 |
typedef void ChangeTileOwnerProc(uint tile, byte old_player, byte new_player); |
|
22 | 239 |
/* Return value has bit 0x2 set, when the vehicle enters a station. Then, |
240 |
* result << 8 contains the id of the station entered. If the return value has |
|
241 |
* bit 0x8 set, the vehicle could not and did not enter the tile. Are there |
|
242 |
* other bits that can be set? */ |
|
0 | 243 |
typedef uint32 VehicleEnterTileProc(Vehicle *v, uint tile, int x, int y); |
244 |
typedef void VehicleLeaveTileProc(Vehicle *v, uint tile, int x, int y); |
|
39 | 245 |
typedef uint GetSlopeTilehProc(TileInfo *ti); |
0 | 246 |
|
247 |
typedef struct { |
|
248 |
DrawTileProc *draw_tile_proc; |
|
249 |
GetSlopeZProc *get_slope_z_proc; |
|
250 |
ClearTileProc *clear_tile_proc; |
|
251 |
GetAcceptedCargoProc *get_accepted_cargo_proc; |
|
252 |
GetTileDescProc *get_tile_desc_proc; |
|
253 |
GetTileTrackStatusProc *get_tile_track_status_proc; |
|
254 |
ClickTileProc *click_tile_proc; |
|
255 |
AnimateTileProc *animate_tile_proc; |
|
256 |
TileLoopProc *tile_loop_proc; |
|
257 |
ChangeTileOwnerProc *change_tile_owner_proc; |
|
258 |
GetProducedCargoProc *get_produced_cargo_proc; |
|
259 |
VehicleEnterTileProc *vehicle_enter_tile_proc; |
|
260 |
VehicleLeaveTileProc *vehicle_leave_tile_proc; |
|
39 | 261 |
GetSlopeTilehProc *get_slope_tileh_proc; |
0 | 262 |
} TileTypeProcs; |
263 |
||
264 |
||
265 |
||
266 |
#define MP_SETTYPE(x) ((x+1) << 8) |
|
267 |
||
268 |
enum { |
|
269 |
MP_MAP2 = 1<<0, |
|
270 |
MP_MAP3LO = 1<<1, |
|
271 |
MP_MAP3HI = 1<<2, |
|
272 |
MP_MAP5 = 1<<3, |
|
273 |
MP_MAPOWNER_CURRENT = 1<<4, |
|
274 |
MP_MAPOWNER = 1<<5, |
|
275 |
||
276 |
MP_TYPE_MASK = 0xF << 8, |
|
277 |
||
278 |
MP_MAP2_CLEAR = 1 << 12, |
|
279 |
MP_MAP3LO_CLEAR = 1 << 13, |
|
280 |
MP_MAP3HI_CLEAR = 1 << 14, |
|
281 |
||
282 |
MP_NODIRTY = 1<<15, |
|
283 |
}; |
|
284 |
||
285 |
enum { |
|
286 |
// Temperate |
|
287 |
CT_PASSENGERS = 0, |
|
288 |
CT_COAL = 1, |
|
289 |
CT_MAIL = 2, |
|
290 |
CT_OIL = 3, |
|
291 |
CT_LIVESTOCK = 4, |
|
292 |
CT_GOODS = 5, |
|
293 |
CT_GRAIN = 6, |
|
294 |
CT_WOOD = 7, |
|
295 |
CT_IRON_ORE = 8, |
|
296 |
CT_STEEL = 9, |
|
297 |
CT_VALUABLES = 10, |
|
298 |
CT_FOOD = 11, |
|
299 |
||
300 |
// Arctic |
|
301 |
CT_HILLY_UNUSED = 8, |
|
302 |
CT_PAPER = 9, |
|
303 |
||
304 |
// Tropic |
|
305 |
CT_RUBBER = 1, |
|
306 |
CT_FRUIT = 4, |
|
307 |
CT_COPPER_ORE = 8, |
|
308 |
CT_WATER = 9, |
|
309 |
||
310 |
// Toyland |
|
311 |
CT_SUGAR = 1, |
|
312 |
CT_TOYS = 3, |
|
313 |
CT_BATTERIES = 4, |
|
314 |
CT_CANDY = 5, |
|
315 |
CT_TOFFEE = 6, |
|
316 |
CT_COLA = 7, |
|
317 |
CT_COTTON_CANDY = 8, |
|
318 |
CT_BUBBLES = 9, |
|
319 |
CT_PLASTIC = 10, |
|
320 |
CT_FIZZY_DRINKS = 11, |
|
321 |
||
322 |
NUM_CARGO = 12, |
|
323 |
}; |
|
324 |
||
325 |
enum { |
|
326 |
WC_MAIN_WINDOW = 0x0, |
|
327 |
WC_MAIN_TOOLBAR = 0x1, |
|
328 |
WC_STATUS_BAR = 0x2, |
|
329 |
WC_BUILD_TOOLBAR = 0x3, |
|
330 |
WC_NEWS_WINDOW = 0x4, |
|
331 |
WC_TOWN_DIRECTORY = 0x5, |
|
332 |
WC_STATION_LIST = 0x6, |
|
333 |
WC_TOWN_VIEW = 0x7, |
|
334 |
WC_SMALLMAP = 0x8, |
|
335 |
WC_TRAINS_LIST = 0x9, |
|
336 |
WC_ROADVEH_LIST = 0xA, |
|
337 |
WC_SHIPS_LIST = 0xB, |
|
338 |
WC_AIRCRAFT_LIST = 0xC, |
|
339 |
WC_VEHICLE_VIEW = 0xD, |
|
340 |
WC_VEHICLE_DETAILS = 0xE, |
|
341 |
WC_VEHICLE_REFIT = 0xF, |
|
342 |
WC_VEHICLE_ORDERS = 0x10, |
|
343 |
WC_STATION_VIEW = 0x11, |
|
344 |
WC_VEHICLE_DEPOT = 0x12, |
|
345 |
WC_BUILD_VEHICLE = 0x13, |
|
346 |
WC_BUILD_BRIDGE = 0x14, |
|
347 |
WC_ERRMSG = 0x15, |
|
348 |
WC_ASK_ABANDON_GAME = 0x16, |
|
349 |
WC_QUIT_GAME = 0x17, |
|
350 |
WC_BUILD_STATION = 0x18, |
|
351 |
WC_BUS_STATION = 0x19, |
|
352 |
WC_TRUCK_STATION = 0x1A, |
|
353 |
WC_BUILD_DEPOT = 0x1B, |
|
354 |
WC_DEBUGGER = 0x1C, |
|
355 |
WC_COMPANY = 0x1D, |
|
356 |
WC_FINANCES = 0x1E, |
|
357 |
WC_PLAYER_COLOR = 0x1F, |
|
358 |
WC_QUERY_STRING = 0x20, |
|
359 |
WC_SAVELOAD = 0x21, |
|
360 |
WC_SELECT_GAME = 0x22, |
|
361 |
WC_TOOLBAR_MENU = 0x24, |
|
362 |
WC_INCOME_GRAPH = 0x25, |
|
363 |
WC_OPERATING_PROFIT = 0x26, |
|
364 |
WC_TOOLTIPS = 0x27, |
|
365 |
WC_INDUSTRY_VIEW = 0x28, |
|
366 |
WC_PLAYER_FACE = 0x29, |
|
367 |
WC_LAND_INFO = 0x2A, |
|
368 |
WC_TOWN_AUTHORITY = 0x2B, |
|
369 |
WC_SUBSIDIES_LIST = 0x2C, |
|
370 |
WC_GRAPH_LEGEND = 0x2D, |
|
371 |
WC_DELIVERED_CARGO = 0x2E, |
|
372 |
WC_PERFORMANCE_HISTORY = 0x2F, |
|
373 |
WC_COMPANY_VALUE = 0x30, |
|
374 |
WC_COMPANY_LEAGUE = 0x31, |
|
375 |
WC_BUY_COMPANY = 0x32, |
|
376 |
WC_PAYMENT_RATES = 0x33, |
|
377 |
WC_SELECT_TUTORIAL = 0x34, |
|
378 |
WC_ENGINE_PREVIEW = 0x35, |
|
379 |
WC_MUSIC_WINDOW = 0x36, |
|
380 |
WC_MUSIC_TRACK_SELECTION = 0x37, |
|
381 |
WC_SCEN_LAND_GEN = 0x38, |
|
382 |
WC_ASK_RESET_LANDSCAPE = 0x39, |
|
383 |
WC_SCEN_TOWN_GEN = 0x3A, |
|
384 |
WC_SCEN_INDUSTRY = 0x3B, |
|
385 |
WC_SCEN_BUILD_ROAD = 0x3C, |
|
386 |
WC_SCEN_BUILD_TREES = 0x3D, |
|
387 |
WC_SEND_NETWORK_MSG = 0x3E, |
|
388 |
WC_DROPDOWN_MENU = 0x3F, |
|
389 |
WC_BUILD_INDUSTRY = 0x40, |
|
390 |
WC_GAME_OPTIONS = 0x41, |
|
391 |
WC_NETWORK_WINDOW = 0x42, |
|
392 |
WC_INDUSTRY_DIRECTORY = 0x43, |
|
393 |
WC_MESSAGE_HISTORY = 0x44, |
|
394 |
WC_CHEATS = 0x45, |
|
395 |
}; |
|
396 |
||
397 |
||
398 |
enum { |
|
399 |
EXPENSES_CONSTRUCTION = 0, |
|
400 |
EXPENSES_NEW_VEHICLES = 1, |
|
401 |
EXPENSES_TRAIN_RUN = 2, |
|
402 |
EXPENSES_ROADVEH_RUN = 3, |
|
403 |
EXPENSES_AIRCRAFT_RUN = 4, |
|
404 |
EXPENSES_SHIP_RUN = 5, |
|
405 |
EXPENSES_PROPERTY = 6, |
|
406 |
EXPENSES_TRAIN_INC = 7, |
|
407 |
EXPENSES_ROADVEH_INC = 8, |
|
408 |
EXPENSES_AIRCRAFT_INC = 9, |
|
409 |
EXPENSES_SHIP_INC = 10, |
|
410 |
EXPENSES_LOAN_INT = 11, |
|
411 |
EXPENSES_OTHER = 12, |
|
412 |
}; |
|
413 |
||
414 |
// Tile type misc constants, don't know where to put these |
|
415 |
enum { |
|
416 |
TRACKTYPE_SPRITE_PITCH = 0x52, |
|
417 |
}; |
|
418 |
||
419 |
||
420 |
// special string constants |
|
421 |
enum SpecialStrings { |
|
422 |
||
423 |
// special strings for town names. the town name is generated dynamically on request. |
|
424 |
SPECSTR_TOWNNAME_START = 0x20C0, |
|
425 |
SPECSTR_TOWNNAME_ENGLISH = SPECSTR_TOWNNAME_START, |
|
426 |
SPECSTR_TOWNNAME_FRENCH, |
|
427 |
SPECSTR_TOWNNAME_GERMAN, |
|
428 |
SPECSTR_TOWNNAME_AMERICAN, |
|
429 |
SPECSTR_TOWNNAME_LATIN, |
|
430 |
SPECSTR_TOWNNAME_SILLY, |
|
431 |
SPECSTR_TOWNNAME_SWEDISH, |
|
432 |
SPECSTR_TOWNNAME_DUTCH, |
|
433 |
SPECSTR_TOWNNAME_FINNISH, |
|
434 |
SPECSTR_TOWNNAME_POLISH, |
|
435 |
SPECSTR_TOWNNAME_SLOVAKISH, |
|
436 |
SPECSTR_TOWNNAME_HUNGARIAN, |
|
437 |
SPECSTR_TOWNNAME_AUSTRIAN, |
|
438 |
SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_AUSTRIAN, |
|
439 |
||
440 |
// special strings for player names on the form "TownName transport". |
|
441 |
SPECSTR_PLAYERNAME_START = 0x70EA, |
|
442 |
SPECSTR_PLAYERNAME_ENGLISH = SPECSTR_PLAYERNAME_START, |
|
443 |
SPECSTR_PLAYERNAME_FRENCH, |
|
444 |
SPECSTR_PLAYERNAME_GERMAN, |
|
445 |
SPECSTR_PLAYERNAME_AMERICAN, |
|
446 |
SPECSTR_PLAYERNAME_LATIN, |
|
447 |
SPECSTR_PLAYERNAME_SILLY, |
|
448 |
SPECSTR_PLAYERNAME_LAST = SPECSTR_PLAYERNAME_SILLY, |
|
449 |
||
450 |
SPECSTR_ANDCO_NAME = 0x70E6, |
|
451 |
SPECSTR_PRESIDENT_NAME = 0x70E7, |
|
452 |
SPECSTR_SONGNAME = 0x70E8, |
|
453 |
||
454 |
// reserve 32 strings for the *.lng files |
|
455 |
SPECSTR_LANGUAGE_START = 0x7100, |
|
456 |
SPECSTR_LANGUAGE_END = 0x711f, |
|
457 |
||
458 |
// reserve 32 strings for various screen resolutions |
|
459 |
SPECSTR_RESOLUTION_START = 0x7120, |
|
460 |
SPECSTR_RESOLUTION_END = 0x713f, |
|
461 |
||
462 |
// reserve 32 strings for screenshot formats |
|
463 |
SPECSTR_SCREENSHOT_START = 0x7140, |
|
464 |
SPECSTR_SCREENSHOT_END = 0x715F, |
|
465 |
||
466 |
STR_SPEC_SCREENSHOT_NAME = 0xF800, |
|
467 |
STR_SPEC_USERSTRING = 0xF801, |
|
468 |
}; |
|
469 |
||
470 |
typedef void PlaceProc(uint tile); |
|
471 |
||
472 |
enum Sprites { |
|
37
61bf1df68d82
(svn r38) Preliminary slopes graphics fix. Neighboring tile check not done yet
dominik
parents:
22
diff
changeset
|
473 |
SPR_CANALS_BASE = 0x1406, |
61bf1df68d82
(svn r38) Preliminary slopes graphics fix. Neighboring tile check not done yet
dominik
parents:
22
diff
changeset
|
474 |
SPR_SLOPES_BASE = SPR_CANALS_BASE + 70, |
61bf1df68d82
(svn r38) Preliminary slopes graphics fix. Neighboring tile check not done yet
dominik
parents:
22
diff
changeset
|
475 |
SPR_OPENTTD_BASE = SPR_SLOPES_BASE + 74, |
0 | 476 |
}; |
477 |
||
478 |
enum MAP_OWNERS { |
|
1 | 479 |
OWNER_TOWN = 0xf, // a town owns the tile |
480 |
OWNER_NONE = 0x10,// nobody owns the tile |
|
481 |
OWNER_WATER = 0x11,// "water" owns the tile |
|
482 |
OWNER_SPECTATOR = 0xff, // spectator in MP or in scenario editor |
|
0 | 483 |
}; |
484 |
||
485 |
VARDEF bool _savegame_sort_dirty; |
|
486 |
VARDEF byte _savegame_sort_order; |
|
487 |
||
488 |
#define INVALID_UINT_TILE (uint)0xFFFFFFFF |
|
489 |
#define INVALID_STRING_ID 0xFFFF |
|
490 |
||
491 |
enum { |
|
492 |
MAX_SCREEN_WIDTH = 2048, |
|
493 |
MAX_SCREEN_HEIGHT = 1200, |
|
494 |
}; |
|
495 |
||
496 |
#include "functions.h" |
|
497 |
#include "variables.h" |
|
498 |
||
499 |
#endif /* TTD_H */ |