Commit graph

66063 commits

Author SHA1 Message Date
Celtic Minstrel
9dbae39448 Minor code cleanup regarding special map locations 2016-08-24 18:45:40 -04:00
Celtic Minstrel
086c7f5b4c MP Create: Add more methods to plugins contexts 2016-08-24 18:11:42 -04:00
Celtic Minstrel
db9678997c MP Create: Set up configure plugins context 2016-08-24 17:45:39 -04:00
Celtic Minstrel
970c6ee914 Fix assertion failure in MP Create 2016-08-24 17:28:18 -04:00
Celtic Minstrel
a0350198c3 MP Lobby / Create: Yield to plugins 2016-08-24 16:45:27 -04:00
Celtic Minstrel
7084eee8a7 Fixup XCode project for PR 744 2016-08-24 16:22:45 -04:00
Celtic Minstrel
dfb6e865ce MP Lobby: Allow plugins to select games by ID 2016-08-24 16:22:13 -04:00
Celtic Minstrel
91ed4c3108 Lua: Fix issue with wesnoth.put_recall_unit
This closes #758
2016-08-24 15:10:44 -04:00
Celtic Minstrel
824655c67f Fix first menuitem being outlined in all menus 2016-08-24 14:54:53 -04:00
Celtic Minstrel
2cad49162d MP Create: Fix a few issues on 800x600 layout 2016-08-24 14:54:53 -04:00
Charles Dang
d6d62f04b8 Merge pull request #757 from Ekdohibs/network-fix
Fix networked commands only appearing in non-networked games.
2016-08-25 05:10:24 +11:00
Ekdohibs
38698137aa Fix networked commands only appearing in non-networked games. 2016-08-24 20:07:59 +02:00
Charles Dang
e3f397ca8c Fixup ab4a9cf80a 2016-08-25 03:56:09 +11:00
Charles Dang
379d4ea17b Cleaned up remaining file for removed dialog
Dialog was removed in 871aadca1a
2016-08-25 03:22:29 +11:00
Charles Dang
b570c56354 Updated build files for PR 744 2016-08-25 00:44:07 +11:00
Charles Dang
39e4ace187 Preferences: display resolution aspect ratio in details column 2016-08-25 00:44:05 +11:00
Charles Dang
9579b89522 Dropdown List: renamed label_right to details and made it align left 2016-08-25 00:44:03 +11:00
Charles Dang
6d39cffe14 Menu Button: increase min width
This serves the immediate purpose of making the Resolutions Menu Button in Prefs equal the size of
its dropdown, but it also ensures there's more space for lists with small initial entries but longer
choices. Obviously, horizontal_grow = true could be used in any dialogs where this is a case, but this
provides a safer minimum should that not be desired.
2016-08-25 00:12:05 +11:00
Charles Dang
7d76d48628 Dropdown List: further layout improvements 2016-08-25 00:05:27 +11:00
Charles Dang
ab4a9cf80a Attempt to fix console warnings about attempting to draw '~RC(magenta>1)' 2016-08-24 23:49:42 +11:00
Charles Dang
30fe0cecd8 Fixed bug in [unstore_unit] when unstoring from variable 2016-08-24 23:42:02 +11:00
Charles Dang
7d7d3f9508 Dropdown List: Few layout tweaks 2016-08-24 20:00:10 +11:00
Charles Dang
deaae3f382 MP Create: layout improvements for tiny version 2016-08-24 18:53:46 +11:00
Wedge009
9b98734400 Updating VC project files for merge of PR #744. 2016-08-24 17:43:45 +10:00
Celtic Minstrel
e821e508c3 Merge pull request #744 from lua_refactor
Refactor some Lua stuff and reduce const_cast usage

Conflicts:
	src/scripting/game_lua_kernel.cpp
	src/scripting/lua_unit.cpp
2016-08-24 03:13:38 -04:00
Charles Dang
88d0619d58 Cleaned up another use of snprintf
This removes the leading space before the first digit, but I think it looks better.
2016-08-24 17:45:22 +11:00
Charles Dang
fbfabfba50 Mp Lobby: set up plugins context 2016-08-24 17:38:45 +11:00
Celtic Minstrel
8699ad0a05 Use GUI2 for game menus
There are still a few minor glitches with the implementation:
- The first menu-item is always outlined, as if selected
- Submenus appear at the mouse click location instead of anchored to their item
- The editor groups menu may cover up its button, due to the menu not knowing the size of the button
2016-08-24 02:26:21 -04:00
Celtic Minstrel
f6974f01f6 fixup! When creating units in Lua from a vconfig, don't parse any contained [filter_recall] or [event] 2016-08-23 23:07:13 -04:00
Celtic Minstrel
d1604e56a1 Fix editor crash when adding a new side 2016-08-23 21:15:34 -04:00
Celtic Minstrel
44219de141 MP Create: Layout for tiny resolutions (eg 800x600) 2016-08-23 19:27:27 -04:00
Celtic Minstrel
aefe945218 GUI2 dialogs: Fix missing textdomains 2016-08-23 18:51:27 -04:00
Celtic Minstrel
4e6787639a GUI2 schema: fixup indentation 2016-08-23 18:50:55 -04:00
Celtic Minstrel
6b623147c8 Neaten changelog 2016-08-23 17:48:14 -04:00
Celtic Minstrel
f71031d8fd Update changelog 2016-08-23 17:48:14 -04:00
Celtic Minstrel
b7a6f16f11 Add recall_filter to Lua unit proxy 2016-08-23 17:48:14 -04:00
Celtic Minstrel
888a3e26cb Don't parse [filter_recall] or [event] with [unit]to_variable= 2016-08-23 17:48:14 -04:00
Celtic Minstrel
19e173d1a7 Don't recreate unit with ;unit status command 2016-08-23 17:48:14 -04:00
Celtic Minstrel
1e575480a4 When creating units in Lua from a vconfig, don't parse any contained [filter_recall] or [event] 2016-08-23 17:48:14 -04:00
Celtic Minstrel
09854e99ad Only show recall units that a leader on the map can recall 2016-08-23 17:48:14 -04:00
Jyrki Vesterinen
af2303df77 Experimental MP Create: update options list immediately on reset to default
@Vultraz had disabled that feature because it caused a crash. I turned the
feature back on and fixed the crash.
2016-08-23 20:34:36 +03:00
Charles Dang
51e53c8383 MP Create: comment out unused function argument for now 2016-08-23 18:36:09 +11:00
Charles Dang
9348ef2188 MP Create: set up Lua plugin context 2016-08-23 18:15:55 +11:00
Wedge009
872e2e45ad Tidying VC project files. 2016-08-23 16:22:07 +10:00
Charles Dang
711dbdbc48 Load Game: reorganized details panel 2016-08-23 14:07:19 +11:00
Charles Dang
6100bac258 Refactored out some uses of snprintf in getting unit ellipses 2016-08-23 13:54:59 +11:00
Charles Dang
ff06bf8eb7 MP Create: few small fixes to mid-res layout 2016-08-23 13:40:23 +11:00
Celtic Minstrel
617a12f3e6 MP Create: Low-res fixup 2016-08-22 22:00:24 -04:00
Celtic Minstrel
f396249800 MP Create: New layout for lower resolutions 2016-08-22 21:55:28 -04:00
Celtic Minstrel
2c04ee6da6 MP Create: Another batch of WML shifting to ease implementation of low-res layout 2016-08-22 21:38:02 -04:00