File limits.c


Included Files


External Variables

character_list
extern struct char_data* character_list
Defined in: db.c

object_list
extern struct obj_data* object_list
Defined in: db.c

world
extern struct room_data* world
Defined in: db.c

max_exp_gain
extern int max_exp_gain
Defined in: config.c

max_exp_loss
extern int max_exp_loss
Defined in: config.c

idle_rent_time
extern int idle_rent_time
Defined in: config.c

idle_max_level
extern int idle_max_level
Defined in: config.c

idle_void
extern int idle_void
Defined in: config.c

use_autowiz
extern int use_autowiz
Defined in: config.c

min_wizlist_lev
extern int min_wizlist_lev
Defined in: config.c

free_rent
extern int free_rent
Defined in: config.c


Global Function check_autowiz()

void check_autowiz ( struct char_data* ch )
Prototyped in: limits.c
Calls: mudlog()utils.c
  reboot_wizlists()db.c
  getpid(), sprintf(), system()
Called by: gain_exp()limits.c
  gain_exp_regardless()limits.c
References Variables: min_wizlist_levconfig.c
  use_autowizconfig.c

Global Function check_idling()

void check_idling ( struct char_data* ch )
Prototyped in: utils.h
Calls: Crash_crashsave()objsave.c
  Crash_idlesave()objsave.c
  Crash_rentsave()objsave.c
  act()comm.c
  char_from_room()handler.c
  char_to_room()handler.c
  extract_char()handler.c
  mudlog()utils.c
  save_char()db.c
  send_to_char()comm.c
  stop_fighting()fight.c
  sprintf()
Called by: point_update()limits.c
References Variables: bufdb.c
  free_rentconfig.c
  idle_rent_timeconfig.c
  idle_voidconfig.c

Global Function gain_condition()

void gain_condition ( struct char_data* ch, int condition, int value )
Prototyped in: utils.h
Calls: MAX()utils.c
  MIN()utils.c
  basic_mud_log()utils.c
  send_to_char()comm.c
Called by: do_drink()act.item.c
  do_eat()act.item.c
  point_update()limits.c
References Variables: dummy_mobdb.c

Global Function gain_exp()

void gain_exp ( struct char_data* ch, int gain )
Prototyped in: utils.h
Calls: MAX()utils.c
  MIN()utils.c
  advance_level()class.c
  basic_mud_log()utils.c
  check_autowiz()limits.c
  level_exp()class.c
  mudlog()utils.c
  send_to_char()comm.c
  set_title()limits.c
  sprintf()
Called by: damage()fight.c
  die()fight.c
  do_flee()act.offensive.c
  dump()spec_procs.c
  perform_group_gain()fight.c
  solo_gain()fight.c
References Variables: dummy_mobdb.c
  max_exp_gainconfig.c
  max_exp_lossconfig.c

Global Function gain_exp_regardless()

void gain_exp_regardless ( struct char_data* ch, int gain )
Prototyped in: utils.h
Calls: MAX()utils.c
  advance_level()class.c
  basic_mud_log()utils.c
  check_autowiz()limits.c
  level_exp()class.c
  mudlog()utils.c
  send_to_char()comm.c
  set_title()limits.c
  sprintf()
Called by: do_advance()act.wizard.c
References Variables: bufdb.c
  dummy_mobdb.c

Global Function graf()

int graf ( int age, int p0, int p1, int p2, int p3, int p4, int p5, int p6 )
Prototyped in: limits.c
Called by: hit_gain()limits.c
  mana_gain()limits.c
  move_gain()limits.c

Global Function hit_gain()

int hit_gain ( struct char_data* ch )
Prototyped in: utils.h
Calls: age()utils.c
  basic_mud_log()utils.c
  graf()limits.c
Called by: do_stat_character()act.wizard.c
  point_update()limits.c
References Variables: dummy_mobdb.c

Global Function mana_gain()

int mana_gain ( struct char_data* ch )
Prototyped in: utils.h
Calls: age()utils.c
  basic_mud_log()utils.c
  graf()limits.c
Called by: do_stat_character()act.wizard.c
  point_update()limits.c
References Variables: dummy_mobdb.c

Global Function move_gain()

int move_gain ( struct char_data* ch )
Prototyped in: utils.h
Calls: age()utils.c
  basic_mud_log()utils.c
  graf()limits.c
Called by: do_stat_character()act.wizard.c
  point_update()limits.c
References Variables: dummy_mobdb.c

Global Function point_update()

void point_update ( void )
Prototyped in: utils.h
Calls: MIN()utils.c
  act()comm.c
  check_idling()limits.c
  core_dump_real()utils.c
  damage()fight.c
  extract_obj()handler.c
  gain_condition()limits.c
  hit_gain()limits.c
  mana_gain()limits.c
  move_gain()limits.c
  obj_from_obj()handler.c
  obj_to_obj()handler.c
  obj_to_room()handler.c
  update_char_objects()handler.c
  update_pos()fight.c
Called by: heartbeat()comm.c
References Variables: character_listdb.c
  idle_max_levelconfig.c
  object_listdb.c
  worlddb.c

Global Function set_title()

void set_title ( struct char_data* ch, char* title )
Prototyped in: utils.h
Calls: str_dup()utils.c
  title_female()class.c
  title_male()class.c
  free(), strlen()
Called by: do_start()class.c
  do_title()act.other.c
  gain_exp()limits.c
  gain_exp_regardless()limits.c
  init_char()db.c
  perform_set()act.wizard.c