...to the [scroll_to] and [scroll_to_unit] WML actions
When immediate is set to a true value, the display code will instantly
warp to the chosen location regardless of the scroll speed setting in
Preferences.
...to the selected location
This adds a fourth argument (boolean) to
wesnoth.scroll_to_tile(). When true, the display code instantly warps
to the chosen location regardless of the scroll speed setting in
Preferences.
In gcc-4.8 there will be a new warning -Wunused-local-typedefs. This
warning is triggered by boost's static asserts, causing strict
compilation to fail when using this compiler.
Note the compiler is not officially released yet so used a recent
snapshot.
The use of shared libraries makes compilation debug versions faster but
results in extra shared libraries. For installation this is not
practical since the libraries need to be given SONAMES and kept in sync.
Therefore installation is not supported for this option and will
probably fail.
The statistics for the change are:
Static build:
- Normal:
real 20m51.604s
user 19m47.838s
sys 1m5.100s
size 94MB
- Debug:
real 24m48.577s
user 23m3.114s
sys 1m22.305s
size 1.9GB
Shared build:
- Normal:
real 21m5.141s
user 19m56.879s
sys 1m7.692s
size 29MB
- Debug:
real 24m24.239s
user 22m55.278s
sys 1m20.193s
size 596MB
So the build times don't change that much but the sizes do. When
rebuilding after changing a file the build times start to improve for
the shared build, but not timing done.
It returned a pane before due to some test code, this code is no longer
used to the returned widget will suffice.
The code is used to experiment with a different approach of the
implementation of a listbox.
(1) Lua CA_wrapper slightly refactored, in preparation for adding CA
definitons using external files
(2) --debug_lua command line argument added. Unused at the moment, but
will be used for Lua debug mechanisms
We now display the add-ons manager with an amount of controls
hidden/disabled and a line of text explaining the situation in a few
words.
This was necessary to reduce complexity since there are now more
situations to handle because of the add-on type filtering options. It
should look better this way, anyway, and should even be less annoying
for the users since the dialog no longer resets the view mode on its
own.
The first call to available_addons() in show_addons_manager_dialog() has
the potential to be extremely expensive due to filesystem traversal
inefficiencies, so it's better to set the busy cursor at that point
instead of right before building the list rows.
...when applicable
This is used when an add-on has a .pbl file. This way it's possible to
highlight an add-on as 'outdated on the server' when a new version is
ready for uploading. Add-ons without a .pbl file should still use the
_info.cfg file.
This provides the previous View Mode functionality, plus the option to
filter add-ons by type (defaults to displaying all types together).
This required moving quite a lot of stuff around, naturally.