Charles Dang
ca8c944f52
Further Battle Princess animations by doofus-01
...
https://forums.wesnoth.org/viewtopic.php?p=601389#p601389
2016-08-28 19:58:09 +11:00
Charles Dang
1bd83cc65e
Attempt to fixup e8ca1439be
for travis
2016-08-28 17:22:45 +11:00
Charles Dang
cfed64dd4f
Some cleanup to GUI2 MP Lobby auxiliary code
2016-08-28 17:00:55 +11:00
Charles Dang
e8ca1439be
MP Create: always ensure the validity of saved selected type game type
2016-08-28 16:56:41 +11:00
Celtic Minstrel
f376bbc2c1
Update changelog
2016-08-28 00:38:06 -04:00
Celtic Minstrel
31f783b86d
Enable adding, removing, and replacing unit attacks through the Lua unit attacks table
2016-08-28 00:24:25 -04:00
Celtic Minstrel
4d0d271383
Enable Lua attack references to outlive their owning unit
2016-08-28 00:24:24 -04:00
Celtic Minstrel
b143ea4397
Use intrusive pointers for unit attacks
...
This is primarily for the purpose of the Lua API, to enable attack data to persist
even if a unit no longer owns the attack.
2016-08-28 00:24:23 -04:00
Celtic Minstrel
496a523fa2
Fix crash when starting a campaign
2016-08-28 00:24:23 -04:00
Celtic Minstrel
f1978b13f1
Allow changing unit attack ID through Lua
2016-08-28 00:24:22 -04:00
Celtic Minstrel
945fea0c0e
Fixup indentation
2016-08-28 00:24:21 -04:00
Celtic Minstrel
89f7525f06
Fixup Lua unit attack referencing and allow them to be compared with ==
2016-08-28 00:24:21 -04:00
Celtic Minstrel
144ce315c3
Lua GUI2: Support stacked widgets and unit preview pane, and add show_menu function
2016-08-28 00:24:19 -04:00
Celtic Minstrel
36bced059b
Make Lua team references comparable with ==
2016-08-28 00:24:19 -04:00
Celtic Minstrel
27b0fe6d7b
Lua placement new fixups
2016-08-28 00:24:18 -04:00
Celtic Minstrel
b5c5e21895
Fix Lua unit types table and add variations subtable to each type
2016-08-28 00:24:17 -04:00
Charles Dang
d6cff9b089
MP Create: display game title in details area
2016-08-28 03:41:17 +11:00
Charles Dang
ae2a3c53e0
tlistbox: applied af58971727
to second set_row_shown overload
2016-08-28 01:14:16 +11:00
Charles Dang
a015ca97fe
MP Create: removed a few more cases of UI interaction in the plugins context
2016-08-27 03:45:05 +11:00
Charles Dang
d27ff57682
New baseframes and animations for the Heavy Infantryman line
...
Baseframes by Sleepwalker
https://forums.wesnoth.org/viewtopic.php?p=508533#p508533 (I believe)
Animations by Vyncyn
https://forums.wesnoth.org/viewtopic.php?p=601163#p601163
2016-08-27 02:41:03 +11:00
Charles Dang
faab5c814e
MP Create: minor cleanup to custom options setup
2016-08-27 01:29:40 +11:00
Charles Dang
6332bd2d8d
MP Create: properly handle select_game/select_mod plugins callbacks
...
This fixes the wrong game being selected for the tests. Previously, only the UI aspects were being
handled, which the plugins context shouldn't do anyway.
2016-08-27 01:28:57 +11:00
Charles Dang
793b8491ad
Added GUI2-compatible versions of mp tests and plugin scripts
2016-08-27 01:14:49 +11:00
Charles Dang
a043902236
MP Create: merge Create and Configure plugin contexts
2016-08-27 01:13:00 +11:00
Charles Dang
8d0a75a54a
Ensure registered_users_only is disabled in mp tests
2016-08-26 17:58:11 +11:00
Charles Dang
9870a94b75
MP Lobby: some fixes to plugin context
2016-08-26 17:55:25 +11:00
Jyrki Vesterinen
c438a2a21a
Fix: it wasn't possible to remove invulnerability with the shorthand
...
The command ";unit invulnerable=false" didn't do anything to an
invulnerable unit.
2016-08-26 06:34:25 +03:00
Celtic Minstrel
8bd632f18c
Fix wesnoth.find_vacant_tile
2016-08-25 19:22:09 -04:00
Charles Dang
53bb5bfa06
MP Lobby: avoid handling listbox in plugins context
2016-08-26 09:46:02 +11:00
Celtic Minstrel
e2a2f519bc
Add new dialog to unit tests
2016-08-25 17:23:00 -04:00
Celtic Minstrel
201abc9d7e
Make title screen rebuild its layout when the window is resized
...
This also restores one of the two reverted title screen tweaks.
2016-08-25 15:58:17 -04:00
Celtic Minstrel
b1141fe457
Allow the WML message dialog to show a portrait on both sides
2016-08-25 15:57:45 -04:00
Jyrki Vesterinen
dae453fe43
A new way to make units invulnerable for debugging
...
With debug features enabled (the --debug command line switch), select the
unit and type ";unit invulnerable=yes".
This method operates by reducing the opponent's hit chance to zero. As a
result, it doesn't slow down damage calculation unlike the "increase HP
to ridiculous levels" method.
2016-08-25 20:21:10 +03:00
Jyrki Vesterinen
8838486591
Update Visual Studio project
2016-08-25 19:23:00 +03:00
Charles Dang
ca58a6b7c3
Load Game: display all human-controlled leaders
...
This also includes a fix for leader images sometimes not being shown in the dialog.
If the save_index was deleted or altered at a time other than when creating a save,
the image path would be empty in the game load dialog. This ensures the image path
is only saved in binary-path independent form if the path isn't empty. In that case,
the plain image path from the savefile is saved. Either way, the image path is checked
in-dialog, first plain, then as binary-path independent. If both fail, a fallback image
is shown.
2016-08-25 22:33:33 +11:00
loonycyborg
5497b09321
Fix -Wreorder warning from gcc
2016-08-25 14:13:03 +03:00
Charles Dang
1701031e1b
Partially revert "Tweaks to the title screen, mainly for 800x600"
...
This reverts commit 2cde73888c
.
2016-08-25 21:05:11 +11:00
Celtic Minstrel
2cde73888c
Tweaks to the title screen, mainly for 800x600
...
Also:
- Hide cores button if there are no addon cores installed
- Remove "failsafe" core since it didn't work as advertised
2016-08-25 04:36:50 -04:00
Celtic Minstrel
381200979a
Add tests for missing dialogs
2016-08-25 04:36:50 -04:00
Celtic Minstrel
136f5a864f
Minor title screen cleanup
2016-08-25 04:36:50 -04:00
Celtic Minstrel
c194c41cd2
Refactor GUI2 tests to allow non-static dialog-specific data to persist through the test lifetime
2016-08-25 04:36:50 -04:00
Charles Dang
701a8dd213
Mp Create: regenerate map when changing settings
2016-08-25 16:19:31 +11:00
Charles Dang
27f8bbebb7
MP Create: add tooltip to Password field
2016-08-25 15:59:28 +11:00
Charles Dang
d63cfbf375
MP Create: fixed options tooltips being partially assigned to wrong options
2016-08-25 15:56:10 +11:00
Celtic Minstrel
6b3f2ac4cd
Fix spurious deprecated campaign difficulties WML from unit tests
2016-08-24 23:49:58 -04:00
Celtic Minstrel
22763798c7
New type_tree key in SUF - matches the unit type or its advancements
2016-08-24 23:48:39 -04:00
Celtic Minstrel
679565a5fd
Fix MP Lobby / Create unit tests
2016-08-24 23:37:48 -04:00
Celtic Minstrel
404568c212
Fix gamestate inspector unit tests
2016-08-24 23:18:07 -04:00
Gregory A Lundberg
82c3b0114d
Add mode=replace to [modify_unit]
...
When specified, replace rather than merge the [unit] sub-tags. Does not effect [object], [trait], [effect] or [advancement].
For example:
[modify_unit]
[filter]
id=Deoran
[/filter]
mode=replace
[filter_recall]
[not]
id="Sir Gerrick"
[/not]
[/filter_recall]
[/modify_unit]
will replace the current contents of [filter_recall] with the given contents. Without mode=replace, the contents would be appended to the previous contents.
2016-08-24 19:35:06 -05:00
Celtic Minstrel
be456aa1c3
Attempt to fix Travis by removing custom lower_bound implementation
2016-08-24 19:00:13 -04:00