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

Comparing deliantra/server/include/object.h (file contents):
Revision 1.71 by root, Tue Dec 26 20:04:09 2006 UTC vs.
Revision 1.72 by root, Wed Dec 27 13:13:47 2006 UTC

303 && !flag [FLAG_IS_A_TEMPLATE]; } 303 && !flag [FLAG_IS_A_TEMPLATE]; }
304 MTH bool is_arrow () const { return type == ARROW 304 MTH bool is_arrow () const { return type == ARROW
305 || (type == SPELL_EFFECT 305 || (type == SPELL_EFFECT
306 && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); } 306 && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); }
307 307
308 // temporary: wether the objetc can be saved in a map file
309 // contr => is a player
310 // head => only save head of a multitile object
311 // owner => can not reference owner yet
312 MTH bool can_map_save () const { return !contr && !head && !owner; }
313
308 /* This return true if object has still randomitems which 314 /* This return true if object has still randomitems which
309 * could be expanded. 315 * could be expanded.
310 */ 316 */
311 MTH bool has_random_items () const { return randomitems && !flag [FLAG_IS_A_TEMPLATE]; } 317 MTH bool has_random_items () const { return randomitems && !flag [FLAG_IS_A_TEMPLATE]; }
312 318

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines