|
Crossfire Server, Trunk
|
#include <global.h>#include <stdlib.h>#include <check.h>#include <loader.h>#include <toolkit_common.h>#include <sproto.h>
Include dependency graph for check_attack.c:Go to the source code of this file.
Functions | |
| static END_TEST Suite * | attack_suite (void) |
| int | main (void) |
| static void | setup (void) |
| END_TEST | START_TEST (test_fix_object_confused) |
| START_TEST (test_hit_player) | |
| static void | teardown (void) |
|
static |
Definition at line 118 of file check_attack.c.
References setup(), and teardown().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | void | ) |
Definition at line 132 of file check_attack.c.
References attack_suite(), cctk_setdatadir(), Settings::debug, init(), and settings.
Here is the call graph for this function:
|
static |
Definition at line 40 of file check_attack.c.
Referenced by attack_suite().
Here is the caller graph for this function:| END_TEST START_TEST | ( | test_fix_object_confused | ) |
Definition at line 100 of file check_attack.c.
References confuse_living(), create_archetype(), fix_object(), FLAG_CONFUSED, FREE_OBJ_NO_DESTROY_CALLBACK, guildjoin::ob, object_free(), altar_valkyrie::pl, PLAYER, and QUERY_FLAG.
Here is the call graph for this function:| START_TEST | ( | test_hit_player | ) |
Definition at line 47 of file check_attack.c.
References add_string(), ARCH_DEPLETION, arch_present_in_ob(), AT_DEPLETE, AT_FIRE, ATNR_DEPLETE, ATNR_FIRE, create_archetype(), find_archetype(), get_empty_map(), hit_player(), death_message::hitter, disinfect::map, object_insert_in_map_at(), and reputation::victim.
Here is the call graph for this function:
|
static |
Definition at line 43 of file check_attack.c.
Referenced by attack_suite().
Here is the caller graph for this function: