diff options
Diffstat (limited to 'src/parsec/include/con_say.h')
| -rw-r--r-- | src/parsec/include/con_say.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/parsec/include/con_say.h b/src/parsec/include/con_say.h new file mode 100644 index 0000000..baeb3d3 --- /dev/null +++ b/src/parsec/include/con_say.h @@ -0,0 +1,41 @@ +/* + * PARSEC HEADER: con_say.h + */ + +#ifndef _CON_SAY_H_ +#define _CON_SAY_H_ + + +#define NUM_TEXT_MACROS 10 +#define MAX_TEXTMACRO_LEN 127 + + +// modes of talk display + +enum enum_talk_modes { + + TALK_PUBLIC, // name in < > + TALK_PRIVATE, // name in * * + TALK_STATUS, // no name in front of text + + // must be last in list!! + NUM_TALK_MODES +}; + + +// external variables + +extern char text_macros[][ MAX_TEXTMACRO_LEN + 1 ]; + + +// external functions + +int Cmd_SayText( char *cstr ); +int Cmd_SetTextMacro( char *cstr ); + +void ShowSentText( const char *name, const char *text, int mode ); + + +#endif + + |
