OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
tr_extratypes.h
1/*
2===========================================================================
3Copyright (C) 2009-2011 Andrei Drexler, Richard Allen, James Canete
4
5This file is part of Reaction source code.
6
7Reaction source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12Reaction source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with Reaction source code; if not, write to the Free Software
19Foundation, 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
33typedef struct {
34 float blurFactor;
35 float sunDir[3];
36 float sunCol[3];
37 float sunAmbCol[3];
39
40#endif
Definition tr_extratypes.h:33