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

Comparing deliantra/server/common/map.C (file contents):
Revision 1.65 by root, Mon Jan 1 21:19:51 2007 UTC vs.
Revision 1.66 by pippijn, Wed Jan 3 00:21:35 2007 UTC

1383 1383
1384/* This is basically the same as out_of_map above, but 1384/* This is basically the same as out_of_map above, but
1385 * instead we return NULL if no map is valid (coordinates 1385 * instead we return NULL if no map is valid (coordinates
1386 * out of bounds and no tiled map), otherwise it returns 1386 * out of bounds and no tiled map), otherwise it returns
1387 * the map as that the coordinates are really on, and 1387 * the map as that the coordinates are really on, and
1388 * updates x and y to be the localized coordinates. 1388 * updates x and y to be the localised coordinates.
1389 * Using this is more efficient of calling out_of_map 1389 * Using this is more efficient of calling out_of_map
1390 * and then figuring out what the real map is 1390 * and then figuring out what the real map is
1391 */ 1391 */
1392maptile * 1392maptile *
1393get_map_from_coord (maptile *m, sint16 *x, sint16 *y) 1393get_map_from_coord (maptile *m, sint16 *x, sint16 *y)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines