… | |
… | |
244 | static vector objects; // not used yet, use first->next->... |
244 | static vector objects; // not used yet, use first->next->... |
245 | static object *first; // will be replaced by "objects" |
245 | static object *first; // will be replaced by "objects" |
246 | |
246 | |
247 | static object *create (); |
247 | static object *create (); |
248 | void copy_to (object *dst); |
248 | void copy_to (object *dst); |
|
|
249 | object *clone (); // create + copy_to |
249 | void destroy (bool destroy_inventory = false); |
250 | void destroy (bool destroy_inventory = false); |
250 | void remove (); |
251 | void remove (); |
251 | object *insert (object *item); // insert into inventory |
252 | object *insert (object *item); // insert into inventory |
252 | |
253 | |
253 | static void free_mortals (); |
254 | static void free_mortals (); |