ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/standalone.C
(Generate patch)

Comparing deliantra/server/random_maps/standalone.C (file contents):
Revision 1.4 by root, Thu Sep 14 22:34:02 2006 UTC vs.
Revision 1.5 by root, Sat Sep 16 22:24:13 2006 UTC

35 35
36int 36int
37main (int argc, char *argv[]) 37main (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
75void 75void
76set_map_timeout (mapstruct *) 76set_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
136void 136void
137fix_auto_apply (mapstruct *m) 137fix_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
187void 187void
188new_info_map (int color, mapstruct *map, const char *str) 188new_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
193void 193void
239weather_effect (const char *c) 239weather_effect (const char *c)
240{ 240{
241} 241}
242 242
243void 243void
244set_darkness_map (mapstruct *m) 244set_darkness_map (maptile *m)
245{ 245{
246} 246}
247 247
248void 248void
249move_apply (object *ob, object *obt, object *obx) 249move_apply (object *ob, object *obt, object *obx)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines