RigsofRods
Soft-body Physics Simulation
source
main
gfx
hydrax
Enums.h
Go to the documentation of this file.
1
/*
2
--------------------------------------------------------------------------------
3
This source file is part of Hydrax.
4
Visit ---
5
6
Copyright (C) 2008 Xavier Verguín González <xavierverguin@hotmail.com>
7
<xavyiy@gmail.com>
8
9
This program is free software; you can redistribute it and/or modify it under
10
the terms of the GNU Lesser General Public License as published by the Free Software
11
Foundation; either version 2 of the License, or (at your option) any later
12
version.
13
14
This program is distributed in the hope that it will be useful, but WITHOUT
15
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17
18
You should have received a copy of the GNU Lesser General Public License along with
19
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21
http://www.gnu.org/copyleft/lesser.txt.
22
--------------------------------------------------------------------------------
23
*/
24
25
#ifndef _Hydrax_Enums_H_
26
#define _Hydrax_Enums_H_
27
28
#include "
Prerequisites.h
"
29
32
35
36
namespace
Hydrax
37
{
40
enum
TextureQuality
41
{
42
TEX_QUA_2
= 2,
43
TEX_QUA_4
= 4,
44
TEX_QUA_8
= 8,
45
TEX_QUA_16
= 16,
46
TEX_QUA_32
= 32,
47
TEX_QUA_64
= 64,
48
TEX_QUA_128
= 128,
49
TEX_QUA_256
= 256,
50
TEX_QUA_512
= 512,
51
TEX_QUA_1024
= 1024
52
};
53
57
enum
HydraxComponent
58
{
59
HYDRAX_COMPONENT_SUN
= 1 << 0,
60
HYDRAX_COMPONENT_FOAM
= 1 << 1,
61
HYDRAX_COMPONENT_DEPTH
= 1 << 2,
63
HYDRAX_COMPONENT_SMOOTH
= 1 << 3,
64
HYDRAX_COMPONENT_CAUSTICS
= 1 << 4,
65
HYDRAX_COMPONENT_UNDERWATER
= 1 << 5,
67
HYDRAX_COMPONENT_UNDERWATER_REFLECTIONS
= 1 << 6,
68
HYDRAX_COMPONENT_UNDERWATER_GODRAYS
= 1 << 7,
69
70
HYDRAX_COMPONENTS_NONE
= 0x0000,
71
HYDRAX_COMPONENTS_ALL
= 0x001F,
72
};
73
}
74
77
78
#endif
Hydrax::TEX_QUA_32
@ TEX_QUA_32
Definition:
Enums.h:46
Hydrax::TEX_QUA_4
@ TEX_QUA_4
Definition:
Enums.h:43
Hydrax::HYDRAX_COMPONENT_FOAM
@ HYDRAX_COMPONENT_FOAM
Definition:
Enums.h:60
Hydrax::HYDRAX_COMPONENT_UNDERWATER_REFLECTIONS
@ HYDRAX_COMPONENT_UNDERWATER_REFLECTIONS
Underwater reflections and god rays need underwater component.
Definition:
Enums.h:67
Hydrax::HYDRAX_COMPONENTS_ALL
@ HYDRAX_COMPONENTS_ALL
Definition:
Enums.h:71
Hydrax
Definition:
CfgFileManager.cpp:28
Hydrax::HYDRAX_COMPONENT_SUN
@ HYDRAX_COMPONENT_SUN
Definition:
Enums.h:59
Hydrax::TEX_QUA_1024
@ TEX_QUA_1024
Definition:
Enums.h:51
Hydrax::TEX_QUA_512
@ TEX_QUA_512
Definition:
Enums.h:50
Hydrax::HYDRAX_COMPONENT_DEPTH
@ HYDRAX_COMPONENT_DEPTH
Definition:
Enums.h:61
Hydrax::TEX_QUA_16
@ TEX_QUA_16
Definition:
Enums.h:45
Hydrax::TEX_QUA_256
@ TEX_QUA_256
Definition:
Enums.h:49
Hydrax::TEX_QUA_2
@ TEX_QUA_2
Definition:
Enums.h:42
Prerequisites.h
Hydrax::TEX_QUA_8
@ TEX_QUA_8
Definition:
Enums.h:44
Hydrax::TEX_QUA_64
@ TEX_QUA_64
Definition:
Enums.h:47
Hydrax::HYDRAX_COMPONENT_SMOOTH
@ HYDRAX_COMPONENT_SMOOTH
Smooth transitions and caustics components need depth component.
Definition:
Enums.h:63
Hydrax::HydraxComponent
HydraxComponent
Hydrax flags to select components wich we want to use.
Definition:
Enums.h:57
Hydrax::HYDRAX_COMPONENTS_NONE
@ HYDRAX_COMPONENTS_NONE
Definition:
Enums.h:70
Hydrax::HYDRAX_COMPONENT_UNDERWATER
@ HYDRAX_COMPONENT_UNDERWATER
Definition:
Enums.h:65
Hydrax::HYDRAX_COMPONENT_CAUSTICS
@ HYDRAX_COMPONENT_CAUSTICS
Definition:
Enums.h:64
Hydrax::HYDRAX_COMPONENT_UNDERWATER_GODRAYS
@ HYDRAX_COMPONENT_UNDERWATER_GODRAYS
Definition:
Enums.h:68
Hydrax::TextureQuality
TextureQuality
Texture quality enumeration(2^n)
Definition:
Enums.h:40
Hydrax::TEX_QUA_128
@ TEX_QUA_128
Definition:
Enums.h:48
Generated by
1.8.17