tbamud/src/modify.h

39 lines
1.4 KiB
C
Raw Normal View History

2008-04-13 23:02:15 +00:00
/**
* @file modify.h
* Header file for the modify module.
*
2008-04-13 23:02:15 +00:00
* Part of the core tbaMUD source code distribution, which is a derivative
* of, and continuation of, CircleMUD.
*
* All rights reserved. See license for complete information.
* Copyright (C) 1993, 94 by the Trustees of the Johns Hopkins University
2008-04-13 23:02:15 +00:00
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991.
*
* @todo This module is originally defined as 'Run-time modification of game
2008-04-13 23:02:15 +00:00
* variables.' I believe it has digressed from the original intent. This
* header file is created to help redefine (over time) what the heck modify.h
* is. For example, publicly functions declared in comm.h but defined in modify.c
* should have their declarations moved here.
2008-04-13 23:02:15 +00:00
*
*/
#ifndef _MODIFY_H_
#define _MODIFY_H_
/* Public functions */
void show_string(descriptor_data *d, char *input);
2008-04-13 23:02:15 +00:00
void smash_tilde(char *str);
void parse_at(char *str);
void parse_tab(char *str);
void paginate_string(char *str, descriptor_data *d);
2008-04-13 23:02:15 +00:00
/** @todo should this really be in modify.c? */
ACMD(do_skillset);
/* Following function prototypes moved here from comm.h */
void string_write(descriptor_data *d, char **txt, size_t len, long mailto, void *data);
void string_add(descriptor_data *d, char *str);
void page_string(descriptor_data *d, char *str, int keep_internal);
2008-04-13 23:02:15 +00:00
/* page string function & defines */
#define PAGE_LENGTH 22
#define PAGE_WIDTH 80
#endif /* _MODIFY_H_*/