2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2000, 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 the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
23 * related information and legal notices. It is expected that any future
24 * projects/authors will amend these files as needed.
28 * options.c: Options definitions
30 * Known contributors to this file:
40 /* there must be an easier way - but can't think of one off hand */
43 int opt_NO_FORT_FIRE = 1;
45 int opt_NO_FORT_FIRE = 0;
49 int opt_BRIDGETOWERS = 1;
51 int opt_BRIDGETOWERS = 0;
73 int opt_DEFENSE_INFRA = 1;
75 int opt_DEFENSE_INFRA = 0;
79 int opt_SHIP_DECAY = 1;
81 int opt_SHIP_DECAY = 0;
103 int opt_PLANENAMES = 1;
105 int opt_PLANENAMES = 0;
109 int opt_LANDSPIES = 1;
111 int opt_LANDSPIES = 0;
115 int opt_MOB_ACCESS = 1;
117 int opt_MOB_ACCESS = 0;
139 int opt_SNEAK_ATTACK = 1;
141 int opt_SNEAK_ATTACK = 0;
157 int opt_LOSE_CONTACT = 1;
159 int opt_LOSE_CONTACT = 0;
175 int opt_TRADESHIPS = 1;
177 int opt_TRADESHIPS = 0;
181 int opt_NEWPOWER = 1;
183 int opt_NEWPOWER = 0;
187 int opt_NOMOBCOST = 1;
189 int opt_NOMOBCOST = 0;
193 int opt_SUPER_BARS = 1;
195 int opt_SUPER_BARS = 0;
199 int opt_EASY_BRIDGES = 1;
201 int opt_EASY_BRIDGES = 0;
205 int opt_ALL_BLEED = 1;
207 int opt_ALL_BLEED = 0;
217 int opt_SLOW_WAR = 1;
219 int opt_SLOW_WAR = 0;
223 int opt_NO_PLAGUE = 1;
225 int opt_NO_PLAGUE = 0;
229 int opt_NEW_STARVE = 1;
231 int opt_NEW_STARVE = 0;
235 int opt_NEW_WORK = 1;
237 int opt_NEW_WORK = 0;
247 int opt_GRAB_THINGS = 1;
249 int opt_GRAB_THINGS = 0;
253 int opt_SHOWPLANE = 1;
255 int opt_SHOWPLANE = 0;
264 #ifdef PINPOINTMISSILE
265 int opt_PINPOINTMISSILE = 1;
267 int opt_PINPOINTMISSILE = 0;
282 #ifdef NUKEFAILDETONATE
283 int opt_NUKEFAILDETONATE = 1;
285 int opt_NUKEFAILDETONATE = 0;
289 int opt_SHIPNAMES = 1; /* not used currently */
291 int opt_SHIPNAMES = 0; /* not used currently */
301 int opt_UPDATESCHED = 1;
303 int opt_UPDATESCHED = 0;
307 int opt_DEMANDUPDATE = 1;
309 int opt_DEMANDUPDATE = 0;
313 int opt_BIG_CITY = 1;
315 int opt_BIG_CITY = 0;
319 int opt_INTERDICT_ATT = 1;
321 int opt_INTERDICT_ATT = 0;
325 int opt_TECH_POP = 1;
327 int opt_TECH_POP = 0;
330 struct option_list Options[] = {
331 { "ALL_BLEED", &opt_ALL_BLEED },
332 { "BIG_CITY", &opt_BIG_CITY },
333 { "BLITZ", &opt_BLITZ },
334 { "BRIDGETOWERS", &opt_BRIDGETOWERS },
335 { "DEFENSE_INFRA", &opt_DEFENSE_INFRA },
336 { "DEMANDUPDATE", &opt_DEMANDUPDATE },
337 { "DRNUKE", &opt_DRNUKE },
338 { "EASY_BRIDGES", &opt_EASY_BRIDGES },
339 { "FALLOUT", &opt_FALLOUT },
340 { "FUEL", &opt_FUEL },
341 { "GODNEWS", &opt_GODNEWS },
342 { "GO_RENEW", &opt_GO_RENEW },
343 { "GRAB_THINGS", &opt_GRAB_THINGS },
344 { "HIDDEN", &opt_HIDDEN },
345 { "INTERDICT_ATT", &opt_INTERDICT_ATT },
346 { "LANDSPIES", &opt_LANDSPIES },
347 { "LOANS", &opt_LOANS },
348 { "LOSE_CONTACT", &opt_LOSE_CONTACT },
349 { "MARKET", &opt_MARKET },
350 { "MOB_ACCESS", &opt_MOB_ACCESS },
351 { "NEUTRON", &opt_NEUTRON },
352 { "NEW_STARVE", &opt_NEW_STARVE },
353 { "NEW_WORK", &opt_NEW_WORK },
354 { "NEWPOWER", &opt_NEWPOWER },
355 { "NO_FORT_FIRE", &opt_NO_FORT_FIRE },
356 { "NO_HCMS", &opt_NO_HCMS },
357 { "NO_LCMS", &opt_NO_LCMS },
358 { "NO_OIL", &opt_NO_OIL },
359 { "NO_PLAGUE", &opt_NO_PLAGUE },
360 { "NOFOOD", &opt_NOFOOD },
361 { "NOMOBCOST", &opt_NOMOBCOST },
362 { "NONUKES", &opt_NONUKES },
363 { "NUKEFAILDETONATE", &opt_NUKEFAILDETONATE },
364 { "ORBIT", &opt_ORBIT },
365 { "PINPOINTMISSILE", &opt_PINPOINTMISSILE },
366 { "PLANENAMES", &opt_PLANENAMES },
367 { "RES_POP", &opt_RES_POP },
368 { "SAIL", &opt_SAIL },
369 { "SHIP_DECAY", &opt_SHIP_DECAY },
370 { "SHIPNAMES", &opt_SHIPNAMES },
371 { "SHOWPLANE", &opt_SHOWPLANE },
372 { "SLOW_WAR", &opt_SLOW_WAR },
373 { "SNEAK_ATTACK", &opt_SNEAK_ATTACK },
374 { "SUPER_BARS", &opt_SUPER_BARS },
375 { "TECH_POP", &opt_TECH_POP },
376 { "TRADESHIPS", &opt_TRADESHIPS },
377 { "TREATIES", &opt_TREATIES },
378 { "UPDATESCHED", &opt_UPDATESCHED },