2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2008, 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-2008
50 struct symbol agreement_statuses[] = {
52 {AGREE_PROPOSED, "proposed"},
53 {AGREE_SIGNED, "signed"},
57 struct symbol land_chr_flags[] = {
58 {L_ENGINEER, "engineer"},
60 {L_SECURITY, "security"},
65 {L_ASSAULT, "assault"},
73 struct symbol level[] = {
75 {NAT_TLEV, "technology"},
76 {NAT_RLEV, "research"},
77 {NAT_ELEV, "education"},
78 {NAT_HLEV, "happiness"},
82 struct symbol meta_flags[] = {
90 struct symbol meta_type[] = {
108 struct symbol missions[] = {
110 {MI_INTERDICT, "interdiction"},
111 {MI_SUPPORT, "support"},
112 {MI_RESERVE, "reserve"},
113 {MI_ESCORT, "escort"},
114 {MI_AIR_DEFENSE, "air defense"},
115 {MI_DSUPPORT, "defensive support"},
116 {MI_OSUPPORT, "offensive support"},
120 struct symbol nation_flags[] = {
121 {NF_INFORM, "inform"},
124 {NF_COASTWATCH, "coastwatch"},
126 {NF_TECHLISTS, "techlists"},
127 {NF_SACKED, "sacked"},
131 struct symbol nation_rejects[] = {
132 {REJ_TELE, "telegrams"},
133 {REJ_TREA, "treaties"},
134 {REJ_ANNO, "announcements"},
139 struct symbol nation_relations[] = {
142 {SITZKRIEG, "sitzkrieg"},
143 {MOBILIZATION, "mobilization"},
144 {HOSTILE, "hostile"},
145 {NEUTRAL, "neutral"},
146 {FRIENDLY, "friendly"},
151 struct symbol nation_status[] = {
152 {STAT_UNUSED, "unused"},
154 {STAT_VIS, "visitor"},
155 {STAT_SANCT, "sanctuary"},
156 {STAT_ACTIVE, "active"},
161 struct symbol nuke_chr_flags[] = {
166 struct symbol packing[] = {
167 {IPKG, "inefficient"},
175 struct symbol page_headings[] = {
176 {N_NOTUSED, "Comics"},
177 {N_FOR, "Foreign Affairs"},
178 {N_FRONT, "The Front Line"},
179 {N_SEA, "The High Seas"},
180 {N_SKY, "Sky Watch"},
181 {N_MISS, "Guidance Systems"},
182 {N_ARTY, "Firestorms"},
183 {N_ECON, "Business & Economics"},
184 {N_COLONY, "The Frontier"},
185 {N_HOME, "The Home Front"},
186 {N_SPY, "Espionage"},
187 {N_TELE, "Telecommunications"},
191 struct symbol plague_stages[] = {
192 {PLG_HEALTHY, "healthy"},
193 {PLG_DYING, "dying"},
194 {PLG_INFECT, "infect"},
195 {PLG_INCUBATE, "incubate"},
196 {PLG_EXPOSED, "exposed"},
200 struct symbol plane_chr_flags[] = {
213 {P_H, "half-stealth"},
225 struct symbol plane_flags[] = {
226 {PLN_LAUNCHED, "launched"},
227 {PLN_SYNCHRONOUS, "synchronous"},
228 {PLN_AIRBURST, "airburst"},
232 struct symbol resources[] = {
233 /* names should match resource selector names in sect_ca[] */
235 {offsetof(struct sctstr, sct_min), "min"},
236 {offsetof(struct sctstr, sct_gmin), "gold"},
237 {offsetof(struct sctstr, sct_fertil), "fert"},
238 {offsetof(struct sctstr, sct_oil), "ocontent"},
239 {offsetof(struct sctstr, sct_uran), "uran"},
243 struct symbol retreat_flags[] = {
244 {RET_GROUP, "group"},
245 {RET_INJURED, "injured"},
246 {RET_TORPED, "torped"},
247 {RET_SONARED, "sonared"},
248 {RET_HELPLESS, "helpless"},
249 {RET_BOMBED, "bombed"},
250 {RET_DCHRGED, "depth-charged"},
251 {RET_BOARDED, "boarded"},
255 struct symbol sector_navigation[] = {
259 {NAV_CANAL, "canal"},
264 struct symbol ship_chr_flags[] = {
276 {M_SUBT, "sub-torp"},
278 {M_SEMILAND, "semi-land"},
280 {M_SUPPLY, "supply"},
282 {M_ANTIMISSILE, "anti-missile"},
286 struct symbol treaty_flags[] = {
287 {LNDATT, "no attacks on any land units"},
288 {SEAATT, "no attacks on any ships"},
289 {SEAFIR, "no shelling any ships"},
290 {SUBFIR, "no depth-charging any subs"},
291 {LANATT, "no sector attacks"},
292 {LANFIR, "no shelling any land"},
293 {NEWSHP, "no building ships"},
294 {NEWNUK, "no new nuclear weapons"},
295 {NEWPLN, "no building planes"},
296 {NEWLND, "no building land units"},
297 {TRTENL, "no enlistment"},