52184 Commits

Author SHA1 Message Date
Emilien Rotival
97652dd529 updated editor tool icons for unit and item 2013-05-04 08:26:10 +02:00
Emilien Rotival
7c10f60ee0 Removed blank files that should not have been included in the icon package 2013-05-04 08:24:24 +02:00
fendrin
226ede176b Enable the loading of the extra wml config map file. 2013-05-04 00:30:19 +02:00
fendrin
734d30dbf9 Fix drawing issues with the editor tools. 2013-05-03 21:51:26 +02:00
fendrin
8ab9659f36 Avoid a null pointer access. 2013-05-03 21:51:25 +02:00
fendrin
1a44707dfe Add support for selecting the transition mode directly. 2013-05-03 21:51:24 +02:00
fendrin
a8b7bb529b Adjust the palette size for low resolutions. 2013-05-03 21:51:23 +02:00
fendrin
1a3a7b3dce Icon for unwalkable terrain. 2013-05-03 21:51:23 +02:00
fendrin
627ca32a15 Artwork for cave terrain. 2013-05-03 21:51:22 +02:00
fendrin
95f0ed8348 Deleted a wrong named image. 2013-05-03 21:51:21 +02:00
fendrin
0b22b705ba New status box art from Lord Bob. 2013-05-03 21:51:20 +02:00
fendrin
3d3bbc3e2e Fix the spelling in a comment. 2013-05-03 21:51:19 +02:00
mattsc
ae71a23c7d Animals MAI test scenario: remove SLFs that always evaluate true 2013-05-03 12:25:52 -07:00
Emilien Rotival
843a370527 new status icons for the upper menu bar 2013-05-03 16:45:06 +02:00
Emilien Rotival
599155c88e Minor updates to the artwork of square buttons 2013-05-03 16:34:21 +02:00
Emilien Rotival
031a933703 Merge branch 'master' of https://github.com/wesnoth/wesnoth-old 2013-05-03 16:07:21 +02:00
mattsc
e7a71a51d7 battle_calcs library: add functions best_defense_map() and get_attack_combos_subset() 2013-05-03 07:06:22 -07:00
mattsc
5fb4dd3816 battle_calcs relative_damage_map: enemy leader needs to have unity weight 2013-05-03 07:02:23 -07:00
mattsc
7e189c1d51 battle_calcs relative_damage_map: add own and enemy damage to output 2013-05-03 07:01:21 -07:00
mattsc
122d674b9b battle_calcs library: some tweaks to attack_rating() function 2013-05-03 06:55:19 -07:00
Emilien Rotival
9b67386f5d fixed the size of the buttons, which was previously 36 pixels instead of the expected 38 2013-05-03 15:53:34 +02:00
mattsc
6b119e4039 battle_calcs library: fix formatting and indenting 2013-05-03 06:51:14 -07:00
mattsc
61d0f53c63 Goto Micro AI scenario: remove unneeded wmllint exception. 2013-05-02 20:54:04 -07:00
mattsc
d3c1309e6f Goto Micro AI scenario: some changes to messages to make wmllint happy
Removed double spaces after messages and took care of 'nonstandard
word-wrap styles'.
2013-05-02 20:47:38 -07:00
mattsc
b75f2a0f90 Goto MAI scenario: update lurker MAI SUF and SLF to new syntax 2013-05-02 20:24:00 -07:00
mattsc
e3b358cab4 Add Goto Micro AI code to MAI switchboard scenario 2013-05-02 20:20:44 -07:00
mattsc
d58fdfd410 Add Goto Micro AI scenario map 2013-05-02 20:17:17 -07:00
mattsc
a7ccb1c877 Add Goto Micro AI functionality 2013-05-02 20:16:33 -07:00
mattsc
83ea570285 Add Goto Micro AI scenario 2013-05-02 20:03:56 -07:00
mattsc
06e896970d Update ai_helper library
New functions print_ts() and print_ts_delta().
Update functions find_best_move() and get_attack_combos().
Use new 1.11.2 syntax and functionality.
2013-05-02 19:57:21 -07:00
Boucman
b4478d6d0e Merge pull request #3 from vinipsmaker/master
Fixes bug #20765
2013-05-02 00:24:27 -07:00
Vinícius dos Santos Oliveira
d271883eb7 Fixes bug #20765: Stack overflow in animation because of weird WML files.
A call to unit::redraw_unit would check if the unit contains any animation. If
no animation is found, then it would call set_standing to put a new animation.

States are usually changed through unit::start_animation. unit::set_standing
uses this approach also. If unit::start_animation is unable to change the unit
to the animation passed as argument, it would try to animate the object calling
unit::set_standing (infinite recursion).

unit::start_animation had a check (maybe to prevent the infinite recursion), but
this check was buggy (if the intent was to prevent the infinite recursion).

The solution add a instruction to successfully set the unit to the state
STATE_STANDING and fixes the check that was using the wrong logical operator.
2013-05-01 23:36:36 -03:00
fendrin
e5b3cb884e Some new terrain type icons + optipng run on the old ones. 2013-05-02 01:40:47 +02:00
fendrin
cb501d7012 Terrain icon info. 2013-05-02 01:34:19 +02:00
mattsc
26b9163a09 Add Zazweda to about.cfg 2013-05-01 14:11:20 -07:00
mattsc
c63258da84 Micro AIs: add zone guardian by Zazweda 2013-05-01 14:09:14 -07:00
Mark de Wever
98084d86a9 Fixes the wml_dialogs with wide screen theme.
Fixes bug #20592, applies patch #3844.
2013-05-01 20:40:26 +02:00
mattsc
5033ef7ebf Micro AIs: use [filter_location] and variants thereof for SLFs
Rename Standard Location Filters in order to be consistent with other
WML.
2013-05-01 10:54:07 -07:00
mattsc
f7aa38bca4 Micro AIs: use [filter] and [filter_second] for SUFs
Rename Standard Unit Filters in order to be consistent with other WML.
2013-05-01 10:16:25 -07:00
fendrin
f1527dd8a0 Reenabled the palette group menu. 2013-05-01 19:08:32 +02:00
mattsc
9995853471 The Elves Besieged Micro AI test scenario: update deprecated aspect syntax 2013-05-01 09:44:35 -07:00
mattsc
2103ece522 Micro AI switchboard scenario: fix some of the context menu item IDs
... so that they are consecutively numbered
2013-05-01 09:39:58 -07:00
fendrin
530ac238ec Made the palette a widget. 2013-05-01 16:57:02 +02:00
mattsc
b1cef372d6 Healer Support Micro AI: add optional SUF for healers
If set, only units passing this filter and having the healing ability
are used as healers.
2013-05-01 07:30:45 -07:00
mattsc
0b5da53da8 [micro_ai] tag: move serialization of cfg table into add_CA() function
This has the advantage that we can still add information to the cfg at
this level (namely the CA name, which gets checked for uniqueness here).
2013-05-01 07:17:00 -07:00
mattsc
a929543f4c [micro_ai] tag: make sure that each CA gets a unique name
This is important if more than one Micro AI of the same type is set up
for a side.
2013-05-01 07:05:59 -07:00
fendrin
4a559b6b94 Enable the help system in the map editor. 2013-05-01 15:41:23 +02:00
fendrin
c59da51bac Fix the layout for 1024x768 and higher. 2013-05-01 14:59:40 +02:00
fendrin
f1a9a3e8a7 Fixes to the editor's action state controlling. 2013-05-01 14:59:39 +02:00
fendrin
26f0960321 Merge pull request #2 from thunders/master
Fix 'end turn' button's state issue.
2013-05-01 05:08:18 -07:00