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.167 by root, Tue Apr 22 07:01:47 2008 UTC vs.
Revision 1.169 by root, Wed Apr 30 06:40:28 2008 UTC

539 { 539 {
540 return this; 540 return this;
541 } 541 }
542 542
543 /* This returns TRUE if the object is something that 543 /* This returns TRUE if the object is something that
544 * should be displayed in the floorbox/inventory window 544 * a client might want to know about.
545 */ 545 */
546 MTH bool client_visible () const 546 MTH bool client_visible () const
547 { 547 {
548 return !invisible && type != PLAYER; 548 return !invisible && type != PLAYER;
549 } 549 }
630 MTH static archetype *find (const_utf8_string name); 630 MTH static archetype *find (const_utf8_string name);
631 631
632 MTH void link (); 632 MTH void link ();
633 MTH void unlink (); 633 MTH void unlink ();
634 634
635 MTH static object *get (const char *name); // find()->instance()
635 MTH object *instance (); 636 MTH object *instance ();
636 637
637 object_vector_index ACC (RW, archid); // index in archvector 638 object_vector_index ACC (RW, archid); // index in archvector
638 shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ 639 shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */
639 640

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines