File modify.c

* New Pagination Code * Michael Buselli submitted the following code for an enhanced pager * for CircleMUD. All functions below are his. --JE 8 Mar 96 *


Included Files


Global Variable string_fields

const char* string_fields[]
Visible in:  modify.c

Global Variable length

int length[]
Visible in:  modify.c

External Variables

spell_info
extern struct spell_info_type spell_info[]
Defined in: spell_parser.c

MENU
extern const char* MENU
Defined in: config.c

unused_spellname
extern const char* unused_spellname
Defined in: spell_parser.c


Global Function count_pages()

int count_pages ( char* str )
Prototyped in: modify.c
Calls: next_page()modify.c
Called by: page_string()modify.c

Global Function do_skillset()

void do_skillset ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: modify.c
Calls: basic_mud_log()utils.c
  find_skill_num()spell_parser.c
  get_char_vis()handler.c
  mudlog()utils.c
  one_argument()interpreter.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  atoi(), sprintf(), strcat(), strcpy(), strlen()
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  dummy_mobdb.c
  spell_infospell_parser.c
  unused_spellnamespell_parser.c

Global Function next_page()

char* next_page ( char* str )
Prototyped in: modify.c
Called by: count_pages()modify.c
  paginate_string()modify.c

Global Function page_string()

void page_string ( struct descriptor_data* d, char* str, int keep_internal )
Prototyped in: comm.h
Calls: basic_mud_log()utils.c
  count_pages()modify.c
  paginate_string()modify.c
  send_to_char()comm.c
  show_string()modify.c
  str_dup()utils.c
  abort(), calloc(), perror()
Called by: Board_display_msg()boards.c
  Board_show_board()boards.c
  do_gen_ps()act.informative.c
  do_help()act.informative.c
  do_levels()act.informative.c
  do_show()act.wizard.c
  list_all_shops()shop.c
  list_skills()spec_procs.c
  look_at_target()act.informative.c
  nanny()interpreter.c
  shopping_list()shop.c
  show_obj_to_char()act.informative.c

Global Function paginate_string()

void paginate_string ( char* str, struct descriptor_data* d )
Prototyped in: modify.c
Calls: next_page()modify.c
Called by: page_string()modify.c

Global Function show_string()

void show_string ( struct descriptor_data* d, char* input )
Prototyped in: modify.c
Calls: MAX()utils.c
  MIN()utils.c
  any_one_arg()interpreter.c
  send_to_char()comm.c
  atoi(), free(), strncpy()
Called by: game_loop()comm.c
  page_string()modify.c
References Variables: bufdb.c

Global Function smash_tilde()

void smash_tilde ( char* str )
Prototyped in: modify.c
Called by: string_add()modify.c

Global Function string_add()

void string_add ( struct descriptor_data* d, char* str )
Prototyped in: comm.h
Calls: Board_save_board()boards.c
  basic_mud_log()utils.c
  delete_doubledollar()interpreter.c
  send_to_char()comm.c
  smash_tilde()modify.c
  store_mail()mail.c
  write_to_output()comm.c
  abort(), calloc(), free(), perror(), realloc(), strcat(), strcpy(), strlen()
Called by: game_loop()comm.c
References Variables: MENUconfig.c

Global Function string_write()

void string_write ( struct descriptor_data* d, char** writeto, size_t len, long mailto, void* data )
Prototyped in: comm.h
Calls: mudlog()utils.c
Called by: Board_write_message()boards.c
  do_write()act.comm.c
  olc_string()olc.c
  postmaster_send_mail()mail.c