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

Comparing deliantra/server/include/map.h (file contents):
Revision 1.40 by root, Sat Dec 30 10:16:10 2006 UTC vs.
Revision 1.42 by root, Sat Dec 30 18:45:28 2006 UTC

238 sint32 ACC (RW, timeout); /* swapout is set to this */ 238 sint32 ACC (RW, timeout); /* swapout is set to this */
239 sint32 ACC (RW, swap_time); /* When it reaches 0, the map will be swapped out */ 239 sint32 ACC (RW, swap_time); /* When it reaches 0, the map will be swapped out */
240 uint32 ACC (RW, in_memory); /* If not true, the map has been freed and must 240 uint32 ACC (RW, in_memory); /* If not true, the map has been freed and must
241 * be loaded before used. The map,omap and map_ob 241 * be loaded before used. The map,omap and map_ob
242 * arrays will be allocated when the map is loaded */ 242 * arrays will be allocated when the map is loaded */
243 sint16 ACC (RW, players); /* How many players are on this map right now */ 243 sint16 players; /* How many players are on this map right now */
244 uint16 ACC (RW, difficulty); /* What level the player should be to play here */ 244 uint16 ACC (RW, difficulty); /* What level the player should be to play here */
245 245
246 bool ACC (RW, per_player); 246 bool ACC (RW, per_player);
247 bool ACC (RW, per_party); 247 bool ACC (RW, per_party);
248 bool ACC (RW, outdoor); /* True if an outdoor map */ 248 bool ACC (RW, outdoor); /* True if an outdoor map */
350 do_load (); 350 do_load ();
351 351
352 return spaces; 352 return spaces;
353 } 353 }
354 354
355 static void emergency_save (); 355 static void emergency_save ();//PERL
356 356
357 mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } 357 mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; }
358 mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } 358 mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; }
359 359
360private: 360private:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines