File boards.c


Included Files


Preprocessor definitions

#define NEWEST_AT_TOP FALSE

Global Variable board_info

struct board_info_type board_info[4]
Visible in:  boards.c
Used in: Board_display_msg()boards.c
  Board_load_board()boards.c
  Board_remove_msg()boards.c
  Board_reset_board()boards.c
  Board_save_board()boards.c
  Board_show_board()boards.c
  Board_write_message()boards.c
  find_board()boards.c
  init_boards()boards.c

Global Variable gen_board

int ( gen_board)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  boards.c
   spec_assign.c
Used in: assign_objects()spec_assign.c

Global Variable msg_storage

char* msg_storage[((4*60)+5)]
Visible in:  boards.c
Used in: Board_display_msg()boards.c
  Board_load_board()boards.c
  Board_remove_msg()boards.c
  Board_reset_board()boards.c
  Board_save_board()boards.c
  Board_write_message()boards.c
  init_boards()boards.c

Global Variable msg_storage_taken

int msg_storage_taken[((4*60)+5)]
Visible in:  boards.c
Used in: Board_remove_msg()boards.c
  Board_reset_board()boards.c
  find_slot()boards.c
  init_boards()boards.c

Global Variable num_of_msgs

int num_of_msgs[4]
Visible in:  boards.c
Used in: Board_display_msg()boards.c
  Board_load_board()boards.c
  Board_remove_msg()boards.c
  Board_reset_board()boards.c
  Board_save_board()boards.c
  Board_show_board()boards.c
  Board_write_message()boards.c
  init_boards()boards.c

Global Variable ACMD_READ

int ACMD_READ
Visible in:  boards.c
Used in: gen_board()boards.c
  init_boards()boards.c

Global Variable ACMD_LOOK

int ACMD_LOOK
Visible in:  boards.c
Used in: gen_board()boards.c
  init_boards()boards.c

Global Variable ACMD_EXAMINE

int ACMD_EXAMINE
Visible in:  boards.c
Used in: gen_board()boards.c
  init_boards()boards.c

Global Variable ACMD_WRITE

int ACMD_WRITE
Visible in:  boards.c
Used in: gen_board()boards.c
  init_boards()boards.c

Global Variable ACMD_REMOVE

int ACMD_REMOVE
Visible in:  boards.c
Used in: gen_board()boards.c
  init_boards()boards.c

Global Variable msg_index

struct board_msginfo msg_index[4][60]
Visible in:  boards.c
Used in: Board_display_msg()boards.c
  Board_load_board()boards.c
  Board_remove_msg()boards.c
  Board_reset_board()boards.c
  Board_save_board()boards.c
  Board_show_board()boards.c
  Board_write_message()boards.c
  init_boards()boards.c

External Variables

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

descriptor_list
extern struct descriptor_data* descriptor_list
Defined in: comm.c


Global Function Board_display_msg()

int Board_display_msg ( int board_type, struct char_data* ch, char* arg, struct obj_data* board )
Prototyped in: boards.h
Calls: Board_show_board()boards.c
  basic_mud_log()utils.c
  isname()handler.c
  one_argument()interpreter.c
  page_string()modify.c
  send_to_char()comm.c
  atoi(), sprintf(), strchr()
Called by: gen_board()boards.c
References Variables: board_infoboards.c
  msg_indexboards.c
  msg_storageboards.c
  num_of_msgsboards.c
  top_of_worlddb.c
  worlddb.c

Global Function Board_load_board()

void Board_load_board ( int board_type )
Prototyped in: boards.h
Calls: Board_reset_board()boards.c
  basic_mud_log()utils.c
  find_slot()boards.c
  __errno_location(), abort(), calloc(), fclose(), fopen(), fread(), perror()
Called by: init_boards()boards.c
References Variables: board_infoboards.c
  msg_indexboards.c
  msg_storageboards.c
  num_of_msgsboards.c

Global Function Board_remove_msg()

