Crossfire Server, Branches 1.12  R18729
toolkit_common.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

objectcctk_create_game_object (char *archname)
 
void cctk_init_std_archetypes (void)
 
void cctk_setdatadir (char *datadir)
 
void cctk_setlog (char *logfile)
 

Function Documentation

object* cctk_create_game_object ( char *  archname)

Referenced by START_TEST().

+ Here is the caller graph for this function:

void cctk_init_std_archetypes ( void  )

Loads up to archetype initialisation using standard crossfire files in source tree. This function requires that cctk_setlog and cctk_setdatadir have both been run already.

Definition at line 75 of file toolkit_common.c.

References Settings::archetypes, CCTK_ASSERT, init_anim(), init_archetypes(), init_block(), init_globals(), init_hash_table(), init_objects(), init_vars(), read_bmap_names(), read_smooth(), SET_TKFLAG, settings, STATUS_ANIM, STATUS_ARCH, STATUS_BLOCK, STATUS_BMAP, STATUS_DATADIR, STATUS_GLOBALS, STATUS_HASHTABLE, STATUS_LOGDIR, STATUS_OBJECTS, STATUS_VARS, and Settings::treasures.

Referenced by setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cctk_setdatadir ( char *  datadir)

Definition at line 66 of file toolkit_common.c.

References Settings::datadir, SET_TKFLAG, settings, and STATUS_DATADIR.

Referenced by setup().

+ Here is the caller graph for this function:

void cctk_setlog ( char *  logfile)

set the logdir to use

Definition at line 61 of file toolkit_common.c.

References logfile, Settings::logfilename, SET_TKFLAG, settings, and STATUS_LOGDIR.

Referenced by setup().

+ Here is the caller graph for this function: