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.164 by root, Mon Apr 21 06:16:02 2008 UTC vs.
Revision 1.165 by root, Mon Apr 21 06:35:26 2008 UTC

377 // info must hold 256 * 3 bytes currently 377 // info must hold 256 * 3 bytes currently
378 const char *debug_desc (char *info) const; 378 const char *debug_desc (char *info) const;
379 MTH const char *debug_desc () const; // uses at least 3 round-robin buffers 379 MTH const char *debug_desc () const; // uses at least 3 round-robin buffers
380 const char *flag_desc (char *desc, int len) const; 380 const char *flag_desc (char *desc, int len) const;
381 381
382 MTH bool decrease_nr (sint32 nr); 382 MTH bool decrease (sint32 nr = 1); // returns true if anything is left
383 MTH object *split_nr (sint32 nr); 383 MTH object *split (sint32 nr = 1); // return 0 on failure
384 384
385 MTH int number_of () const 385 MTH int number_of () const
386 { 386 {
387 return nrof ? nrof : 1; 387 return nrof ? nrof : 1;
388 } 388 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines