74 Commits

Author SHA1 Message Date
John B. Messerly
8a80955b83 Added the ability to move units on fog/shroud maps without ...
...updating the fog/shroud, so the moves can be undone. The player can
commit the moves, forcing the fog/shroud to update, but then the moves
can no longer be undone.  Useful to make fog/shroud maps behave more
like normal maps, with respect to move undoing.
2004-04-25 18:50:42 +00:00
Dave White
accbc0f772 code refactoring - simplified the 'display' module 2004-04-22 18:58:59 +00:00
John B. Messerly
634e1dc978 Added the ability to undo recall actions.
Involved changing:

* recruit_unit - location parameter is now a reference so we can
return the actual position the unit was placed at (saves O(N) search)

* all locations that call recruit_unit (but don't need the actual
position)

* turn_info::recall,::undo,::redo - added support for undoing recalls

* undo_action - added new fields for recall actions
2004-04-11 19:31:22 +00:00
Dave White
fbbd7766b0 added 'berserk' attack ability and gave it to the dwarvish berserker 2004-04-08 15:02:48 +00:00
Dave White
aa4e306cc9 made it so that fading between days is skipped in accelerated mode 2004-03-30 16:19:24 +00:00
Dave White
1640dcd596 [[Terrain and calculations]]
- added cave-based terrain generator

- added calculations for battles
2004-03-21 19:05:23 +00:00
KMJ
1ecaa6af64 Added "victory_when_enemies_defeated" to scenarios.
Setting this to "no" will prevent check_victory from throwing the
end_level exception when the enemies are defeated. Scenario designers
using this will have to explicitly call end_level. The "enemies
defeated" game events still gets fired.
2004-03-06 21:27:37 +00:00
uid67456
f80e2924cf Nightstalk ability added 2004-01-28 23:43:38 +00:00
uid67456
27a7dfb53b FoW dies when unit dies, fixes bug #7114
In actions.cpp: attack() now recalculates fog if a unit dies in combat
2004-01-21 16:55:39 +00:00
uid69097
8d41e59f68 Fixes bug #7308: Next Unit returns to same unit. 2004-01-20 14:52:08 +00:00
uid68803
2d9f035095 made it so healers can heal allies.
made it so that if a leader dies, all villages for that side become neutral
2004-01-05 19:20:09 +00:00
uid68803
f6a871e909 made it so that in a shroud/fog of war game, ...
...when your units see another side's unit, they will stop moving instantly
2004-01-02 17:35:05 +00:00
uid68803
682376baad made multiplayer lobby work in modes below 1024x768 2004-01-01 15:35:55 +00:00
uid68803
0f0cdbb175 added attack icons from Svetac 2003-12-30 20:28:47 +00:00
uid68803
6516d3f869 fixed bug which could cause a crash when a unit advances
(as reported by Antonio Manrique Perez)
2003-12-29 14:46:53 +00:00
Dave White
1913db85ca removed floating point calculations from time of day bonus/penalty 2003-11-24 17:00:25 +00:00
Dave White
3147460662 converted combat calculations to use fixed-point math 2003-11-13 20:01:55 +00:00
Dave White
d64e04a5ca added some comments 2003-11-12 18:37:30 +00:00
Dave White
89ead17a34 made it so if a unit has a little movement left...
...but can't actually move to surrounding terrain, it is displayed as
having moved
2003-10-21 13:03:27 +00:00
Dave White
4dae65c945 made victory reporting better in multiplayer games 2003-10-21 11:20:35 +00:00
Dave White
2fad190610 added configurable day/night scheduler 2003-10-04 02:58:08 +00:00
Dave White
afdb6002e6 added shroud. Tweaked some units, added new scenario 2003-10-01 09:23:38 +00:00
Dave White
b6f0f71260 Added go-to 2003-09-20 07:41:15 +00:00
zas
ffa8b0bf4e Step1 of source move. 2003-09-19 10:21:25 +00:00