35947 Commits

Author SHA1 Message Date
Jörg Hinrichs
f038d3882a Fixes "you have been defeated" after ending first turn on multiplayer. 2009-09-23 18:35:34 +00:00
Mark de Wever
bb5b808ae1 Remove an unneeded semicolon. 2009-09-23 18:26:54 +00:00
Jörg Hinrichs
842654863b Includes the era into mp_game_settings config processing. 2009-09-23 17:35:06 +00:00
Jörg Hinrichs
7371bef4d1 Adapts MP server game descriptions to the new WML format. 2009-09-23 17:34:19 +00:00
Nils Kneuper
9fbc0414eb pot-update
regenerated doc files
2009-09-23 11:18:15 +00:00
Iurii Chernyi
62e66e9110 a useful AI macro: a menu item to ask allied leaders to move to target hex 2009-09-23 00:29:41 +00:00
Iurii Chernyi
1c3cf65e62 temp. disabled code 2009-09-23 00:29:36 +00:00
Iurii Chernyi
29a6958ba1 fix a typo in previous commit 2009-09-22 23:50:38 +00:00
Iurii Chernyi
eb77fed2dc added empty stage, used experimental fai recruitment for LoW::2,
...disabled extra debug output in formula ai recruitment, disabled
recruitment of Ulfserkers and Berserkers in LoW::2
2009-09-22 23:45:23 +00:00
Ignacio R. Morelle
7ae4308f2d DM 1: set the living props' facing when they are spawned, instead of
setting them on the start event with MODIFY_UNIT, which produced an
awkward visual effect (tsk). This also eliminates unnecessary
store_unit/unstore_unit cycles.
2009-09-22 21:19:11 +00:00
Mark de Wever
79024b9ea4 Add a compiler switch for the new event handling.
The new event handling is enabled when GUI2_NEW_EVENT_HANDLING is set.
It's not advised to do so since the code doesn't work properly yet.
2009-09-22 20:37:28 +00:00
Mark de Wever
12de275d92 Add some handlers for the new event handling.
The handlers aren't connected yet, just a sample how they should look.
2009-09-22 20:08:15 +00:00
Mark de Wever
b2e7cfc2ec Remove MSVC comment of last commit.
Gcc was to blame for accepting the code.
2009-09-22 19:20:26 +00:00
Jörg Hinrichs
6c704bad85 Fixes compiler errors for MS VC++ 2009-09-22 17:59:22 +00:00
Jörg Hinrichs
b3b0b24cae Fixes a bug of not returning to the title screen...
...when watching a replay and cancelling the load-game dialog.
2009-09-22 17:55:28 +00:00
Jörg Hinrichs
c04b40db46 Fixes bug #14241...
...(mp campaigns: timer settings do not carry over to next
scenario). This (again) breaks mp savegame compatibility with all
previous releases. Campaigns shouldn't be affected.
2009-09-22 17:52:33 +00:00
Nils Kneuper
9fcee43057 updated Lithuanian translation 2009-09-22 11:02:51 +00:00
Fabian Müller
e0e752ce5b LoW::21: Code cleanups. New starting positions. 2009-09-22 09:05:57 +00:00
Gunter Labes
5ff5a4aa5d typo fix 2009-09-22 04:00:29 +00:00
Mark de Wever
1e85384600 Set the handler to NULL after deleting it.
Some test code accessed the deleted pointer and since it contained an
address the assert wasn't triggered.
2009-09-21 20:39:13 +00:00
Ignacio R. Morelle
3f6f4d9ddd Renamed some enum types and members for generalization. 2009-09-21 19:59:01 +00:00
Mark de Wever
fe197f92c0 Documentation for the new event handling.
The documentation contains some ideas, not all is cast in stone yet. And
the code supporting the ideas hasn't been born yet.
2009-09-21 19:24:39 +00:00
Nils Kneuper
18d02d99d1 add the typo fixed in 2009-09-21T17:53:34Z!esr@thyrsus.com to pofix and run it on the relevant files 2009-09-21 18:50:23 +00:00
Mark de Wever
36822e6045 Change doxygen to glob src recursively.
This avoids adding every subdirectory to src manually.
2009-09-21 18:15:59 +00:00
Eric S. Raymond
0333880c09 Comment fix. 2009-09-21 17:54:45 +00:00
Eric S. Raymond
57218d2b51 Typo fix. 2009-09-21 17:53:34 +00:00
Eugen Jiresch
46faf6d29a fixed WML variable population when loading midgame saves with 'show replay' 2009-09-21 15:04:40 +00:00
Eugen Jiresch
4943990cca WML variables are no longer stored at the savefile root 2009-09-21 14:21:19 +00:00
Eugen Jiresch
ab13cb19e6 when populating game_state.variables_,
...snapshot/replay_start is now prioritized over savefile root
2009-09-21 13:56:35 +00:00
Eugen Jiresch
ad296d85e7 WML variables are now added to game_state.starting_pos...
...to preserve their state at scenario start
2009-09-21 13:28:28 +00:00
Nils Kneuper
5cab289f89 add some comments that trigger a bug in the (perl) wmlxgettext...
...which pleases it regarding the unbalanced items...
2009-09-21 11:22:47 +00:00
Lari Nieminen
0d05ba1e8c Fixes a problem with the menus listing sides. 2009-09-21 10:42:21 +00:00
Iurii Chernyi
794f3259d6 workaround for an error in perl-based wmlxgettext...
...it thinks that 'non-comment #comment about [tag]' string contains a
tag start
2009-09-21 10:02:51 +00:00
Gunter Labes
0f03c1f8dc Made units with the 'healthy' trait always rest heal...
...but take normal damage from poison.
2009-09-21 00:26:04 +00:00
Gunter Labes
5e3fe2fd5c give a specific error message when no password is set 2009-09-21 00:25:53 +00:00
Guillaume Melquiond
dbd845c5e6 Forced cost function to return a value >= 1. 2009-09-20 19:12:59 +00:00
Guillaume Melquiond
fd19056bb5 Added a test for standard unit filters written in Lua. Updated changelog. 2009-09-20 18:10:28 +00:00
Guillaume Melquiond
e18641718b Added a way to invoke Lua functions from standard unit filters. 2009-09-20 18:10:19 +00:00
Mark de Wever
ec09452524 Fix a typo which called the wrong function. 2009-09-20 18:07:53 +00:00
Mark de Wever
58f7b7db78 Update changelog. 2009-09-20 18:07:48 +00:00
Mark de Wever
28313b48e2 Initialize all members. 2009-09-20 18:07:32 +00:00
Guillaume Melquiond
ea755029e6 Added test for pathfinder. 2009-09-20 16:36:18 +00:00
Guillaume Melquiond
ebda62b6d5 Fixed off-by-one locations. 2009-09-20 16:36:15 +00:00
Guillaume Melquiond
ffa00a21c9 Taught Lua pathfinder about teleporting units. 2009-09-20 16:36:12 +00:00
Guillaume Melquiond
9b31bac213 Optimized a bit non-teleporting units. 2009-09-20 16:36:09 +00:00
Guillaume Melquiond
269257b45b Factored teleport code for pathfinder. 2009-09-20 16:36:05 +00:00
Guillaume Melquiond
89c68c9e22 Removed annoying parameters. 2009-09-20 16:36:01 +00:00
Eric S. Raymond
6a60c523a3 Cope better with attributes at toplevel. 2009-09-20 16:22:18 +00:00
Eric S. Raymond
ae20489ec0 Croak more gracefully on a file with no element structure. 2009-09-20 15:40:28 +00:00
Mark de Wever
e7ed48bff1 Strip trailing whitespace. 2009-09-20 15:36:32 +00:00