Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
786 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef CLIENT_TEXTMESSAGE_H
  7. #define CLIENT_TEXTMESSAGE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. struct client_textmessage_t
  12. {
  13. int effect;
  14. byte r1, g1, b1, a1; // 2 colors for effects
  15. byte r2, g2, b2, a2;
  16. float x;
  17. float y;
  18. float fadein;
  19. float fadeout;
  20. float holdtime;
  21. float fxtime;
  22. const char *pVGuiSchemeFontName; // If null, use default font for messages
  23. const char *pName;
  24. const char *pMessage;
  25. bool bRoundedRectBackdropBox;
  26. float flBoxSize; // as a function of font height
  27. byte boxcolor[4];
  28. char const *pClearMessage; // message to clear
  29. };
  30. #endif // CLIENT_TEXTMESSAGE_H