37 #include "../include/toolkit_common.h" 39 #define STATUS_LOGDIR 0x0001 40 #define STATUS_DATADIR 0x0002 41 #define STATUS_CONFDIR 0x0004 43 #define STATUS_GLOBALS 0x0100 44 #define STATUS_HASHTABLE 0x0200 45 #define STATUS_OBJECTS 0x0400 46 #define STATUS_VARS 0x0800 47 #define STATUS_BLOCK 0x1000 48 #define STATUS_BMAP 0x2000 49 #define STATUS_ANIM 0x4000 50 #define STATUS_ARCH 0x8000 51 #define SET_TKFLAG(__flag) (status_flag |= __flag) 52 #define CHECK_TKFLAG(__flag) (status_flag&__flag) 53 #define CCTK_ASSERT(__flag) { \ 54 if (!CHECK_TKFLAG(__flag)) \ 55 fail("Improper initialisation, flag 0x%H", __flag);\ 69 static char confdir[1024];
70 snprintf(confdir,
sizeof(confdir),
"%s/config", datadir);
110 if (archname == NULL)
111 archname =
"empty_archetype";
archetype * find_archetype(const char *name)
void init_archetypes(void)
void init_hash_table(void)
const char * materialname
#define CLEAR_FLAG(xyz, p)
object * object_create_arch(archetype *at)
void read_bmap_names(void)
void init_stats(int reload)
sstring add_string(const char *str)