290 Commits

Author SHA1 Message Date
aquileia
64d72a63a9 Windows WML tests: Enable automatic tests in VC 2014-05-29 02:52:34 +02:00
aquileia
412aca56d7 Windows WML tests: Add optional argument for executable path 2014-05-29 02:52:27 +02:00
aquileia
f90569ccee Windows WML tests: Improve stdout output
Differentiate between timeouts and real errors: In case of a timeout, only
throw a warning instead of an error.

Also implement a basic progress bar.
2014-05-29 02:52:24 +02:00
aquileia
8d91cef488 Windows WML tests: Port .sh test script to .cmd
WML tests are read from wml_test_schedule, executed and their error code
is compared to the expected result.
2014-05-29 02:52:20 +02:00
aquileia
4832724565 Windows WML tests: Add WindowsTimeout project
As the --timeout option for Wesnoth can stall the process, we replace it
by an encapsulation comparable to the Unix timeout function.

WindowsTimeout isn't limited to Wesnoth, it can in fact set a timeout for
any executable called through it.

An example on the use of these WinAPI functions can be found on
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682512.aspx
2014-05-29 02:52:16 +02:00
Chris Beck
215de94390 Add make_enum macros and a unit test, also add to project files 2014-05-24 14:59:20 -04:00
Chris Beck
7cd205832f add config attribute value tests, put them in project files also. 2014-05-22 22:59:47 -04:00
aquileia
a69ee6e0c1 Update VC project for b4ea561e37 2014-05-19 17:13:20 -04:00
Chris Beck
a3377d6113 fixup project files after rename builder.?pp -> terrain_builder.?pp
This fixes up earlier commit 8fafdbecd42d
2014-05-18 01:07:49 -04:00
aquileia
f63358af1f Add SDL2 specific files to VC project 2014-04-18 21:58:46 +02:00
aquileia
0bbcec537f Restore instructions for VC dependencies 2014-04-18 20:32:43 +02:00
aquileia
4146d428b8 Update VC project for 847067dac7 2014-04-16 04:39:00 +02:00
aquileia
edfe6e4a74 Update projectfiles and corresponding readme
- Add the new files introduced by gfgtdf to the VC project.
- Fix the indentation of SConscript.
- Update the README files for Code Blocks and Visual Studio.
2014-04-06 01:08:21 +02:00
Alexander van Gessel
f786c2d422 Attempt to update projectfiles 2014-03-24 00:32:15 +01:00
soliton-
8e9fcd1704 Merge pull request #118 from aquileia/new-branch
minor fixes
2014-03-17 22:29:14 +01:00
anonymissimus
e45894c17b vc project update 2014-03-15 20:53:33 +01:00
aquileia
bb6bfdcb7d delete deprecated NDEBUG flag from VC project 2014-03-14 23:24:41 +01:00
anonymissimus
a701caa36e vc project update (sdl2 files) 2014-03-08 16:34:30 +01:00
anonymissimus
824896679c vc project update (maintenance, cherry-pick from 1.12) 2014-03-08 16:34:30 +01:00
anonymissimus
d01e212391 vc project update 2014-02-17 20:48:54 +01:00
Alexander van Gessel
76b74df4ab Update projectfiles 2014-01-05 18:08:42 +01:00
anonymissimus
d4401e5777 vc project update 2013-12-23 18:37:56 +01:00
anonymissimus
9b96184604 vc project update 2013-12-20 21:31:20 +01:00
anonymissimus
32fee2b447 vc project update 2013-12-05 21:35:27 +01:00
anonymissimus
7715a2e00a vc project update 2013-11-10 20:06:40 +01:00
anonymissimus
b2f3cf98a5 vc project update 2013-10-30 19:02:22 +01:00
Andrius Silinskas
947a842bad Translatable months and weekdays. Missing am/pm designations.
A simple std::strftime wrapper was introduced, which takes care of date
translations when needed. I.e. if correct locale is not available, or
locale in use does not support am/pm designations.
2013-10-02 14:49:37 +01:00
anonymissimus
bc067de37c vc project update 2013-09-27 16:49:42 +02:00
anonymissimus
fb51fe6b8f vc project update 2013-09-25 12:51:07 +02:00
anonymissimus
c5bfcbc6f8 fix the MSVC project file 2013-09-07 01:05:10 +02:00
lipk
48a5b585e8 Ignore build folder for ReleaseDEBUG MSVC builds. 2013-09-06 22:17:38 +02:00
Andrius Silinskas
c84e94fe9b Bring back MP options (patch by lipkab). 2013-09-05 18:33:45 +01:00
Andrius Silinskas
5d1406c30e Added a new class to handle factions, leaders and genders. 2013-09-05 18:33:41 +01:00
Andrius Silinskas
0509d0c188 Unify leaders and genders set up between mp::connect and mp::wait.
The relevant functions from mp::connect were moved to mp::ui to enable
them to use by mp::wait as well. This is not the most elegant solution,
but in the future mp::connect and mp::wait should be merged into one,
and those functions could be moved back to where they were.