int Board_remove_msg ( int board_type, struct char_data* ch, char* arg, struct obj_data* board )
Prototyped in: boards.h
Calls: Board_save_board()boards.c
  act()comm.c
  basic_mud_log()utils.c
  one_argument()interpreter.c
  send_to_char()comm.c
  atoi(), free(), sprintf(), strstr()
Called by: gen_board()boards.c
References Variables: board_infoboards.c
  descriptor_listcomm.c
  msg_indexboards.c
  msg_storageboards.c
  msg_storage_takenboards.c
  num_of_msgsboards.c
  top_of_worlddb.c
  worlddb.c

Global Function Board_reset_board()

void Board_reset_board ( int board_type )
Prototyped in: boards.h
Calls: free(), memset(), remove()
Called by: Board_load_board()boards.c
References Variables: board_infoboards.c
  msg_indexboards.c
  msg_storageboards.c
  msg_storage_takenboards.c
  num_of_msgsboards.c

Global Function Board_save_board()

void Board_save_board ( int board_type )
Prototyped in: boards.h
Calls: fclose(), fopen(), fwrite(), perror(), remove(), strlen()
Called by: Board_remove_msg()boards.c
  string_add()modify.c
References Variables: board_infoboards.c
  msg_indexboards.c
  msg_storageboards.c
  num_of_msgsboards.c

Global Function Board_show_board()

int Board_show_board ( int board_type, struct char_data* ch, char* arg, struct obj_data* board )
Prototyped in: boards.h
Calls: act()comm.c
  basic_mud_log()utils.c
  isname()handler.c
  one_argument()interpreter.c
  page_string()modify.c
  send_to_char()comm.c
  sprintf(), strcat(), strcpy(), strlen()
Called by: Board_display_msg()boards.c
  gen_board()boards.c
References Variables: board_infoboards.c
  msg_indexboards.c
  num_of_msgsboards.c

Global Function Board_write_message()

int Board_write_message ( int board_type, struct char_data* ch, char* arg, struct obj_data* board )
Prototyped in: boards.h
Calls: act()comm.c
  basic_mud_log()utils.c
  delete_doubledollar()interpreter.c
  find_slot()boards.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  str_dup()utils.c
  string_write()modify.c
  asctime(), localtime(), sprintf(), strlen(), time()
Called by: gen_board()boards.c
References Variables: board_infoboards.c
  msg_indexboards.c
  msg_storageboards.c
  num_of_msgsboards.c

Global Function find_board()

int find_board ( struct char_data* ch )
Prototyped in: boards.c
Called by: gen_board()boards.c
References Variables: board_infoboards.c
  worlddb.c

Global Function find_slot()

int find_slot ( void )
Prototyped in: boards.c
Called by: Board_load_board()boards.c
  Board_write_message()boards.c
References Variables: msg_storage_takenboards.c

Global Function gen_board()

int ( gen_board) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: Board_display_msg()boards.c
  Board_remove_msg()boards.c
  Board_show_board()boards.c
  Board_write_message()boards.c
  basic_mud_log()utils.c
  find_board()boards.c
  init_boards()boards.c
References Variables: ACMD_EXAMINEboards.c
  ACMD_LOOKboards.c
  ACMD_READboards.c
  ACMD_REMOVEboards.c
  ACMD_WRITEboards.c

Global Function init_boards()

void init_boards ( void )
Prototyped in: boards.c
Calls: Board_load_board()boards.c
  basic_mud_log()utils.c
  find_command()interpreter.c
  real_object()db.c
  exit(), memset()
Called by: gen_board()boards.c
References Variables: ACMD_EXAMINEboards.c
  ACMD_LOOKboards.c
  ACMD_READboards.c
  ACMD_REMOVEboards.c
  ACMD_WRITEboards.c
  board_infoboards.c
  msg_indexboards.c
  msg_storageboards.c
  msg_storage_takenboards.c
  num_of_msgsboards.c