e66d0bfb83
(shar): Fix prompting for first argument.
2006-01-06 16:10:52 +00:00
7b7608d5ca
(check, tryprdiff): Rename. Remove parameter buf, just print.
...
Callers changed.
2006-01-06 15:48:26 +00:00
53c3101e77
(stats): Remove, simply pass around natstr * instead.
...
(repo): Don't suppress part of the header if the report is empty and
HIDDEN is disabled.
(repo, repo_list): Concentrate decision whether to report on a country
in repo().
(repo_header): Simplify.
(repo_list): Remove redundant parameter cn.
(repo_list, printdiff): Move reporting on self from printdiff() to
repo_list().
(repo_list): Simplify. Move research value one character to the right
for player->god, to match format of the report on self.
(printdiff): Remove redundant parameter ours.
2006-01-06 15:34:37 +00:00
57808ef10c
(set_target): Improve rejection message.
2006-01-06 14:20:03 +00:00
8d578153c7
(cede): Require recipient is in STAT_ACTIVE. Should not make a
...
difference, because the recipient must have suitable assets nearby,
but is clearer.
2006-01-06 13:47:32 +00:00
f6987ca3ef
(news): Used to silently ignore argument when HIDDEN is enabled.
...
Complain and fail instead.
(news): Treat non-numeric argument like zero, not like no argument,
for consistency with other commands.
2006-01-05 16:22:43 +00:00
7b6fbbc3d2
(cens, cens_hdr): Column fall used to be shown only with FALLOUT.
...
Show it always.
2006-01-05 16:03:51 +00:00
e5f9175394
(repo_header, repo_list): HIDDEN used to suppress column status.
...
Don't; report status with less detail for HIDDEN instead, like the
country command.
2006-01-05 15:36:49 +00:00
60680a6a2e
(rela) Relation columns were slightly wider for opt_SLOW_WAR. Use
...
wider columns unconditionally.
2006-01-05 15:23:07 +00:00
3e400c018c
Update copyright notice.
2006-01-05 13:36:57 +00:00
8b16c31223
Change nation status from bits to a simple enum:
...
(nat_status, STAT_UNUSED, STAT_VIS, STAT_ACTIVE): New.
(STAT_NEW, STAT_SANCT, STAT_GOD): Change into nat_status members.
(STAT_INUSE, STAT_NORM): Remove.
(natstr): Use new nat_status for nat_stat.
New value Old value
STAT_UNUSED 0
STAT_NEW STAT_INUSE | STAT_NEW
STAT_VIS STAT_INUSE
STAT_SANCT STAT_INUSE | STAT_SANCT
STAT_ACTIVE STAT_INUSE | STAT_NORM
STAT_GOD STAT_INUSE | STAT_NORM | STAT_GOD
Users changed.
2006-01-04 22:49:42 +00:00
41c2c27376
(powe): Simplify.
2006-01-04 22:04:52 +00:00
78dd01ab8e
(docountry): Telex country on nat_reserve editing unconditionally.
...
The condition was never true due to a coding mistake. Other edits
don't have such conditions.
2006-01-04 21:25:23 +00:00
b69173eea4
(orig): Allow moving origin to another country's origin. This is a
...
superset of the offset command.
(offs): Redundant, underdocumented, remove.
(orig): Allow deities to reset origin to absolute 0,0.
2006-01-04 14:36:21 +00:00
9101fe2bd9
Fix the previous revision.
2006-01-03 19:07:53 +00:00
de8aea7a0f
(xdvisible): New.
...
(xditem): Use it. This plugs all known information leaks. It also
avoids dumping of unused records.
2006-01-03 17:07:41 +00:00
Ron Koenderink
ce4190caf7
(info) [_WIN32]: Add brackets to ensure the right combination of
...
ORs and ANDs.
(apro) [_WIN32]: Remove space to fix formatting for logerror().
Fix printing type for lhitlim in the format string for logerror() call.
2006-01-01 19:55:53 +00:00
Ron Koenderink
f1d9a5eba3
(info, apro) [_WIN32]: Correct parameter order for calls
...
to logerror() where GetLastError() is used.
Change the format to "lu" for printing GetLastError().
2006-01-01 19:47:46 +00:00
3db4e34ba4
(natstr): Members nat_xstart, nat_ystart are used write-only. Remove.
...
Users changed.
2005-12-31 10:50:24 +00:00
Ron Koenderink
27fe2e7be6
(prod): Add material limit for resource depletion to prod()
...
that is in place in the normal update sequence.
2005-12-31 02:42:55 +00:00
acd2c7c2a8
(cuto, show_mission): Fix justification of coordinate output.
2005-12-30 17:28:24 +00:00
1969a3890a
(opt_UPDATESCHED): Remove nooption UPDATESCHED. It had no effect on
...
the actual update, only on the update command. Believed to be broken
since Empire2.
2005-12-29 13:38:57 +00:00
aff6cfcafe
src/lib/commands/sona.c rev. 1.6 changed first argument of
...
line_of_sight() to char *. The changeset failed to change callers.
Fix.
2005-12-28 22:43:39 +00:00
24a07cd249
player.h rev. 1.9 changed struct player member argp to char *. The
...
changeset failed to adapt some s_char * operands. Fix.
2005-12-28 22:21:42 +00:00
0d267e0b24
There's no reason to include <time.h> in empio.h, except it's missing
...
in a couple of other files. Include it where it's needed.
2005-12-28 21:25:39 +00:00
3aebb68ee7
Include config.h.
2005-12-27 18:04:19 +00:00
ade510f787
Turn options into ordinary econfig keys:
...
(configkeys): Add options.
(KM_OPTION): New.
(vers): Find options in configkeys[] instead of Options[].
(xdump): Remove xdump opt syntax.
(xdopt): Remove.
(emp_config, print_config): Remove option special case.
(option_list, Options, setoption): Remove.
2005-12-25 10:32:50 +00:00
cc0c3e4f3f
(drop): A mining mission targeting land called pln_dropoff() instead
...
of pln_mine(). pln_dropoff() happens to do pretty much the right
thing, but...
(pln_mine): Refuse to mine land.
2005-12-23 19:37:52 +00:00
3bbc91876f
(START_CASH, start_cash): Replace START_CASH by new econfig key
...
start_cash.
2005-12-23 11:16:23 +00:00
8e16ae9e43
Remove superflous #include "options.h".
2005-12-23 11:04:56 +00:00
ea93842927
(pln_equip): New mission argument 'm' for mining. 'd' is now for
...
cargo drops only. Callers changed.
2005-12-22 19:48:33 +00:00
a98626df2d
Replace the build process. The new one requires GNU Make, Autoconf
...
and Autoconf macros that come with Automake. It supports multiple
separate builds of the same source tree, and updates dependencies
automatically. Targets info, html, install, install-html, uninstall
and dist are not yet implemented.
System configuration is now automatic. Previously, you had to choose
one of several canned system configurations, defined in Make.sysdefs.
Currently, system configuration always uses UCONTEXT for LWP, and
chooses LWP only if its requirements are met.
Feature configuration changed: instead of editing build.conf (further
processed by doconfig), you pass arguments to configure. Note that
build.conf settings that can be overridden in econfig have no
configure equivalent; just edit econfig instead.
Because generated headers complicate makefiles, fold gamesdef.h into
its users: path.c and ipglob.c become path.c.in and ipglob.c.in,
constants.c, vers.c, options.h simply hardcode defaults (most of them
are run-time configurable).
Call the client empire instead of emp_client. This matches what the
old standalone build did.
2005-12-20 20:25:35 +00:00
Ron Koenderink
cdfb94dc1f
(nati, player_coms): Add ability for deities to request a nation report for any country.
...
Closes #1083167 .
2005-12-20 17:06:47 +00:00
Ron Koenderink
f3303bce1e
(capi): Do not check capital location if the country
...
is has NF_SACKED set.
2005-12-19 01:52:13 +00:00
Ron Koenderink
7944db242c
(nati): Fix the grammer for No capital output.
2005-12-18 15:43:56 +00:00
Ron Koenderink
c2ee177256
(zdon): Do not allow a country that is in-flux to request an update.
...
Closes #1025597 .
2005-12-17 20:27:08 +00:00
Ron Koenderink
5ffef496ea
(coun_list, repo_list, nati): Replace in-flux determination code with influx().
...
(influx): New.
2005-12-17 20:18:54 +00:00
Ron Koenderink
d1e2d91961
(repo_list): Remove unreachable state (STAT_NORM | STAT_SANCT).
2005-12-17 19:55:52 +00:00
Ron Koenderink
4799984997
(gen_power): Do not include land units with spy capability in the
...
land unit count. Closes #910398 .
2005-12-17 12:41:39 +00:00
e29f288289
Remove silly superflous parenthesis.
2005-12-03 21:14:26 +00:00
e59c4bcfd0
(peek): Old owner is not hidden, remove column.
2005-12-03 21:04:00 +00:00
8f7389e404
(peek, empmod): Remove obsolete command hidden.
2005-12-03 21:02:31 +00:00
2517931b12
(plane_bomb, land_bomb): Apply collateral damage to target sector
...
instead of where the targeted plane/land unit is after the attack.
Different if the target retreats. Can't happen for planes. Reported
by Greg German.
2005-11-29 17:54:45 +00:00
f5c81fe39e
Fix bad line breaks.
2005-11-29 17:34:42 +00:00
Ron Koenderink
9a296c4be3
(show): Return syntax error for invalid qualifier.
2005-11-23 23:51:28 +00:00
Ron Koenderink
1de48e53da
(tend): Send a bulletin to the ally when tending items to an ally.
...
Closes #929398 .
2005-11-22 19:28:48 +00:00
Ron Koenderink
e8746e9af0
(tend_land): Allow spy units to be tended to and from sub
...
with no land unit carrying capability. Closes #1313537 .
2005-11-20 18:17:05 +00:00
fe1a3e57c6
(multifire): When an argument is bad, do not loop prompting, just
...
fail. That's what the vast majority of commands do.
2005-11-19 15:38:53 +00:00
ad10ee5649
(laun, launch_as, launch_missile, launch_sat): When an argument is
...
bad, do not loop prompting, just fail. That's what the vast majority
of commands do.
(launch_as, launch_missile, launch_sat): Don't zap the target
argument. If the target is given as argument, launch all missiles at
that target. Previously, missiles after the first prompted for
another target.
2005-11-19 15:29:12 +00:00
011fa326d7
(buil): When an argument is bad, do not offer to list types, just
...
print how to list them.
(buil): When an argument is bad, do not loop prompting, just
fail. That's what the vast majority of commands do.
2005-11-19 15:15:49 +00:00