40835 Commits

Author SHA1 Message Date
Ali El Gariani
2fbb5f6908 remove debug code from 2010-07-18T16:29:08Z!koraq@xs4all.nl (used to visualize lightmap) 2010-07-19 03:18:17 +00:00
Ali El Gariani
1c4f6666be Almost revert 2010-07-18T16:29:08Z!koraq@xs4all.nl (passing by value was wanted there)
But rewrite and improve comments to make it more clear.
2010-07-19 03:15:31 +00:00
Steven Panek
c857d6c6ac Standardized EI's scenario filenames; fixed the numbering. 2010-07-19 03:04:06 +00:00
Steven Panek
faf6a4f58e Reverted the harmful effects of 2010-06-24T09:28:31Z!Majora700@gmail.com. 2010-07-19 02:14:21 +00:00
Ali El Gariani
67af9624c3 forget images files in previous commit 2010-07-19 01:20:00 +00:00
Ali El Gariani
70c9c8c28e Improve local ToD prototype by adding light transitions.
Code don't even try to be optimized (even if it seems to run ok)

So, still disabled by game_config key 'local_light'=no.
2010-07-19 00:40:21 +00:00
Ali El Gariani
dd185c0174 New imagepath function ~L(lightmap.png) to do ToD color-shift per pixel.
Possibly temporary, since added for the prototype of local ToD light
transitions.  But I suppose it could be used for some special effect
on units.
2010-07-19 00:40:15 +00:00
Nils Kneuper
b153d27c3b updated Vietnamese translation 2010-07-18 22:54:31 +00:00
Nils Kneuper
3cc9f28c00 pot-update
regenerated doc files (removed too incomplete (<80% completed) manuals!)
2010-07-18 22:49:46 +00:00
Nils Kneuper
e2835a10ee a conversion added in pofix.py and missing in the source file... 2010-07-18 22:46:40 +00:00
Nils Kneuper
e1777f4969 ran utils/pofix on all po/wesnoth*/*po* files 2010-07-18 22:23:47 +00:00
Nils Kneuper
1a46866900 removed one line too much... 2010-07-18 22:03:03 +00:00
Nils Kneuper
ce16b938af remove conversion rule that does not work...
...since several translations have the valid string "Epilog"
2010-07-18 22:00:55 +00:00
Guillaume Melquiond
0f6d59a86a Made WML actions more robust to Lua tables. 2010-07-18 21:39:10 +00:00
Guillaume Melquiond
ad61eba863 Added two helper functions parsed and literal...
...for handling uniformly WML tables and vconfig objects.
2010-07-18 21:39:06 +00:00
Guillaume Melquiond
b0957c3037 Added wesnoth.tovconfig function for converting WML tables to vconfig objects. 2010-07-18 21:39:02 +00:00
Guillaume Melquiond
3ef35edebe Removed wesnoth.fire and register_wml_action functions from the engine.
Delegated handling of WML actions to Lua.

Made WML action handler proxies into an associative table.

Added backward-compatible functions for accessing them.
2010-07-18 21:38:57 +00:00
Guillaume Melquiond
d879948846 Cleaned code. 2010-07-18 21:38:41 +00:00
Nils Kneuper
fc064cb8db changelog updates for (some of) silenes last commits 2010-07-18 21:21:58 +00:00
Gabriel Morin
f6393810e0 Whiteboard: Fixes for the ctrl key behavior.
Tentatively allow planning moves outside of your turn, but it doesn't
work well yet.
2010-07-18 20:39:09 +00:00
J.W. Bjerk
9b239b8583 altering how stone bridges are cut for boucman. 2010-07-18 19:00:47 +00:00
Steven Panek
92a77c51b6 Converted the remaining apostrophes and straight singular quotation...
...marks in TSG; ran pofix.
2010-07-18 18:01:43 +00:00
Guillaume Melquiond
1c04edcc83 Removed wesnoth.get_unit_type* functions from engine.
Implemented unit_type proxies in an associative table.

Added backward-compatible functions.
2010-07-18 17:38:35 +00:00
Ali El Gariani
715cb43ac1 Experiment to use local color-shift in ToD areas.
Currently disabled because it's dumb code just to see how it looks (no
light transition yet).

Change 'local_light' to 'yes' in game_config.cfg to test it.
2010-07-18 17:10:26 +00:00
Mark de Wever
033d07ea66 Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2010-07-18 16:29:11 +00:00
Mark de Wever
fbdd326260 Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2010-07-18 16:29:08 +00:00
Mark de Wever
dd09a963da Make a member function a const member function.
Issue found by cppcheck.
2010-07-18 16:29:05 +00:00
Mark de Wever
7badda3692 Make a member function a const member function.
Issue found by cppcheck.
2010-07-18 16:29:01 +00:00
Mark de Wever
e0b17c8bd4 Make a member function a const member function.
Issue found by cppcheck.
2010-07-18 16:28:38 +00:00
Guillaume Melquiond
72f9514746 Removed wesnoth.get_side* functions from the engine.
Made side proxies into a simple array.

Added backward-compatible functions for accessing them.
2010-07-18 16:12:35 +00:00
J.W. Bjerk
bd6bc0ac12 color harmonization for the mushrooms...
...missed them in my previous commit.  Also belated changelog updates.
2010-07-18 15:27:11 +00:00
Guillaume Melquiond
cddfc4cdfe Added compatibility hack to avoid executing the file twice. 2010-07-18 15:21:56 +00:00
Guillaume Melquiond
3d89383678 Modified handling of [lua] tags at toplevel,
...so that they are no longer converted to preload events. Instead,
they are extracted and executed at preload time.
2010-07-18 15:21:41 +00:00
Mark de Wever
1c673dbb57 Add copyright header. 2010-07-18 15:08:36 +00:00
Timotei Dolean
3dc82b5186 eclipse plugin: some minor fixes 2010-07-18 14:51:34 +00:00
Timotei Dolean
b583313a39 eclipse plugin: add return value for shown message boxes 2010-07-18 14:51:16 +00:00
Timotei Dolean
35ae5271d2 eclipse plugin: fix the 'run wmllintonpreprocfile' action.
now it will preprocess first the file if it doesn't exist
2010-07-18 14:50:59 +00:00
Timotei Dolean
aebabb6859 eclipse plugin: fix the running of WMLTools as a workspace jobs...
(now the editor won't take the focus)
2010-07-18 14:50:43 +00:00
Timotei Dolean
93df96c6a0 eclipse plugin: fix the editor when eclipse has lost focus...
...and no default workbench page available
2010-07-18 14:50:26 +00:00
Timotei Dolean
83f876b27f eclipse plugin: make 'getStructuredSelection' thread safe 2010-07-18 14:50:09 +00:00
Timotei Dolean
8d5af9bbb4 eclipse plugin: fix campaign's template.
it should point to add-ons directory not to mainline campaigns
2010-07-18 14:49:54 +00:00
Timotei Dolean
0fe67d0380 eclipse plugin: fix preferences page to not conflict with other 2010-07-18 14:49:38 +00:00
Timotei Dolean
9c6516d880 eclipse plugin: fix editor starting 2010-07-18 14:49:22 +00:00
Mark de Wever
faf390f9d0 Strip trailing whitespace. 2010-07-18 14:44:37 +00:00
Mark de Wever
7bdc61f183 Use the proper main page for devdocs.w.o.
The problem seems to be the @mainpage in ana/api/ana.hpp not the
duplicate Doxyfile. So devdocs should look well again after the next
update.
2010-07-18 14:44:32 +00:00
Guillaume Melquiond
1ad85c2afe Added detection for server replays,
...as they are missing the core [lua] tags. (Fix for bug #16243.)
2010-07-18 14:12:53 +00:00
Guillaume Melquiond
b88b445ead Made the return value of game_controller::change_language useful. 2010-07-18 10:06:48 +00:00
Guillaume Melquiond
35807eec7d Flushed image cache when changing language. (Fix for bug #15934.) 2010-07-18 09:50:36 +00:00
Nils Kneuper
14e82966e5 changelog updates for silenes last commits 2010-07-18 08:17:49 +00:00
Guillaume Melquiond
ff63a30470 Handled ToD areas in a LIFO way,
...so that it is possible to override them without first removing
them. (Fix for bug #16219.)
2010-07-18 07:47:50 +00:00