File spec_procs.c
Included Files
#include "structs.h"
#include "utils.h"
#include "comm.h"
#include "interpreter.h"
#include "handler.h"
#include "db.h"
#include "spells.h"
Preprocessor definitions
#define LEARNED_LEVEL 0
#define MAX_PER_PRAC 1
#define MIN_PER_PRAC 2
#define PRAC_TYPE 3
#define LEARNED( ch )
#define MINGAIN( ch )
#define MAXGAIN( ch )
#define SPLSKL( ch )
#define PET_PRICE( pet )
Type struct social_type
struct social_type
{
char* cmd
int next_line
}
Global Variable spell_sort_info
int spell_sort_info[200]
- Visible in:
-
- spec_procs.c
- Used in:
-
- list_skills() : spec_procs.c
- sort_spells() : spec_procs.c
Global Variable prac_types
char* prac_types[]
- Visible in:
-
- spec_procs.c
- Used in:
-
- guild() : spec_procs.c
- list_skills() : spec_procs.c
External Variables
cmd_info
struct command_info cmd_info[]
- Defined in:
-
- interpreter.c
world
extern struct room_data* world
- Defined in:
-
- db.c
character_list
extern struct char_data* character_list
- Defined in:
-
- db.c
descriptor_list
extern struct descriptor_data* descriptor_list
- Defined in:
-
- comm.c
mob_index
extern struct index_data* mob_index
- Defined in:
-
- db.c
obj_index
extern struct index_data* obj_index
- Defined in:
-
- db.c
time_info
extern struct time_info_data time_info
- Defined in:
-
- db.c
spells
extern char* spells[]
- Defined in:
-
- spell_parser.c
prac_params
extern int prac_params[4][4]
- Defined in:
-
- class.c
spell_info
extern struct spell_info_type spell_info[]
- Defined in:
-
- spell_parser.c
int_app
extern struct int_app_type int_app[]
- Defined in:
-
- constants.c
guild_info
extern int guild_info[][3]
- Defined in:
-
- class.c
Global Function bank()
int ( bank) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- atoi(), sprintf(), strcmp()
- References Variables:
-
- cmd_info : interpreter.c
- buf
Global Function cityguard()
int ( cityguard) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- hit() : fight.c
- References Variables:
-
- weather_info : db.c
- world : db.c
Global Function dump()
int ( dump) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- MAX() : utils.c
- MIN() : utils.c
- act() : comm.c
- extract_obj() : handler.c
- gain_exp() : limits.c
- strcmp()
- References Variables:
-
- cmd_info : interpreter.c
- world : db.c
Global Function fido()
int ( fido) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- extract_obj() : handler.c
- obj_from_obj() : handler.c
- obj_to_room() : handler.c
- References Variables:
-
- world : db.c
Global Function guild()
int ( guild) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- MAX() : utils.c
- MIN() : utils.c
- find_skill_num() : spell_parser.c
- list_skills() : spec_procs.c
- send_to_char() : comm.c
- skip_spaces() : interpreter.c
- sprintf(), strcmp()
- References Variables:
-
- cmd_info : interpreter.c
- int_app : constants.c
- prac_params : class.c
- prac_types : spec_procs.c
- spell_info : spell_parser.c
- buf
Global Function guild_guard()
int ( guild_guard) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- References Variables:
-
- guild_info : class.c
- world : db.c
Global Function how_good()
char* how_good ( int percent )
- Calls:
-
- strcpy()
- Called by:
-
- list_skills() : spec_procs.c
Global Function janitor()
int ( janitor) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- obj_from_room() : handler.c
- obj_to_char() : handler.c
- References Variables:
-
- world : db.c
Global Function list_skills()
void list_skills ( struct char_data* ch )
- Calls:
-
- how_good() : spec_procs.c
- page_string() : modify.c
- sprintf(), strcat(), strcpy(), strlen()
- Called by:
-
- guild() : spec_procs.c
- References Variables:
-
- prac_params : class.c
- prac_types : spec_procs.c
- spell_info : spell_parser.c
- spell_sort_info : spec_procs.c
- spells : spell_parser.c
- buf, buf
Global Function magic_user()
int ( magic_user) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- cast_spell() : spell_parser.c
- number() : utils.c
- References Variables:
-
- world : db.c
Global Function mayor()
int ( mayor) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- perform_move() : act.movement.c
- References Variables:
-
- time_info : db.c
Global Function npc_steal()
void npc_steal ( struct char_data* ch, struct char_data* victim )
- Calls:
-
- act() : comm.c
- number() : utils.c
- Called by:
-
- thief() : spec_procs.c
Global Function pet_shops()
int ( pet_shops) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- add_follower() : utils.c
- char_to_room() : handler.c
- get_char_room() : handler.c
- one_argument() : interpreter.c
- read_mobile() : db.c
- send_to_char() : comm.c
- str_dup() : utils.c
- sprintf(), strcmp()
- References Variables:
-
- cmd_info : interpreter.c
- world : db.c
Global Function puff()
int ( puff) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- number() : utils.c
Global Function snake()
int ( snake) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- act() : comm.c
- call_magic() : spell_parser.c
- number() : utils.c
Global Function sort_spells()
void sort_spells ( void )
- Calls:
-
- strcmp()
- Called by:
-
- boot_db() : db.c
- References Variables:
-
- spell_sort_info : spec_procs.c
- spells : spell_parser.c
Global Function thief()
int ( thief) ( struct char_data* ch, void* me, int cmd, char* argument )
- Calls:
-
- npc_steal() : spec_procs.c
- number() : utils.c
- References Variables:
-
- world : db.c