Included Files
- #include "sysdep.h"
- #include <stdio.h>
- #include <ctype.h>
- #include <stdarg.h>
- #include <string.h>
- #include <strings.h>
- #include <stdlib.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <limits.h>
- #include <errno.h>
- #include <crypt.h>
- #include <sys/time.h>
- #include <time.h>
- #include <assert.h>
Preprocessor definitions
#define MAX_SPELL_AFFECTS 5
#define MOB_MONSUM_I 130
#define MOB_MONSUM_II 140
#define MOB_MONSUM_III 150
#define MOB_GATE_I 160
#define MOB_GATE_II 170
#define MOB_GATE_III 180
#define MOB_ELEMENTAL_BASE 20
#define MOB_CLONE 10
#define MOB_ZOMBIE 11
#define MOB_AERIALSERVANT 19
const char* mag_summon_msgs[]
const char* mag_summon_fail_msgs[]
External Variables
world
extern struct room_data* world
object_list
extern struct obj_data* object_list
character_list
extern struct char_data* character_list
obj_index
extern struct index_data* obj_index
descriptor_list
extern struct descriptor_data* descriptor_list
zone_table
extern struct zone_data* zone_table
mini_mud
extern int mini_mud
pk_allowed
extern int pk_allowed
spell_info
extern struct spell_info_type spell_info[]
void affect_update ( void )
void mag_affects ( int level, struct char_data* ch, struct char_data* victim, int spellnum, int savetype )
void mag_alter_objs ( int level, struct char_data* ch, struct obj_data* obj, int spellnum, int savetype )
void mag_areas ( int level, struct char_data* ch, int spellnum, int savetype )
void mag_creations ( int level, struct char_data* ch, int spellnum )
int mag_damage ( int level, struct char_data* ch, struct char_data* victim, int spellnum, int savetype )
void mag_groups ( int level, struct char_data* ch, int spellnum, int savetype )
void mag_masses ( int level, struct char_data* ch, int spellnum, int savetype )
int mag_materials ( struct char_data* ch, int item0, int item1, int item2, int extract, int verbose )
void mag_points ( int level, struct char_data* ch, struct char_data* victim, int spellnum, int savetype )
int mag_savingthrow ( struct char_data* ch, int type, int modifier )
void mag_summons ( int level, struct char_data* ch, struct obj_data* obj, int spellnum, int savetype )
void mag_unaffects ( int level, struct char_data* ch, struct char_data* victim, int spellnum, int type )
void perform_mag_groups ( int level, struct char_data* ch, struct char_data* tch, int spellnum, int savetype )