blob: baeb3d386a49e811d6e031d1c9d923f4be33c126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
|