50153 Commits

Author SHA1 Message Date
J. Tyne
e56275e703 Temporary fix for bug #19856
This will fix replays in the most common cases, but there are still
some less common cases not handled well.
2012-06-28 18:50:46 +00:00
Simon Forsyth
259276c040 Redefine old terrain macro in terms of another.
Would like a way to mark it as deprecated.
2012-06-28 02:03:00 +00:00
Simon Forsyth
36b2f08f97 Modernize Dark Castle terrain graphics.
It is now usable adjacent to any terrain.

Adds new macro to core likely to be useful for UMC castle developers.
2012-06-28 01:55:12 +00:00
J. Tyne
ae76295f70 Suppress movement feedback when the move is not animated.
Fixes bug #19855.
2012-06-28 01:49:26 +00:00
J. Tyne
45c0d0fcec Fix: Replays were firing more sighted events than the original play. 2012-06-28 01:22:19 +00:00
Simon Forsyth
98de76c57f remove empty and unused define 2012-06-28 01:16:56 +00:00
J. Tyne
c8e7a69368 Fix typo in a comment and use false instead of 0. 2012-06-28 01:12:49 +00:00
Simon Forsyth
79b820db7c simplify Kaleh armor AMLA 2012-06-28 00:52:24 +00:00
Simon Forsyth
57ba185196 restore accidentally deleted unit type 2012-06-28 00:49:37 +00:00
Dmitry Kovalenko
f0c703287b LuaAI: bugfix #19086 2012-06-27 18:21:27 +00:00
Anja Keicher
e6f0fe42bc Scenario transition refactoring
Carryover gold and recalls handled out of game
2012-06-27 09:36:08 +00:00
J. Tyne
85981e784e Keep the moving unit in the unit map.
Fixes bug #19788.
2012-06-25 02:33:53 +00:00
J. Tyne
5cf885022a Changelog entries for 2012-06-25T01:17:55Z!jt_coding@verizon.net. 2012-06-25 01:34:04 +00:00
J. Tyne
2ea2733c4a When commands are disabled, ignore commands...
...instead of converting them to hex selection.

Fixes bug #19734.
2012-06-25 01:17:55 +00:00
J. Tyne
8a5520c4ed Have replays check for no visible unit at the end of movement,
...rather than no unit at all.

This is needed to support exit_hex events properly. (Replays have to
store more than the actual movement in order for the replay to fire a
move-ending exit_hex event.)
2012-06-25 01:00:05 +00:00
J. Tyne
b2674b7089 Refectored move_unit()
This more object-oriented approach should be more robust in the face of
whatever future changes might come along. Plus, the code might be easier
to follow since the logic is broken into smaller pieces.

(There is some more streamlining to come. At this stage, very little
was changed with regards to the animation support that is required by
the enter/exit hex events.)
2012-06-24 23:57:49 +00:00
Étienne Simon
6b93df4698 wb::side_actions documentation correction. 2012-06-24 15:10:41 +00:00
Elias Pschernig
aef708cbc4 [wmlunits] use SKIP_CORE when parsing mainline campaigns,
...automatic data/core parsing with --preprocess doesn't seem to work anymore
2012-06-24 13:03:08 +00:00
Steven Panek
8103762eff Added a missing brace. 2012-06-23 09:58:50 +00:00
Elvish_Hunter
18b1f5bb54 Changelog entry and test scenario modification for [effect] apply_to=halo 2012-06-23 08:15:55 +00:00
Elvish_Hunter
db0a94bfd7 Added support for [effect] apply_to=halo 2012-06-23 08:12:44 +00:00
Anja Keicher
823ddd6622 Fixed issue with old savegames and victory reports
Refactoring still WIP
2012-06-22 18:34:18 +00:00
Dmitry Kovalenko
552b6b0c7e LuaAI: fixed bug #19782 and made the code more safe. 2012-06-21 11:49:40 +00:00
Simon Forsyth
c578a27fba give the desert elves their own movement type 2012-06-21 02:45:33 +00:00
Simon Forsyth
74349f9a1e Correct spelling 2012-06-21 02:13:51 +00:00
Simon Forsyth
ca060546db Deal with a pair of TODOs 2012-06-21 01:36:40 +00:00
Sergey Popov
fd73f32151 Fix a compile warning. 2012-06-20 23:57:53 +00:00
Anja Keicher
6cc603c9d9 Scenario transitions refactoring
Moving gold and recall handling from inside the game to outside. Gold
and recalls are handled and stored as carryover info rather than as
snapshot.
2012-06-20 23:45:30 +00:00
Étienne Simon
3a6b9cf0ee Add a test for wb::side_actions_container. 2012-06-20 23:39:54 +00:00
Simon Forsyth
b9644500c6 Add myself to the credits as yet another maintainer 2012-06-20 23:29:47 +00:00
Étienne Simon
7a908233c3 wb::side_actions refactoring.
Move container's code to wb::side_actions_container, using
Boost.MultiIndex as underlying container.

Documentation and improvement of wb::side_actions.
2012-06-20 23:17:16 +00:00
Steven Panek
edbdf0ccf8 Made a name string translatable. 2012-06-19 10:14:04 +00:00
Simon Forsyth
fa279a7280 there is no opportunity for Kaleh to stun anyone in the epilogue 2012-06-19 01:35:47 +00:00
Simon Forsyth
506cbf596c add forgotten image 2012-06-19 00:52:23 +00:00
Simon Forsyth
42e4545e09 update changelog 2012-06-19 00:46:20 +00:00
Simon Forsyth
bc7112fd35 display dehydration status in the status table 2012-06-19 00:43:42 +00:00
Simon Forsyth
5f5067fe46 use macro that does not require appending gender in separate tag...
...to create Nisa
2012-06-17 21:13:21 +00:00
Simon Forsyth
6cf0181721 2012-06-17T20:41:25Z!alarantalara@gmail.com makes role=Dwarf High Guard useless - removed 2012-06-17 20:45:04 +00:00
Simon Forsyth
405691cd55 Jorgi must be alive for movement to trigger explosion of backup charges...
...no need to check
2012-06-17 20:41:25 +00:00
Simon Forsyth
1a0e6c2319 delete variables with values that are never read 2012-06-17 20:39:21 +00:00
Simon Forsyth
af20840f60 do not clear variables that are not set 2012-06-17 20:35:20 +00:00
Simon Forsyth
4207607f35 use map passable placement to simplify finding location for dark assassin 2012-06-17 20:08:24 +00:00
Simon Forsyth
b593d6644a Improve undead trolls:
add the plague description to their custom description

 use variation= at creation instead of applying an object after to
 make them trolls
2012-06-17 19:50:45 +00:00
Simon Forsyth
c4c22e5ca1 clean up ENEMY_ATTACK:
remove array length measurement from loop

 clear all variables used

 move clear of variables out of if to reduce repettion
2012-06-17 19:29:20 +00:00
Simon Forsyth
faa59c9ee6 only place troll villages if they will be used 2012-06-17 19:08:06 +00:00
Mark de Wever
5d65832480 Move the gui widget definition code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 18:32:57 +00:00
Mark de Wever
d998d809c7 Move the gui placer code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 17:15:28 +00:00
Simon Forsyth
8e98b82931 remove some testing code 2012-06-17 14:59:00 +00:00
Mark de Wever
c1253e1865 Move the gui iterator code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 14:57:45 +00:00
Mark de Wever
8c4e41f8a3 Move the gui event code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 13:16:38 +00:00