mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
30 lines
664 B
C
30 lines
664 B
C
![]() |
//========= Copyright <20> 1996-2005, 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;
|
|||
|
};
|
|||
|
|
|||
|
#endif // CLIENT_TEXTMESSAGE_H
|