… | |
… | |
35 | |
35 | |
36 | int |
36 | int |
37 | main (int argc, char *argv[]) |
37 | main (int argc, char *argv[]) |
38 | { |
38 | { |
39 | char InFileName[1024], OutFileName[1024]; |
39 | char InFileName[1024], OutFileName[1024]; |
40 | mapstruct *newMap; |
40 | maptile *newMap; |
41 | RMParms rp; |
41 | RMParms rp; |
42 | FILE *fp; |
42 | FILE *fp; |
43 | |
43 | |
44 | if (argc < 3) |
44 | if (argc < 3) |
45 | { |
45 | { |
… | |
… | |
71 | new_save_map (newMap, 1); |
71 | new_save_map (newMap, 1); |
72 | exit (0); |
72 | exit (0); |
73 | } |
73 | } |
74 | |
74 | |
75 | void |
75 | void |
76 | set_map_timeout (mapstruct *) |
76 | set_map_timeout (maptile *) |
77 | { |
77 | { |
78 | } /* doesn't need to do anything */ |
78 | } /* doesn't need to do anything */ |
79 | |
79 | |
80 | #include <global.h> |
80 | #include <global.h> |
81 | |
81 | |
… | |
… | |
132 | * certain objects (most initialization of chests and creation of |
132 | * certain objects (most initialization of chests and creation of |
133 | * treasures and stuff). Calls auto_apply if appropriate. |
133 | * treasures and stuff). Calls auto_apply if appropriate. |
134 | */ |
134 | */ |
135 | |
135 | |
136 | void |
136 | void |
137 | fix_auto_apply (mapstruct *m) |
137 | fix_auto_apply (maptile *m) |
138 | { |
138 | { |
139 | object *tmp, *above = NULL; |
139 | object *tmp, *above = NULL; |
140 | int x, y; |
140 | int x, y; |
141 | |
141 | |
142 | for (x = 0; x < MAP_WIDTH (m); x++) |
142 | for (x = 0; x < MAP_WIDTH (m); x++) |
… | |
… | |
183 | { |
183 | { |
184 | fprintf (logfile, "%s\n", txt); |
184 | fprintf (logfile, "%s\n", txt); |
185 | } |
185 | } |
186 | |
186 | |
187 | void |
187 | void |
188 | new_info_map (int color, mapstruct *map, const char *str) |
188 | new_info_map (int color, maptile *map, const char *str) |
189 | { |
189 | { |
190 | fprintf (logfile, "new_info_map: %s\n", str); |
190 | fprintf (logfile, "new_info_map: %s\n", str); |
191 | } |
191 | } |
192 | |
192 | |
193 | void |
193 | void |
… | |
… | |
239 | weather_effect (const char *c) |
239 | weather_effect (const char *c) |
240 | { |
240 | { |
241 | } |
241 | } |
242 | |
242 | |
243 | void |
243 | void |
244 | set_darkness_map (mapstruct *m) |
244 | set_darkness_map (maptile *m) |
245 | { |
245 | { |
246 | } |
246 | } |
247 | |
247 | |
248 | void |
248 | void |
249 | move_apply (object *ob, object *obt, object *obx) |
249 | move_apply (object *ob, object *obt, object *obx) |