Pyrogenesis  trunk
CStrInternStatic.h
Go to the documentation of this file.
1 /* Copyright (C) 2014 Wildfire Games.
2  * This file is part of 0 A.D.
3  *
4  * 0 A.D. is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * 0 A.D. is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 // This file defines global CStrIntern variables, to avoid the cost of
19 // constructing CStrInterns frequently at runtime.
20 //
21 // A line like
22 // X(foo)
23 // defines a variable str_foo with value "foo".
24 //
25 // A line like
26 // X2(foo_0, "foo[0]")
27 // defines a variable str_foo_0 with value "foo[0]".
28 
29 X(0)
30 X(1)
31 X(2)
32 X(ALPHABLEND_PASS_BLEND)
33 X(ALPHABLEND_PASS_OPAQUE)
34 X(BLEND)
35 X(BLOOM_NOP)
36 X(BLOOM_PASS_H)
37 X(BLOOM_PASS_V)
38 X(DECAL)
39 X(DISABLE_RECEIVE_SHADOWS)
40 X(IGNORE_LOS)
41 X(MINIMAP_BASE)
42 X(MINIMAP_LINE)
43 X(MINIMAP_LOS)
44 X(MINIMAP_POINT)
45 X(MODE_SHADOWCAST)
46 X(MODE_SILHOUETTEDISPLAY)
47 X(MODE_SILHOUETTEOCCLUDER)
48 X(MODE_WIREFRAME)
49 X(SYS_HAS_ARB)
50 X(SYS_HAS_GLSL)
51 X(SYS_PREFER_GLSL)
52 X(USE_FANCY_EFFECTS)
53 X(USE_FP_SHADOW)
54 X(USE_GPU_SKINNING)
55 X(USE_INSTANCING)
56 X(USE_NORMALS)
57 X(USE_OBJECTCOLOR)
58 X(USE_REAL_DEPTH)
59 X(USE_REFLECTION)
60 X(USE_REFRACTION)
61 X(USE_SHADOW)
62 X(USE_SHADOW_PCF)
63 X(USE_SHADOW_SAMPLER)
64 X(USE_SHADOWS_ON_WATER)
65 X(WATERTYPE_CLAP)
66 X(WATERTYPE_LAKE)
67 X2(_emptystring, "")
68 X(a_apexPosition)
69 X(a_otherPosition)
70 X(a_retreatPosition)
71 X(a_skinJoints)
72 X(a_skinWeights)
73 X(a_splashPosition)
74 X(a_tangent)
75 X(a_waterInfo)
76 X(ambient)
77 X(baseTex)
78 X(blendTex)
79 X(bloom)
80 X(blurTex2)
81 X(blurTex4)
82 X(blurTex8)
83 X(brightness)
84 X(cameraPos)
85 X(color)
86 X(colorAdd)
87 X(colorMul)
88 X(delta)
89 X(depthTex)
90 X(foamTex)
91 X(fogColor)
92 X(fogParams)
93 X(foreground_overlay)
94 X(gui_add)
95 X(gui_basic)
96 X(gui_grayscale)
97 X(gui_solid)
98 X(gui_solid_mask)
99 X(gui_text)
100 X(hdr)
101 X(height)
102 X(instancingTransform)
103 X(losMap)
104 X(losMatrix)
105 X(losTex)
106 X(losTex1)
107 X(losTex2)
108 X(losTransform)
109 X(los_interp)
110 X(mapSize)
111 X(maskTex)
112 X(minimap)
113 X(modelViewMatrix)
114 X(murkiness)
115 X(normalMap)
116 X(normalMap2)
117 X(objectColor)
118 X(overlay_solid)
119 X(particle)
120 X(particle_solid)
121 X(playerColor)
122 X(pointSize)
123 X(qualityLevel)
124 X(reflectionMap)
125 X(reflectionMatrix)
126 X(refractionMap)
127 X(refractionMatrix)
128 X(renderedTex)
129 X(repeatScale)
130 X2(sans_10, "sans-10");
131 X(saturation)
132 X(screenSize)
133 X(shadingColor)
134 X(shadowScale)
135 X(shadowTex)
136 X(shadowTransform)
137 X(skinBlendMatrices)
138 X2(skinBlendMatrices_0, "skinBlendMatrices[0]")
139 X(skyBoxRot)
140 X(skyCube)
141 X(sky_simple)
142 X(sunColor)
143 X(sunDir)
144 X(tex)
145 X(texSize)
146 X(textureTransform)
147 X(time)
148 X(tint)
149 X(transform)
150 X(translation)
151 X(waterEffectsTexNorm)
152 X(waterEffectsTexOther)
153 X(waterTex)
154 X(waveTex)
155 X(waviness)
156 X(waveParams1)
157 X(waveParams2)
158 X(width)
159 X(windAngle)
160 X(zFar)
161 X(zNear)
#define X2(id, str)
Definition: CStrIntern.cpp:90
sans
Definition: CStrInternStatic.h:130
X(0) X(1) X(2) X(ALPHABLEND_PASS_BLEND) X(ALPHABLEND_PASS_OPAQUE) X(BLEND) X(BLOOM_NOP) X(BLOOM_PASS_H) X(BLOOM_PASS_V) X(DECAL) X(DISABLE_RECEIVE_SHADOWS) X(IGNORE_LOS) X(MINIMAP_BASE) X(MINIMAP_LINE) X(MINIMAP_LOS) X(MINIMAP_POINT) X(MODE_SHADOWCAST) X(MODE_SILHOUETTEDISPLAY) X(MODE_SILHOUETTEOCCLUDER) X(MODE_WIREFRAME) X(SYS_HAS_ARB) X(SYS_HAS_GLSL) X(SYS_PREFER_GLSL) X(USE_FANCY_EFFECTS) X(USE_FP_SHADOW) X(USE_GPU_SKINNING) X(USE_INSTANCING) X(USE_NORMALS) X(USE_OBJECTCOLOR) X(USE_REAL_DEPTH) X(USE_REFLECTION) X(USE_REFRACTION) X(USE_SHADOW) X(USE_SHADOW_PCF) X(USE_SHADOW_SAMPLER) X(USE_SHADOWS_ON_WATER) X(WATERTYPE_CLAP) X(WATERTYPE_LAKE) X(a_apexPosition) X(a_otherPosition) X(a_retreatPosition) X(a_skinJoints) X(a_skinWeights) X(a_splashPosition) X(a_tangent) X(a_waterInfo) X(ambient) X(baseTex) X(blendTex) X(bloom) X(blurTex2) X(blurTex4) X(blurTex8) X(brightness) X(cameraPos) X(color) X(colorAdd) X(colorMul) X(delta) X(depthTex) X(foamTex) X(fogColor) X(fogParams) X(foreground_overlay) X(gui_add) X(gui_basic) X(gui_grayscale) X(gui_solid) X(gui_solid_mask) X(gui_text) X(hdr) X(height) X(instancingTransform) X(losMap) X(losMatrix) X(losTex) X(losTex1) X(losTex2) X(losTransform) X(los_interp) X(mapSize) X(maskTex) X(minimap) X(modelViewMatrix) X(murkiness) X(normalMap) X(normalMap2) X(objectColor) X(overlay_solid) X(particle) X(particle_solid) X(playerColor) X(pointSize) X(qualityLevel) X(reflectionMap) X(reflectionMatrix) X(refractionMap) X(refractionMatrix) X(renderedTex) X(repeatScale) X2(sans_10