Move ADTFactory from core to logic (bug 5953, r=fyren).
--HG-- rename : core/ADTFactory.cpp => core/logic/ADTFactory.cpp rename : core/ADTFactory.h => core/logic/ADTFactory.h
This commit is contained in:
parent
5bde264c43
commit
9027d15211
@ -61,7 +61,6 @@ for i in SM.sdkInfo:
|
||||
'logic_bridge.cpp',
|
||||
'smn_entities.cpp',
|
||||
'sm_stringutil.cpp',
|
||||
'ADTFactory.cpp',
|
||||
'ForwardSys.cpp',
|
||||
'MenuVoting.cpp',
|
||||
'smn_events.cpp',
|
||||
|
@ -30,8 +30,7 @@
|
||||
*/
|
||||
|
||||
#include "ADTFactory.h"
|
||||
#include "sm_globals.h"
|
||||
#include "logic_bridge.h"
|
||||
#include "ShareSys.h"
|
||||
|
||||
ADTFactory g_AdtFactory;
|
||||
|
||||
@ -47,7 +46,7 @@ unsigned int ADTFactory::GetInterfaceVersion()
|
||||
|
||||
void ADTFactory::OnSourceModAllInitialized()
|
||||
{
|
||||
sharesys->AddInterface(NULL, this);
|
||||
g_ShareSys.AddInterface(NULL, this);
|
||||
}
|
||||
|
||||
IBasicTrie *ADTFactory::CreateBasicTrie()
|
@ -33,7 +33,7 @@
|
||||
#define _INCLUDE_SOURCEMOD_ADTFACTORY_H_
|
||||
|
||||
#include <IADTFactory.h>
|
||||
#include "sm_globals.h"
|
||||
#include "common_logic.h"
|
||||
#include <sm_stringhashmap.h>
|
||||
|
||||
using namespace SourceMod;
|
@ -25,6 +25,7 @@ files = [
|
||||
'smn_adt_array.cpp',
|
||||
'smn_sorting.cpp',
|
||||
'smn_maplists.cpp',
|
||||
'ADTFactory.cpp',
|
||||
'smn_adt_stack.cpp',
|
||||
'thread/ThreadWorker.cpp',
|
||||
'thread/BaseWorker.cpp',
|
||||
|
Loading…
Reference in New Issue
Block a user