Crossfire Server, Branches 1.12
R18729
|
Go to the source code of this file.
Functions | |
object * | cctk_create_game_object (char *archname) |
void | cctk_init_std_archetypes (void) |
void | cctk_setdatadir (char *datadir) |
void | cctk_setlog (char *logfile) |
object* cctk_create_game_object | ( | char * | archname | ) |
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().
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().
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().