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