27287 Commits

Author SHA1 Message Date
Mark de Wever
4ad1d1c5d2 Cleanup.
Removed some direct access to member via a non const reference.

Renamed sel_len to selection_length and sel_start to selection_start.
2008-08-26 22:20:47 +00:00
Mark de Wever
44babd5019 Add some query functions to ttext.
The functions aren't used yet, but the text widgets will.
2008-08-26 22:20:32 +00:00
Mark de Wever
4cb5d77635 Fix a compiler warning. 2008-08-26 22:12:51 +00:00
Eric S. Raymond
a14f6470e3 Address bug #12233: Never push an invalid iterator onto the healers array. 2008-08-26 21:10:28 +00:00
Pauli Nieminen
ac4609580a Removed comented out code from game_events.cpp 2008-08-26 20:11:12 +00:00
Pauli Nieminen
6cf0752a21 Fixed cache to write in requested format 2008-08-26 20:11:03 +00:00
Mark de Wever
c591a22cc1 Added libwesnoth_extras.a to to svn:ignore upon AI0867's request. 2008-08-26 16:24:32 +00:00
Pauli Nieminen
609c696945 Changed scons default build target to release 2008-08-26 16:21:10 +00:00
Eric S. Raymond
92ad4f9328 Spelling fix. 2008-08-26 16:10:15 +00:00
Pauli Nieminen
a5cf2e7f9b Made scons build debug to be default 2008-08-26 15:42:54 +00:00
Pauli Nieminen
dfa88db978 Dropped zipios support from istream_file function 2008-08-26 15:42:43 +00:00
Pauli Nieminen
99305160ae Refactored config_cache to support loading multiple cached items...
...using path as key
2008-08-26 15:42:26 +00:00
Sergey Popov
4d39fc6474 Relocated .sconsign.dblite, config.log and .sconf_temp to build/ dir. 2008-08-26 15:08:24 +00:00
Gunter Labes
b049dc3458 typo fix 2008-08-26 14:43:39 +00:00
Lari Nieminen
75f5cb051a Fixed borked scenario id. 2008-08-26 14:20:21 +00:00
Sergey Popov
93a3b77973 Set default value of destdir to "/" fixing installing to cwd by default. 2008-08-26 09:19:15 +00:00
Patrick Parker
055e6c66de fix bug where max_experience of stored units was not the true max...
...when playing with under 100% exp. settings

prevent some negative/nonsense values in direct WML unit modifications
2008-08-26 07:28:06 +00:00
Ignacio R. Morelle
d7c4b193bf * (details in changelog diff)
* Fixed 3 bugs related to [modify_turns]

  * Fixed turn_at or [modify_turns] current= on prestart/start
    events breaking havoc all over the place

  * Fixed initial-turn autosave detection to take real start turn
    into account.
2008-08-25 22:01:59 +00:00
Sergey Popov
f5d0aa586b Made relative paths in destdir work. 2008-08-25 20:30:18 +00:00
Mark de Wever
f556b13d22 Fix colour cursor when started with --new-widgets.
When started with --new-widgets the setting of the colour cursor was
ignored. Copied some initialization code from show_title() to fix this
problem. (Copied extra code to avoid other future problems.)
2008-08-25 20:26:26 +00:00
Mark de Wever
5ca875af4c Fix colour cursor lagging.
When a new widget dialog is shown the colour cursor location only got
updated if a widget was dirtied. Fixed the problem by forcing a cursor
update if no widget is dirty. The problem was spotted by suokko.
2008-08-25 20:26:15 +00:00
Mark de Wever
264cc9b3bf Fix a compiler warning. 2008-08-25 19:35:31 +00:00
Jörg Hinrichs
e5b63b4047 Hopefully this resolves all remaining issues with the advancefrom tag...
...for unit types (Shadow_Master, please test for that).
2008-08-25 18:34:35 +00:00
Gunter Labes
06ed23781e Decreased the ranged attack of the Bowman from 7-3 to 6-3. 2008-08-25 18:14:07 +00:00
Pauli Nieminen
0402b42f78 Fixed config test translation reset test to work 2008-08-25 17:52:58 +00:00
Mark de Wever
0d68921101 Use the default PangoFontMap.
This speeds up the creation of a text object and also seems to fix the
rather nasty memory leak we had.
2008-08-25 17:39:05 +00:00
Mark de Wever
f71742a517 Let the user determine the ellipse mode default to end. 2008-08-25 16:39:47 +00:00
Sergey Popov
43fc030a57 Fixed documentation bugs in INSTALL. 2008-08-25 16:23:58 +00:00
Eric S. Raymond
4114a332df Orcs need to be a bit more motivated. 2008-08-25 15:58:19 +00:00
Pauli Nieminen
9a1f9012cc Fixed test use correct way to translate t_string...
...for comparing with parsed config object
2008-08-25 15:38:57 +00:00
Pauli Nieminen
b4a94859bd remove decprecated unit/ image loading code 2008-08-25 15:38:39 +00:00
Mark de Wever
708c847124 Updated to the new style. 2008-08-25 15:36:05 +00:00
Mark de Wever
653bee39bd Updated to the new style. 2008-08-25 15:36:01 +00:00
Mark de Wever
b5ae677123 Updated to the new style. 2008-08-25 15:35:57 +00:00
Mark de Wever
72f8b75d53 Updated to the new style. 2008-08-25 15:35:52 +00:00
Mark de Wever
99112e6cdb Allow smaller resolutions with --new-widgets.
For testing at tiny gui resolutions it's handy to allow smaller
resolutions in the normal game. Added a hack for the old editor.
2008-08-25 15:35:39 +00:00
Lari Nieminen
2c2c32d641 Fixed a silly nested [message]. 2008-08-25 15:18:26 +00:00
Lari Nieminen
acd38ade79 Fixed a typo. 2008-08-25 13:14:38 +00:00
Lari Nieminen
d00fd3607f Applied the new experimental gold carryover model to SoF:
...you carry 20% of your finishing gold to the next scenario, applied
as a bonus on top of the minimum starting gold. Also a couple of tiny
WML tweaks.
2008-08-25 12:51:58 +00:00
Sergey Popov
fad708a5ca Use env.Depends instead of env.Requires which isn't available in scons 96.93. 2008-08-25 10:16:12 +00:00
Nils Kneuper
b13c83cd05 make sure that headers ending with .i and .ii are in the tarball, too
why are those endings used anyway?!?
2008-08-25 08:43:26 +00:00
Nils Kneuper
dc72300a84 comment out troll whelp death animation...
...since it is still based on the old baseframe
2008-08-25 08:16:16 +00:00
Sergey Popov
91aa91c618 Fixed a compile warning. 2008-08-25 07:14:39 +00:00
Patrick Parker
b087db7aa3 fix bug #11988: Events with multiple types are multiplied
allow variable substitution in event names

allow spaces or underscores to be used interchangeably in event names
2008-08-25 06:21:44 +00:00
Richard Kettering
a843a6a82e Replaced the shadow's face with something more iconic. 2008-08-25 05:04:24 +00:00
Eric S. Raymond
66f7074df0 Bias the orcs towards killing each other.
Otherwise Al'Tar tends to run straight north and slaughter the peasants.
2008-08-25 05:04:09 +00:00
Eric S. Raymond
bb7df3e518 Fix some typos and poor usages in comments. 2008-08-25 04:08:26 +00:00
Patrick Parker
e71916c807 After further investigation, defender was indeed the secondary unit...
...in defender events. It's odd, but I'm leaving it alone for now.
2008-08-25 03:24:53 +00:00
Ignacio R. Morelle
b63e0995d1 Remove unrecognized UTF-8 sequence 0xC2,0xA0 from source code file...
...to fix a compiler error ("stray <CODE> in program") by line 108
2008-08-25 00:51:25 +00:00
Patrick Parker
18f54872c0 remove an unnecessary check in my last commit 2008-08-25 00:36:49 +00:00