Last change
on this file since 80 was
80,
checked in by Sam Hocevar, 14 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
1.3 KB
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef G1_TINT_HH
|
---|
10 | #define G1_TINT_HH
|
---|
11 |
|
---|
12 | // this is in a seperate file so maxtool and golgotha can share this code
|
---|
13 |
|
---|
14 | #include "g1_limits.hh"
|
---|
15 | #include "r1_api.hh"
|
---|
16 |
|
---|
17 | enum { G1_NUM_HURT_TINTS = 5 };
|
---|
18 | enum g1_tint_type { G1_TINT_OFF, G1_TINT_POLYS, G1_TINT_ALL };
|
---|
19 |
|
---|
20 | extern g1_tint_type g1_tint;
|
---|
21 | extern r1_color_tint_handle g1_player_tint_handles[G1_MAX_PLAYERS];
|
---|
22 | extern r1_color_tint_handle g1_hurt_tint_handles[G1_NUM_HURT_TINTS];
|
---|
23 |
|
---|
24 | extern int g1_hurt_tint;
|
---|
25 |
|
---|
26 |
|
---|
27 | struct g1_tint_struct { i4_float r,g,b; };
|
---|
28 | extern g1_tint_struct g1_player_tint_data[G1_MAX_PLAYERS];
|
---|
29 | extern g1_tint_struct g1_hurt_tint_data[G1_NUM_HURT_TINTS];
|
---|
30 |
|
---|
31 | // this will register the color tints with the rendering api, afterwards you can call
|
---|
32 | // api->set_color_tint(player_tint_handles[player_num]);
|
---|
33 | void g1_init_color_tints(r1_render_api_class *api);
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.