Go to the documentation of this file.
42 if (
op->glow_radius > 0)
70 printf(
"running %d checks...\n",
testCount);
73 memset(&dummy, 0,
sizeof(dummy));
75 for (
size_t i = 0; i < 4; i++)
77 test_maps[0]->
tile_map[1] = test_maps[1];
78 test_maps[0]->
tile_map[2] = test_maps[2];
79 test_maps[1]->
tile_map[3] = test_maps[0];
80 test_maps[1]->
tile_map[2] = test_maps[3];
81 test_maps[2]->
tile_map[0] = test_maps[0];
82 test_maps[2]->
tile_map[1] = test_maps[3];
83 test_maps[3]->
tile_map[0] = test_maps[1];
84 test_maps[3]->
tile_map[3] = test_maps[2];
91 for (
int m = 0;
m < 4;
m++) {
92 dummy.
map = test_maps[
m];
98 printf(
"%d %d?!?\n", old,
current);
105 for (
size_t i = 0; i < 4; i++)
111 int main(
int argc,
const char **argv) {
112 if (argc > 1 && ((
testCount = atoi(argv[1])) > 0))
mapstruct * get_empty_map(int sizex, int sizey)
int monster_stand_in_light(object *op)
static event_registration m
int legacy_monster_stand_in_light(object *op)
void test_stand_in_light()
#define GET_MAP_LIGHT(M, X, Y)
void delete_map(mapstruct *m)
int get_map_flags(mapstruct *oldmap, mapstruct **newmap, int16_t x, int16_t y, int16_t *nx, int16_t *ny)
#define SET_MAP_LIGHT(M, X, Y, L)
int main(int argc, const char **argv)