Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpAIManager.cpp
Show All 18 Lines | |||||
#include "ICmpAIManager.h" | #include "ICmpAIManager.h" | ||||
#include "simulation2/system/InterfaceScripted.h" | #include "simulation2/system/InterfaceScripted.h" | ||||
#include "lib/file/vfs/vfs_util.h" | #include "lib/file/vfs/vfs_util.h" | ||||
#include "ps/Filesystem.h" | #include "ps/Filesystem.h" | ||||
#include <boost/filesystem.hpp> | |||||
BEGIN_INTERFACE_WRAPPER(AIManager) | BEGIN_INTERFACE_WRAPPER(AIManager) | ||||
DEFINE_INTERFACE_METHOD_4("AddPlayer", void, ICmpAIManager, AddPlayer, std::wstring, player_id_t, uint8_t, std::wstring) | DEFINE_INTERFACE_METHOD_4("AddPlayer", void, ICmpAIManager, AddPlayer, std::wstring, player_id_t, uint8_t, std::wstring) | ||||
DEFINE_INTERFACE_METHOD_0("TryLoadSharedComponent", void, ICmpAIManager, TryLoadSharedComponent) | DEFINE_INTERFACE_METHOD_0("TryLoadSharedComponent", void, ICmpAIManager, TryLoadSharedComponent) | ||||
DEFINE_INTERFACE_METHOD_0("RunGamestateInit", void, ICmpAIManager, RunGamestateInit) | DEFINE_INTERFACE_METHOD_0("RunGamestateInit", void, ICmpAIManager, RunGamestateInit) | ||||
END_INTERFACE_WRAPPER(AIManager) | END_INTERFACE_WRAPPER(AIManager) | ||||
// Implement the static method that finds all AI scripts | // Implement the static method that finds all AI scripts | ||||
// that can be loaded via AddPlayer: | // that can be loaded via AddPlayer: | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator