… | |
… | |
285 | MTH int change_map_light (int change); |
285 | MTH int change_map_light (int change); |
286 | static void change_all_map_light (int change); //PERL |
286 | static void change_all_map_light (int change); //PERL |
287 | MTH void set_darkness_map (); |
287 | MTH void set_darkness_map (); |
288 | MTH int estimate_difficulty () const; |
288 | MTH int estimate_difficulty () const; |
289 | |
289 | |
|
|
290 | // set the given flag on all objects in the map |
|
|
291 | MTH void set_object_flag (int flag, int value = 1); |
|
|
292 | |
290 | MTH void link_multipart_objects (); |
293 | MTH void link_multipart_objects (); |
291 | MTH void clear_unique_items (); |
294 | MTH void clear_unique_items (); |
292 | |
295 | |
293 | MTH void clear_header (); |
296 | MTH void clear_header (); |
294 | MTH void clear_links_to (maptile *m); |
297 | MTH void clear_links_to (maptile *m); |
… | |
… | |
317 | void gather_callbacks (AV *&callbacks, event_type event) const; |
320 | void gather_callbacks (AV *&callbacks, event_type event) const; |
318 | |
321 | |
319 | MTH int size () const { return width * height; } |
322 | MTH int size () const { return width * height; } |
320 | |
323 | |
321 | MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0); |
324 | MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0); |
|
|
325 | |
|
|
326 | MTH void touch () { last_access = runtime; } |
322 | |
327 | |
323 | // static maptile *find_map (const char *path, maptile *origin);//PERL |
328 | // static maptile *find_map (const char *path, maptile *origin);//PERL |
324 | // |
329 | // |
325 | // // load a map relative to this one |
330 | // // load a map relative to this one |
326 | // maptile *find_map (const char *path) |
331 | // maptile *find_map (const char *path) |