52553 Commits

Author SHA1 Message Date
Charles Dang
ea56778b8f Use opacity IPF for transparent button images. Value set to 65% 2013-06-04 20:28:43 +11:00
Charles Dang
5211a99b1b Used regular as opposed to copper button variation images for default button 2013-06-04 20:18:04 +11:00
Charles Dang
28afae41ad Moved spare button images to attic 2013-06-04 20:14:06 +11:00
JaMiT
59c597ea04 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-06-03 21:49:52 -05:00
JaMiT
bd6a859719 Make the x1,y1,x2,y2 variables within Lua match those in WML events.
Reported in the forums:
http://forums.wesnoth.org/viewtopic.php?f=58&t=38930
2013-06-03 21:44:24 -05:00
Mark de Wever
dfef23aebc Decreases the pango cairo dependency.
The dependency's version is decreased to version 1.21.3. This is the
version currently used in XCode (on the Mac). Upgrading there is
troublesome.

This partly reverts 2b939cebc7a4eea6ec6adae40c8396f836122940.
2013-06-03 21:32:07 +02:00
Mark de Wever
83293baa69 Move Miscellaneous to end of changelog. 2013-06-03 21:24:34 +02:00
JaMiT
b47d14258c Clean up a variable declaration.
Making this a const variable gets rid of a compiler warning, and
making it a reference eliminates an unnecessary copy.
2013-06-03 01:18:09 -05:00
Andrius Silinskas
d49b183fb1 Fix "Shuffle sides" incorrect behaviour. 2013-06-02 20:00:32 +01:00
Charles Dang
b32ca5c390 Updated path for transparent version of default buttons 2013-06-03 05:33:21 +11:00
ayne
fddc336495 Moved gold initialisation to earlier point, fixing bugs #20853 and #20734 2013-06-02 18:57:03 +02:00
Charles Dang
8e741368f6 Removed old/duplicate editor images 2013-06-03 03:36:16 +11:00
Charles Dang
f8b6725d67 Updated version string to 1.11.4 2013-06-02 16:52:03 +11:00
Charles Dang
35f39dc4ee Updated XCode proj file (added unit_advancements_aspect.*pp) 2013-06-02 14:30:57 +11:00
Charles Dang
55dd2330cc Prevented Editor Settings dialog from redrawing everything on exit 2013-06-02 13:04:38 +11:00
Charles Dang
ada39d23e8 Removed usused "editor_settings_dialog_redraw_callback" function 2013-06-02 13:02:22 +11:00
anonymissimus
62161aeedb cb project update
(MSVC is okay)
2013-06-01 22:59:50 +02:00
groggydice
c10959f8d5 remove files on Windows so --revert and second conversions can proceed
Windows won't allow a rename to overwrite an existing file (Error 183, file already exists).
2013-06-01 22:59:50 +02:00
flix
2965da1731 Add comments to data/ai/formula/new_recruitment.fai 2013-06-01 23:41:27 +03:00
Mark de Wever
03e9440fd3 Remove a variable which is only assigned.
Issue found by cppcheck.
2013-06-01 20:00:31 +02:00
Mark de Wever
b28003f673 Merge branch 'gui_polishing' 2013-06-01 18:13:10 +02:00
flix/Felix Bauer
29e8584738 Add new aspect 'advancements'
As part of a GSoC proposal I added a new aspect so a scenario editor can control advancements in two ways:
1. Define a aspect with a string-value like "Swordsman, Knight", so the units of interesst will always advance to this
2. Use the LUA-Engine and return a function of the form advance(x, y) which will itself return a string-value
    like "Swordsman, Knight". Everytime a ai-unit advances advance(x, y) will be called.
The corresponding wikipage (http://wiki.wesnoth.org/AiWML) is going to be updated soon.
2013-06-01 17:21:12 +03:00
Mark de Wever
a3b27a9893 Remove the default argument of set_is_dirty. 2013-06-01 15:53:04 +02:00
Mark de Wever
17fc64bc45 Rename gui2::tcanvas::dirty to is_dirty.
Also updates the setter and getter members of gui2::canvas.
2013-06-01 15:29:39 +02:00
Mark de Wever
060ff60c00 Rename gui2::twidget::dirty to is_dirty.
Also updates the setter and getter members of gui2::twidget.
2013-06-01 15:21:36 +02:00
Mark de Wever
89c2a251f1 Use a reference instead of a pointer.
The argument is mandatory, so use a reference.

This updates get_parent.
2013-06-01 15:03:54 +02:00
Mark de Wever
8e9d602e88 Use a reference instead of a pointer.
The argument is mandatory, so use a reference.

This changes the callbacks of the GUI, thus causing several changes in
all users of the callbacks.
2013-06-01 14:58:15 +02:00
flix/Felix Bauer
f9a231f09d AI/lua: Command 'lua wesnoth.debug_ai(2).ai' gives now access to ai-table 2013-06-01 15:35:15 +03:00
Mark de Wever
7ee96ebf7e Use a const reference instead of a const pointer.
The argument is mandatory, so use a reference.
2013-06-01 13:48:44 +02:00
Mark de Wever
5301eedbe6 Disable null conversion warning in CMake.
It gives problems when using Clang and boost::shared_ptr when compiling
for C++11. The issue can't be fixed since Wesnoth uses C++98. (So we use
NULL instead of nullptr.)
2013-06-01 11:22:10 +02:00
Mark de Wever
4b059500c9 Remove a useless cast. 2013-06-01 10:46:41 +02:00
Mark de Wever
9cfbc3e71d Remove a useless cast. 2013-06-01 10:43:44 +02:00
Mark de Wever
4f73ccc320 Remove a useless cast. 2013-06-01 10:42:03 +02:00
Mark de Wever
6100306f30 Remove unused private members.
Also removes the now unused SPACE_CONSUMPTION enum.
2013-06-01 10:38:11 +02:00
Mark de Wever
cfb50b2bc9 Remove unused private members. 2013-06-01 10:34:14 +02:00
Mark de Wever
d9c354a9d2 Remove unused private members. 2013-06-01 10:29:59 +02:00
Mark de Wever
6b4e82899b Fix usage of the explicit keyword. 2013-06-01 10:16:18 +02:00
Andrius Silinskas
f458b26a06 Fix "End Turn/Scenario" button's state at the end of scenario. 2013-05-31 19:59:11 +01:00
Emilien Rotival
92ad909e8b Renamed file to match the name of the corresponding alignment 2013-05-31 09:10:18 +02:00
Emilien Rotival
2dbcdda8fa Renamed the folder for consistency with the editor theme 2013-05-31 01:10:08 +02:00
Emilien Rotival
3f0360365a Placeholder artwork for experimental GUI theme 2013-05-31 00:51:36 +02:00
Charles Dang
c8e8ca4a09 Use new images for end turn button on low resolutions 2013-05-31 07:52:05 +11:00
mattsc
1326619654 Update changelog 2013-05-30 06:49:20 -07:00
Charles Dang
929b07dc87 Bumped size by 1 for normal icon toggle button, tiny res, for consistency 2013-05-30 23:00:40 +11:00
Charles Dang
1bb0b4e28f Increased size of nornal icon toggle button a little. Prevents scaling on normal resolutions. 2013-05-30 22:51:29 +11:00
Charles Dang
1503c9778b Removed old "lite_small" images 2013-05-30 22:23:43 +11:00
Charles Dang
8ee955a096 Replaced refs to old lite_small image with one to new image 2013-05-30 22:23:02 +11:00
Charles Dang
5abfa6454c Removed old "endturn-button" images previously only used in experimental theme 2013-05-30 21:42:47 +11:00
Charles Dang
7f8964d854 Used new images for end turn button in expirimental theme
The button goes off the side of the screen a bit, but that doesn't
really matter at no one uses Experimental anyway
2013-05-30 21:41:31 +11:00
Charles Dang
29b5d85d59 Removed old button bases 2013-05-30 21:17:39 +11:00