leader_list.?pp has been removed since it is no longer used.
2013-09-05 18:33:35 +01:00
Andrius Silinskas
13e22fd6f1 Initial step for splitting mp::connect into gui and engine. 2013-09-05 18:33:33 +01:00
Andrius Silinskas
c00e94de18 Move the initialization of the new level config to a different file.
This is initial step to unify the level initialization between
multiplayer_connect.cpp and playcampaign.cpp for multiplayer games.
2013-09-05 18:33:32 +01:00
Andrius Silinskas
97559fa5ec Separate gui and engine in mp::create.
Some things still need to be moved from gui to engine.
2013-09-05 18:33:26 +01:00
Boldizsár Lipka
aa71f67d47 RIP mp_options.?pp 2013-09-05 18:33:23 +01:00
JaMiT
a213190130 Remove some functions that have been unused for a year (r54990). 2013-08-25 22:32:27 -05:00
anonymissimus
40472ab4b0 vc project update 2013-08-12 17:12:58 +02:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956e6316f8b50a6accba607f66cf197a7.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956 Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
This reverts commit 5fa5c034110c3c942d299c8fd440297c89aca037, reversing
changes made to 06374c64ba00977a4f720a44108593fc43d5c787.
2013-08-08 18:50:46 +02:00
anonymissimus
eb00df8feb vc project update 2013-07-21 18:55:44 +02:00
anonymissimus
c9a0a9bc3a vc project update 2013-06-21 18:40:13 +02:00
anonymissimus
54adc2ec0a update MSVC README
While those intructions to build the dependencies are no longer very
accurate, they are the only description of how to build the windows
dependencies given in a wesnoth context, removing them is a bad idea.
2013-06-19 18:33:16 +02:00
Andrius Silinskas
4175e62956 Remove game controllers: new and abstract. 2013-06-19 13:59:26 +01:00
Andrius Silinskas
377e9adc8e Clean-up and polish of game_config_manager game_controller class.
Add extra braces.
Substitute for loop with BOOST_FOREACH.
Update CMakeLists.txt and VC9/wesnoth.vcproj.
Split some long lines.
Change pass by value to pass by reference.
Fix formatting of some comments.
Introduced enums for load_game_cfg().
2013-06-19 13:59:24 +01:00
anonymissimus
e92e84f009 vc project update 2013-06-09 16:17:12 +02:00
anonymissimus
080282b2fb vc project update 2013-06-05 01:23:17 +02:00
flix/Felix Bauer
29e8584738 Add new aspect 'advancements'
As part of a GSoC proposal I added a new aspect so a scenario editor can control advancements in two ways:
1. Define a aspect with a string-value like "Swordsman, Knight", so the units of interesst will always advance to this
2. Use the LUA-Engine and return a function of the form advance(x, y) which will itself return a string-value
    like "Swordsman, Knight". Everytime a ai-unit advances advance(x, y) will be called.
The corresponding wikipage (http://wiki.wesnoth.org/AiWML) is going to be updated soon.
2013-06-01 17:21:12 +03:00