File limits.c
Included Files
#include "structs.h"
#include "utils.h"
#include "spells.h"
#include "comm.h"
#include "db.h"
#include "handler.h"
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
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 )
- Calls:
-
- mudlog() : utils.c
- getpid(), sprintf(), system()
- Called by:
-
- gain_exp() : limits.c
- gain_exp_regardless() : limits.c
- References Variables:
-
- min_wizlist_lev : config.c
- use_autowiz : config.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
- act() : comm.c
- char_from_room() : handler.c
- char_to_room() : handler.c
- close_socket() : comm.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:
-
- free_rent : config.c
- buf
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
- send_to_char() : comm.c
- Called by:
-
- do_drink() : act.item.c
- do_eat() : act.item.c
- point_update() : limits.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
- check_autowiz() : limits.c
- level_exp() : class.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
- References Variables:
-
- max_exp_gain : config.c
- max_exp_loss : config.c
Global Function gain_exp_regardless()
void gain_exp_regardless ( struct char_data* ch, int gain )
- Prototyped in:
-
- utils.h
- Calls:
-
- advance_level() : class.c
- check_autowiz() : limits.c
- level_exp() : class.c
- send_to_char() : comm.c
- set_title() : limits.c
- sprintf()
- Called by:
-
- do_advance() : act.wizard.c
- References Variables:
-
- buf
Global Function graf()
int graf ( int age, int p0, int p1, int p2, int p3, int p4, int p5, int p6 )
- 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
- graf() : limits.c
- Called by:
-
- do_stat_character() : act.wizard.c
- point_update() : limits.c
Global Function mana_gain()
int mana_gain ( struct char_data* ch )
- Prototyped in:
-
- utils.h
- Calls:
-
- age() : utils.c
- graf() : limits.c
- Called by:
-
- do_stat_character() : act.wizard.c
- point_update() : limits.c
Global Function move_gain()
int move_gain ( struct char_data* ch )
- Prototyped in:
-
- utils.h
- Calls:
-
- age() : utils.c
- graf() : limits.c
- Called by:
-
- do_stat_character() : act.wizard.c
- point_update() : limits.c
Global Function point_update()
void point_update ( void )
- Prototyped in:
-
- utils.h
- Calls:
-
- MIN() : utils.c
- act() : comm.c
- check_idling() : limits.c
- damage() : fight.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_pos() : fight.c
- __eprintf()
- Called by:
-
- heartbeat() : comm.c
- References Variables:
-
- character_list : db.c
- object_list : db.c
- world : db.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