aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/h_global.h
blob: 52aa3cd09fdfd323400894830e9bbea9c38ac90d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * PARSEC HEADER: h_global.h
 */

#ifndef _H_GLOBAL_H_
#define _H_GLOBAL_H_


// global externals (GAME CODE/HUD) -----------------------


// message maintenance

struct msgmaint_s {

	int 			lifetimecount;
	char			message[ MAX_MESSAGELEN + 1 ];
};

extern msgmaint_s		MsgMaint[];


// texfont messages

struct texfontmsg_s {

	char*			message;
	IterTexfont*	itexfont;

	short			msgtype;
	word			flags;

	short			maxpulses;
	short			refalpha;
	float			decalpha;

	int 			lifetime;
	int				starttime;
	float			curalpha;
};

extern texfontmsg_s		TexfontMsgs[];


#endif // _H_GLOBAL_H_