352 Commits

Author SHA1 Message Date
Charles Dang
fcd90d0533 Removed floating_point_emulation.hpp from CB projfile 2016-07-27 03:23:53 +11: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
Charles Dang
34d78f2a2a Updated CB projfile 2016-07-20 01:02:19 +11:00
Charles Dang
fc586ea796 Updated CB projfile 2016-06-21 22:56:43 +11:00
Charles Dang
709b078a7a CB: removed thread.*pp from main binary 2016-06-12 05:10:45 +11:00
Charles Dang
2d6ce5e523 Updated CB projfile 2016-06-07 13:17:42 +11:00
Charles Dang
c3d379e394 Updated CB projfile so it no longer links with SDL_net
Also cleans up a few broken includes in the project.
2016-06-06 05:58:00 +11:00
Charles Dang
7f3fee88c5 Updated build files for 9af918b361c3 2016-06-06 01:52:20 +11:00
Charles Dang
e96c31d577 Updated CB projfile 2016-06-06 01:43:35 +11:00
Charles Dang
dc9db2e830 Updated CB projfiles 2016-06-01 19:06:58 +11:00
Charles Dang
0ffccf6f11 Updated CB projectfile 2016-04-23 19:26:36 +11:00
Charles Dang
cdd1370276 Updated CB projectfile 2016-04-15 08:50:13 +11:00
Charles Dang
71b154b6e3 Refactored out savegame::savegame_config class
This was basically an unnecessary stub class. It also allows us to
remove the unused soundsource::manager::to_config() function (write_sourcespecs()
did the actual job).
2016-04-05 18:10:44 +11:00
Charles Dang
0a7190c605 Updated cb projfile 2016-04-04 13:11:05 +11:00
Celtic Minstrel
982394fe3a Remove custom FOREACH macro in favour of range-for 2016-04-01 12:08:05 -04:00
Charles Dang
4645d654c3 CB: enable building wesnothd alone 2016-04-02 02:26:22 +11:00
Charles Dang
c97a5d14ff Codeblocks: enable building with c++11
This also adds the necessary boost::thread linker option required by
recent loadscreen code.
2016-03-31 09:37:10 +11:00
Charles Dang
465f5eece1 Implement new GUI2 loadscreen 2016-03-29 21:33:38 +11:00
Celtic Minstrel
b555bc2bb7 Delete empty source files 2016-03-28 00:35:14 -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
d7205d4a40 Minor CB project fixup 2016-03-24 12:03:13 -04:00
Charles Dang
d3ef442f15 Update CB project 2016-03-24 15:27:29 +11: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
Charles Dang
e86cadfa72 Update CB project 2016-03-23 06:51:59 +11: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
Charles Dang
cb992e88b0 Removed Data Manage dialog
This dialog didn't do anything more than allow you to delete saves.
2016-03-21 22:14:34 +11:00
Celtic Minstrel
c0afb53a2f Fix build/project files 2016-03-20 23:27:40 -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
Charles Dang
15db95f05e Update CB projfile 2016-03-21 09:28:47 +11: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
Charles Dang
33a04c32e2 Removed old code for [portrait]
This was an experimental feature that was never finished. Any [portrait]
tags were removed from the unit type WML a while back
2016-03-21 03:47:13 +11:00
Charles Dang
42816df6f6 Converted Recruit dialog to GUI2 2016-03-09 19:52:25 +11:00
Charles Dang
29e19cd854 GUI2: implemented a Unit Preview Pane widget 2016-03-09 19:15:13 +11:00
Charles Dang
2ca0503337 Updated cb projfile
I seem to have forgotten to do this before
2016-03-05 11:19:30 +11:00
Charles Dang
90ae1151c7 CB: add -Wunused compiler flag 2016-02-26 12:53:02 +11:00
Charles Dang
dfe7fcca88 gui2: implement widget groups
Groups are handled on a per-dialog basis, and are currently specialized for tselectable_
inheritors. They provide a convenient vector-of-pairs interface that ensure only one
widget is selected at one time and allows binding of values to widgets which can be
fetched at a later point.
2016-02-25 20:28:18 +11:00
Celtic Minstrel
33da7920cf Add new orb selection dialog to unit tests and other build systems 2016-02-18 01:13:11 -05:00
Charles Dang
a5b2f5cd7b Updated build lists + cb projfile 2016-02-06 20:19:40 +11:00
Charles Dang
cb71b330e9 Updated codeblocks build readme with updated last tested versions 2016-02-02 02:28:35 +11:00
Charles Dang
fb5b4b0e99 Updated codeblocks projfile 2016-01-21 05:51:55 +11:00
Charles Dang
c951043d58 Resave lua codeblocks projfile
File generated with CB 13.12
2015-12-22 16:36:23 +11:00
Charles Dang
b8a821e388 Enable SDL2 building by default in codeblocks project 2015-12-22 16:35:56 +11:00
Ignacio R. Morelle
53ed94da25 log/windows: Integrate implementation of --wconsole
This makes it so we no longer try to steal the console back to a log
file when using --wconsole with the new redirection code. Now the
--wconsole switch triggers a special mode of the log file manager that
uses a native console instead of log files.

As a necessary bonus to appease compilers, the GUI2 version info dialog
now uses the correct log file path when not started with the --wconsole
switch. Yay!
2015-11-23 03:42:14 -03:00