1 | /* |
1 | /* |
2 | * static char *rcsid_newserver_h = |
2 | * static char *rcsid_newserver_h = |
3 | * "$Id: newserver.h,v 1.8 2006/08/21 07:13:32 root Exp $"; |
3 | * "$Id: newserver.h,v 1.9 2006/08/24 10:58:38 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
46 | struct MapCell { |
46 | struct MapCell { |
47 | short faces[MAP_LAYERS]; |
47 | short faces[MAP_LAYERS]; |
48 | uint16 smooth[MAP_LAYERS]; |
48 | uint16 smooth[MAP_LAYERS]; |
49 | int count; /* This is really darkness in the map1 command */ |
49 | int count; /* This is really darkness in the map1 command */ |
50 | unsigned char stat_hp; // health of something in this space, or 0 |
50 | unsigned char stat_hp; // health of something in this space, or 0 |
|
|
51 | tag_t player; // this is, unfortunately, very wasteful of memory space, but pretty bandwidth-efficient |
51 | }; |
52 | }; |
52 | |
53 | |
53 | /* This basically defines the largest size an |
54 | /* This basically defines the largest size an |
54 | * archetype may be - it is used for allocation of |
55 | * archetype may be - it is used for allocation of |
55 | * some structures, as well as determining how far |
56 | * some structures, as well as determining how far |