Recenter Han emblem logo slightly and fix the name.
[0ad.git] / source / ps / CStrInternStatic.h
blobe4cac6803e03315f5324609dc8eb524339875548
1 /* Copyright (C) 2022 Wildfire Games.
2 * This file is part of 0 A.D.
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.
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.
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/>.
18 // This file defines global CStrIntern variables, to avoid the cost of
19 // constructing CStrInterns frequently at runtime.
21 // A line like
22 // X(foo)
23 // defines a variable str_foo with value "foo".
25 // A line like
26 // X2(foo_0, "foo[0]")
27 // defines a variable str_foo_0 with value "foo[0]".
29 // For direct inclusion, we presumably just want the extern definitions.
30 #ifndef X
31 #include "CStrIntern.h"
32 #define X(id) extern CStrIntern str_##id;
33 #define X2(id, str) extern CStrIntern str_##id;
34 #endif
36 X(0)
37 X(1)
38 X(2)
39 X(3)
40 X(4)
41 X(ALPHABLEND_PASS_BLEND)
42 X(ALPHABLEND_PASS_OPAQUE)
43 X(BLEND)
44 X(BLOOM_NOP)
45 X(BLOOM_PASS_H)
46 X(BLOOM_PASS_V)
47 X(DECAL)
48 X(DISABLE_RECEIVE_SHADOWS)
49 X(IGNORE_LOS)
50 X(MINIMAP_BASE)
51 X(MINIMAP_LINE)
52 X(MINIMAP_LOS)
53 X(MINIMAP_MASK)
54 X(MINIMAP_POINT)
55 X(MODE_SHADOWCAST)
56 X(MODE_SILHOUETTEDISPLAY)
57 X(MODE_SILHOUETTEOCCLUDER)
58 X(MODE_WIREFRAME)
59 X(MODE_WIREFRAME_SOLID)
60 X(PASS_REFLECTIONS)
61 X(PASS_REFRACTIONS)
62 X(PASS_SHADOWS)
63 X(RENDER_DEBUG_MODE)
64 X(RENDER_DEBUG_MODE_AO)
65 X(RENDER_DEBUG_MODE_ALPHA)
66 X(RENDER_DEBUG_MODE_CUSTOM)
67 X(RENDER_DEBUG_MODE_NONE)
68 X(SHADOWS_CASCADE_COUNT)
69 X(USE_FANCY_EFFECTS)
70 X(USE_FP_SHADOW)
71 X(USE_GPU_INSTANCING)
72 X(USE_GPU_SKINNING)
73 X(USE_INSTANCING)
74 X(USE_NORMALS)
75 X(USE_OBJECTCOLOR)
76 X(USE_REAL_DEPTH)
77 X(USE_REFLECTION)
78 X(USE_REFRACTION)
79 X(USE_SHADOW)
80 X(USE_SHADOW_PCF)
81 X(USE_SHADOW_SAMPLER)
82 X(USE_FOG)
83 X(WATERTYPE_CLAP)
84 X(WATERTYPE_LAKE)
85 X2(_emptystring, "")
86 X(a_apexPosition)
87 X(a_otherPosition)
88 X(a_retreatPosition)
89 X(a_skinJoints)
90 X(a_skinWeights)
91 X(a_splashPosition)
92 X(a_tangent)
93 X(a_waterInfo)
94 X(ambient)
95 X(baseTex)
96 X(blendTex)
97 X(bloom)
98 X(blurTex2)
99 X(blurTex4)
100 X(blurTex8)
101 X(brightness)
102 X(cameraForward)
103 X(cameraPos)
104 X(canvas2d)
105 X(color)
106 X(colorAdd)
107 X(colorMul)
108 X(debug_line)
109 X(debug_overlay)
110 X(delta)
111 X(depthTex)
112 X(dummy)
113 X(foamTex)
114 X(fogColor)
115 X(fogParams)
116 X(foreground_overlay)
117 X(grayscaleFactor)
118 X(hdr)
119 X(height)
120 X(instancingTransform)
121 X(losTex)
122 X(losTex1)
123 X(losTex2)
124 X(losTransform)
125 X(los_interp)
126 X(mapSize)
127 X(maskTex)
128 X(maskTextureTransform)
129 X(minimap)
130 X(minimap_los)
131 X(modelViewMatrix)
132 X(murkiness)
133 X(normalMap)
134 X(normalMap2)
135 X(objectColor)
136 X(overlay_line)
137 X(overlay_solid)
138 X(particle_add)
139 X(particle_multiply)
140 X(particle_overlay)
141 X(particle_solid)
142 X(particle_subtract)
143 X(playerColor)
144 X(projInvTransform)
145 X(qualityLevel)
146 X(reflectionMap)
147 X(reflectionMatrix)
148 X(refractionMap)
149 X(refractionMatrix)
150 X(renderedTex)
151 X(repeatScale)
152 X2(sans_10, "sans-10");
153 X(saturation)
154 X(screenSize)
155 X(shadingColor)
156 X(shadowDistance)
157 X(shadowDistances)
158 X(shadowScale)
159 X(shadowTex)
160 X(shadowTransform)
161 X(shadowTransforms)
162 X(sharpness)
163 X(skinBlendMatrices)
164 X(skyBoxRot)
165 X(skyCube)
166 X(sky_simple)
167 X(solid)
168 X(sunColor)
169 X(sunDir)
170 X(terrain_solid)
171 X(tex)
172 X(texSize)
173 X(textureTransform)
174 X(time)
175 X(tint)
176 X(transform)
177 X(translation)
178 X(viewInvTransform)
179 X(water_high)
180 X(water_simple)
181 X(water_waves)
182 X(waterEffectsTex)
183 X(waterTex)
184 X(waveTex)
185 X(waviness)
186 X(waveParams1)
187 X(waveParams2)
188 X(width)
189 X(windAngle)
190 X(zFar)
191 X(zNear)
193 #undef X
194 #undef X2