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.81 by root, Sun Jan 7 02:39:14 2007 UTC vs.
Revision 1.82 by root, Mon Jan 8 14:11:05 2007 UTC

216{ 216{
217 // These variables are not changed by ->copy_to 217 // These variables are not changed by ->copy_to
218 maptile_ptr ACC (RW, map); /* Pointer to the map in which this object is present */ 218 maptile_ptr ACC (RW, map); /* Pointer to the map in which this object is present */
219 219
220 UUID ACC (RW, uuid); // Unique Identifier, survives saves etc. 220 UUID ACC (RW, uuid); // Unique Identifier, survives saves etc.
221 int ACC (RO, count); // index into objects 221 int ACC (RO, count);
222 int ACC (RO, index); // index into objects
222 int ACC (RO, active); // index into actives 223 int ACC (RO, active); // index into actives
223 224
224 player_ptr ACC (RW, contr); /* Pointer to the player which control this object */ 225 player_ptr ACC (RW, contr); /* Pointer to the player which control this object */
225 226
226 object *ACC (RW, below); /* Pointer to the object stacked below this one */ 227 object *ACC (RW, below); /* Pointer to the object stacked below this one */
396 397
397 object (); 398 object ();
398 ~object (); 399 ~object ();
399}; 400};
400 401
401typedef object_vector<object, &object::count > objectvec; 402typedef object_vector<object, &object::index > objectvec;
402typedef object_vector<object, &object::active> activevec; 403typedef object_vector<object, &object::active> activevec;
403 404
404extern objectvec objects; 405extern objectvec objects;
405extern activevec actives; 406extern activevec actives;
406 407

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines