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

Comparing deliantra/server/include/client.h (file contents):
Revision 1.32 by root, Sun Mar 11 02:12:44 2007 UTC vs.
Revision 1.33 by root, Mon Mar 12 01:13:10 2007 UTC

40 uint16 smooth[MAP_LAYERS]; 40 uint16 smooth[MAP_LAYERS];
41 unsigned char stat_hp; // health of something in this space, or 0 41 unsigned char stat_hp; // health of something in this space, or 0
42 unsigned char flags; 42 unsigned char flags;
43}; 43};
44 44
45/* This basically defines the largest size an
46 * archetype may be - it is used for allocation of
47 * some structures, as well as determining how far
48 * we should look for the heads of big images.
49 */
50#define MAX_HEAD_OFFSET 8
51
52#define MAX_CLIENT_X (MAP_CLIENT_X + MAX_HEAD_OFFSET) 45#define MAX_CLIENT_X MAP_CLIENT_X
53#define MAX_CLIENT_Y (MAP_CLIENT_Y + MAX_HEAD_OFFSET) 46#define MAX_CLIENT_Y MAP_CLIENT_Y
54 47
55struct Map 48struct Map
56{ 49{
57 struct MapCell cells[MAX_CLIENT_X][MAX_CLIENT_Y]; 50 struct MapCell cells[MAX_CLIENT_X][MAX_CLIENT_Y];
58}; 51};
59 52
60/* True max is 16383 given current map compaction method */ 53/* True max is 16383 given current map compaction method */
61# define MAXANIMNUM 2000 54#define MAXANIMNUM 10000
62 55
63struct statsinfo 56struct statsinfo
64{ 57{
65 char *range, *title; 58 char *range, *title;
66}; 59};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines