32677 Commits

Author SHA1 Message Date
Mark de Wever
9cb5100cce Initialize all members. 2009-04-19 15:05:12 +00:00
Mark de Wever
166a7f04ab Templatize another find_widget function. 2009-04-19 14:52:22 +00:00
Nils Kneuper
23c598200c updated Italian translation 2009-04-19 14:28:23 +00:00
Nils Kneuper
5c16421f25 updated German translation...
...(fixing reference/WML errors as pointed out by Chusslove in a mail
to the wesnoth-i18n ml)
2009-04-19 13:15:33 +00:00
Mark de Wever
e99b5cc8bb Optimize the template functions.
The function can now determine some extra helper types, which reduces
the template parameters. Now so simple the wrapper functions can be
removed.
2009-04-19 12:15:00 +00:00
Guillaume Melquiond
436d87058f Implemented support for dynamic objectives.
The [show_if] tag can now be used in [objective] tags. (bug #13042)
2009-04-19 10:08:05 +00:00
Guillaume Melquiond
f9b46e2d38 Removed the C++ code for [show_objectives] as it was never released. 2009-04-19 10:07:54 +00:00
Mark de Wever
c4c8e7e2fd Code cleanups.
Where possible changed the for loop to a foreach loop. delete 0 is
valid so remove the checks for that condition in the code.
2009-04-19 08:02:33 +00:00
Mark de Wever
4137fdbdd7 Fix a typo. 2009-04-19 07:51:16 +00:00
Mark de Wever
9c305ab5a2 Add a helper header for a small test.
Quoting the header:

This file is being used for a small experiment in which some private
functions of tgrid are no longer in tgrid but moved in a friend class with
static functions. The goal is to have less header recompilations, when
there's a need to add or remove a private function.
Also non-trivial functions like 'const foo& bar() const' and 'foo& bar()'
are wrapped in a template to avoid code duplication (for typing not for the
binary) to make maintenance easier.
2009-04-19 07:50:26 +00:00
Eric S. Raymond
a6b8be660b Text improvement and a translation note. 2009-04-19 04:43:47 +00:00
Eric S. Raymond
fa653b08f7 Walkthrough and some cosmetic changes. 2009-04-19 04:09:23 +00:00
Eric S. Raymond
788c801c14 New ending for Showdown in the Northern Swamp is working. 2009-04-19 02:13:24 +00:00
Ignacio R. Morelle
07d2a29d14 Initial directory for phpBB 3.0.4 patches. 2009-04-19 01:07:39 +00:00
Nils Kneuper
b9593ac2f0 restore this strange thing called "alphabetical order"... 2009-04-18 22:37:14 +00:00
Nils Kneuper
155caa6b77 updated Icelandic translation 2009-04-18 22:32:36 +00:00
Guillaume Melquiond
4b40922d28 Converted [show_objectives], [gold], [store_gold], [clear_variable] to Lua. 2009-04-18 21:53:53 +00:00
Eric S. Raymond
ae66ca2283 Consolidate two adjacent talk scenarios. 2009-04-18 21:43:35 +00:00
Eric S. Raymond
f0727bfd79 First hack at new ending for scenario 20. 2009-04-18 20:37:30 +00:00
Guillaume Melquiond
8eed1425e7 Replaced C++ implementation of the [objectives] tag by a Lua function. 2009-04-18 18:38:34 +00:00
Guillaume Melquiond
4454f78d47 Fixed overwriting of WML children. 2009-04-18 18:38:29 +00:00
Guillaume Melquiond
c308d6a142 Fixed incorrect assumption on concat operator. 2009-04-18 18:38:24 +00:00
Guillaume Melquiond
8388424116 Added a mechanism for loading Lua code from toplevel WML.
(Warning: not sure if the hack on 'scenario' is completely safe.)
2009-04-18 18:38:20 +00:00
Guillaume Melquiond
4a037d6292 Added a Lua accessor for team objectives. 2009-04-18 18:38:09 +00:00
Iurii Chernyi
6fb04786f7 re-enabled some warnings about deprecated ai parameter 2009-04-18 16:49:47 +00:00
Iurii Chernyi
dae5fa7d29 Annotated todos in /src/ai, per IRC discussion with alink 2009-04-18 16:49:42 +00:00
Iurii Chernyi
621a172807 Document the purpose of an old hack. 2009-04-18 16:17:34 +00:00
Guillaume Melquiond
5180dcf94c Exercised Lua team setters. 2009-04-18 14:40:18 +00:00
Guillaume Melquiond
05813642d6 Added some more Lua accessors to team data. 2009-04-18 14:40:15 +00:00
Guillaume Melquiond
7926afb80d Exercised Lua team getters. 2009-04-18 14:40:11 +00:00
Guillaume Melquiond
07287cddda Added Lua wesnoth.get_side function for accessing team data. 2009-04-18 14:40:08 +00:00
Guillaume Melquiond
eee1904e32 Removed registry hacks now that event resources are visible. 2009-04-18 14:40:04 +00:00
Guillaume Melquiond
7f4ee9214f Aggregated game_events resources so that other files...
...dealing with events can access them too.
2009-04-18 14:39:59 +00:00
Nils Kneuper
625ba21119 change the folder where g.w.o looks up the trunk addon data 2009-04-18 13:41:59 +00:00
Guillaume Melquiond
bf683acd7b Removed some config::get_children. 2009-04-18 11:47:51 +00:00
Guillaume Melquiond
f4bee1bbab Removed the need for an event_handler when firing event actions. 2009-04-18 10:51:25 +00:00
Guillaume Melquiond
3b0fe3d57a Removed handler parameter:
...if the event was called ten times in a row, it most certainly
wasn't first_time_only=yes, no need to query the handler about it.
2009-04-18 10:51:21 +00:00
Guillaume Melquiond
5bd20c0373 Removed the mutated_, skip_messages_,
...and rebuild_screen_ fields from class game_events::event_handler,
as they do not have the same lifetime.
2009-04-18 10:51:15 +00:00
Guillaume Melquiond
b741f305fe Removed unused code. 2009-04-18 08:36:02 +00:00
Gunter Labes
9f8c679c51 typo fix 2009-04-17 23:21:16 +00:00
Mark de Wever
fa905d4779 Strip trailing whitespace. 2009-04-17 22:47:23 +00:00
Mark de Wever
e2fbdcd0c4 Fix a compiler warning for USE_TINY_GUI. 2009-04-17 22:47:08 +00:00
Mark de Wever
a3220dc79a Fix a compiler warning for LOW_MEM. 2009-04-17 22:47:03 +00:00
Mark de Wever
bcbcc20679 Fix a compiler warning for LOW_MEM. 2009-04-17 22:46:57 +00:00
Mark de Wever
b886daccc4 Change #define to const variable.
This also fixes a bug since the default portnumber was somehow changed.
2009-04-17 22:46:51 +00:00
Mark de Wever
a58d258322 Change #define to const variable. 2009-04-17 22:46:44 +00:00
Mark de Wever
c9b2052c67 Change #define to const variable. 2009-04-17 22:46:38 +00:00
Mark de Wever
c4f596742b Add some comment about an unsafe situation. 2009-04-17 22:46:20 +00:00
Gunter Labes
1e0dbb4139 Revert "applied patch #1168: move delay shroud update to game display"
There are people that actually want different settings per side
2009-04-17 19:45:47 +00:00
Gunter Labes
5ed224c40e applied patch #1168: move delay shroud update to game display 2009-04-17 19:27:21 +00:00