File class.c


Included Files


Preprocessor definitions

#define SPELL 0

#define SKILL 1

#define EXP_MAX 10000000


Global Variable class_abbrevs

const char* class_abbrevs[]
Visible in:  act.informative.c
   act.other.c
   act.wizard.c
   class.c
Used in: do_last()act.wizard.c
  do_show()act.wizard.c
  do_users()act.informative.c
  do_who()act.informative.c
  print_group()act.other.c

Global Variable pc_class_types

const char* pc_class_types[]
Visible in:  act.wizard.c
   class.c
Used in: do_stat_character()act.wizard.c

Global Variable class_menu

const char* class_menu
Visible in:  class.c
   interpreter.c
Used in: nanny()interpreter.c

Global Variable prac_params

int prac_params[4][4]
Visible in:  class.c
   spec_procs.c
Used in: guild()spec_procs.c
  list_skills()spec_procs.c

Global Variable guild_info

int guild_info[][3]
Visible in:  class.c
   spec_procs.c
Used in: guild_guard()spec_procs.c

External Variables

siteok_everyone
extern int siteok_everyone
Defined in: config.c

Global Function advance_level()

void advance_level ( struct char_data* ch )
Prototyped in: utils.h
Calls: MAX()utils.c
  MIN()utils.c
  basic_mud_log()utils.c
  number()utils.c
  save_char()db.c
Called by: do_start()class.c
  gain_exp()limits.c
  gain_exp_regardless()limits.c
References Variables: con_appconstants.c
  dummy_mobdb.c
  wis_appconstants.c

Global Function backstab_mult()

int backstab_mult ( int level )
Prototyped in: class.c
Called by: hit()fight.c

Global Function do_start()

void do_start ( struct char_data* ch )
Prototyped in: class.c
Calls: MAX()utils.c
  advance_level()class.c
  basic_mud_log()utils.c
  mudlog()utils.c
  roll_real_abils()class.c
  set_title()limits.c
  sprintf(), time()
Called by: do_advance()act.wizard.c
  nanny()interpreter.c
References Variables: bufdb.c
  dummy_mobdb.c
  siteok_everyoneconfig.c

Global Function find_class_bitvector()

long find_class_bitvector ( char arg )
Prototyped in: class.c
Called by: do_users()act.informative.c
  do_who()act.informative.c

Global Function init_spell_levels()

void init_spell_levels ( void )
Prototyped in: spells.h
Calls: spell_level()spell_parser.c
Called by: boot_db()db.c

Global Function invalid_class()

int invalid_class ( struct char_data* ch, struct obj_data* obj )
Prototyped in: class.c
Called by: auto_equip()objsave.c
  equip_char()handler.c

Global Function level_exp()

int level_exp ( int chclass, int level )
Prototyped in: class.c
Calls: basic_mud_log()utils.c
Called by: do_advance()act.wizard.c
  do_levels()act.informative.c
  do_score()act.informative.c
  gain_exp()limits.c
  gain_exp_regardless()limits.c

Global Function parse_class()

int parse_class ( char arg )
Prototyped in: class.c
Called by: nanny()interpreter.c
  perform_set()act.wizard.c

Global Function roll_real_abils()

void roll_real_abils ( struct char_data* ch )
Prototyped in: class.c
Calls: MIN()utils.c
  number()utils.c
Called by: do_start()class.c
  do_wizutil()act.wizard.c

Global Function saving_throws()

byte saving_throws ( int class_num, int type, int level )
Prototyped in: class.c
Calls: basic_mud_log()utils.c
Called by: mag_savingthrow()magic.c

Global Function thaco()

int thaco ( int class_num, int level )
Prototyped in: class.c
Calls: basic_mud_log()utils.c
Called by: hit()fight.c

Global Function title_female()

const char* title_female ( int chclass, int level )
Prototyped in: class.c
Called by: do_levels()act.informative.c
  set_title()limits.c

Global Function title_male()

const char* title_male ( int chclass, int level )
Prototyped in: class.c
Called by: do_levels()act.informative.c
  set_title()limits.c