2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2014, 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
48 struct symbol agreement_statuses[] = {
50 {AGREE_PROPOSED, "proposed"},
51 {AGREE_SIGNED, "signed"},
55 struct symbol land_chr_flags[] = {
56 {L_ENGINEER, "engineer"},
58 {L_SECURITY, "security"},
63 {L_ASSAULT, "assault"},
71 struct symbol level[] = {
73 {NAT_TLEV, "technology"},
74 {NAT_RLEV, "research"},
75 {NAT_ELEV, "education"},
76 {NAT_HLEV, "happiness"},
80 struct symbol meta_flags[] = {
88 struct symbol meta_type[] = {
106 struct symbol missions[] = {
108 {MI_INTERDICT, "interdiction"},
109 {MI_SUPPORT, "support"},
110 {MI_RESERVE, "reserve"},
111 {MI_ESCORT, "escort"},
112 {MI_AIR_DEFENSE, "air defense"},
113 {MI_DSUPPORT, "defensive support"},
114 {MI_OSUPPORT, "offensive support"},
118 struct symbol nation_flags[] = {
119 {NF_INFORM, "inform"},
122 {NF_COASTWATCH, "coastwatch"},
124 {NF_TECHLISTS, "techlists"},
125 {NF_SACKED, "sacked"},
129 struct symbol nation_rejects[] = {
130 {REJ_TELE, "telegrams"},
131 {REJ_ANNO, "announcements"},
136 struct symbol nation_relations[] = {
139 {HOSTILE, "hostile"},
140 {NEUTRAL, "neutral"},
141 {FRIENDLY, "friendly"},
146 struct symbol nation_status[] = {
147 {STAT_UNUSED, "unused"},
149 {STAT_VIS, "visitor"},
150 {STAT_SANCT, "sanctuary"},
151 {STAT_ACTIVE, "active"},
156 struct symbol nuke_chr_flags[] = {
161 struct symbol packing[] = {
162 {IPKG, "inefficient"},
170 struct symbol page_headings[] = {
171 {N_NOTUSED, "Comics"},
172 {N_FOR, "Foreign Affairs"},
173 {N_FRONT, "The Front Line"},
174 {N_SEA, "The High Seas"},
175 {N_SKY, "Sky Watch"},
176 {N_MISS, "Guidance Systems"},
177 {N_ARTY, "Firestorms"},
178 {N_ECON, "Business & Economics"},
179 {N_COLONY, "The Frontier"},
180 {N_HOME, "The Home Front"},
181 {N_SPY, "Espionage"},
182 {N_TELE, "Telecommunications"},
186 struct symbol plague_stages[] = {
187 {PLG_HEALTHY, "healthy"},
188 {PLG_DYING, "dying"},
189 {PLG_INFECT, "infect"},
190 {PLG_INCUBATE, "incubate"},
191 {PLG_EXPOSED, "exposed"},
195 struct symbol plane_chr_flags[] = {
218 struct symbol plane_flags[] = {
219 {PLN_LAUNCHED, "launched"},
220 {PLN_SYNCHRONOUS, "synchronous"},
221 {PLN_AIRBURST, "airburst"},
225 struct symbol resources[] = {
226 /* names should match resource selector names in sect_ca[] */
228 {offsetof(struct sctstr, sct_min), "min"},
229 {offsetof(struct sctstr, sct_gmin), "gold"},
230 {offsetof(struct sctstr, sct_fertil), "fert"},
231 {offsetof(struct sctstr, sct_oil), "ocontent"},
232 {offsetof(struct sctstr, sct_uran), "uran"},
236 struct symbol retreat_flags[] = {
237 {RET_GROUP, "group"},
238 {RET_INJURED, "injured"},
239 {RET_TORPED, "torped"},
240 {RET_SONARED, "sonared"},
241 {RET_HELPLESS, "helpless"},
242 {RET_BOMBED, "bombed"},
243 {RET_DCHRGED, "depth-charged"},
244 {RET_BOARDED, "boarded"},
248 struct symbol sector_navigation[] = {
252 {NAV_CANAL, "canal"},
257 struct symbol ship_chr_flags[] = {
269 {M_SUBT, "sub-torp"},
271 {M_SEMILAND, "semi-land"},
272 {M_SUPPLY, "supply"},
274 {M_ANTIMISSILE, "anti-missile"},