62461 Commits

Author SHA1 Message Date
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
Charles Dang
7a6293a86b Display name of current map in window title 2015-10-12 00:19:57 +11:00
anatoly techtonik
c001f661f0 scons/sdl.py: Escape backslashes on path substitution
This clears warnings on Windows
https://github.com/wesnoth/wesnoth/pull/481#issue-104760195
2015-10-10 20:11:47 +03:00
Celtic Minstrel
c12ccfa30b Lua API: Keep stack clean after gathering message dialog options 2015-10-10 12:43:34 -04:00
CelticMinstrel
b68ea239d5 Merge pull request #521 from Wedge009/msvc_debug_fix
Ensure var_end is not beyond res.end()
2015-10-10 00:52:22 -04:00
Charles Dang
cc5f614bc0 HttT S1: removed unused variable 2015-10-10 15:21:09 +11:00
Wedge009
a2404cad01 Ensure var_end is not beyond res.end()
MSVC debug mode complains that var_end cannot be dereferenced if it hits the end of the string.
2015-10-10 14:45:37 +11:00
Ignacio R. Morelle
048c23cb3a hotkeys: Use a matching arrow icon style for submenus 2015-10-09 20:46:59 -03:00
Ignacio R. Morelle
d744a88808 Merge branch 'feature/editor-mru-master' 2015-10-09 19:55:24 -03:00
Ignacio R. Morelle
916ec18069 Update changelog 2015-10-09 19:55:10 -03:00
Ignacio R. Morelle
e186057336 editor: Make Recent Files limit customizable and increase default to 10 2015-10-09 19:47:52 -03:00
Ignacio R. Morelle
25a5facce3 editor: Add Recent Files menu with recently loaded/saved files
File paths are recorded into the game preferences up to a (currently
hardcoded) limit of 6 and opening or saving maps adds or bumps existing
entries to the top. We may allow users to change the MRU limit in
Advanced Preferences in a later commit.

Adds two translatable strings.

In order to fit file paths in the menu without filling up the whole
screen sideways, we use only the file names for now. Because identical
file names could prove to be an actual issue later, I intend to look
into ellipsizing paths correctly in a later step.

(Note that I'm piggybacking on the crummy submenu support we already had
in the themable UI so that this can be safely backported to 1.12. It's
decidedly not optimal usability-wise, but it'll have to do for now.)
2015-10-09 19:47:38 -03:00