287 Commits

Author SHA1 Message Date
Celtic Minstrel
ba5eb7bc91 Move some AI test scenarios from data/ to data/ai/scenarios/
(And update them to modern syntax)
2016-03-27 15:13:23 -04:00
Celtic Minstrel
282a2abb55 XCode: Add documentation group
The primary reason for this is actually because XCode highlights the syntax of the manpages.
Currently, only the English version is included.
2016-03-26 16:39:41 -04:00
Celtic Minstrel
57e41387a8 Remove Strategy Formulation with RCA stage 2016-03-24 12:39:37 -04:00
Celtic Minstrel
af9be371da Remove old move-to-targets CA and move new one to default 2016-03-24 12:32:34 -04:00
Celtic Minstrel
ab443bcc18 Remove experimental recruitment 2016-03-24 12:06:10 -04:00
Celtic Minstrel
17ea7fac6b Reorganize the AI source files a little
This also tries to make them include everything by full paths instead of relative paths.
2016-03-24 00:08:12 -04:00
Celtic Minstrel
fbd9edd5df Remove global fallback candidate action
This literally did nothing except place useless labels on the map.
2016-03-24 00:08:11 -04:00
Celtic Minstrel
a23a368c20 Remove Akihara's recruitment and battle evaluation 2016-03-24 00:08:10 -04:00
Celtic Minstrel
6c525a9d3f Remove AI interface and fallback stage
This removes the C++ common interface intended for creating new AIs.
Anyone wishing to create a new AI written in C++ should now implement it as a custom stage instead.

