aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/client_textmessage.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /sp/src/public/client_textmessage.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'sp/src/public/client_textmessage.h')
-rw-r--r--sp/src/public/client_textmessage.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/sp/src/public/client_textmessage.h b/sp/src/public/client_textmessage.h
new file mode 100644
index 00000000..80011c2f
--- /dev/null
+++ b/sp/src/public/client_textmessage.h
@@ -0,0 +1,33 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef CLIENT_TEXTMESSAGE_H
+#define CLIENT_TEXTMESSAGE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+struct client_textmessage_t
+{
+ int effect;
+ byte r1, g1, b1, a1; // 2 colors for effects
+ byte r2, g2, b2, a2;
+ float x;
+ float y;
+ float fadein;
+ float fadeout;
+ float holdtime;
+ float fxtime;
+ const char *pVGuiSchemeFontName; // If null, use default font for messages
+ const char *pName;
+ const char *pMessage;
+ bool bRoundedRectBackdropBox;
+ float flBoxSize; // as a function of font height
+ byte boxcolor[4];
+ char const *pClearMessage; // message to clear
+};
+
+#endif // CLIENT_TEXTMESSAGE_H