2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 * Ken Stevens, Steve McClure
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * See files README, COPYING and CREDITS in the root of the source
23 * tree for related information and legal notices. It is expected
24 * that future projects/authors will amend these files as needed.
28 * symbol.c: Empire symbol tables
30 * Known contributors to this file:
31 * Markus Armbruster, 2006
46 struct symbol agreement_statuses[] = {
48 {AGREE_PROPOSED, "proposed"},
49 {AGREE_SIGNED, "signed"},
53 struct symbol land_chr_flags[] = {
54 {L_ENGINEER, "engineer"},
56 {L_SECURITY, "security"},
61 {L_ASSAULT, "assault"},
69 struct symbol level[] = {
71 {NAT_TLEV, "technology"},
72 {NAT_RLEV, "research"},
73 {NAT_ELEV, "education"},
74 {NAT_HLEV, "happiness"},
78 struct symbol meta_flags[] = {
86 struct symbol meta_type[] = {
104 struct symbol missions[] = {
106 {MI_INTERDICT, "interdiction"},
107 {MI_SUPPORT, "support"},
108 {MI_RESERVE, "reserve"},
109 {MI_ESCORT, "escort"},
110 {MI_AIR_DEFENSE, "air defense"},
111 {MI_DSUPPORT, "defensive support"},
112 {MI_OSUPPORT, "offensive support"},
116 struct symbol nation_flags[] = {
117 {NF_INFORM, "inform"},
120 {NF_COASTWATCH, "coastwatch"},
122 {NF_TECHLISTS, "techlists"},
123 {NF_SACKED, "sacked"},
127 struct symbol nation_relations[] = {
129 {SITZKRIEG, "sitzkrieg"},
130 {MOBILIZATION, "mobilization"},
131 {HOSTILE, "hostile"},
132 {NEUTRAL, "neutral"},
133 {FRIENDLY, "friendly"},
138 struct symbol nation_status[] = {
139 {STAT_UNUSED, "unused"},
141 {STAT_VIS, "visitor"},
142 {STAT_SANCT, "sanctuary"},
143 {STAT_ACTIVE, "active"},
148 struct symbol nuke_chr_flags[] = {
153 struct symbol packing[] = {
154 {IPKG, "inefficient"},
162 struct symbol page_headings[] = {
163 {N_NOTUSED, "Comics"},
164 {N_FOR, "Foreign Affairs"},
165 {N_FRONT, "The Front Line"},
166 {N_SEA, "The High Seas"},
167 {N_SKY, "Sky Watch"},
168 {N_MISS, "Guidance Systems"},
169 {N_ARTY, "Firestorms"},
170 {N_ECON, "Business & Economics"},
171 {N_COLONY, "The Frontier"},
172 {N_HOME, "The Home Front"},
173 {N_SPY, "Espionage"},
174 {N_TELE, "Telecommunications"},
178 struct symbol plague_stages[] = {
179 {PLG_HEALTHY, "healthy"},
180 {PLG_DYING, "dying"},
181 {PLG_INFECT, "infect"},
182 {PLG_INCUBATE, "incubate"},
183 {PLG_EXPOSED, "exposed"},
187 struct symbol plane_chr_flags[] = {
200 {P_H, "half-stealth"},
212 struct symbol plane_flags[] = {
213 {PLN_LAUNCHED, "launched"},
214 {PLN_SYNCHRONOUS, "synchronous"},
215 {PLN_AIRBURST, "airbust"},
219 struct symbol resources[] = {
220 /* names should match resource selector names in sect_ca[] */
222 {offsetof(struct sctstr, sct_min), "min"},
223 {offsetof(struct sctstr, sct_gmin), "gold"},
224 {offsetof(struct sctstr, sct_fertil), "fert"},
225 {offsetof(struct sctstr, sct_oil), "ocontent"},
226 {offsetof(struct sctstr, sct_uran), "uran"},
230 struct symbol retreat_flags[] = {
231 {RET_GROUP, "group"},
232 {RET_INJURED, "injured"},
233 {RET_TORPED, "torped"},
234 {RET_SONARED, "sonared"},
235 {RET_HELPLESS, "helpless"},
236 {RET_BOMBED, "bombed"},
237 {RET_DCHRGED, "depth-charged"},
238 {RET_BOARDED, "boarded"},
242 struct symbol sector_navigation[] = {
246 {NAV_CANAL, "canal"},
251 struct symbol ship_chr_flags[] = {
263 {M_SUBT, "sub-torp"},
265 {M_SEMILAND, "semi-land"},
267 {M_SUPPLY, "supply"},
269 {M_ANTIMISSILE, "anti-missile"},
273 struct symbol treaty_flags[] = {
274 {LNDATT, "no attacks on any land units"},
275 {SEAATT, "no attacks on any ships"},
276 {SEAFIR, "no shelling any ships"},
277 {SUBFIR, "no depth-charging any subs"},
278 {LANATT, "no sector attacks"},
279 {LANFIR, "no shelling any land"},
280 {NEWSHP, "no building ships"},
281 {NEWNUK, "no new nuclear weapons"},
282 {NEWPLN, "no building planes"},
283 {NEWLND, "no building land units"},
284 {TRTENL, "no enlistment"},