dos33fsprogs/gr-sim/tfv/tfv_defines.h

113 lines
2.2 KiB
C
Raw Normal View History

/* 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
2018-06-21 03:50:17 +00:00
//#define C_MILTON 23
//#define HARFORD_MALL 24
//#define MINIGOLF 25
#define JOHN_CARROLL 23
2018-06-21 19:23:13 +00:00
#define JC_UPSTAIRS 24
#define JC_DOWNSTAIRS 25
#define JC_OFFICE 26
2018-06-21 03:50:17 +00:00
// UPSTAIRS
2018-06-21 19:23:13 +00:00
#define VIDEO_HOMEROOM 27
#define DEUTSCH 28
#define HOMEROOM 29
2018-06-21 03:50:17 +00:00
// DOWNSTAIRS
2018-06-21 19:23:13 +00:00
#define AP_CALCULUS 30
#define MATH_OFFICE 31
#define PATRIOT_ROOM 32
#define NOEXIT 255
2018-06-20 03:54:34 +00:00
#define LOCATION_PLACE 0
#define LOCATION_CONVERSATION 1
struct location_type {
char *name;
int x0,x1,y0,y1;
int enter_x,enter_y;
int type;
2018-06-18 21:02:13 +00:00
int destination;
};
2018-06-18 21:02:13 +00:00
#define LAND_BORING 0x00
2018-06-15 04:08:15 +00:00
#define LAND_MOUNTAIN 0x01
#define LAND_GRASSLAND 0x02
#define LAND_FOREST 0x04
#define LAND_LEFT_BEACH 0x08
#define LAND_RIGHT_BEACH 0x10
#define LAND_NORTHSHORE 0x20
#define LAND_SOUTHSHORE 0x40
#define LAND_LIGHTNING 0x80
2018-06-15 04:08:15 +00:00
#define SCATTER_NONE 0x00
#define SCATTER_SNOWYPINE 0x01
#define SCATTER_PINE 0x02
#define SCATTER_PALM 0x04
#define SCATTER_CACTUS 0x08
#define SCATTER_SPOOL 0x10
2018-06-15 04:08:15 +00:00
#define ENTRY_NORMAL 0x00
#define ENTRY_EXPLICIT 0x01
#define ENTRY_CENTER 0x02
#define ENTRY_R_OR_L 0x04
#define ENTRY_MINX 0x08
#define ENTRY_MAXX 0x10
#define ENTRY_MINY 0x20
#define ENTRY_MAXY 0x40
struct map_info_type {
char *name;
2018-06-15 04:08:15 +00:00
int land_type;
int num_locations;
2018-06-21 19:23:13 +00:00
struct location_type location[5];
int ground_color;
int n_exit,s_exit,e_exit,w_exit;
int miny;
int scatter;
int scatter_x,scatter_y,scatter_cutoff;
int entry_type,entry_x,entry_y;
2018-06-15 04:08:15 +00:00
unsigned char *background_image;
};
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];