Client: Add text.h, move some defs out of text.qc into it for global visibility sake
This commit is contained in:
parent
e8de2b32bb
commit
27715fd1b6
3 changed files with 16 additions and 16 deletions
|
@ -14,6 +14,7 @@
|
||||||
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "text.h"
|
||||||
#include "textmenu.h"
|
#include "textmenu.h"
|
||||||
#include "efx.h"
|
#include "efx.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
|
|
15
src/client/text.h
Normal file
15
src/client/text.h
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
string m_strMessage;
|
||||||
|
float m_flPosX;
|
||||||
|
float m_flPosY;
|
||||||
|
int m_iEffect;
|
||||||
|
vector m_vecColor1;
|
||||||
|
vector m_vecColor2;
|
||||||
|
float m_flFadeIn;
|
||||||
|
float m_flFadeOut;
|
||||||
|
float m_flHoldTime;
|
||||||
|
float m_flFXTime;
|
||||||
|
float m_flTime;
|
||||||
|
} gametext_t;
|
||||||
|
gametext_t g_textchannels[6];
|
|
@ -14,22 +14,6 @@
|
||||||
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
string m_strMessage;
|
|
||||||
float m_flPosX;
|
|
||||||
float m_flPosY;
|
|
||||||
int m_iEffect;
|
|
||||||
vector m_vecColor1;
|
|
||||||
vector m_vecColor2;
|
|
||||||
float m_flFadeIn;
|
|
||||||
float m_flFadeOut;
|
|
||||||
float m_flHoldTime;
|
|
||||||
float m_flFXTime;
|
|
||||||
float m_flTime;
|
|
||||||
} gametext_t;
|
|
||||||
gametext_t g_textchannels[6];
|
|
||||||
|
|
||||||
/* for effect 2 */
|
/* for effect 2 */
|
||||||
int
|
int
|
||||||
GameText_CharCount(float fadein, float timer, string msg)
|
GameText_CharCount(float fadein, float timer, string msg)
|
||||||
|
|
Loading…
Reference in a new issue