Crossfire Server, Trunk  R22047
check_attack.c File Reference
#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)
 
 START_TEST (test_hit_player)
 
END_TEST START_TEST (test_fix_object_confused)
 
static void teardown (void)
 

Function Documentation

◆ attack_suite()

static END_TEST Suite* attack_suite ( 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:

◆ main()

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:

◆ setup()

static void setup ( void  )
static

Definition at line 40 of file check_attack.c.

Referenced by attack_suite().

+ Here is the caller graph for this function:

◆ START_TEST() [1/2]

START_TEST ( test_hit_player  )

◆ START_TEST() [2/2]

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, object_free(), and QUERY_FLAG.

+ Here is the call graph for this function:

◆ teardown()

static void teardown ( void  )
static

Definition at line 43 of file check_attack.c.

Referenced by attack_suite().

+ Here is the caller graph for this function: