File act.comm.c
* generalized communication func, originally by Fred C. Merkel (Torg) *
Included Files
#include "structs.h"
#include "utils.h"
#include "comm.h"
#include "interpreter.h"
#include "handler.h"
#include "db.h"
#include "screen.h"
Preprocessor definitions
#define MAX_NOTE_LENGTH 1000
External Variables
world
extern struct room_data* world
- Defined in:
-
- db.c
descriptor_list
extern struct descriptor_data* descriptor_list
- Defined in:
-
- comm.c
character_list
extern struct char_data* character_list
- Defined in:
-
- db.c
level_can_shout
extern int level_can_shout
- Defined in:
-
- config.c
holler_move_cost
extern int holler_move_cost
- Defined in:
-
- config.c
Global Function do_gen_comm()
void do_gen_comm ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- skip_spaces() : interpreter.c
- sprintf(), strcpy()
- Used in:
-
- : interpreter.c
- References Variables:
-
- OK : config.c
- descriptor_list : comm.c
- holler_move_cost : config.c
- level_can_shout : config.c
- world : db.c
- buf, buf
Global Function do_gsay()
void do_gsay ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- skip_spaces() : interpreter.c
- sprintf()
- Used in:
-
- : interpreter.c
- References Variables:
-
- OK : config.c
- buf
Global Function do_page()
void do_page ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- get_char_vis() : handler.c
- half_chop() : interpreter.c
- send_to_char() : comm.c
- str_cmp() : utils.c
- sprintf()
- Used in:
-
- : interpreter.c
- References Variables:
-
- OK : config.c
- descriptor_list : comm.c
- arg, buf, buf
Global Function do_qcomm()
void do_qcomm ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- skip_spaces() : interpreter.c
- sprintf(), strcpy()
- Used in:
-
- : interpreter.c
- References Variables:
-
- OK : config.c
- cmd_info : interpreter.c
- descriptor_list : comm.c
- buf
Global Function do_reply()
void do_reply ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- perform_tell() : act.comm.c
- send_to_char() : comm.c
- skip_spaces() : interpreter.c
- Used in:
-
- : interpreter.c
- References Variables:
-
- character_list : db.c
Global Function do_say()
void do_say ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- skip_spaces() : interpreter.c
- sprintf()
- Called by:
-
- is_ok_char() : shop.c
- is_open() : shop.c
- Used in:
-
- : interpreter.c
- References Variables:
-
- OK : config.c
- buf
Global Function do_spec_comm()
void do_spec_comm ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- get_char_room_vis() : handler.c
- half_chop() : interpreter.c
- send_to_char() : comm.c
- sprintf()
- Used in:
-
- : interpreter.c
- References Variables:
-
- NOPERSON : config.c
- OK : config.c
- buf, buf
Global Function do_tell()
void do_tell ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- get_char_vis() : handler.c
- half_chop() : interpreter.c
- perform_tell() : act.comm.c
- send_to_char() : comm.c
- Called by:
-
- get_purchase_obj() : shop.c
- get_selling_obj() : shop.c
- is_ok_char() : shop.c
- ok_damage_shopkeeper() : shop.c
- shopping_buy() : shop.c
- shopping_sell() : shop.c
- shopping_value() : shop.c
- Used in:
-
- : interpreter.c
- References Variables:
-
- NOPERSON : config.c
- world : db.c
- buf, buf
Global Function do_write()
void do_write ( struct char_data* ch, char* argument, int cmd, int subcmd )
- Calls:
-
- act() : comm.c
- get_obj_in_list_vis() : handler.c
- send_to_char() : comm.c
- two_arguments() : interpreter.c
- sprintf(), strchr()
- Used in:
-
- : interpreter.c
- References Variables:
-
- weather_info : db.c
- world : db.c
- buf, buf, buf
Global Function perform_tell()
void perform_tell ( struct char_data* ch, struct char_data* vict, char* arg )
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- sprintf()
- Called by:
-
- do_reply() : act.comm.c
- do_tell() : act.comm.c
- References Variables:
-
- OK : config.c
- buf