… | |
… | |
33 | #define FLOORBOX_PAGESIZE 50 |
33 | #define FLOORBOX_PAGESIZE 50 |
34 | |
34 | |
35 | struct MapCell |
35 | struct MapCell |
36 | { |
36 | { |
37 | UUID player; // this is, unfortunately, very wasteful of memory space, but pretty bandwidth-efficient |
37 | UUID player; // this is, unfortunately, very wasteful of memory space, but pretty bandwidth-efficient |
|
|
38 | int count; /* This is really darkness in the map1 command */ |
38 | faceidx faces[MAP_LAYERS]; |
39 | faceidx faces[MAP_LAYERS]; |
39 | faceidx smooth[MAP_LAYERS]; |
|
|
40 | int count; /* This is really darkness in the map1 command */ |
|
|
41 | unsigned char stat_hp; // health of something in this space, or 0 |
40 | unsigned char stat_hp; // health of something in this space, or 0 |
42 | unsigned char flags; |
41 | unsigned char flags; |
|
|
42 | uint8_t smooth[MAP_LAYERS]; |
43 | }; |
43 | }; |
44 | |
44 | |
45 | #define MAX_CLIENT_X MAP_CLIENT_X |
45 | #define MAX_CLIENT_X MAP_CLIENT_X |
46 | #define MAX_CLIENT_Y MAP_CLIENT_Y |
46 | #define MAX_CLIENT_Y MAP_CLIENT_Y |
47 | |
47 | |