fendrin
bd5ff0e35f
LoW: [+units] -> [units]
2016-08-03 21:45:47 +02:00
fendrin
0fd792a676
Removed a silly use of [+unit].
2016-08-03 20:10:53 +02:00
Fabian Müller
f7c48a0222
LoW: Add Great Ogre unit.
2016-08-03 17:07:39 +02:00
Charles Dang
c2b09cbe5b
tunit_preview_pane: general cleanup and functionality improvements
...
This includes:
* Allowing the details area to scroll should the parent dialog not be long enough.
* Scaling all displayed sprites to 144x144 while maintaining aspect ratio.
* Forcing extra width so all mainline unit names have enough space to appear.
* Removing the unused 'minimal' definition. Might be added back later.
* Fixing the borders. The internal widgets shouldn't have outside borders, since borders
should be set for the widget instance in a containing dialog.
2016-08-04 01:11:47 +11:00
Charles Dang
e7068e35d5
tunit_recruit: capture recruit list for the recruit list
2016-08-04 01:11:45 +11:00
Celtic Minstrel
29ca22b5da
Fix [modify_side][ai]
2016-08-03 09:00:13 -04:00
Charles Dang
b3b6c14371
tunit_preview_pane: some consistency between view modes
2016-08-03 14:56:15 +11:00
Charles Dang
5b8a64405a
Load Game: used a spacer to force space in the details area
2016-08-03 14:46:39 +11:00
Charles Dang
f2825f8aac
Consistency
2016-08-03 14:42:54 +11:00
Charles Dang
ba59cba052
Formatting fixup from 12601cc6e291
2016-08-03 14:39:26 +11:00
Charles Dang
d05e1ff6ee
tgame_load: code cleanup
2016-08-03 14:36:22 +11:00
Charles Dang
bd9c915c0c
Use keyboard_capture() for filter boxes to trigger focused state
...
This enabled the cursor to appear in it as a visual indicator of focus. Otherwise, this is
functionally identical to add_to_keyboard_chain().
2016-08-03 12:16:23 +11:00
Charles Dang
895774bb43
Accidentally enabled the GUI2 addons manager in 12601cc6e291. Oops
2016-08-03 11:44:19 +11:00
Charles Dang
12601cc6e2
Convert several GUI2 dialogs to use the new sorting code
2016-08-03 11:42:16 +11:00
Charles Dang
df84646026
Lambda-based replacement for e75eaca5a00f
...
Should also fix underlying cause of 7e6a1892bba0
2016-08-03 10:40:31 +11:00
Celtic Minstrel
44d171ab58
Include builtin conditions in wesnoth.wml_conditions
...
This excludes the [true] and [false] ConditionalWML tags,
which are still hard-coded. (People shouldn't be trying to
override or extend these anyway.)
2016-08-02 16:57:46 -04:00
Celtic Minstrel
e75eaca5a0
Attempt to fix recall dialog crashes
2016-08-02 14:55:52 -04:00
Jyrki Vesterinen
c4d51b1bbb
Add @PoignardAzur to credits
2016-08-02 15:43:09 +03:00
Jyrki Vesterinen
3a77d8db53
Merge pull request #723 from PoignardAzur/add_override
...
Add override specifier to derived virtual methods
2016-08-02 15:18:09 +03:00
Olivier FAURE
374a315f94
Add override specifier to derived virtual methods
2016-08-02 15:26:09 +02:00
Jyrki Vesterinen
3355e5bd7a
Fixes in players_changelog
2016-08-02 10:05:25 +03:00
Jyrki Vesterinen
d76a799523
Update Visual Studio project
2016-08-02 10:02:27 +03:00
Celtic Minstrel
53828a01b9
New [remove_object] WML tag
2016-08-02 00:52:52 -04:00
Celtic Minstrel
6dab777f66
Accept [effect] in [modify_unit]
2016-08-02 00:01:48 -04:00
Celtic Minstrel
7e6a1892bb
Fix OSX compile errors
2016-08-01 23:41:54 -04:00
Celtic Minstrel
6c01f69914
Update XCode project
2016-08-01 22:35:23 -04:00
Charles Dang
853cbb7347
Forgot to add Recall dialog WML...
2016-08-02 12:23:54 +11:00
Charles Dang
7332dafd75
Add visibility checks to up/left arrow handling
...
For some reason, these checks were only present in down/right handling, meaning the up
arrow (confirm) and left arrow (presumed) would allow selecting of non-visible items.
2016-08-02 12:06:38 +11:00
Charles Dang
69bb5a155b
Attempt to appease travis
2016-08-02 11:50:23 +11:00
Charles Dang
7c45df4b6d
tunit_create, tunit_recall: give simultaneous keyboard focus to filter textbox and list
2016-08-02 11:09:24 +11:00
Charles Dang
7cdffec999
Exclude recall dialog from tests
2016-08-02 10:36:40 +11:00
Charles Dang
fe1f17a55f
Use an array for sort function storage, since it's always fixed-size
2016-08-02 09:32:49 +11:00
Charles Dang
105fbe6bc6
Converted Recall dialog to GUI2
...
This also includes the appropriate expansions and design updates to the unit_preview_pane widget.
2016-08-02 09:13:07 +11:00
Celtic Minstrel
a515dd403a
XCode: Rearrange build sequence
...
This makes the most important steps (compiling and linking) run first,
before all the copy file steps.
Also, all copy file stages now have descriptive names.
2016-08-01 14:24:08 -04:00
Bär Halberkamp
a2639431bf
fix unit builds
2016-08-01 12:19:14 -04:00
gfgtdf
864d84c2b5
fix recall list lost in LoW scenario13
...
fixes http://gna.org/bugs/?24896
2016-08-01 14:46:03 +02:00
Andreas Löf
094250c27c
Merge branch 'jyrkive-monte-carlo-damage-calculation'
2016-08-01 22:06:00 +12:00
Andreas Löf
2360fb6260
Merge branch 'monte-carlo-damage-calculation' of https://github.com/jyrkive/wesnoth into jyrkive-monte-carlo-damage-calculation
2016-08-01 22:04:06 +12:00
Charles Dang
6080cfb969
Switch unit_preview_pane image_facing key to image_mods
2016-08-01 08:14:19 +11:00
Bär Halberkamp
7dbf17f3fe
Fix traits in help
2016-07-31 15:46:55 -04:00
Bär Halberkamp
51ebabae4d
fix last commit
2016-07-31 13:23:04 -04:00
Bär Halberkamp
fd1a776997
Change attack sounds for short swords
2016-07-31 13:10:00 -04:00
Celtic Minstrel
cd858295fe
Merge pull request #718 from GregoryLundberg/lost-ellipse
...
unit.cpp Fix bug: Ellipse is lost
2016-07-31 12:19:01 -04:00
Charles Dang
b04083ab90
Removed some old GUI1 Recruit dialog code
2016-08-01 02:47:38 +11:00
Charles Dang
639548a108
Made Attack dialog use a unit_preview_pane widget
...
This also adds the necessary changes to said widget to allow single-unit stats display.
It still needs to be expanded somewhat. Right now it contains the minimum required for
the attack dialog.
2016-08-01 02:17:03 +11:00
Gregory A Lundberg
a75812d4aa
unit.cpp Fix bug: Ellipse is lost
...
When advancing or an object (say, the Scepter of Fire) selects a unit variation, the ellipse is lost. This causes a unit with {IS_HERO} to convert to {IS_LOYAL}, changing the hero ellipse to the default.
2016-07-31 01:49:14 -05:00
Celtic Minstrel
4889fd7534
Execute all ConditionalWML tags in order of apperance
...
This is instead of executing all [have_unit], followed by
all [have_location], followed by all [variable], follwed by
all others.
The presence of [true] or [false] tags still overrides anything else.
2016-07-30 16:49:36 -04:00
Celtic Minstrel
4a668e0ec4
Fix crash on invalid ConditionalWML tag in some contexts
2016-07-30 16:44:17 -04:00
Celtic Minstrel
1e93e7309e
Fix compiler warning and restore debug message
2016-07-30 13:51:39 -04:00
Jyrki Vesterinen
c44419d460
Restore one MSVC2008 workaround removed in commit 8fa73053
...
It turned out to be still necessary even with MSVC2015.
2016-07-30 18:53:01 +03:00