17947 Commits

Author SHA1 Message Date
fendrin
83f5f4799d Implemented a context menu for the unit tool.
Features:
Renaming, Deleting, Toogle canrecruit and toogle renamable.
2013-05-05 01:55:50 +02:00
fendrin
9d52e89db4 Fixed the name of an editor brush. 2013-05-05 01:55:49 +02:00
fendrin
0b22b705ba New status box art from Lord Bob. 2013-05-03 21:51:20 +02:00
mattsc
ae71a23c7d Animals MAI test scenario: remove SLFs that always evaluate true 2013-05-03 12:25:52 -07: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
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
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
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
c59da51bac Fix the layout for 1024x768 and higher. 2013-05-01 14:59:40 +02:00
fendrin
507d2b2b6f Change replay buttons from [menu] to [action]. 2013-05-01 12:09:41 +02:00
Alexander van Gessel
04b42cba37 Optipng run
Original size: 422 KiB on 63 files
 Optimized size: 307 KiB
   Total saving: 114 KiB = 27% decrease
2013-04-30 16:59:21 +02:00
mattsc
1951cc218e Healer Support Micro AI: bug fix for aggression= key
Key needs to converted to a number before checking its value.
2013-04-29 17:39:39 -07:00
fendrin
b97ed9b338 Changed the endturn button from [menu] to [action]. 2013-04-29 20:11:04 +02:00
fendrin
a1861e2aa3 Tooltip support in GUI1 widgets. 2013-04-29 16:33:50 +02:00
Mark de Wever
1efebdeea4 Fix a typo in DiD.
The issue was discovered by vultraz.
2013-04-28 22:03:38 +02:00
upthorn
8cd86671ac Add persistent variable subnamespace usage into scenario-test, for testing persistent variable subnamespace behavior. 2013-04-13 12:21:51 -03:00
fendrin
59902f7900 Removed the "Feature not implemented yet." mark for the map label tool. 2013-04-08 14:21:10 +02:00
Alarantalara
8afb36ff7c Merge branch 'master' of ssh://git.code.sf.net/p/wesnoth/code 2013-04-05 23:14:35 -04:00
Alarantalara
27c984c384 Match coral reef water to surrounding water. 2013-04-05 23:13:32 -04:00
Ignacio R. Morelle
210b293b3d Update credits entry to include the username 2013-04-05 23:31:53 -03:00
fendrin
b47a8ec637 Moved the editor buttons in subfolders depending on their purpose. 2013-04-05 19:58:05 +02:00
fendrin
a3cd1fa6bc Removed obsolete image attribute in the editor's brushes.cfg file. 2013-04-03 20:38:34 +02:00
fendrin
26fb1edb6b Moved all editor specific buttons in their subfolder. Added
radiobuttons.
2013-04-02 01:00:11 +02:00
fendrin
c9eabcdadc Removed the already commented brush_bar entry. 2013-04-01 15:03:38 +02:00
fendrin
9cbc251919 Replaced the brush bar with a theme wml solution. 2013-04-01 14:19:10 +02:00
fendrin
9cf3f41291 Enabled all new editor buttons. 2013-04-01 04:29:31 +02:00
Mark de Wever
9c80bf64c5 Fixes the text box cursor position.
The placement of the cursor sometimes was wrong under Windows. (The bug
could be reproduced under Linux by changing the configuration files.)

The problem was caused by the height of the text box and the permission
to wrap the text on a new line. This caused the cursor position to
return to the beginning of the line.

Fixes bug #17220 using patch #3822.
2013-03-31 21:01:28 +02:00
fendrin
8ada4fb582 Editor: Made the toogle grid button a checkbox one. 2013-03-31 13:26:40 +02:00
anonymissimus
0c46e0bc5a fix the surviving orc leader starting poisoned in the next scenario 2013-03-31 01:28:33 +01:00
fendrin
b1399dcba6 Made the editor palette's scrollbuttons to turbo ones. 2013-03-30 19:19:36 +01:00