This commit also removes the C++ implementation of the Idle AI (but leaves the WML definition of it, which is based on the composite AI)
and the fallback stage which was intended to fall back to other C++ AI algorithms.
2016-03-24 00:08:10 -04:00
Celtic Minstrel
43142630b6 XCode: Add readline to Copy Files phase 2016-03-22 21:39:04 -04:00
mattsc
5a82a36e89 Update Xcode project to include readline
This also requires the readline dylib and headers to be added to the
project directory
2016-03-22 18:31:42 -07:00
Celtic Minstrel
620f7833b7 Update XCode project 2016-03-22 15:45:06 -04:00
Celtic Minstrel
f13f7470eb XCode: Link with readline
Note: This may need to be done a little more robustly in order for the game to launch on older systems.
2016-03-22 00:57:41 -04:00
Celtic Minstrel
5aa1b738cf Fix Wesnoth crashing upon encountering XCode debug arguments 2016-03-22 00:55:12 -04:00
Celtic Minstrel
00fa1b4da8 XCode fixup 2016-03-21 15:28:15 -04:00
Celtic Minstrel
931376954b Remove map_utils.hpp
Rationale:
- The at() emulation is only used in one file and will become redundant once we move to C++11 soon
- The map_get_value_default function is also only used in one file, and removing it actually makes the logic clearer
- It was moved to map/utils.hpp despite having nothing to do with game maps; removing it is slightly easier than moving it again
2016-03-21 12:50:07 -04:00
Celtic Minstrel
d49ef6be41 Update XCode project 2016-03-21 12:50:06 -04:00
Celtic Minstrel
620b228fa8 Consolidate related GUI2 dialogs in directories 2016-03-20 23:18:49 -04:00
Celtic Minstrel
6307b9459c Move most of gui/auxiliary to gui/core to reflect its true nature 2016-03-20 23:18:48 -04:00
Celtic Minstrel
040b4ca49a Consolidate GUI2 widget files
Now every GUI2 widget requires only two source files, instead of six (or in rare cases four).
2016-03-20 23:18:46 -04:00
Celtic Minstrel
bc711f5f43 Consolidate related files into subdirectories 2016-03-20 16:20:09 -04:00
Celtic Minstrel
fe0df45947 Consolidate formula and hotkey files in corresponding dirs 2016-03-20 16:15:50 -04:00
Celtic Minstrel
d0c716a22d Remove utils/enumerate.hpp
This was only used in one place, was probably not portable to additional cases, and is done much better using the MAKE_ENUM macro.
2016-03-19 22:03:22 -04:00
Celtic Minstrel
8122039707 Rename .tpp -> .hpp
Several header files used the .tpp extension, which means that they are not correctly detected as C++ (though this can be overridden and has been for one case in the XCode project). The .tpp extension is one of several intended for private template instantiations, but these headers were topleve headers included in many places.
2016-03-19 21:57:03 -04:00
Celtic Minstrel
f6be40bb71 Transfer original formula unit tests to Boost framework
In the process, I have corrected a few tests and added a few extras
2016-03-18 00:30:36 -04:00
Andreas Löf
358bd1235f Remove SDL1.2 code
This removes all legacy SDL1.2 code. It was done by invoking:
coan source --replace --no-transients -D"SDL_VERSION_ATLEAST(X, Y, Z)"=1 <file>
on each file.
2016-03-13 11:34:34 +13:00
Celtic Minstrel
26be1be486 Update XCode project 2016-03-09 09:15:00 -05:00
Celtic Minstrel
21bda20859 Update XCode project 2016-03-03 16:19:38 -05:00
Celtic Minstrel
9a77b81fc7 Update XCode and MSVC projects 2016-02-26 00:20:21 -05:00
Celtic Minstrel
18bcd519e0 XCode: Suppress warnings about unknown warnings 2016-02-23 10:18:00 -05:00
Celtic Minstrel
43e3f8e631 XCode: Split up copy files phase a little
May or may not speed up the build.
Definitely improves the progress indicator a little bit.
2016-02-22 21:57:40 -05:00
Celtic Minstrel
38ddbb98f2 Preferences: Reimplement orb color options 2016-02-18 01:13:10 -05:00
Celtic Minstrel
f4c3d97f55 Update XCode project (again) 2016-02-14 15:17:02 -05:00
Celtic Minstrel
534299e645 Update XCode project 2016-02-14 15:02:55 -05:00
Celtic Minstrel
eb1d0e2876 XCode: Fix bundle signature warning 2016-01-13 12:15:49 -05:00
ancestral
3cf38b651a Updated version number; set High Resolution Capable per SDL2 guidelines; updated copyright date 2016-01-02 00:40:40 -06:00
ancestral
b7595d4a2c New hi-res icon using new logo for OS X 2015-12-29 19:36:09 -06:00
Martin Proud
44cf166010 Update SDLMain.m
Fixes crash on launch for SDL2 on OS X.
2015-12-29 08:14:12 -06:00
Celtic Minstrel
eebe3cfb75 Revert f0a837227824a055362296b7db423bcdc7354c38 for SDL1.2 only 2015-09-23 23:34:24 -04:00
Celtic Minstrel
f0a8372278 OSX: Remove SDLApplication class as SDL2 also implements it
This fixes a runtime warning about duplicate class definitions
(All the menu stuff still works.)
2015-09-23 23:26:27 -04:00
Celtic Minstrel
c68fc094d7 XCode: Fix unresolved merge conflict 2015-09-23 22:42:24 -04:00
Andreas Löf
9ae3b29f4a Merge with master 2015-09-21 23:07:49 +12:00
Celtic Minstrel
a3e3f5e719 Update XCode project file 2015-09-20 19:37:21 -04:00
Celtic Minstrel
6a09ef61e7 Update XCode project file 2015-09-20 19:30:54 -04:00
mattsc
6a3a346e41 Xcode project: do not warn about unused local typedefs
Otherwise Xcode 7 (and its version of clang) produce more than 100
boost related unused typedef warnings.
2015-09-19 15:27:17 -07:00
Andreas Löf
22cff55dc8 Merge pull request #475 into sdl2 from CelticMinstrel:quit-confirm2 2015-09-11 18:55:11 +12:00
Celtic Minstrel
480a2a746c XCode project: Remove -Werror setting 2015-09-09 22:49:04 -04:00
Celtic Minstrel
348f3b480b Update XCode project 2015-09-09 21:55:05 -04:00
Celtic Minstrel
b0ecf09ee9 Finish changes for XCode SDL2 compilation to work 2015-09-09 11:42:35 -04:00
Andreas Löf
9204d0af45 Remove SDL_main from OSX entry point under SDL2
SDL_main is not used any longer in SDL2. These changes instead call
direcly into the wesnoth main function after setting up the OSX
environment.
2015-09-09 11:42:27 -04:00