38853 Commits

Author SHA1 Message Date
Guillaume Melquiond
ab21de1ef1 Added conversions from config::proxy_string to int. 2010-04-05 06:02:01 +00:00
Guillaume Melquiond
74b2a21f63 Simplified code by removing string casts. 2010-04-05 06:01:55 +00:00
Guillaume Melquiond
9a42dfe60d Simplified code by removing string casts. 2010-04-05 06:01:52 +00:00
Guillaume Melquiond
0c8e9d8064 Simplified code by removing string casts. 2010-04-05 06:01:49 +00:00
Guillaume Melquiond
ff10146ffe Simplified code by removing string casts. 2010-04-05 06:01:45 +00:00
Guillaume Melquiond
408b8c9884 Simplified code by removing string casts. 2010-04-05 06:01:41 +00:00
Guillaume Melquiond
daa3bddf28 Simplified code by removing string casts. 2010-04-05 06:01:37 +00:00
Guillaume Melquiond
997731d771 Simplified code by removing string casts. 2010-04-05 06:01:33 +00:00
Guillaume Melquiond
e85e4b6d35 Simplified code by removing string casts. 2010-04-05 06:01:28 +00:00
Guillaume Melquiond
56b384ff88 Simplified code by removing string casts. 2010-04-05 06:01:23 +00:00
Guillaume Melquiond
b802e58b48 Fixed off-by-one location of positional sound sources. 2010-04-05 06:01:20 +00:00
Guillaume Melquiond
c93156efd0 Simplified code by removing string casts. 2010-04-05 06:01:16 +00:00
Guillaume Melquiond
a4716378ed Added proxy for writing integer values into config attributes. 2010-04-05 06:01:11 +00:00
Guillaume Melquiond
1e027ce607 Removed function config::proxy_string::to_serialized. 2010-04-05 06:01:07 +00:00
Guillaume Melquiond
9294a2b473 Removed functions config::proxy_string::operator+=. 2010-04-05 06:01:04 +00:00
Guillaume Melquiond
2a59c8ca37 Reduced amount of attribute lookup. 2010-04-05 06:01:00 +00:00
Guillaume Melquiond
bb981e0790 Fixed nonstandard output (true/false) of lobby preferences. 2010-04-05 06:00:57 +00:00
Guillaume Melquiond
cc4be3a770 Merged calls to utils::string_bool...
...and preferences::get for lobby preferences.
2010-04-05 06:00:53 +00:00
Guillaume Melquiond
c8b38fc874 Merged calls to utils::string_bool...
...and preferences::get for display preferences.
2010-04-05 06:00:49 +00:00
Guillaume Melquiond
5c14f2328b Merged calls to utils::string_bool...
...and preferences::get for game preferences.
2010-04-05 06:00:45 +00:00
Guillaume Melquiond
523f46f51d Merged calls to utils::string_bool...
...and preferences::get for basic preferences.
2010-04-05 06:00:41 +00:00
Guillaume Melquiond
fcd61e7b03 Added helper for querying a boolean preference. 2010-04-05 06:00:38 +00:00
Guillaume Melquiond
85c68b3b3a Removed unused class ai::stage_rca_formulas. 2010-04-05 06:00:33 +00:00
Guillaume Melquiond
d473b4e7b1 Moved [unit_worth] to Lua. 2010-04-05 06:00:28 +00:00
Guillaume Melquiond
a0c0fde236 Moved [store_map_dimensions] to Lua. 2010-04-05 06:00:25 +00:00
Guillaume Melquiond
2c9f9644aa Removed unused function mp::connect::get_save_id. 2010-04-05 06:00:21 +00:00
Guillaume Melquiond
52a3198c8e Removed unused function team::remove_recruit. 2010-04-05 06:00:17 +00:00
Guillaume Melquiond
2857312da0 Moved [disallow_recruit] and [set_recruit] to Lua. 2010-04-05 06:00:12 +00:00
Guillaume Melquiond
b72831642a Moved [fire_event] to Lua. 2010-04-05 06:00:07 +00:00
Guillaume Melquiond
38d1c25baa Fixed find_vacant_tile looking for tiles outside the map.
(Fix for bug #15774.)

Sped up the code along the way.
2010-04-05 06:00:03 +00:00
Guillaume Melquiond
8119629789 Removed functions [v]config::all_children_iterator::get_index. 2010-04-05 06:00:00 +00:00
Guillaume Melquiond
260411c281 Removed function config::child_range_deprecated. 2010-04-05 05:59:56 +00:00
Guillaume Melquiond
bf148d8dd9 Switched variable_info::array_range to config::child_itors.
Fixed [set_variable/join] when separator and remove_empty attributes
are combined.
2010-04-05 05:59:53 +00:00
Guillaume Melquiond
0d9cee39ac Removed useless function game_state::get_variable_cfgs. 2010-04-05 05:59:49 +00:00
Guillaume Melquiond
0d392c7b54 Removed function config::get_children_deprecated. 2010-04-05 05:59:44 +00:00
Guillaume Melquiond
961a4d4ccc Fixed out-of-bounds removal. Removed usage of config::get_children_deprecated. 2010-04-05 05:59:40 +00:00
Guillaume Melquiond
316aa7bac8 Fixed broken constness. Removed some usage of config::get_children_deprecated. 2010-04-05 05:59:37 +00:00
Guillaume Melquiond
c4468a7add Removed usage of config::get_children_deprecated. 2010-04-05 05:59:32 +00:00
Gabriel Morin
5270a7f8ba In the recently applied patch #1568 the widescreen threshold...
...was set at 5:3, which left out the very common 16:10 aspect
ratio. For instance my 1680x1050 resolution wasn't listed as
widescreen.

What this *doesn't fix* is the fact that my monitor supports other
16:10 resolutions such as 1440x900, but Wesnoth doesn't offer me that
choice. However "wesnoth -r 1440x900 -f" works perfect.

Related: bug #15623

List of 4:3 Monitor Resolutions
Resolution 	Name 	Aspect ratio
640x480 	SVGA 	4:3
800x600 	SVGA 	4:3
1024x768 	XGA 	4:3
1152x864 	XGA+ 	4:3
1280x960 	  	4:3
1400x1050 	SXGA+ 	4:3
1600x1200 	UXGA 	4:3
2048x1536 	QXGA 	4:3
3200x2400 	QUXGA 	4:3
4000x3000 	  	4:3
6400x4800 	HUXGA 	4:3

List of 16:9 Widescreen Resolutions
Resolution 	Name 	Aspect ratio
852x480 	EDTV 	16:9
1280x720 	WXGA 	16:9
1365x768 	WXGA 	16:9
1600x900 	WSXGA 	16:9
1920x1080 	WSXGA 	16:9

List of 16:10 Widescreen Resolutions
Resolution 	Name 	Aspect ratio
1440x900 	WXGA+ 	16:10
1680x1050 	WSXGA+ 	16:10
1920x1200 	WSXGA+ 	16:10
2560x1600 	WQXGA 	16:10
3840x2400 	WQUXGA 	16:10
7680x4800 	WHUXGA 	16:10
2010-04-05 01:28:07 +00:00
Gabriel Morin
b97c72f333 First commit! I admit I've been expecting this moment.
Moved the "show team colours" and "show grid" options to the Display
preferences: with the "delay shroud updates on start" option added by
my latest patch, there wasn't enough space left on the General page.

Added a help string for the Add Local Player button from my other patch.
2010-04-03 03:23:29 +00:00
Eric S. Raymond
0e0b0fd70f Committing patch #1578: Resolution problem fix.
Fixes bug #15773: in windowed resolution for 1024x600 monitors is
1024x768 if the video card supports it.
2010-04-02 21:06:52 +00:00
Jérémy Rosen
a41288cd4a new terrain: desert castle, letters are Kd and Cd, thx to doofus-01 2010-04-02 19:08:00 +00:00
Lari Nieminen
7971531806 Ported 2010-04-02T18:50:13Z!lari.nieminen@iki.fi to trunk. 2010-04-02 18:54:30 +00:00
Mark de Wever
56dbb06467 Also register the window builders.
Still has an oddity that the linker seems too smart for its own good,
producing broken binaries... ah well a work-around is in place.
2010-04-02 15:25:08 +00:00
Jérémy Rosen
28f5876306 new desert villages by doofus-01,
...the sandcastle will follow as soon as it's ready
2010-04-02 14:30:42 +00:00
Jérémy Rosen
86062ca114 and I forgot the changelog too 2010-04-02 14:29:15 +00:00
Jérémy Rosen
8c40e72fa2 forgot some commits when merging water animation branch:
...random start for animations
2010-04-02 14:27:36 +00:00
Mark de Wever
eff514d4aa Remove a MSVC 6.0 work-around. 2010-04-02 12:12:57 +00:00
Mark de Wever
2efaa2ee03 Improve the REGISTER_WIDGET macro.
This change makes it easier to use for other types as well.
2010-04-02 12:12:42 +00:00
Nils Kneuper
1bc4d12f4d added new japanese translator to the credits 2010-04-02 11:16:09 +00:00