2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 * Ken Stevens, Steve McClure, Markus Armbruster
6 * Empire 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 3 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, see <http://www.gnu.org/licenses/>.
21 * See files README, COPYING and CREDITS in the root of the source
22 * tree for related information and legal notices. It is expected
23 * that future projects/authors will amend these files as needed.
27 * symbol.c: Empire symbol tables
29 * Known contributors to this file:
30 * Markus Armbruster, 2006-2010
49 struct symbol agreement_statuses[] = {
51 {AGREE_PROPOSED, "proposed"},
52 {AGREE_SIGNED, "signed"},
56 struct symbol land_chr_flags[] = {
57 {L_ENGINEER, "engineer"},
59 {L_SECURITY, "security"},
64 {L_ASSAULT, "assault"},
72 struct symbol level[] = {
74 {NAT_TLEV, "technology"},
75 {NAT_RLEV, "research"},
76 {NAT_ELEV, "education"},
77 {NAT_HLEV, "happiness"},
81 struct symbol meta_flags[] = {
89 struct symbol meta_type[] = {
107 struct symbol missions[] = {
109 {MI_INTERDICT, "interdiction"},
110 {MI_SUPPORT, "support"},
111 {MI_RESERVE, "reserve"},
112 {MI_ESCORT, "escort"},
113 {MI_AIR_DEFENSE, "air defense"},
114 {MI_DSUPPORT, "defensive support"},
115 {MI_OSUPPORT, "offensive support"},
119 struct symbol nation_flags[] = {
120 {NF_INFORM, "inform"},
123 {NF_COASTWATCH, "coastwatch"},
125 {NF_TECHLISTS, "techlists"},
126 {NF_SACKED, "sacked"},
130 struct symbol nation_rejects[] = {
131 {REJ_TELE, "telegrams"},
132 {REJ_TREA, "treaties"},
133 {REJ_ANNO, "announcements"},
138 struct symbol nation_relations[] = {
141 {HOSTILE, "hostile"},
142 {NEUTRAL, "neutral"},
143 {FRIENDLY, "friendly"},
148 struct symbol nation_status[] = {
149 {STAT_UNUSED, "unused"},
151 {STAT_VIS, "visitor"},
152 {STAT_SANCT, "sanctuary"},
153 {STAT_ACTIVE, "active"},
158 struct symbol nuke_chr_flags[] = {
163 struct symbol packing[] = {
164 {IPKG, "inefficient"},
172 struct symbol page_headings[] = {
173 {N_NOTUSED, "Comics"},
174 {N_FOR, "Foreign Affairs"},
175 {N_FRONT, "The Front Line"},
176 {N_SEA, "The High Seas"},
177 {N_SKY, "Sky Watch"},
178 {N_MISS, "Guidance Systems"},
179 {N_ARTY, "Firestorms"},
180 {N_ECON, "Business & Economics"},
181 {N_COLONY, "The Frontier"},
182 {N_HOME, "The Home Front"},
183 {N_SPY, "Espionage"},
184 {N_TELE, "Telecommunications"},
188 struct symbol plague_stages[] = {
189 {PLG_HEALTHY, "healthy"},
190 {PLG_DYING, "dying"},
191 {PLG_INFECT, "infect"},
192 {PLG_INCUBATE, "incubate"},
193 {PLG_EXPOSED, "exposed"},
197 struct symbol plane_chr_flags[] = {
220 struct symbol plane_flags[] = {
221 {PLN_LAUNCHED, "launched"},
222 {PLN_SYNCHRONOUS, "synchronous"},
223 {PLN_AIRBURST, "airburst"},
227 struct symbol resources[] = {
228 /* names should match resource selector names in sect_ca[] */
230 {offsetof(struct sctstr, sct_min), "min"},
231 {offsetof(struct sctstr, sct_gmin), "gold"},
232 {offsetof(struct sctstr, sct_fertil), "fert"},
233 {offsetof(struct sctstr, sct_oil), "ocontent"},
234 {offsetof(struct sctstr, sct_uran), "uran"},
238 struct symbol retreat_flags[] = {
239 {RET_GROUP, "group"},
240 {RET_INJURED, "injured"},
241 {RET_TORPED, "torped"},
242 {RET_SONARED, "sonared"},
243 {RET_HELPLESS, "helpless"},
244 {RET_BOMBED, "bombed"},
245 {RET_DCHRGED, "depth-charged"},
246 {RET_BOARDED, "boarded"},
250 struct symbol sector_navigation[] = {
254 {NAV_CANAL, "canal"},
259 struct symbol ship_chr_flags[] = {
271 {M_SUBT, "sub-torp"},
273 {M_SEMILAND, "semi-land"},
274 {M_SUPPLY, "supply"},
276 {M_ANTIMISSILE, "anti-missile"},
280 struct symbol treaty_flags[] = {
281 {LNDATT, "no attacks on any land units"},
282 {SEAATT, "no attacks on any ships"},
283 {SEAFIR, "no shelling any ships"},
284 {SUBFIR, "no depth-charging any subs"},
285 {LANATT, "no sector attacks"},
286 {LANFIR, "no shelling any land"},
287 {NEWSHP, "no building ships"},
288 {NEWNUK, "no new nuclear weapons"},
289 {NEWPLN, "no building planes"},
290 {NEWLND, "no building land units"},
291 {TRTENL, "no enlistment"},