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.32 by root, Mon Dec 25 11:25:49 2006 UTC vs.
Revision 1.33 by root, Mon Dec 25 14:43:23 2006 UTC

58/* mape darkness used to enforce the MAX_DARKNESS value. 58/* mape darkness used to enforce the MAX_DARKNESS value.
59 * but IMO, if it is beyond max value, that should be fixed 59 * but IMO, if it is beyond max value, that should be fixed
60 * on the map or in the code. 60 * on the map or in the code.
61 */ 61 */
62#define MAP_DARKNESS(m) (m)->darkness 62#define MAP_DARKNESS(m) (m)->darkness
63
64#define MAP_WIDTH(m) (m)->width
65#define MAP_HEIGHT(m) (m)->height
66 63
67/* Convenient function - total number of spaces is used 64/* Convenient function - total number of spaces is used
68 * in many places. 65 * in many places.
69 */ 66 */
70#define MAP_SIZE(m) ((m)->width * (m)->height) 67#define MAP_SIZE(m) ((m)->width * (m)->height)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines