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

Comparing deliantra/server/random_maps/random_map.h (file contents):
Revision 1.26 by root, Sat Jun 26 22:10:18 2010 UTC vs.
Revision 1.27 by root, Sat Jun 26 23:53:31 2010 UTC

199 { 199 {
200 ::swap (layout.ptr->col, ptr->col); 200 ::swap (layout.ptr->col, ptr->col);
201 ::swap (layout.ptr->w , ptr->w ); 201 ::swap (layout.ptr->w , ptr->w );
202 ::swap (layout.ptr->h , ptr->h ); 202 ::swap (layout.ptr->h , ptr->h );
203 } 203 }
204
205 // for debugging, print layout to stdout
206 void print ();
204}; 207};
205 208
206// utility functions, to use rmg_rndm instead of rndm. 209// utility functions, to use rmg_rndm instead of rndm.
207static inline int 210static inline int
208rmg_find_free_spot (const object *ob, maptile *m, int x, int y, int start, int stop) 211rmg_find_free_spot (const object *ob, maptile *m, int x, int y, int start, int stop)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines