Anonymissimus
43f2ad4884
mute an MSVC warning about unreachable code
2011-11-27 15:18:11 +00:00
Anonymissimus
aba8aa5d70
make tests usable in MSVC9
...
basically this method:
http://blog.yastrebkov.com/2010/07/boost-test-setup-and-usage.html
since I haven't found a way to solve the 400+ linker errors when
adding as a new project.
Created 2 additional configurations for project wesnoth only to build
a test.exe out of this project (debug/release).
Debugger works with the boost tests.
No main function conflict, interestingly.
2 problematic tests/cpp files in the test directory are disabled yet.
2011-11-27 01:57:11 +00:00
Anonymissimus
99496cb4eb
fix compilation in MSVC (unknown type game_display)
2011-11-27 01:56:56 +00:00
Anonymissimus
6c462e5886
disable a test which causes memory problems with Linux/scons and MSVC for me
...
(I dunno whether the code it refers to should better be fixed instead though)
2011-11-27 01:56:40 +00:00
Anonymissimus
98d6d891f3
fix tests broken by recent language stuff change
2011-11-27 01:56:24 +00:00
Anonymissimus
1d2b5003f3
fix compilation in VC9 (setlocale not in std::)
2011-11-27 01:56:09 +00:00
Anonymissimus
35a17fd952
visual studio 2010 projectfile update
2011-11-27 01:55:50 +00:00
Fabian Müller
3bf11bd745
Don't try to add translated unit names for advancements...
...
...that are not a valid unit type in unit::advances_to_translated().
Fix for bug #19043
2011-11-26 15:14:58 +00:00
Mark de Wever
62898bc27d
Probably fixes a gcc warning AI0867 ran into.
2011-11-26 14:47:36 +00:00
Mark de Wever
539b1df6ce
Fix an old-style cast.
2011-11-26 14:25:16 +00:00
Elvish_Hunter
78744fa36c
SoF: implemented a better fix for the bug about Rugnur not being healed,
...
...and the units shown harmed in the recall list
2011-11-26 11:36:21 +00:00
Nils Kneuper
3ef85dee73
updated Indonesian translation
2011-11-26 11:10:51 +00:00
Anonymissimus
5ffabe7d14
made strin2rgb unthrowing (fix for bug #19052 )
...
Updated all callers.
Some callers were calling it without catching the bad_lexical_cast it
could throw.
2011-11-25 22:54:24 +00:00
Anonymissimus
1eb7ec9851
I deserve a players changelog entry for my recent fixes.
...
And a star on the wesnoth walk of fame.
2011-11-25 22:54:07 +00:00
Gabriel Morin
625452d4bf
Track whiteboard gold with less future map building.
2011-11-25 17:52:02 +00:00
Gabriel Morin
a1fea70ff5
Properly remove planned recalls from the recall list. Fixes bug #18774 .
2011-11-25 17:51:56 +00:00
Gabriel Morin
4a7d54ddb1
Added has_actions method to allow early return from some whiteboard...
...
...methods when action queue is empty.
Also erased unused method.
2011-11-25 17:51:45 +00:00
Gabriel Morin
f64d62e2ea
Adjustments to logging, asserts and comments.
2011-11-25 17:51:39 +00:00
Gabriel Morin
262ab3fe45
Cut down on some useless whiteboard future map builds.
2011-11-25 17:51:33 +00:00
Gabriel Morin
793aa716d1
Removed a rather unusual use of templates as a function parameter.
2011-11-25 17:51:26 +00:00
Nils Kneuper
cb934df014
empty release notes now that 1.9.11 is announced
2011-11-25 16:12:01 +00:00
Anonymissimus
3997853121
changelog entry 2011-11-06T23:22:56Z!anonymissimus@arcor.de
2011-11-25 01:08:33 +00:00
Anonymissimus
657d9e2950
changelog update
2011-11-25 01:08:13 +00:00
Anonymissimus
9af74d7b41
simplify code
2011-11-25 01:07:41 +00:00
Anonymissimus
77db600a64
add init_side to the replay data in case we didn't get it sent...
...
(fix for bug #16299 )
2011-11-25 01:07:09 +00:00
Anonymissimus
30ce3a636b
update the gui to the new player (fix for bug #19056 )
...
This causes the gui update code to be called again from
playmp_controller::play_side in case of a player type change.
2011-11-25 01:06:52 +00:00
Anonymissimus
b510a5de8e
create protected helper function play_controller::update_gui_to_player
2011-11-25 01:06:27 +00:00
Anonymissimus
fda3250052
remove unused function mouse_handler::set_selected_hex
2011-11-25 01:05:58 +00:00
Anonymissimus
192111e446
name the team_index parameter in several functions correctly
...
Name parameter team_index in play_side from play_controller,
playsingle_controller and playmp_controller classes side_number.
It is not an array index.
2011-11-25 01:05:33 +00:00
Anonymissimus
7c45b41401
add a side_number key to sent [init_side] if --log-debug=network
...
(to make clear it's not used and should not)
2011-11-25 01:05:15 +00:00
Anonymissimus
01caf29c6f
move a part of turn_info::process_network_data into a private helper function
2011-11-25 01:04:51 +00:00
Gabriel Morin
ab219747de
Replace future_map by future_map_if_active in most mouse code.
2011-11-24 11:36:21 +00:00
Gabriel Morin
b36573976e
Replaced future_map by future_map_if_active...
...
...for finding recruit/recall locations.
This changes the fix for bug#18992
2011-11-24 11:36:16 +00:00
Gabriel Morin
96f67f96dd
Rename scoped real/future unit map structs,
...
...and add a new one which only applies future map when planning mode
is active.
2011-11-24 11:36:10 +00:00
Gabriel Morin
7a25afba6e
Disable the hotkey/menu item for Suppose Dead action...
...
...until I can polish its UI.
2011-11-24 11:36:04 +00:00
Gabriel Morin
4c2fe319d3
Erase invalid actions when you try to execute them.
2011-11-24 11:35:58 +00:00
Gabriel Morin
be87192279
Tweak the sending of notifications of game changes to the whiteboard.
...
This fixes invalid actions not being detected until another action is
created.
2011-11-24 11:35:52 +00:00
Simon Forsyth
71c8f8f19e
Allow overlays on mountains. Fixes bug #18914
2011-11-23 23:05:30 +00:00
Simon Forsyth
aa648f638c
Xcode 1.9.11 version numbering
2011-11-23 23:04:30 +00:00
Elias Pschernig
d05f887ee7
[wmlunits] When selecting a language on a page which does not exist...
...
...in that language, open the initial page for that language. Also
made some minor CSS changes.
2011-11-23 22:41:44 +00:00
Nils Kneuper
c06bfd29a3
updated Latvian translation
2011-11-23 15:08:57 +00:00
Nils Kneuper
c38653d257
post release version bump to 1.9.11+svn
2011-11-23 14:52:35 +00:00
Nils Kneuper
53b781e801
bump version to 1.9.11
2011-11-23 14:08:51 +00:00
Nils Kneuper
a9ce9c9acc
updated French translation
2011-11-23 14:05:28 +00:00
Nils Kneuper
d4f27b59ab
pot-update (preparing for 1.9.11, reference update only)
2011-11-23 14:03:23 +00:00
Gabriel Morin
f7332b1153
Only consider attacks a failure when the attacker dies.
...
Allows player to easily auto-execute several "finishing move" attacks
in a row.
2011-11-23 13:40:46 +00:00
Gabriel Morin
e08a4be552
Auto-execute remaining whiteboard planned actions at end of turn.
...
Only finish turn if they all execute successfully, i.e. no ambush, etc.
2011-11-23 13:40:40 +00:00
Gabriel Morin
5596250c9e
renamed a variable for clarity
2011-11-23 13:40:34 +00:00
Gabriel Morin
09c4ff7f5f
Cleanup of scoped unit map structs
2011-11-23 13:40:28 +00:00
Gabriel Morin
aef888dff6
Correct crash with planning a move followed by an attack.
2011-11-23 13:40:23 +00:00