63bdc89835
Update copyright notice.
2007-01-09 19:09:31 +00:00
e42053d928
Break inclusion cycle: prototypes.h and commands.h included each
...
other. Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special). New header types.h to
help avoid inclusion cycles. Sort include directives. Remove some
superflous includes.
2006-07-10 06:37:23 +00:00
0c1bd8e98b
(add, plane_bomb, pinflak_planedamage, doship, dounit, doplane, laun)
...
(launch_sat, scra, scut, scuttle_ship, scuttle_land, knockdown)
(ac_planedamage, detonate, attack_val, defense_val, air_damage)
(msl_intercept, msl_launch_mindam, pln_prewrite, shp_prewrite):
Simplify unit destruction: just zero efficiency, leave makelost()
etc. to the prewrite callback.
2006-05-27 19:25:12 +00:00
5b4b3a13cb
Break lines more tastefully.
2006-05-14 07:52:20 +00:00
a988b907fc
s_char purge directed by compiler warnings.
2006-04-29 06:41:45 +00:00
4836f6c543
Fix long lines. No functional changes.
2006-04-16 17:20:33 +00:00
4c6fb12377
Code formatting. No functional changes.
2006-03-26 13:52:23 +00:00
79714720cc
(ontradingblock, trdswitchown): Second parameter is a generic pointer,
...
change it from int * to void *. Callers changed not to cast to int *.
2006-03-25 15:11:17 +00:00
4515b84c59
COPYING duplicates information from README. Remove. Move GPL from
...
LICENSE to COPYING, because that's where it usually is. Update all
the references to these files.
2006-01-21 19:48:41 +00:00
3e400c018c
Update copyright notice.
2006-01-05 13:36:57 +00:00
3aebb68ee7
Include config.h.
2005-12-27 18:04:19 +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
Ron Koenderink
e332ff5fcc
(launch_sat): Incorrectly assumed that plane_mob_max is 127 when
...
calculating when the satellite will be ready for use.
2005-07-18 23:52:30 +00:00
4f59fc9967
Remove a bunch of redundant casts.
2005-06-12 06:31:48 +00:00
345ad3dfe0
Update copyright notice.
2005-03-16 22:03:16 +00:00
46608d6c83
(ORBIT, opt_ORBIT, Options, launch_sat, pdump, plan, prod_plane):
...
Remove nooption ORBIT.
2004-12-17 19:29:36 +00:00
Marc Olzheim
c6ef918f3a
Cleanup #includes of (mostly a long time) unused header files.
...
No functional changes.
2004-12-13 16:47:13 +00:00
Marc Olzheim
e9a040adb9
Do not include var.h where no longer needed. Clean up register keywords in these file at the same time. No functional changes.
2004-10-12 20:08:51 +00:00
fac342ed49
Update copyright notice.
2004-09-07 15:07:16 +00:00
00ba173baa
(launch_missile): Simplify to avoid compiler warning.
2004-08-28 12:51:04 +00:00
dcfd251f95
caddr_t is obsolete. Replace by void *, except for struct empfile
...
member cache, which becomes char * to keep pointer arithmetic simple.
2004-08-23 18:29:44 +00:00
e67dca9d29
Indentation fixes; suspect indent-emp is to blame.
2004-02-28 18:06:11 +00:00
9b7adfbecc
Indented with src/scripts/indent-emp.
2003-09-02 20:48:48 +00:00
d8b7fdfae1
Import of Empire 4.2.12
2003-08-23 12:23:04 +00:00