50023 Commits

Author SHA1 Message Date
Ignacio R. Morelle
5beca9f7df lua: Forgot code documentation in 2012-06-11T08:50:08Z!shadowm@wesnoth.org 2012-06-11 09:37:18 +00:00
Ignacio R. Morelle
a552b15df9 Add an optional .immediate (def. false) attribute...
...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.
2012-06-11 08:50:21 +00:00
Ignacio R. Morelle
c382986454 lua: Allow wesnoth.scroll_to_tile() to instantly warp...
...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.
2012-06-11 08:50:08 +00:00
Richard Kettering
06dc47201f New portrait for troll warrior. 2012-06-10 22:09:44 +00:00
Steven Panek
4808940242 Made it so that the epilogue scenarios no longer produce replay saves;...
...eliminated some useless occurrences of save= in [endlevel].
2012-06-10 03:16:59 +00:00
Sergey Popov
6376cee85a Add -Wno-unused-local-typedefs to scons scrict compile options
That supposed to silence a warning from gcc 4.8, as in 
2012-06-09T21:41:05Z!koraq@xs4all.nl
2012-06-09 22:13:40 +00:00
Mark de Wever
ca6b656d25 Fixes strict compilation with gcc-4.8 and CMake.
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.
2012-06-09 21:41:05 +00:00
Mark de Wever
29ac897e34 Remove an unused typedef.
The issue was detected by the upcoming gcc-4.8.
2012-06-09 21:30:21 +00:00
Nils Kneuper
8a60269dee updated Credits for Greek translation 2012-06-09 07:07:07 +00:00
Nils Kneuper
c948287a01 updated Greek translation 2012-06-09 06:56:45 +00:00
Mark de Wever
f42e941975 Adds the ENABLE_SHARED_LIBRARIES CMake option.
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.
2012-06-08 18:58:10 +00:00
Iurii Chernyi
9679d734f1 Patch #3275 by akihara: AI now properly considers the expected damage...
...from poison when attacking using poisoners
2012-06-07 19:08:05 +00:00
Nils Kneuper
ac64096259 updated list of Chinese (Traditional) translators 2012-06-07 12:27:18 +00:00
Dmitry Kovalenko
a72febe0e4 LuaAI: first draft of the external candidate action system,
...with on-the-fly file reloading, if you use the --debug-lua launch argument
2012-06-07 09:53:19 +00:00
Steven Panek
743cb21c1c Improved invalid closing tag error message. 2012-06-05 11:38:55 +00:00
Ignacio R. Morelle
78086f92ee help: Update "Installing Add-ons" section...
...in order to address the UI changes from 2012-05-29T23:50:14Z!shadowm@wesnoth.org
2012-06-05 06:18:44 +00:00
Simon Forsyth
2c0a891ac7 simplify scenario 12 2012-06-03 21:22:39 +00:00
Simon Forsyth
5d42423c69 correct lines out of order 2012-06-03 19:50:43 +00:00
Simon Forsyth
3d412c8a8f simplify possessed Garak minion spawning 2012-06-03 19:47:08 +00:00
Steven Panek
c1084b7511 Updated the Japanese translation. 2012-06-03 18:38:24 +00:00
Mark de Wever
9a491b1db7 Move map and map_location to the game library.
It's not required in the core library and moving so lets me experiment
with shared libraries.
2012-06-03 17:32:46 +00:00
Mark de Wever
68ecffefce Let the pane builder return a widget.
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.
2012-06-03 17:32:44 +00:00
Mark de Wever
ae1c5cab16 Make an constructor explicit.
The change got lost while refactoring some code.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-06-03 17:32:40 +00:00
Simon Forsyth
314572fe98 simplify epilogue 2012-06-03 16:14:31 +00:00
Simon Forsyth
01823a3230 remove unused terrain from UtBS...
...and place images in images/scenery so anyone can use them
2012-06-03 15:46:48 +00:00
Simon Forsyth
50c45188fd further clean up of scenario 4 2012-06-03 15:08:50 +00:00
Simon Forsyth
be098401d0 add missing event name 2012-06-03 03:53:27 +00:00
Simon Forsyth
b71ef184e7 start cleaning scenario 4 2012-06-02 22:28:16 +00:00
Lari Nieminen
4a84f405df New rest markers and further improved battle markers and journey dots...
...from Blarumyrran.
2012-06-02 21:51:08 +00:00
Sergey Popov
34008f458a Properly adhere to trailing _ for members policy. 2012-06-02 20:12:25 +00:00
Sergey Popov
44d72f94b4 Default initialize tnetwork_transmission::_track_upload 2012-06-02 20:12:20 +00:00
Nils Kneuper
96afa85989 updated Chinese (Traditional) translation 2012-06-01 20:51:18 +00:00
Dmitry Kovalenko
479eddff9e LuaAI: fixed naming misconsistency 2012-06-01 13:16:31 +00:00
Dmitry Kovalenko
57aa197583 LuaAI:
(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
2012-06-01 12:57:14 +00:00
Nils Kneuper
9711244de8 updated Chinese (Traditional) translation 2012-05-31 17:21:53 +00:00
Ignacio R. Morelle
752e17cdb8 addon/mg: Greatly simplify UI logic when no add-ons can be displayed
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.
2012-05-31 09:56:59 +00:00
Elvish_Hunter
d944bacfc6 TSG: in Choice in the Fog, Urza Afalas' sighted event is fired...
...also when the Lich is seen. Fixes bug #19758
2012-05-31 08:26:51 +00:00
Steven Panek
acc70d760f 'Shavian' -> 'English (Shavian chars)'. 2012-05-31 05:15:30 +00:00
Ignacio R. Morelle
4346f74c1d addon/mg: Set the busy mouse cursor earlier
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.
2012-05-30 22:38:34 +00:00
Ignacio R. Morelle
96a7acdca3 addon/mg: Go back to the All view when trying Upgradable...
...without any applicable add-ons installed

This regression was introduced by 2012-05-29T23:50:14Z!shadowm@wesnoth.org.
2012-05-30 22:12:49 +00:00
Ignacio R. Morelle
c118c9d5fa addon/mg: "contains additional content" -> "contains additional information" 2012-05-30 22:12:25 +00:00
Ignacio R. Morelle
49b36663bc addon/state: Use .pbl files first to get local add-on versions...
...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.
2012-05-30 21:54:17 +00:00
Anonymissimus
26257fbcea cb project update 2012-05-30 16:42:04 +00:00
Anonymissimus
5cd90b05b1 vc project update 2012-05-30 16:41:45 +00:00
Nils Kneuper
f20d95bf50 updated Chinese (Traditional) translation 2012-05-30 16:32:57 +00:00
Dmitry Kovalenko
d7f6b2c26e LuaAI: fixed bug that always cause ai.attack() to use -1 as the weapon 2012-05-30 13:15:47 +00:00
Ignacio R. Morelle
d2ca37420b addon/mg: Add missing include 2012-05-30 04:29:52 +00:00
Ignacio R. Morelle
02257c7f1e Update xcode project file (patch by vultraz) 2012-05-30 03:54:21 +00:00
Ignacio R. Morelle
cc7dcbc511 gui2/taddon_filter_options: Forgot to address a...
...horizontal_alignment/grow mix complaint before committing
2012-05-29 23:57:31 +00:00
Ignacio R. Morelle
85980df6d3 addon/mg: Wire in the new Filter Options dialog
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.
2012-05-29 23:50:14 +00:00