ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/map.h
(Generate patch)

Comparing deliantra/server/include/map.h (file contents):
Revision 1.145 by root, Sat May 7 20:03:28 2011 UTC vs.
Revision 1.146 by root, Sun May 8 11:32:12 2011 UTC

406 406
407 MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0); 407 MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0);
408 408
409 MTH void touch () { last_access = runtime; } 409 MTH void touch () { last_access = runtime; }
410 410
411 // returns the map at given direction. if the map isn't linked yet,
412 // it will either return false (if load is false), or otherwise try to link
413 // it - if linking fails because the map is not loaded yet, it will
414 // start loading the map and return 0.
415 // thus, if you get 0, the map exists and load is true, then some later
416 // call (some tick or so later...) will eventually succeed.
411 MTH maptile *tile_available (int dir, bool load = true); 417 MTH maptile *tile_available (int dir, bool load = true);
412 418
413 // find the map that is at coordinate x|y relative to this map 419 // find the map that is at coordinate x|y relative to this map
414 // TODO: need a better way than passing by reference 420 // TODO: need a better way than passing by reference
415 // TODO: make perl interface 421 // TODO: make perl interface

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines