62502 Commits

Author SHA1 Message Date
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
tranceitionalMynd
528780717b Revert "Added Death of Galtrid to losing conditions for the Human Alliance." 2015-10-15 07:21:09 -05: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
Charles Dang
dfabf72030 Revert "Remove multiplayer/ inclusion from editor"
This reverts commit 872444a28c1e6e3d98543e180bed235edb09bd3f.
2015-10-10 03:47:01 +11:00
Charles Dang
0dbaabbb3e Split 6p Team Survival map into own file 2015-10-09 15:27:39 +11:00
Charles Dang
872444a28c Remove multiplayer/ inclusion from editor 2015-10-09 15:22:14 +11:00
Charles Dang
ae305e9cc7 Don't switch map contexts when opening the map currently being viewed 2015-10-09 15:15:27 +11:00
Charles Dang
0fe3bbd362 Merge branch 'master' of github.com:wesnoth/wesnoth 2015-10-09 15:07:09 +11:00
Charles Dang
610aa9a2da Merge pull request #519 from Vultraz/master
Make Edit Side dialog to use new share_vision tristate
2015-10-09 15:06:43 +11:00
gfgtdf
5438ec8a48 side specific variables.
http://gna.org/bugs/?23490

This makes it possible to store variables inside the side with the lua
functions get/set_side_variable. These variables are carried over along
other side specific data(units, gold)
2015-10-08 22:29:17 +02:00
Charles Dang
2319bd26ab Merge branch 'master' of github.com:wesnoth/wesnoth 2015-10-09 06:45:33 +11:00
Celtic Minstrel
285f8c80e2 Allow mixing [literal], [value], and even [split] in [set_variables] 2015-10-08 15:40:31 -04:00
gfgtdf
a77fada784 add access to tables via unit.variables
unit.variables now uses the same functionality as
wesnoth.get/set_variable (just for the unit variable instead of the game
variables) which makes it possible to access table values. Its also
posible to access subvariables as
unit.variables["list1[2].list2.length"]
2015-10-08 21:37:29 +02:00