Crossfire Server, Trunk
R21670
|
#include <global.h>
#include <stdlib.h>
#include <check.h>
#include <loader.h>
#include <toolkit_common.h>
#include <sproto.h>
Go to the source code of this file.
Functions | |
static END_TEST Suite * | attack_suite (void) |
int | main (void) |
static void | setup (void) |
START_TEST (test_hit_player) | |
static void | teardown (void) |
|
static |
Definition at line 100 of file check_attack.c.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 113 of file check_attack.c.
References attack_suite(), Settings::debug, init(), and settings.
|
static |
Definition at line 40 of file check_attack.c.
Referenced by attack_suite().
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, obj::attacktype, create_archetype(), liv::dam, find_archetype(), get_empty_map(), hit_player(), liv::hp, obj::inv, obj::map, liv::maxhp, object_insert_in_map_at(), obj::race, obj::resist, obj::slaying, and obj::stats.
|
static |
Definition at line 43 of file check_attack.c.
Referenced by attack_suite().