aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/con_say.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/con_say.h
downloadopenparsec-main.tar.xz
openparsec-main.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/con_say.h')
-rw-r--r--src/parsec/include/con_say.h41
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
+
+