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
#include "structs.h"
#include "utils.h"
#include "interpreter.h"
#include "handler.h"
#include "db.h"
#include "comm.h"
#include "spells.h"
#include "mail.h"
#include "boards.h"
Preprocessor definitions
#define PAGE_LENGTH 22
#define PAGE_WIDTH 80
Global Variable string_fields
char* string_fields[]
- Visible in:
-
- modify.c
Global Variable length
int length[]
- Visible in:
-
- modify.c
External Variables
MENU
extern char* MENU
- Defined in:
-
- config.c
spells
extern char* spells[]
- Defined in:
-
- spell_parser.c
Global Function count_pages()
int count_pages ( char* str )
- 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 )
- Calls:
-
- 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:
-
- NOPERSON : config.c
- spells : spell_parser.c
Global Function next_page()
char* next_page ( char* str )
- 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:
-
- count_pages() : modify.c
- paginate_string() : modify.c
- send_to_char() : comm.c
- show_string() : modify.c
- str_dup() : utils.c
- __gnu_calloc(), abort(), 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
- 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 )
- 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
- one_argument() : interpreter.c
- send_to_char() : comm.c
- atoi(), free(), strncpy()
- Called by:
-
- game_loop() : comm.c
- page_string() : modify.c
- References Variables:
-
- buf
Global Function string_add()
void string_add ( struct descriptor_data* d, char* str )
- Calls:
-
- Board_save_board() : boards.c
- delete_doubledollar() : interpreter.c
- send_to_char() : comm.c
- store_mail() : mail.c
- write_to_output() : comm.c
- __gnu_calloc(), abort(), exit(), free(), perror(), realloc(), strcat(), strcpy(), strlen()
- Called by:
-
- game_loop() : comm.c
- References Variables:
-
- MENU : config.c