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[] = {
103 struct symbol missions[] = {
105 {MI_INTERDICT, "interdiction"},
106 {MI_SUPPORT, "support"},
107 {MI_RESERVE, "reserve"},
108 {MI_ESCORT, "escort"},
109 {MI_AIR_DEFENSE, "air defense"},
110 {MI_DSUPPORT, "defensive support"},
111 {MI_OSUPPORT, "offensive support"},
115 struct symbol nation_flags[] = {
116 {NF_INFORM, "inform"},
119 {NF_COASTWATCH, "coastwatch"},
121 {NF_TECHLISTS, "techlists"},
122 {NF_SACKED, "sacked"},
126 struct symbol nation_relations[] = {
128 {SITZKRIEG, "sitzkrieg"},
129 {MOBILIZATION, "mobilization"},
130 {HOSTILE, "hostile"},
131 {NEUTRAL, "neutral"},
132 {FRIENDLY, "friendly"},
137 struct symbol nation_status[] = {
138 {STAT_UNUSED, "unused"},
140 {STAT_VIS, "visitor"},
141 {STAT_SANCT, "sanctuary"},
142 {STAT_ACTIVE, "active"},
147 struct symbol nuke_chr_flags[] = {
152 struct symbol packing[] = {
153 {IPKG, "inefficient"},
161 struct symbol page_headings[] = {
162 {N_NOTUSED, "Comics"},
163 {N_FOR, "Foreign Affairs"},
164 {N_FRONT, "The Front Line"},
165 {N_SEA, "The High Seas"},
166 {N_SKY, "Sky Watch"},
167 {N_MISS, "Guidance Systems"},
168 {N_ARTY, "Firestorms"},
169 {N_ECON, "Business & Economics"},
170 {N_COLONY, "The Frontier"},
171 {N_HOME, "The Home Front"},
172 {N_SPY, "Espionage"},
173 {N_TELE, "Telecommunications"},
177 struct symbol plague_stages[] = {
178 {PLG_HEALTHY, "healthy"},
179 {PLG_DYING, "dying"},
180 {PLG_INFECT, "infect"},
181 {PLG_INCUBATE, "incubate"},
182 {PLG_EXPOSED, "exposed"},
186 struct symbol plane_chr_flags[] = {
199 {P_H, "half-stealth"},
211 struct symbol plane_flags[] = {
212 {PLN_LAUNCHED, "launched"},
213 {PLN_SYNCHRONOUS, "synchronous"},
214 {PLN_AIRBURST, "airbust"},
218 struct symbol resources[] = {
219 /* names should match resource selector names in sect_ca[] */
221 {offsetof(struct sctstr, sct_min), "min"},
222 {offsetof(struct sctstr, sct_gmin), "gold"},
223 {offsetof(struct sctstr, sct_fertil), "fert"},
224 {offsetof(struct sctstr, sct_oil), "ocontent"},
225 {offsetof(struct sctstr, sct_uran), "uran"},
229 struct symbol retreat_flags[] = {
230 {RET_GROUP, "group"},
231 {RET_INJURED, "injured"},
232 {RET_TORPED, "torped"},
233 {RET_SONARED, "sonared"},
234 {RET_HELPLESS, "helpless"},
235 {RET_BOMBED, "bombed"},
236 {RET_DCHRGED, "depth-charged"},
237 {RET_BOARDED, "boarded"},
241 struct symbol sector_navigation[] = {
245 {NAV_CANAL, "canal"},
250 struct symbol ship_chr_flags[] = {
262 {M_SUBT, "sub-torp"},
264 {M_SEMILAND, "semi-land"},
266 {M_SUPPLY, "supply"},
268 {M_ANTIMISSILE, "anti-missile"},
272 struct symbol treaty_flags[] = {
273 {LNDATT, "no attacks on any land units"},
274 {SEAATT, "no attacks on any ships"},
275 {SEAFIR, "no shelling any ships"},
276 {SUBFIR, "no depth-charging any subs"},
277 {LANATT, "no sector attacks"},
278 {LANFIR, "no shelling any land"},
279 {NEWSHP, "no building ships"},
280 {NEWNUK, "no new nuclear weapons"},
281 {NEWPLN, "no building planes"},
282 {NEWLND, "no building land units"},
283 {TRTENL, "no enlistment"},