|
Crossfire Server, Trunk
|
#include <check.h>#include <global.h>#include <sproto.h>#include <stdlib.h>#include <string.h>#include <toolkit_common.h>
Include dependency graph for check_free_objects.c:Go to the source code of this file.
Functions | |
| static END_TEST Suite * | bug_suite (void) |
| static object * | find_arch_at (mapstruct *map, int x, int y, const char *arch_name) |
| int | main (void) |
| static void | setup (void) |
| START_TEST (test_merge) | |
| static void | teardown (void) |
Makes sure that inventory objects are freed correctly.
Definition in file check_free_objects.c.
|
static |
Definition at line 104 of file check_free_objects.c.
References setup(), and teardown().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 35 of file check_free_objects.c.
References FOR_MAP_FINISH, FOR_MAP_PREPARE, disinfect::map, give::op, diamondslots::x, and diamondslots::y.
Referenced by START_TEST().
Here is the caller graph for this function:| int main | ( | void | ) |
Definition at line 117 of file check_free_objects.c.
References bug_suite(), cctk_setdatadir(), and init().
Here is the call graph for this function:
|
static |
Definition at line 44 of file check_free_objects.c.
Referenced by bug_suite().
Here is the caller graph for this function:| START_TEST | ( | test_merge | ) |
Definition at line 50 of file check_free_objects.c.
References find_arch_at(), find_archetype(), FLAG_FREED, obj::nrof, object_create_arch(), object_insert_in_map_at(), object_insert_in_ob(), QUERY_FLAG, and ready_map_name().
Here is the call graph for this function:
|
static |
Definition at line 47 of file check_free_objects.c.
Referenced by bug_suite().
Here is the caller graph for this function: