2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2021, 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-2020
49 struct symbol agreement_statuses[] = {
51 {LS_PROPOSED, "proposed"},
52 {LS_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[] = {
84 {NSC_HIDDEN, "hidden"},
88 struct symbol meta_type[] = {
95 struct symbol missions[] = {
97 {MI_INTERDICT, "interdiction"},
98 {MI_SUPPORT, "support"},
99 {MI_RESERVE, "reserve"},
100 {MI_ESCORT, "escort"},
101 {MI_AIR_DEFENSE, "air defense"},
102 {MI_DSUPPORT, "defensive support"},
103 {MI_OSUPPORT, "offensive support"},
107 struct symbol nation_flags[] = {
108 {NF_INFORM, "inform"},
111 {NF_COASTWATCH, "coastwatch"},
113 {NF_TECHLISTS, "techlists"},
114 {NF_SACKED, "sacked"},
118 struct symbol nation_rejects[] = {
119 {bit(REJ_TELE), "telegrams"},
120 {bit(REJ_ANNO), "announcements"},
121 {bit(REJ_LOAN), "loans"},
125 struct symbol nation_relations[] = {
128 {HOSTILE, "hostile"},
129 {NEUTRAL, "neutral"},
130 {FRIENDLY, "friendly"},
135 struct symbol nation_status[] = {
136 {STAT_UNUSED, "unused"},
138 {STAT_VIS, "visitor"},
139 {STAT_SANCT, "sanctuary"},
140 {STAT_ACTIVE, "active"},
145 struct symbol nuke_chr_flags[] = {
150 struct symbol packing[] = {
151 {IPKG, "inefficient"},
159 struct symbol page_headings[] = {
160 {N_NOTUSED, "Comics"},
161 {N_FOR, "Foreign Affairs"},
162 {N_FRONT, "The Front Line"},
163 {N_SEA, "The High Seas"},
164 {N_SKY, "Sky Watch"},
165 {N_MISS, "Guidance Systems"},
166 {N_ARTY, "Firestorms"},
167 {N_ECON, "Business & Economics"},
168 {N_COLONY, "The Frontier"},
169 {N_HOME, "The Home Front"},
170 {N_SPY, "Espionage"},
171 {N_TELE, "Telecommunications"},
175 struct symbol plague_stages[] = {
176 {PLG_HEALTHY, "healthy"},
177 {PLG_DYING, "dying"},
178 {PLG_INFECT, "infect"},
179 {PLG_INCUBATE, "incubate"},
180 {PLG_EXPOSED, "exposed"},
184 struct symbol plane_chr_flags[] = {
207 struct symbol plane_flags[] = {
208 {PLN_LAUNCHED, "launched"},
209 {PLN_SYNCHRONOUS, "synchronous"},
210 {PLN_AIRBURST, "airburst"},
214 struct symbol resources[] = {
215 /* names should match resource selector names in sect_ca[] */
217 {offsetof(struct sctstr, sct_min), "min"},
218 {offsetof(struct sctstr, sct_gmin), "gold"},
219 {offsetof(struct sctstr, sct_fertil), "fert"},
220 {offsetof(struct sctstr, sct_oil), "ocontent"},
221 {offsetof(struct sctstr, sct_uran), "uran"},
225 struct symbol retreat_flags[] = {
226 {RET_GROUP, "group"},
227 {RET_INJURED, "injured"},
228 {RET_TORPED, "torpedoed"},
229 {RET_SONARED, "sonared"},
230 {RET_HELPLESS, "helpless"},
231 {RET_BOMBED, "bombed"},
232 {RET_DCHRGED, "depth-charged"},
233 {RET_BOARDED, "boarded"},
237 struct symbol sect_chr_flags[] = {
242 struct symbol sector_navigation[] = {
246 {NAV_CANAL, "canal"},
251 struct symbol ship_chr_flags[] = {
263 {M_SUBT, "sub-torp"},
265 {M_SEMILAND, "semi-land"},
266 {M_SUPPLY, "supply"},
268 {M_ANTIMISSILE, "anti-missile"},