2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2020, 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-2016
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[] = {
83 {NSC_HIDDEN, "hidden"},
87 struct symbol meta_type[] = {
94 struct symbol missions[] = {
96 {MI_INTERDICT, "interdiction"},
97 {MI_SUPPORT, "support"},
98 {MI_RESERVE, "reserve"},
99 {MI_ESCORT, "escort"},
100 {MI_AIR_DEFENSE, "air defense"},
101 {MI_DSUPPORT, "defensive support"},
102 {MI_OSUPPORT, "offensive support"},
106 struct symbol nation_flags[] = {
107 {NF_INFORM, "inform"},
110 {NF_COASTWATCH, "coastwatch"},
112 {NF_TECHLISTS, "techlists"},
113 {NF_SACKED, "sacked"},
117 struct symbol nation_rejects[] = {
118 {bit(REJ_TELE), "telegrams"},
119 {bit(REJ_ANNO), "announcements"},
120 {bit(REJ_LOAN), "loans"},
124 struct symbol nation_relations[] = {
127 {HOSTILE, "hostile"},
128 {NEUTRAL, "neutral"},
129 {FRIENDLY, "friendly"},
134 struct symbol nation_status[] = {
135 {STAT_UNUSED, "unused"},
137 {STAT_VIS, "visitor"},
138 {STAT_SANCT, "sanctuary"},
139 {STAT_ACTIVE, "active"},
144 struct symbol nuke_chr_flags[] = {
149 struct symbol packing[] = {
150 {IPKG, "inefficient"},
158 struct symbol page_headings[] = {
159 {N_NOTUSED, "Comics"},
160 {N_FOR, "Foreign Affairs"},
161 {N_FRONT, "The Front Line"},
162 {N_SEA, "The High Seas"},
163 {N_SKY, "Sky Watch"},
164 {N_MISS, "Guidance Systems"},
165 {N_ARTY, "Firestorms"},
166 {N_ECON, "Business & Economics"},
167 {N_COLONY, "The Frontier"},
168 {N_HOME, "The Home Front"},
169 {N_SPY, "Espionage"},
170 {N_TELE, "Telecommunications"},
174 struct symbol plague_stages[] = {
175 {PLG_HEALTHY, "healthy"},
176 {PLG_DYING, "dying"},
177 {PLG_INFECT, "infect"},
178 {PLG_INCUBATE, "incubate"},
179 {PLG_EXPOSED, "exposed"},
183 struct symbol plane_chr_flags[] = {
206 struct symbol plane_flags[] = {
207 {PLN_LAUNCHED, "launched"},
208 {PLN_SYNCHRONOUS, "synchronous"},
209 {PLN_AIRBURST, "airburst"},
213 struct symbol resources[] = {
214 /* names should match resource selector names in sect_ca[] */
216 {offsetof(struct sctstr, sct_min), "min"},
217 {offsetof(struct sctstr, sct_gmin), "gold"},
218 {offsetof(struct sctstr, sct_fertil), "fert"},
219 {offsetof(struct sctstr, sct_oil), "ocontent"},
220 {offsetof(struct sctstr, sct_uran), "uran"},
224 struct symbol retreat_flags[] = {
225 {RET_GROUP, "group"},
226 {RET_INJURED, "injured"},
227 {RET_TORPED, "torpedoed"},
228 {RET_SONARED, "sonared"},
229 {RET_HELPLESS, "helpless"},
230 {RET_BOMBED, "bombed"},
231 {RET_DCHRGED, "depth-charged"},
232 {RET_BOARDED, "boarded"},
236 struct symbol sect_chr_flags[] = {
241 struct symbol sector_navigation[] = {
245 {NAV_CANAL, "canal"},
250 struct symbol ship_chr_flags[] = {
262 {M_SUBT, "sub-torp"},
264 {M_SEMILAND, "semi-land"},
265 {M_SUPPLY, "supply"},
267 {M_ANTIMISSILE, "anti-missile"},