Commit graph

1774 commits

Author SHA1 Message Date
sigurdfdragon
3b5be89193 Update CB project file.
Adds new file from 6a8827a071.
2014-06-01 19:34:47 -04:00
Chris Beck
096cb97cc1 Merge pull request #180 from cbeck88/add_game_board_struct_alternate
This is a refactor to introduce an object encapsulating the unit map, the game map, and the list of teams. Introducing this object permits us to move a substantial amount of code out of the play_controller object, and also to give a home to some helper functions in unit.?pp that previously sat in the global namespace. It also allows us to simplify the construction of some of the clients of play_controller.

This refactor is ongoing WIP. The goals are

(1) better organize the architecture of the engine, to make saving and reloading easier.
(2) Facilitate the introduction of an improved pathfinding mechanism, which will need to sit between most of the other engine modules and the unit map / game map.
(3) Refactoring clarifies what the existing code is doing, therefore it may help us to find bugs in the current system, which may be fixed independently of the refactor in 1.12.
2014-06-01 13:42:10 -04:00
Chris Beck
2afe4f4f5a move game_board to its own file, update project files 2014-06-01 08:13:34 -04:00
sigurdfdragon
de38d7a245 Update CB project file.
Adds file from 6deda4ca7f.
2014-05-31 23:26:16 -04:00
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
sigurdfdragon
ba4557bc4c Fix CB project file. 2014-05-21 21:28:43 -04:00
aquileia
a69ee6e0c1 Update VC project for b4ea561e37 2014-05-19 17:13:20 -04:00
mattsc
b9a86a656a Update Xcode project 2014-05-18 07:01:01 -07:00
Chris Beck
a3377d6113 fixup project files after rename builder.?pp -> terrain_builder.?pp
This fixes up earlier commit 8fafdbecd4
2014-05-18 01:07:49 -04:00
anonymissimus
58cdba4adf Merge branch 'master' of https://github.com/aquileia/wesnoth into aquileia-master 2014-04-18 22:57:29 +02:00
aquileia
f63358af1f Add SDL2 specific files to VC project 2014-04-18 21:58:46 +02:00
anonymissimus
4de900f943 fix cb project file
First, rerverted changes starting with commit
09b0aad1f8, the other commits were
just fixups to that. The, manually went through the resulting diff
and added/removed files which I know of or think they actually should
be added/removed. And, of course, compiled and linked.
2014-04-18 21:19:45 +02:00
aquileia
a92e374907 Fix CB-Scons target names 2014-04-18 20:53:22 +02:00
aquileia
0bbcec537f Restore instructions for VC dependencies 2014-04-18 20:32:43 +02:00
aquileia
963690884d Fix CodeBlocks project files 2014-04-17 16:57:08 +02:00
aquileia
5a21d5d8c8 CodeBlocks: Don't compile tools & wesmage 2014-04-16 21:56:47 +02:00
aquileia
093c49662f Align CB and CB-scons project files 2014-04-16 21:02:11 +02:00
Kevin_Xi
09b0aad1f8 Add missed files to and remove obsolete file from CodeBlocks-SCons and CodeBlocks project file 2014-04-17 01:43:28 +08:00
aquileia
4146d428b8 Update VC project for 847067dac7 2014-04-16 04:39:00 +02:00
mattsc
122a1c852f Update Xcode project 2014-04-11 17:26:59 -07:00
Alexander van Gessel
45f52737c8 Merge pull request #139 from aquileia/VC_project_update
Update project files
2014-04-09 08:17:30 +02:00
mattsc
ab61fdf521 Xcode project update: new rng-related files etc. 2014-04-07 09:49:25 -07:00
mattsc
37bc59d630 Xcode project update: remove deleted libraries 2014-04-07 09:43:00 -07:00
mattsc
1945c1f492 Upgrade Xcode project to enable both i386 and x86_64 builds
The largest part of this consist of upgrading the boost and pango/cairo
libraries together with their dependencies, supporting files and
project settings. In addition, architecture, SDK and compiler options
are set to use the native versions of the given OS X version for debug
builds. The OS X deployment target is set to OS X 10.8, because of a
change in the default libraries used by OS X from 10.8 to 10.9.
For this to work, the resources in  wesnoth_compile_mac_1.13.zip need
to be installed as well.
Some other settings, e.g. font defaults, still need to be adjusted.
This will be done in separate commits. Settings for release builds will
be changed later as well.
2014-04-07 09:15:09 -07:00
Ignacio R. Morelle
0dee9a1f47 CodeBlocks project update 2014-04-06 22:46:55 -04: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
Alarantalara
6b9ee774ec Compile Lua with OS X options
Avoids some warnings, more secure
2014-03-29 16:08:40 -04:00
Alarantalara
a79467791d Remove references to unused flag ENABLE_OPENMP_SUPPORT
Not available in clang, gcc support unstable in versions available in
Xcode. Defaults to no
2014-03-29 16:07:27 -04:00
Alarantalara
c6e165504b Mark Wesnoth not high-resolution capable
Greatly improves performance on retina devices
2014-03-29 14:42:18 -04:00
mattsc
bfa48aa52b Update Xcode project 2014-03-25 06:16:59 -07:00
Alexander van Gessel
3113763de0 Revert XCode changes in "Attempt to update projectfiles"
This reverts part of commit f786c2d422.
2014-03-24 22:02:35 +01:00
Alexander van Gessel
e132df7d64 Remove gitignore in otherwise empty dir 2014-03-24 00:32:39 +01: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
63488838b2 cb project update (sdl2 files) 2014-03-08 16:34:30 +01:00
mattsc
778955501a Update OS X user data directory to Library/Application\ Support/Wesnoth_1.13 2014-03-07 19:22:43 -08:00
mattsc
8f748f9bd2 Xcode project update for 1.11.11
Version number and ingame changelog
2014-03-02 12:34:07 -08:00
mattsc
ad61b556dd Xcode project update for 1.11.10
Version number and ingame changelog
2014-02-22 08:10:35 -08:00
Ignacio R. Morelle
e2eebe817e CodeBlocks project update 2014-02-21 19:41:34 -03:00
mattsc
3541043073 Update Xcode project 2014-02-21 12:54:52 -08:00