![]() |
Crossfire Server, Trunk
1.75.0
|
Macros | |
#define | SPELL_MAPPINGS 206 |
Variables | |
EXTERN archetype * | empty_archetype |
Nice to have fast access to it. More... | |
EXTERN int | exiting |
True if the game is about to exit. More... | |
EXTERN char | first_map_ext_path [MAX_BUF] |
Path used for per-race start maps. More... | |
EXTERN char | first_map_path [MAX_BUF] |
The start-level. More... | |
EXTERN FILE * | logfile |
Used by server/daemon.c. More... | |
EXTERN long | nrofallowedstr |
Only used in malloc_info(). More... | |
EXTERN long | nrofartifacts |
Only used in malloc_info(). More... | |
EXTERN long | ob_count |
int | reopen_logfile |
const char *const | spell_mapping [SPELL_MAPPINGS] |
This table is only necessary to convert objects that existed before the spell object conversion to the new object. More... | |
EXTERN long nrofallowedstr |
Only used in malloc_info().
EXTERN long nrofartifacts |
Only used in malloc_info().
int reopen_logfile |
Definition at line 27 of file logger.cpp.
Referenced by LOG(), and rec_sighup().
const char* const spell_mapping[SPELL_MAPPINGS] |
This table is only necessary to convert objects that existed before the spell object conversion to the new object.
It was not practical to go through every mapping looking for every potion, rod, wand, etc that had a sp set and update to the new value. So this maps the old spell numbers to the name of the new archs. If you are adding a new spell, you should not modify this - your new spell won't have been used, and thus won't have any legacy object. NULL entries in this table are valid - to denote objects that should not be updated for whatever reason.
Definition at line 74 of file object.cpp.
Referenced by fix_generated_item().