OpenMoHAA
0.82.0
Loading...
Searching...
No Matches
tr_extratypes.h
1
/*
2
===========================================================================
3
Copyright (C) 2009-2011 Andrei Drexler, Richard Allen, James Canete
4
5
This file is part of Reaction source code.
6
7
Reaction source code is free software; you can redistribute it
8
and/or modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of the License,
10
or (at your option) any later version.
11
12
Reaction source code is distributed in the hope that it will be
13
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Reaction source code; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
===========================================================================
21
*/
22
23
#ifndef __TR_EXTRATYPES_H__
24
#define __TR_EXTRATYPES_H__
25
26
// tr_extratypes.h, for mods that want to extend tr_types.h without losing compatibility with original VMs
27
28
// extra refdef flags start at 0x0008
29
#define RDF_NOFOG 0x0008
// don't apply fog to polys added using RE_AddPolyToScene
30
#define RDF_EXTRA 0x0010
// Makro - refdefex_t to follow after refdef_t
31
#define RDF_SUNLIGHT 0x0020
// SmileTheory - render sunlight and shadows
32
33
typedef
struct
{
34
float
blurFactor;
35
float
sunDir[3];
36
float
sunCol[3];
37
float
sunAmbCol[3];
38
}
refdefex_t
;
39
40
#endif
refdefex_t
Definition
tr_extratypes.h:33
code
renderergl2
tr_extratypes.h
Generated by
1.13.2