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.44 by root, Fri Nov 17 19:40:54 2006 UTC vs.
Revision 1.45 by elmex, Sat Nov 18 23:16:18 2006 UTC

63 uint64 seq; 63 uint64 seq;
64}; 64};
65 65
66extern void init_uuid (); 66extern void init_uuid ();
67extern UUID gen_uuid (); 67extern UUID gen_uuid ();
68extern const uint64 UUID_SKIP;
68 69
69/* Definition for WILL_APPLY values. Replaces having harcoded values 70/* Definition for WILL_APPLY values. Replaces having harcoded values
70 * sprinkled in the code. Note that some of these also replace fields 71 * sprinkled in the code. Note that some of these also replace fields
71 * that were in the can_apply area. What is the point of having both 72 * that were in the can_apply area. What is the point of having both
72 * can_apply and will_apply? 73 * can_apply and will_apply?
88// these are not being copied 89// these are not being copied
89ACC_CLASS (object) 90ACC_CLASS (object)
90struct object_keep : refcounted 91struct object_keep : refcounted
91{ 92{
92 tag_t ACC (RW, count); /* Generation count for this object */ 93 tag_t ACC (RW, count); /* Generation count for this object */
93 UUID uuid; // Unique Identifier, survives saves etc. 94 UUID ACC (RW, uuid); // Unique Identifier, survives saves etc.
94 95
95 /* These variables are not changed by copy_object() */ 96 /* These variables are not changed by copy_object() */
96 player *ACC (RW, contr); /* Pointer to the player which control this object */ 97 player *ACC (RW, contr); /* Pointer to the player which control this object */
97 object *ACC (RW, next); /* Pointer to the next object in the free/used list */ 98 object *ACC (RW, next); /* Pointer to the next object in the free/used list */
98 object *ACC (RW, prev); /* Pointer to the previous object in the free/used list */ 99 object *ACC (RW, prev); /* Pointer to the previous object in the free/used list */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines