Pauli Nieminen
65e4eec6f5
Made sanity_check script detect correct path to top directory
2008-08-27 09:12:14 +00:00
Nils Kneuper
4b6824160d
add the new textdomain wesnoth-test to g.w.o
2008-08-27 09:11:40 +00:00
Eric S. Raymond
b2ff257454
Another comment fix. No code changes.
2008-08-27 08:08:30 +00:00
Eric S. Raymond
8435fcc1d1
Fix typos and bad comment formats. No code changes.
2008-08-27 08:01:22 +00:00
Hogne Håskjold
864952e84f
Tweaked disabled buttons to differ more from enabled
2008-08-27 07:33:56 +00:00
Patrick Parker
5e925b7da5
remove some old debug code
2008-08-27 04:13:13 +00:00
Ignacio R. Morelle
ac3df3bd02
Apply patch #1081
2008-08-26 23:16:40 +00:00
Ignacio R. Morelle
f47ed28793
Moved some border tiles around for better appearance
2008-08-26 23:15:08 +00:00
Mark de Wever
4bdf1ea24a
Change the text storage type to std::string.
...
I thought the t_string had some magic to automatically change it's text
when the translation changes. That's not the case so no longer need it
to be a t_string. Also future changes to the text widgets will get
problems since I want to return references which might be temporaries
due to the conversions in t_string so rather avoid that as well.
2008-08-26 22:21:04 +00:00
Mark de Wever
865b0cf060
Added constness to the font::ttext class.
...
A lot of functions weren't marked const since they change internal
variables. All those variables are internal caching values and don't
change the state of the object. Marked the logical functions const and
added mutable to the internal variables.
2008-08-26 22:20:58 +00:00
Mark de Wever
a4fafab681
Fixed a crash when moving and selecting.
...
Then moving the cursor in the textbox the bounds check didn't look at
the length of the selection and the cursor could be placed out of
bounds. Now properly check whether the new position is within bounds.
2008-08-26 22:20:53 +00:00
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