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
45 struct symbol agreement_statuses[] = {
47 {AGREE_PROPOSED, "proposed"},
48 {AGREE_SIGNED, "signed"},
52 struct symbol land_chr_flags[] = {
53 {L_ENGINEER, "engineer"},
55 {L_SECURITY, "security"},
60 {L_ASSAULT, "assault"},
68 struct symbol level[] = {
70 {NAT_TLEV, "technology"},
71 {NAT_RLEV, "research"},
72 {NAT_ELEV, "education"},
73 {NAT_HLEV, "happiness"},
77 struct symbol meta_flags[] = {
85 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[] = {
130 {SITZKRIEG, "sitzkrieg"},
131 {MOBILIZATION, "mobilization"},
132 {HOSTILE, "hostile"},
133 {NEUTRAL, "neutral"},
134 {FRIENDLY, "friendly"},
139 struct symbol nation_status[] = {
140 {STAT_UNUSED, "unused"},
142 {STAT_VIS, "visitor"},
143 {STAT_SANCT, "sanctuary"},
144 {STAT_ACTIVE, "active"},
149 struct symbol nuke_chr_flags[] = {
154 struct symbol packing[] = {
155 {IPKG, "inefficient"},
163 struct symbol page_headings[] = {
164 {N_NOTUSED, "Comics"},
165 {N_FOR, "Foreign Affairs"},
166 {N_FRONT, "The Front Line"},
167 {N_SEA, "The High Seas"},
168 {N_SKY, "Sky Watch"},
169 {N_MISS, "Guidance Systems"},
170 {N_ARTY, "Firestorms"},
171 {N_ECON, "Business & Economics"},
172 {N_COLONY, "The Frontier"},
173 {N_HOME, "The Home Front"},
174 {N_SPY, "Espionage"},
175 {N_TELE, "Telecommunications"},
179 struct symbol plague_stages[] = {
180 {PLG_HEALTHY, "healthy"},
181 {PLG_DYING, "dying"},
182 {PLG_INFECT, "infect"},
183 {PLG_INCUBATE, "incubate"},
184 {PLG_EXPOSED, "exposed"},
188 struct symbol plane_chr_flags[] = {
201 {P_H, "half-stealth"},
213 struct symbol plane_flags[] = {
214 {PLN_LAUNCHED, "launched"},
215 {PLN_SYNCHRONOUS, "synchronous"},
216 {PLN_AIRBURST, "airbust"},
220 struct symbol resources[] = {
221 /* names should match resource selector names in sect_ca[] */
223 {offsetof(struct sctstr, sct_min), "min"},
224 {offsetof(struct sctstr, sct_gmin), "gold"},
225 {offsetof(struct sctstr, sct_fertil), "fert"},
226 {offsetof(struct sctstr, sct_oil), "ocontent"},
227 {offsetof(struct sctstr, sct_uran), "uran"},
231 struct symbol retreat_flags[] = {
232 {RET_GROUP, "group"},
233 {RET_INJURED, "injured"},
234 {RET_TORPED, "torped"},
235 {RET_SONARED, "sonared"},
236 {RET_HELPLESS, "helpless"},
237 {RET_BOMBED, "bombed"},
238 {RET_DCHRGED, "depth-charged"},
239 {RET_BOARDED, "boarded"},
243 struct symbol sector_navigation[] = {
247 {NAV_CANAL, "canal"},
252 struct symbol ship_chr_flags[] = {
264 {M_SUBT, "sub-torp"},
266 {M_SEMILAND, "semi-land"},
268 {M_SUPPLY, "supply"},
270 {M_ANTIMISSILE, "anti-missile"},
274 struct symbol treaty_flags[] = {
275 {LNDATT, "no attacks on any land units"},
276 {SEAATT, "no attacks on any ships"},
277 {SEAFIR, "no shelling any ships"},
278 {SUBFIR, "no depth-charging any subs"},
279 {LANATT, "no sector attacks"},
280 {LANFIR, "no shelling any land"},
281 {NEWSHP, "no building ships"},
282 {NEWNUK, "no new nuclear weapons"},
283 {NEWPLN, "no building planes"},
284 {NEWLND, "no building land units"},
285 {TRTENL, "no enlistment"},