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_rejects[] = {
128 {REJ_TELE, "telegrams"},
129 {REJ_TREA, "treaties"},
130 {REJ_ANNO, "announcements"},
135 struct symbol nation_relations[] = {
138 {SITZKRIEG, "sitzkrieg"},
139 {MOBILIZATION, "mobilization"},
140 {HOSTILE, "hostile"},
141 {NEUTRAL, "neutral"},
142 {FRIENDLY, "friendly"},
147 struct symbol nation_status[] = {
148 {STAT_UNUSED, "unused"},
150 {STAT_VIS, "visitor"},
151 {STAT_SANCT, "sanctuary"},
152 {STAT_ACTIVE, "active"},
157 struct symbol nuke_chr_flags[] = {
162 struct symbol packing[] = {
163 {IPKG, "inefficient"},
171 struct symbol page_headings[] = {
172 {N_NOTUSED, "Comics"},
173 {N_FOR, "Foreign Affairs"},
174 {N_FRONT, "The Front Line"},
175 {N_SEA, "The High Seas"},
176 {N_SKY, "Sky Watch"},
177 {N_MISS, "Guidance Systems"},
178 {N_ARTY, "Firestorms"},
179 {N_ECON, "Business & Economics"},
180 {N_COLONY, "The Frontier"},
181 {N_HOME, "The Home Front"},
182 {N_SPY, "Espionage"},
183 {N_TELE, "Telecommunications"},
187 struct symbol plague_stages[] = {
188 {PLG_HEALTHY, "healthy"},
189 {PLG_DYING, "dying"},
190 {PLG_INFECT, "infect"},
191 {PLG_INCUBATE, "incubate"},
192 {PLG_EXPOSED, "exposed"},
196 struct symbol plane_chr_flags[] = {
209 {P_H, "half-stealth"},
221 struct symbol plane_flags[] = {
222 {PLN_LAUNCHED, "launched"},
223 {PLN_SYNCHRONOUS, "synchronous"},
224 {PLN_AIRBURST, "airbust"},
228 struct symbol resources[] = {
229 /* names should match resource selector names in sect_ca[] */
231 {offsetof(struct sctstr, sct_min), "min"},
232 {offsetof(struct sctstr, sct_gmin), "gold"},
233 {offsetof(struct sctstr, sct_fertil), "fert"},
234 {offsetof(struct sctstr, sct_oil), "ocontent"},
235 {offsetof(struct sctstr, sct_uran), "uran"},
239 struct symbol retreat_flags[] = {
240 {RET_GROUP, "group"},
241 {RET_INJURED, "injured"},
242 {RET_TORPED, "torped"},
243 {RET_SONARED, "sonared"},
244 {RET_HELPLESS, "helpless"},
245 {RET_BOMBED, "bombed"},
246 {RET_DCHRGED, "depth-charged"},
247 {RET_BOARDED, "boarded"},
251 struct symbol sector_navigation[] = {
255 {NAV_CANAL, "canal"},
260 struct symbol ship_chr_flags[] = {
272 {M_SUBT, "sub-torp"},
274 {M_SEMILAND, "semi-land"},
276 {M_SUPPLY, "supply"},
278 {M_ANTIMISSILE, "anti-missile"},
282 struct symbol treaty_flags[] = {
283 {LNDATT, "no attacks on any land units"},
284 {SEAATT, "no attacks on any ships"},
285 {SEAFIR, "no shelling any ships"},
286 {SUBFIR, "no depth-charging any subs"},
287 {LANATT, "no sector attacks"},
288 {LANFIR, "no shelling any land"},
289 {NEWSHP, "no building ships"},
290 {NEWNUK, "no new nuclear weapons"},
291 {NEWPLN, "no building planes"},
292 {NEWLND, "no building land units"},
293 {TRTENL, "no enlistment"},