Commit graph

614 commits

Author SHA1 Message Date
Celtic Minstrel
a515dd403a XCode: Rearrange build sequence
This makes the most important steps (compiling and linking) run first,
before all the copy file steps.

Also, all copy file stages now have descriptive names.
2016-08-01 14:24:08 -04:00
Celtic Minstrel
7caad3d107 XCode: Add missing header
This also includes rearrangement changes that XCode seems to insist on applying.
These changes have no effect on anything whatsoever.
2016-07-30 01:55:57 -04:00
Charles Dang
7a8f3ff110 Refactored formula's use of boost::intrusive_ptr
This removes all the custom reference counting code from the
formula variant class, and also removes the WFL refcount() function.
The reference counting base class is also removed, since it is no longer used.
2016-07-24 23:43:58 -04:00
Celtic Minstrel
7286ea8e0f Merge pull request #661 from spixi/name_and_map_generator
Improvements in the name and map generators
2016-07-18 01:10:46 -04:00
Celtic Minstrel
ab504f4458 Update XCode project 2016-07-18 00:47:16 -04:00
Celtic Minstrel
63e0303c00 Update XCode project so that unit tests build 2016-07-17 18:44:57 -04:00
Celtic Minstrel
0ec01c595b Update XCode project 2016-07-12 11:08:30 -04:00
Celtic Minstrel
5698f74573 Update XCode project 2016-06-06 21:07:29 -04:00
loonycyborg
39f14b9b4b Merge branch 'master' into asio_wesnothd 2016-05-03 18:20:41 +03:00
Celtic Minstrel
1649930113 Lua API for the name generators 2016-04-15 15:51:23 -04:00
Celtic Minstrel
d8d87b1a61 Update XCode project (again) 2016-04-07 12:27:38 -04:00
Celtic Minstrel
e7d254bce7 Update XCode project 2016-04-07 12:18:03 -04:00
Celtic Minstrel
e1534f0686 Update XCode project 2016-04-05 03:21:51 -04:00
Celtic Minstrel
4f2367648e Update XCode project 2016-04-04 15:55:01 -04:00
Celtic Minstrel
4d1c9bdd43 Add wesnoth.eval_formula which compiles and evaluates a formula in the formula engine 2016-04-02 09:38:43 -04:00
Celtic Minstrel
982394fe3a Remove custom FOREACH macro in favour of range-for 2016-04-01 12:08:05 -04:00
Celtic Minstrel
1ff7b5fbcd XCode: Set Mac App Store category 2016-04-01 00:43:35 -04:00
Celtic Minstrel
d958429e27 XCode: Update Wesnoth version 2016-04-01 00:43:34 -04:00
mattsc
1cc3711996 Xcode project: ignore inconsistent-missing-override warning 2016-03-31 19:58:15 -07:00
Celtic Minstrel
9c442ebb4b XCode: Fix wesnothd build
A unit test file had been accidentally included in the build, leading to link errors.
2016-03-31 18:47:13 -04:00
Celtic Minstrel
e7cb3f500c XCode: Fix dynamic link errors in unit tests 2016-03-31 17:37:52 -04:00
Celtic Minstrel
ec43700ff5 XCode: Enable unit tests build 2016-03-31 16:05:15 -04:00
Celtic Minstrel
3ac7f8d970 NULL -> nullptr
A few cases of NULL were missed, since changing them led to errors
(Mainly instances where it was passed to a boost::function)
2016-03-31 00:42:38 -04:00
Celtic Minstrel
acc752aa9a XCode: Build with C++11 and libc++ 2016-03-30 16:12:37 -04:00
Celtic Minstrel
49fc414cc6 Update XCode project 2016-03-29 09:28:35 -04:00
Celtic Minstrel
aed87126ee XCode: Remove empty testing group 2016-03-29 01:43:26 -04:00
Celtic Minstrel
b555bc2bb7 Delete empty source files 2016-03-28 00:35:14 -04:00
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