5 * Regular non-animated tiles.
\r
10 #define OBJ_ROCK2 57
\r
11 #define OBJ_ROCK3 58
\r
12 #define OBJ_FIRST_GEM 23
\r
13 #define OBJ_TOTAL_GEM 4
\r
14 #define OBJ_BUSHES 27
\r
18 * Animation designations. Edit actual tile numbers in anim.c.
\r
21 #define ANIM_LIST_TOTAL 5 /* INCREASE WHEN ADDING struct ANIMATIONs */
\r
22 #define ANM_START 500
\r
24 #define ANM_FIRE 500
\r
25 #define ANM_WATER1 501
\r
26 #define ANM_WATER2 502
\r
27 #define ANM_URANIUM 503
\r
28 #define ANM_FROG 504
\r
32 * Frog with sneakers
\r
35 #define FROG_FACE_RIGHT 80
\r
36 #define FROG_WALK_RIGHT 81
\r
37 #define FROG_FACE_DOWN 85
\r
38 #define FROG_WALK_DOWN 86
\r
39 #define FROG_FACE_LEFT 90
\r
40 #define FROG_WALK_LEFT 91
\r
41 #define FROG_FACE_UP 95
\r
42 #define FROG_WALK_UP 96
\r
43 #define FROG_NUM_WALKS 4
\r
47 * Dirt-into-grass edges.
\r
50 #define DIRTEDGE_U 40
\r
51 #define DIRTEDGE_R 41
\r
52 #define DIRTEDGE_D 42
\r
53 #define DIRTEDGE_L 43
\r
54 #define DIRTEDGE_UR 44
\r
55 #define DIRTEDGE_UD 45
\r
56 #define DIRTEDGE_UL 46
\r
57 #define DIRTEDGE_RD 47
\r
58 #define DIRTEDGE_RL 48
\r
59 #define DIRTEDGE_DL 49
\r
60 #define DIRTEDGE_URD 50
\r
61 #define DIRTEDGE_URL 51
\r
62 #define DIRTEDGE_RDL 52
\r
63 #define DIRTEDGE_URDL 53
\r
64 #define DIRTEDGE_UDL 54
\r
71 #define ROAD_V 0 /* ³ */
\r
72 #define ROAD_H 1 /* Ä */
\r
73 #define ROAD_UR 2 /* Ú */
\r
74 #define ROAD_UL 3 /* ¿ */
\r
75 #define ROAD_DR 4 /* À */
\r
76 #define ROAD_DL 5 /* Ù */
\r
77 #define ROAD_X 6 /* Å */
\r
78 #define ROAD_TL 7 /* ´ */
\r
79 #define ROAD_TR 8 /* Ã */
\r
80 #define ROAD_TU 9 /* Á */
\r
81 #define ROAD_TD 10 /* Â */
\r
84 #define FIRST_ROAD_TILE 0
\r
85 #define NUM_ROAD_TILES 11
\r
86 #define LAST_ROAD_TILE 10
\r
90 * More tile definitions, mainly for grouping tiles together.
\r
93 #define NUM_GRASS_TILES 7 /* NUMBER OF "GRASS" TILES */
\r
94 #define FIRST_GRASS_TILE 11 /* INDEX OF FIRST GRASS TILE */
\r
96 #define NUM_DIRT_TILES 2
\r
97 #define FIRST_DIRT_TILE 18
\r
99 #define NUM_LAND_TILES 9 /* INCLUDES GRASS AND DIRT */
\r
100 #define FIRST_LAND_TILE 11
\r
102 #define CHANCE_LAND_GROUPING 75 /* PERCENT CHANCE GROUPING WILL OCCUR */
\r
104 #define MIN_TERRAIN (WORLD_TILES_TOTAL/100)
\r
105 #define MAX_TERRAIN (WORLD_TILES_TOTAL/2)
\r
109 * General animation defines -- others are at top of this file.
\r
112 #define ANM_END (ANM_START+ANIM_LIST_TOTAL)
\r
113 #define is_anim(x) ((x)>=ANM_START && (x)<ANM_END)
\r
117 * Macros for testing a tile index' contents.
\r
120 #define isdirt(d) ((d)>=FIRST_DIRT_TILE && (d)<FIRST_DIRT_TILE+NUM_DIRT_TILES)
\r
121 #define isgrass(g) ((g)>=FIRST_GRASS_TILE && (g)<FIRST_GRASS_TILE+NUM_GRASS_TILES)
\r
122 #define island(l) (isdirt(l) || island(l))
\r