mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
More boost gone
This commit is contained in:
parent
8b04ece7f4
commit
b0b2b89237
12 changed files with 5 additions and 30 deletions
|
@ -2,7 +2,6 @@
|
|||
#define _BNPC_H_
|
||||
|
||||
#include <Common.h>
|
||||
#include <boost/enable_shared_from_this.hpp>
|
||||
|
||||
#include "Forwards.h"
|
||||
#include "Chara.h"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define _CHARA_H_
|
||||
|
||||
#include <Common.h>
|
||||
#include <boost/enable_shared_from_this.hpp>
|
||||
|
||||
#include "Forwards.h"
|
||||
#include "Actor.h"
|
||||
|
@ -18,8 +17,7 @@ namespace Entity {
|
|||
\brief Base class for all animate actors
|
||||
|
||||
*/
|
||||
class Chara :
|
||||
public Actor
|
||||
class Chara : public Actor
|
||||
{
|
||||
public:
|
||||
struct ActorStats
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define _NPC_H_
|
||||
|
||||
#include <Common.h>
|
||||
#include <boost/enable_shared_from_this.hpp>
|
||||
|
||||
#include "Forwards.h"
|
||||
#include "Chara.h"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include <boost/make_shared.hpp>
|
||||
|
||||
#include <Common.h>
|
||||
#include <Util/Util.h>
|
||||
#include <Util/UtilMath.h>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/format.hpp>
|
||||
#include <cinttypes>
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include <boost/make_shared.hpp>
|
||||
|
||||
#include <Logging/Logger.h>
|
||||
#include <Database/DatabaseDef.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include "NativeScriptMgr.h"
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
#include <Crypt/md5.h>
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
#include <set>
|
||||
#include <queue>
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
|
||||
#include "ScriptLoader.h"
|
||||
|
||||
namespace Core {
|
||||
|
@ -125,7 +122,7 @@ public:
|
|||
/*!
|
||||
* @brief Creates an instance of NativeScriptMgr
|
||||
*
|
||||
* @return a boost::shared_ptr to NativeScriptMgr
|
||||
* @return a std::shared_ptr to NativeScriptMgr
|
||||
*/
|
||||
std::shared_ptr< NativeScriptMgr > createNativeScriptMgr();
|
||||
}
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
#include <Logging/Logger.h>
|
||||
#include <Exd/ExdDataGenerated.h>
|
||||
#include <Config/ConfigMgr.h>
|
||||
|
@ -141,13 +135,12 @@ bool Core::Scripting::ScriptMgr::loadDir( const std::string& dirname, std::set<
|
|||
fs::path targetDir( dirname );
|
||||
|
||||
fs::directory_iterator iter( targetDir );
|
||||
fs::directory_iterator eod;
|
||||
|
||||
BOOST_FOREACH( fs::path const& i, std::make_pair( iter, eod ) )
|
||||
for( const auto& i : iter )
|
||||
{
|
||||
if( fs::is_regular_file( i ) && fs::path( i.string() ).extension() == ext )
|
||||
if( fs::is_regular_file( i ) && fs::path( i ).extension() == ext )
|
||||
{
|
||||
files.insert( i.string() );
|
||||
files.insert( fs::path( i ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include "ForwardsZone.h"
|
||||
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/algorithm/string/case_conv.hpp>
|
||||
#include <thread>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <Common.h>
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <mutex>
|
||||
#include <map>
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef _STATUSEFFECT_H_
|
||||
#define _STATUSEFFECT_H_
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#include "Forwards.h"
|
||||
|
||||
namespace Core {
|
||||
|
|
Loading…
Add table
Reference in a new issue