Iurii Chernyi
44b5ffc614
Rework AI controller - use [modify_ai] tags. Beta. Works.
2010-01-31 13:03:46 +00:00
Jérémy Rosen
e2ec3b6939
fix multiple flags not working in [terrain_graphics]...
...
(they worked in [tile])
2010-01-31 12:47:38 +00:00
Iurii Chernyi
e18a65f49b
add a human-readable error name when ai action results in an error,
...
...like 'error ai/actions: Error #2002 (move_result::E_NO_UNIT) in
full move by side 1 from location 14,6 to location 17,6'
2010-01-31 12:34:14 +00:00
Guillaume Melquiond
8a5bbaf90b
Simplified code since event handlers are no longer nonvolatile.
2010-01-31 11:34:14 +00:00
Guillaume Melquiond
ea966d09af
Made sure event handlers are still alive in linger mode.
...
(Fix for bug #15226.)
Actually, it is not quite clear why they were dead in the first place,
so this fix may just be papering over a bug somewhere else.
2010-01-31 10:39:35 +00:00
Alexander van Gessel
ba4678b813
Remove unneeded include
2010-01-31 05:21:20 +01:00
McShark
4eb7e7e501
Update according to recent file changes: movement of files to src/pathfind
2010-01-30 23:27:38 +00:00
Lari Nieminen
fc3211a262
Deactivated the possibility of the player losing...
...
...due to an elf "escaping" the cave, because there's no way for the
player to prevent that.
2010-01-30 22:32:14 +00:00
Lari Nieminen
a27b27ac35
Fixed duplicate unit id's.
2010-01-30 22:27:20 +00:00
McShark
91f440bbf5
svn.ignore: Use wildcards for vcproj.*.user
2010-01-30 20:55:46 +00:00
Mark de Wever
6366efc234
Update changelog.
2010-01-30 20:55:17 +00:00
Chusslove Illich
869aae4163
Updated localized images for Hungarian.
2010-01-30 19:11:23 +00:00
Guillaume Melquiond
31aec43939
Fixed lookup of binary files in user data.
2010-01-30 16:43:33 +00:00
Guillaume Melquiond
c1f228c4cb
Added interface for floating labels.
2010-01-30 16:43:26 +00:00
Guillaume Melquiond
425e69563f
Fixed comments.
2010-01-30 16:43:21 +00:00
Guillaume Melquiond
d63feaae75
Caught other errors than just a missing type field when creating units.
2010-01-30 16:43:14 +00:00
Nils Kneuper
2589b07300
updated Italian translation
2010-01-30 13:42:06 +00:00
Nils Kneuper
1a68943119
updated Czech translation
2010-01-30 11:34:47 +00:00
Jérémy Rosen
625d666f1e
add a victory animation to master at arm, double use it as an idle animation
2010-01-30 10:30:15 +00:00
Mark de Wever
6fe3621668
Fix a compiler warning.
2010-01-30 07:56:54 +00:00
Iurii Chernyi
7a9caa4f36
added gamestate_observer class,
...
...used it to simplify candidate actions interface and implementation,
by making is_gamestate_changed flag managed externally, by rca stage
2010-01-29 23:17:35 +00:00
Iurii Chernyi
5d01e77eb6
changelog entry for the above
2010-01-29 21:33:00 +00:00
Iurii Chernyi
cd5d823e3c
rename log domain 'ai/testing/rca_default' to 'ai/stage/rca'
2010-01-29 21:32:55 +00:00
Iurii Chernyi
d62b399a94
rename log domain 'ai/testing/stage_fallback' to 'ai/stage/fallback'
2010-01-29 21:32:50 +00:00
Iurii Chernyi
1a81d7dfc7
rename log domain 'ai/testing/ca_testing_move_to_targets'...
...
...to 'ai/ca/testing_move_to_targets'
2010-01-29 21:32:45 +00:00
Iurii Chernyi
424e2fccd7
rename log domain 'ai/testing/ca_default_move_to_targets' to...
...
...'ai/ca/default_move_to_targets'
2010-01-29 21:32:41 +00:00
Iurii Chernyi
1bdc44d107
rename log domain 'ai/testing/ai_default' to 'ai/ca/testing_ai_default'
2010-01-29 21:32:36 +00:00
Iurii Chernyi
f31a8da32a
rename log domain 'ai/formula_ai' to 'ai/engine/fai'
2010-01-29 21:32:31 +00:00
Iurii Chernyi
9fe46b70d3
rename log domain 'ai/formula_ai' to 'ai/engine/fai'
2010-01-29 21:32:26 +00:00
Iurii Chernyi
bc5c18e7aa
rename log domain 'ai/formula_ai' to 'ai/engine/fai'
2010-01-29 21:32:21 +00:00
Iurii Chernyi
55911100de
rename log domain 'ai/composite/stage' to 'ai/stage'
2010-01-29 21:32:16 +00:00
Iurii Chernyi
e5dd9073cb
rename log domain 'ai/composite/rca' to 'ai/stage/rca'
2010-01-29 21:32:11 +00:00
Iurii Chernyi
61eb9d833a
rename log domain 'ai/composite/goal' to 'ai/goal'
2010-01-29 21:32:06 +00:00
Iurii Chernyi
eab6b7ddf2
rename log domain 'ai/composite/engine/fai' to 'ai/engine/fai'
2010-01-29 21:32:01 +00:00
Iurii Chernyi
c5f07a7540
rename log domain 'ai/composite/engine/cpp' to 'ai/engine/cpp'
2010-01-29 21:31:56 +00:00
Iurii Chernyi
2e7615d4b2
rename log domain 'ai/composite/engine' to 'ai/engine'
2010-01-29 21:31:51 +00:00
Iurii Chernyi
9cb936bbcf
rename log domain 'ai/composite/component' to 'ai/component'
2010-01-29 21:31:46 +00:00
Iurii Chernyi
74a1886ed6
rename log domain 'ai/composite/aspect' to 'ai/aspect'
2010-01-29 21:31:40 +00:00
Iurii Chernyi
c099e8e78e
fix a misspelled wml attribute name
2010-01-29 20:40:41 +00:00
Iurii Chernyi
256faf3c17
Port [protect_leader], [protect_unit], [protect_location]...
...
...to new-style ai config. The form is
[goal]name=protect[criteria]SLF[/criteria][/goal], and old syntax is
converted automatically on load. This allows RCA AI to use these types
of goals.
2010-01-29 20:27:42 +00:00
Nils Kneuper
cd69d0c7ad
updated Portuguese (Brazil) translation
2010-01-29 12:10:38 +00:00
Alexander van Gessel
cc9d027922
If a unit's alignment is changed to nonsense in WML, default to neutral
2010-01-29 04:11:56 +01:00
Lari Nieminen
8991899f24
Reduced the number of elvish ambushers along the road,
...
...changed the undead spawn types a bit and made it so that only one
ghost or bat can be spawned on each turn.
2010-01-28 13:51:50 +00:00
Jérémy Rosen
4393da63eb
correct a typo in terrain code that probably was unnoticed since the 1.3 era
2010-01-27 21:04:56 +00:00
Alexander van Gessel
c586244007
Remove x and y attributes before unstoring a unit
2010-01-27 18:01:21 +01:00
Eric S. Raymond
266438068f
Hmmm....this change seem to show that EXPERIMENTAL...
...
...as well as DEBUG_MODE is not defined in the test scenario, even
though the build has the experimental option.
2010-01-27 16:49:23 +00:00
Alexander van Gessel
9341377e22
Fix part of dark forecast's errors,
...
...remove mp_side attributes as well as side attributes before passing
the cfg to unit_creator
2010-01-27 16:47:18 +01:00
Alexander van Gessel
4611b1b095
I believe the players are supposed to share their vision on dark forecast
2010-01-27 15:43:00 +01:00
Alexander van Gessel
d65ac20e71
Remove Dark Forecast changes from pofix
2010-01-27 15:18:14 +01:00
Alexander van Gessel
68a909e546
Nuke a swapfile
2010-01-27 15:00:01 +01:00