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.132 by root, Fri Apr 16 02:32:25 2010 UTC vs.
Revision 1.133 by root, Tue May 4 22:26:49 2010 UTC

439// and so on. 439// and so on.
440int get_map_flags (maptile *oldmap, maptile **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny); 440int get_map_flags (maptile *oldmap, maptile **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny);
441int out_of_map (maptile *m, int x, int y); 441int out_of_map (maptile *m, int x, int y);
442maptile *get_map_from_coord (maptile *m, sint16 *x, sint16 *y); 442maptile *get_map_from_coord (maptile *m, sint16 *x, sint16 *y);
443void get_rangevector (object *op1, object *op2, rv_vector *retval, int flags); 443void get_rangevector (object *op1, object *op2, rv_vector *retval, int flags);
444void get_rangevector_from_mapcoord (const maptile *m, int x, int y, const object *op2, rv_vector *retval, int flags = 0 /*unused*/); 444void get_rangevector_from_mapcoord (maptile *m, int x, int y, const object *op2, rv_vector *retval, int flags = 0 /*unused*/);
445int on_same_map (const object *op1, const object *op2); 445int on_same_map (const object *op1, const object *op2);
446int adjacent_map (const maptile *map1, const maptile *map2, int *dx, int *dy); 446int adjacent_map (maptile *map1, maptile *map2, int *dx, int *dy);
447 447
448// adjust map, x and y for tiled maps and return true if the position is valid at all 448// adjust map, x and y for tiled maps and return true if the position is valid at all
449static inline bool 449static inline bool
450xy_normalise (maptile *&map, sint16 &x, sint16 &y) 450xy_normalise (maptile *&map, sint16 &x, sint16 &y)
451{ 451{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines