… | |
… | |
270 | }; |
270 | }; |
271 | |
271 | |
272 | struct object : zero_initialised, object_copy |
272 | struct object : zero_initialised, object_copy |
273 | { |
273 | { |
274 | // These variables are not changed by ->copy_to |
274 | // These variables are not changed by ->copy_to |
275 | maptile_ptr ACC (RW, map); /* Pointer to the map in which this object is present */ |
275 | maptile *ACC (RW, map); /* Pointer to the map in which this object is present */ |
276 | |
276 | |
277 | UUID ACC (RW, uuid); // Unique Identifier, survives saves etc. |
277 | UUID ACC (RW, uuid); // Unique Identifier, survives saves etc. |
278 | int ACC (RO, count); |
278 | int ACC (RO, count); |
279 | object_vector_index ACC (RO, index); // index into objects |
279 | object_vector_index ACC (RO, index); // index into objects |
280 | object_vector_index ACC (RO, active); // index into actives |
280 | object_vector_index ACC (RO, active); // index into actives |