Elvish_Hunter
491ba7924f
wmlindent: upgrade from optparse to argparse
2015-10-20 15:02:32 +02:00
Elvish_Hunter
2d4ef7a42d
wmlscope: upgrade from optparse to argparse
2015-10-20 15:02:32 +02:00
Elvish_Hunter
42ac2e0fe7
wmllint: upgrade from optparse to argparse
...
This has two advantages: first, it enforces a help style which is consistent across the various tools; second, it makes easier adding new command line options.
Another interesting fact is that those options requiring additional parameters do not need the equal sign any more; that is, writing --foo=bar is now the same as writing --foo bar.
2015-10-20 15:02:32 +02:00
Elvish_Hunter
1a0d04d7b2
GUI.pyw: fixed a bug that caused the output to not be printed on Windows
2015-10-20 15:02:32 +02:00
Charles Dang
33bfaf5ffc
tunit_create: cleanup, mostly removing static_casts
2015-10-20 22:50:35 +11:00
Charles Dang
675738e635
tunit_create: use type id for return value and help dialog
2015-10-20 15:45:49 +11:00
Charles Dang
6b3baa2a2b
tunit_create: use type image icon if available
2015-10-20 15:38:28 +11:00
Charles Dang
013acd316f
Switch to GUI2 Create Unit dialog
2015-10-20 14:35:59 +11:00
Charles Dang
0e45d64a71
tunit_crteate: Port Filter functionality from Load Game dialog
2015-10-20 14:33:02 +11:00
Celtic Minstrel
e9cfef3b72
Lua API: Fix unit:vision() and unit:jamming() returning movement cost
2015-10-19 23:16:37 -04:00
Ignacio R. Morelle
49e3d20e7b
gui2/tunit_create: Prevent null pointer dereferences
...
One code path in particular assumed that resources::controller is never
a null pointer, thus breaking unit tests.
2015-10-19 23:10:20 -03:00
Ignacio R. Morelle
9fd59b503f
cmake: Use Boost.Filesystem FS API for tools
...
Otherwise we get configure-time errors due to CMake looking for the
legacy implementation, filesystem.cpp.
2015-10-19 21:48:12 -03:00
Ignacio R. Morelle
03a85fde56
cmake: Tests and tools also need Boost.Filesystem + Boost.Locale
...
Fixes linker errors found when building after configuring with
`-DENABLE_TOOLS=ON -DENABLE_GAME=OFF -DENABLE_SERVER=OFF
-DENABLE_NLS=OFF`.
2015-10-19 21:46:44 -03:00
Ignacio R. Morelle
e056f1a688
Update changelog for previous minimap fix commit
2015-10-19 21:34:03 -03:00
Ignacio R. Morelle
62e84fa240
Avoid loading terrain minimap images when not specified by WML
...
Otherwise we build a bogus "terrain/.png" file path and produce spurious
`error display: could not open image 'terrain/.png'` messages in stderr.
Although this is primarily an issue found with certain special overlay
terrains such as ^Xo (Impassable Overlay), this fix covers base terrains
as well.
2015-10-19 21:32:39 -03:00
Charles Dang
21391f9039
tunit_create: added minimal unit preview section and filter box (non-functional)
2015-10-20 08:44:48 +11:00
Charles Dang
701229d69d
Added a set of Alignment icons
...
Designed by me based off and using pieces of previous icons by LordBob
2015-10-20 08:39:09 +11:00
Ignacio R. Morelle
019d829b41
gui2/tgamestate_inspector: Don't skip pages with empty contents
...
Those are sometimes relevant (for example, empty WML variables or
containers/arrays). We don't want to conceal the truth here because this
is supposed to be a debugging aid.
2015-10-18 22:42:46 -03:00
ln-zookeeper
4deeef797d
New attack sounds for mudcrawlers
2015-10-18 19:05:34 +03:00
Charles Dang
2de99cad74
tunit_create: add sort functionality
2015-10-19 01:48:15 +11:00
ln-zookeeper
3a5f25b999
New ink sounds
2015-10-18 15:00:25 +03:00
Charles Dang
a599a3338e
Revert "Experimental fix for GUI2 listbox headers outside vertical scroll area"
...
This reverts commit 88faaac46e26627b88ff7e5f0ebc387871581dc5.
2015-10-18 20:25:41 +11:00
Charles Dang
a137a62170
tgame_version: use tlist class when experimental listbox is enabled
...
This prevents class declaration clashes
2015-10-18 18:02:01 +11:00
Charles Dang
741b233007
Use experimental listbox when defined in all cases
2015-10-18 17:40:57 +11:00
Charles Dang
c2f469ee85
tlist: update calls to set_dirty to set_is_dirty
...
The function name was changed in 060ff60c003684bcf00456cf48d02d6522a052cc
2015-10-18 17:36:46 +11:00
Charles Dang
6f83bdebb4
tlist: add missing includes for find_widget and REGISTER_WIDGET
2015-10-18 17:36:46 +11:00
Charles Dang
2f88db8b9f
tlist: remove ancient foreach.hpp include and use BOOST_FOREACH instead
2015-10-18 13:57:27 +11:00
Ignacio R. Morelle
4346856ed2
Merge pull request #529 from niegenug/master
...
Tab-completion added for in-game whispers
2015-10-17 19:52:59 -03:00
neverEnough
58c78e2c5e
updated data/core/about.cfg; /changelog; /players_changelog
2015-10-17 23:59:39 +02:00
neverEnough
6280229562
Tab-completion added for in-game whispers.
...
In the game lobby you can tab-complete ANY nick, both from the lobby or from a match running. While playing you can only tab-complete ingame players and observers.
This patch works in the match, it helps answering whispers from people in lobby or in other games.
The nick will be added to a string (in the same way as observers already work) and get recalled with TAB key.
2015-10-17 23:38:40 +02:00
Charles Dang
88faaac46e
Experimental fix for GUI2 listbox headers outside vertical scroll area
2015-10-18 02:52:45 +11:00
gfgtdf
df3c4df5e8
Merge pull request #531 from wesnoth/gfgtdf-patch-1
...
fix selected item after deletion in a ordered list
2015-10-17 17:32:20 +02:00
gfgtdf
cdf68f17e7
fix selected item after deletion in a ordered list
2015-10-17 16:14:39 +02:00
Ignacio R. Morelle
cb9d873955
gui2/ttoggle_button: Add hover/selection bg color to listbox header variant
...
Copied from GUI1.
2015-10-17 10:52:24 -03:00
Charles Dang
a8fdbeda10
Game Load: move Delete button into same row as first checkbox
2015-10-17 23:14:42 +11:00
Charles Dang
83a3d3680b
Game Load: removed unnecessary instruction text
2015-10-17 23:06:14 +11:00
Charles Dang
497a82d7cc
Unit Create: move gender selection below listbox
2015-10-17 19:20:42 +11:00
Charles Dang
d87a5fc0c5
Unit Create: specified max height
2015-10-17 19:12:29 +11:00
Charles Dang
0d3c749abc
Removed unused parameters from savegame::load_game()
2015-10-17 06:28:28 +11:00
Charles Dang
bc4f2efe70
Activate GUI2 Load Game dialog
2015-10-17 04:54:49 +11:00
Charles Dang
829d51792f
tload_game: don't invalidate layout on selection
2015-10-17 04:54:21 +11:00
Charles Dang
8d5fc6e449
Game Load: cleaned up layout a little
2015-10-17 04:49:29 +11:00
Charles Dang
cd4d5ffa59
Game Load: specified max height
2015-10-17 03:11:31 +11:00
Charles Dang
10bfe00b46
Merge pull request #526 from tranceitionalMynd/pull-request-tmynd
...
Added Death of Galtrid to losing conditions for the Human Alliance.
2015-10-15 02:42:23 +11:00
tranceitionalMynd
8cb1cf47e0
Added Death of Galtrid to losing conditions for the Human Alliance.
2015-10-14 08:51:02 -05:00
Sergey Popov
7fd9e223fb
Merge pull request #522 from techtonik/patch-3
...
scons/sdl.py: Escape backslashes on path substitution
2015-10-12 12:18:26 +03:00
Charles Dang
76ad3e9c7c
Show 'user_team_name' in sides menu instead of the unused 'name'
2015-10-12 16:16:04 +11:00
ln-zookeeper
a437c538d5
New staff and club sounds, from material by leorock116
2015-10-12 01:03:47 +03:00
gfgtdf
65b2eb2a7e
Merge pull request #520 from gfgtdf/lua_carryover
...
side specific variables.
2015-10-11 18:51:21 +02:00
Charles Dang
fe7b30fafa
Restrict "Enter User Command" to game scope only
...
The hotkey was assigned three scopes in order to appear under the General tab.
However, as it has no effect outside the game, it makes no sense for it to appear there.
2015-10-12 00:56:48 +11:00