widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #13397
[Merge] lp:~widelands-dev/widelands/ai_handler_includes into lp:widelands
GunChleoc has proposed merging lp:~widelands-dev/widelands/ai_handler_includes into lp:widelands.
Commit message:
Cleanup includes for AiDnaHandler
Requested reviews:
Widelands Developers (widelands-dev)
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/ai_handler_includes/+merge/345456
Just a small cleanup to include the stuff that's actually being used ;)
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/ai_handler_includes into lp:widelands.
=== modified file 'src/logic/CMakeLists.txt'
--- src/logic/CMakeLists.txt 2017-12-19 07:12:18 +0000
+++ src/logic/CMakeLists.txt 2018-05-12 07:57:08 +0000
@@ -291,6 +291,7 @@
network
note_sound
notifications
+ profile
random
scripting_coroutine
scripting_logic
=== modified file 'src/logic/ai_dna_handler.cc'
--- src/logic/ai_dna_handler.cc 2018-04-07 16:59:00 +0000
+++ src/logic/ai_dna_handler.cc 2018-05-12 07:57:08 +0000
@@ -20,15 +20,12 @@
#include "logic/ai_dna_handler.h"
#include <cstring>
-#include <memory>
-
-#include <boost/algorithm/string.hpp>
-#include <boost/format.hpp>
-
-#include "base/macros.h"
+
+#include "base/time_string.h"
#include "base/wexception.h"
+#include "io/filesystem/layered_filesystem.h"
#include "logic/filesystem_constants.h"
-#include "wui/interactive_base.h"
+#include "profile/profile.h"
namespace Widelands {
=== modified file 'src/logic/ai_dna_handler.h'
--- src/logic/ai_dna_handler.h 2018-04-07 16:59:00 +0000
+++ src/logic/ai_dna_handler.h 2018-05-12 07:57:08 +0000
@@ -20,13 +20,9 @@
#ifndef WL_LOGIC_AI_DNA_HANDLER_H
#define WL_LOGIC_AI_DNA_HANDLER_H
-#include <cstring>
-#include <string>
-
+#include <vector>
#include <stdint.h>
-#include "base/time_string.h"
-#include "logic/game.h"
#include "logic/player.h"
namespace Widelands {
Follow ups