47166 Commits

Author SHA1 Message Date
Simon Forsyth
f2b4eb2eff Expand GENERIC_SINGLEHEX_PLFB into TERRAIN_BASE_PLFB and variants
Allows the single-hex macro to be used without directly accessing the
internal macros

terrain-graphics.cfg updated to use non-internal macros

Satisfies comment at start of internal-* files
2011-09-23 22:11:59 +00:00
Simon Forsyth
ad9a382658 Move image tag inside tile. Fixes appearance part of buf 18723 2011-09-23 21:47:21 +00:00
Simon Forsyth
7c8adba978 Simplify ANIMATED_WATER_15 macro (aka remove references to adjacent tiles) 2011-09-23 21:39:51 +00:00
Simon Forsyth
a58b8ec108 Simplify GENERIC_SINGLEHEX_PLFB. Macro is currently unused in mainline 2011-09-23 20:59:26 +00:00
Nils Kneuper
6d3958bd65 updated Indonesian translation 2011-09-23 20:35:39 +00:00
Fabian Müller
c64fd57a77 Fixed widescreen theme on low resolutions.
Added tod support on the left sidebar.
2011-09-23 20:29:13 +00:00
Steven Panek
f00de9fe69 Gave dwarf in troll guards in the seventh scenarios unique ids. 2011-09-23 18:50:42 +00:00
Fabian Müller
f711ff9682 Adds a theme for widescreen resolutions. 2011-09-23 18:43:05 +00:00
Fabian Müller
f934b5ee76 Adds support for reporting about the selected unit. 2011-09-23 16:50:11 +00:00
Thonsew
8d4d2bf0f5 Fixed variable_info to return 0 for non existent containers.
See bug #18701 Added hooks but no functionality for removing WML
warnings are non-existent variables when doing conditional checks.
2011-09-22 22:03:19 +00:00
Thonsew
41944c4d25 Fix for bug #18705: Unit WML is shown out of alphabetical order.
Menu and text based iteration ranges of cfg objects are now sorted in
alphabetical order, before being displayed.
2011-09-22 22:03:13 +00:00
Fabian Müller
fa45bda62d Adds support for the 1024x600 resolution which is used by many netbooks. 2011-09-22 18:14:30 +00:00
Anonymissimus
febb9da2ca Reverted 2011-09-21T21:44:58Z!thonsew@yahoo.com and 2011-09-20T21:21:21Z!thonsew@yahoo.com.
thonsew: The lua interface is not your playground. This is not the way
I want the lua files or its C++ interface to be modified. You are
invited to talk with me on IRC.

some of the main reasons:

-Your revisions contain lots of unneccessary changes, some of which
 break existing lua or wml without a reason. Do you ever look at the
 diffs?

-Your revisions pack a lot of unrelated stuff together into one.

2011-09-21T21:44:58Z!thonsew@yahoo.com makes sense in some parts and is what you should have
done in the first place.
2011-09-22 17:09:50 +00:00
Alexander van Gessel
83e2b2b999 Tiny translation fix 2011-09-22 17:06:46 +01:00
Thonsew
1d35e71bf6 Fixed bug #18668...
([time_area] causes seq fault which was due to grabbing a
non-exitent token from utils::split_attr)
2011-09-22 11:31:41 +00:00
Thonsew
e5b7d38777 Fixed transparency broken by previous...
...fix of static de-initialization of t_tokens
2011-09-22 11:31:34 +00:00
Steven Panek
eb5852f5f5 Killed another reference to liminal. 2011-09-22 04:29:16 +00:00
Thonsew
70e6077f9d Fixed some of the t_token references that were leaking out into WML land.
This fixes all of the lua errors in wesnoth -t.  This does not fix all
of the errors in Anonymissimus' multiplayer add-on, which are due to
references leaking through the arbitrary code hole in wml-tags.lua:250
2011-09-21 21:44:58 +00:00
Thonsew
c3b9cfabb0 Removed duplicate transparency in png file name in custom-dialog. 2011-09-21 21:44:51 +00:00
Thonsew
917f373a75 Removed redundant line in wesnoth_gdb set_recursion_level 2011-09-21 21:44:44 +00:00
Steven Panek
2198bf0a5a WATCH1 -> LONGDARK4. 2011-09-21 19:33:12 +00:00
Steven Panek
bba8e4a91c UtBS is not a playground; it is my kingdom. 2011-09-21 19:19:30 +00:00
Simon Forsyth
cb11c1df69 Long delayed commit of merman fighter se attack 2011-09-20 21:57:35 +00:00
Sergey Popov
146f128d18 Fixed compile error when building exploder. 2011-09-20 21:50:56 +00:00
Sergey Popov
5a319584f3 Fixed compile warnings. 2011-09-20 21:42:19 +00:00
Thonsew
c4f24a8f9c Remove unused token. 2011-09-20 21:21:39 +00:00
Thonsew
88b5546118 Attempt to fix static de-initialization problems.
Some compilers are calling destructors for static objects before other
static objects use them in their destructors.  This patch initializes
static t_interned objects with new and intentionally doesn't call
delete in order to guarrantee their existence throughout the static
de-initialization phase.  It creates a new function
generate_safe_static_const_t_interned for this purpose.  It might
address bug #18666, although I can not duplicate the crash with gcc on
fedora 15.
2011-09-20 21:21:31 +00:00
Thonsew
e59dc97260 Added support for t_token to lua code.
1. Created a t_token metatable along with support code for indexing,
garbage collection, tostring, tonumber, comparison and concatenation.

2. Adjusted string comparison and lookup in lua code to work with
either t_token or string.

This addresses in part bug #18631, bug #18695.  Before this lua was
treating all t_token as either tstrings or strings.
2011-09-20 21:21:21 +00:00
Thonsew
77baa9e323 Fixed attribute_value fake enum to match C++ code
Fixed t_interned printer to handle unititialized t_interens correctly

Changed the variable levels of recursion to better handle null
pointers and keep the correct level of recursion.
2011-09-20 21:21:15 +00:00
Thonsew
cd0d3c9956 Added generate_safe_static_const_t_interned...
...as part 1 of fix for static de-initialization problems,
causing crashes on exit.

Made default t_interned to be not reference counted.
2011-09-20 21:21:08 +00:00
Thonsew
a5cb1492c4 Fixed access to an uncreated variable,
by creating the variables in the start event.
2011-09-20 21:21:02 +00:00
Thonsew
cdb129508d Fix implicit static cast...
...of config::attribute_value & to tstring & or t_token reference
causes crashes.  Some compilers were generating a temporary object and
binding a reference to the temporary when creating an implicit cast to
an attribute value.  I removed the implicit cast and replaced all (I
think) instances of the implicit cast with explicit 2 step operation.
This fixes bugs like bug #18663, bug #18684
2011-09-20 21:20:54 +00:00
Thonsew
eb46598888 Fixed bug #18682 load dialog bug where all times were 1969,
...by changing incorrect iterator from i to j on line 624.  Bug #18683
is not fixed by this patch.  Other bug in the series are bug #18665,
bug #18649
2011-09-20 21:20:42 +00:00
David Philippi
6a04d77ad4 swedish translation update 2011-09-20 20:06:52 +00:00
Simon Forsyth
2dc7b4d7d2 Add south spearman run animation (TSI says good to go) 2011-09-20 01:30:11 +00:00
Simon Forsyth
ac7c3680ce Fix discontinuity on earthy cave wall 2011-09-20 00:56:43 +00:00
Anonymissimus
f779b284ec changelog update 2011-09-19 21:28:04 +00:00
Anonymissimus
e1d41b4e50 introduced [allied_with]<SSF> in SSFs
Due to the previous revision, [not][enemy_of] is no longer the same
as [allied_with].
2011-09-19 21:27:32 +00:00
Anonymissimus
b20cd08dc9 consider enemy_of(no sides) as false in SSFs 2011-09-19 21:27:12 +00:00
Alexander van Gessel
9d8b890c59 Fix the tutorial's "8 XP away from leveling" speech's trigger. 2011-09-19 01:49:17 +01:00
Simon Forsyth
658133be51 Draw bridges under forest.
Looks bad, but still better than not drawing tiles. Fixes bug #18595
2011-09-18 21:24:38 +00:00
Dan Gerhards
8dc964fa92 Rebalanced on all difficulty levels.
HARD was too hard, and EASY was too easy according to comments on the forum.
2011-09-18 06:42:45 +00:00
Steven Panek
130bc2dae7 Updated the Old English translation. 2011-09-18 05:52:07 +00:00
Steven Panek
20053f8df1 Fixed a time_area's range in UtBS scenario four. 2011-09-18 00:50:55 +00:00
Ignacio R. Morelle
4d3d4ee380 SoF Epilogue: remove an ancient terrain action that's not needed anymore 2011-09-17 23:05:25 +00:00
Ignacio R. Morelle
bbc6c47a07 SoF Epilogue: vertically shift various unit spawn/move locations by -5
Fixes a couple of guards swimming around the Weldyn tower, among other
things.

[http://forums.wesnoth.org/viewtopic.php?t=35036]
2011-09-17 23:05:10 +00:00
Mark de Wever
3f4204bce1 Fix a gcc warning. 2011-09-17 16:55:16 +00:00
Mark de Wever
c1c3dc08dc remove an unused tokens. 2011-09-17 16:55:13 +00:00
Mark de Wever
169df983cb remove an unused token. 2011-09-17 16:55:10 +00:00
Mark de Wever
7d809986b7 Remove an unused default value. 2011-09-17 16:55:05 +00:00