mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-07-25 10:29:00 +00:00
68 lines
1.3 KiB
C
68 lines
1.3 KiB
C
|
/* This is surprisngly similar to how I name cities in Civ4 */
|
||
|
|
||
|
#define NORTH_BEACH 0
|
||
|
#define ARCTIC_WOODS 1
|
||
|
#define ARCTIC_MOUNTAINS 2
|
||
|
#define HARFORD_COUNTY 3
|
||
|
#define PINE_BEACH 4
|
||
|
#define LANDING_SITE 5
|
||
|
#define NORTH_MOUNTAIN 6
|
||
|
#define NORTH_FOREST 7
|
||
|
#define PALM_BEACH 8
|
||
|
#define GRASSLAND 9
|
||
|
#define MORIA 10
|
||
|
#define SOUTH_FOREST 11
|
||
|
#define SOUTH_BEACH 12
|
||
|
#define CACTUS_RANCH 13
|
||
|
#define COLLEGE_PARK 14
|
||
|
#define OCEAN_CITY 15
|
||
|
|
||
|
#define U_OF_MD 16
|
||
|
#define WATERFALL 17
|
||
|
#define TALBOT_HALL 18
|
||
|
#define DINING_HALL 19
|
||
|
#define METRO_STATION 20
|
||
|
#define FOUNTAIN 21
|
||
|
|
||
|
#define BEL_AIR 22
|
||
|
#define C_MILTON 23
|
||
|
#define HARFORD_MALL 24
|
||
|
#define MINIGOLF 25
|
||
|
#define JOHN_CARROLL 26
|
||
|
|
||
|
#define VIDEO_HOMEROOM 27
|
||
|
#define AP_CALCULUS 28
|
||
|
#define DEUTSCH 29
|
||
|
#define HOMEROOM 30
|
||
|
#define MATH_OFFICE 31
|
||
|
#define PATRIOT_ROOM 32
|
||
|
#define MAIN_OFFICE 33
|
||
|
|
||
|
#define NOEXIT 255
|
||
|
|
||
|
struct location_type {
|
||
|
char *name;
|
||
|
int x0,x1,y0,y1;
|
||
|
int type;
|
||
|
};
|
||
|
|
||
|
struct map_info_type {
|
||
|
char *name;
|
||
|
int num_locations;
|
||
|
struct location_type locations[6];
|
||
|
int ground_color;
|
||
|
int n_exit,s_exit,e_exit,w_exit;
|
||
|
int miny;
|
||
|
};
|
||
|
|
||
|
extern struct map_info_type map_info[];
|
||
|
|
||
|
/* location */
|
||
|
extern unsigned char map_location;
|
||
|
extern char tfv_x,tfv_y;
|
||
|
extern unsigned char ground_color;
|
||
|
|
||
|
extern char nameo[9];
|
||
|
|
||
|
|