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.81 by root, Wed Aug 1 01:53:13 2007 UTC vs.
Revision 1.83 by root, Wed Aug 15 04:57:48 2007 UTC

212 * be loaded before used. The map,omap and map_ob 212 * be loaded before used. The map,omap and map_ob
213 * arrays will be allocated when the map is loaded */ 213 * arrays will be allocated when the map is loaded */
214 sint16 players; /* How many players are on this map right now */ 214 sint16 players; /* How many players are on this map right now */
215 uint16 ACC (RW, difficulty); /* What level the player should be to play here */ 215 uint16 ACC (RW, difficulty); /* What level the player should be to play here */
216 216
217 bool ACC (RW, active); // wether this map is active or not
218 bool ACC (RW, per_player); 217 bool ACC (RW, per_player);
219 bool ACC (RW, per_party); 218 bool ACC (RW, per_party);
220 bool ACC (RW, outdoor); /* True if an outdoor map */ 219 bool ACC (RW, outdoor); /* True if an outdoor map */
221 bool ACC (RW, nodrop); /* avoid dropping anything on this map */ 220 bool ACC (RW, nodrop); /* avoid dropping anything on this map */
222 uint8 ACC (RW, darkness); /* indicates level of darkness of map */ 221 uint8 ACC (RW, darkness); /* indicates level of darkness of map */
374object::ms () const 373object::ms () const
375{ 374{
376 return map->at (x, y); 375 return map->at (x, y);
377} 376}
378 377
379inline void
380object::play_sound (faceidx sound) const
381{
382 if (map && sound)
383 map->play_sound (sound, x, y);
384}
385
386#endif 378#endif
387 379

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines