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',
|
'logic_bridge.cpp',
|
||||||
'smn_entities.cpp',
|
'smn_entities.cpp',
|
||||||
'sm_stringutil.cpp',
|
'sm_stringutil.cpp',
|
||||||
'ADTFactory.cpp',
|
|
||||||
'ForwardSys.cpp',
|
'ForwardSys.cpp',
|
||||||
'MenuVoting.cpp',
|
'MenuVoting.cpp',
|
||||||
'smn_events.cpp',
|
'smn_events.cpp',
|
||||||
|
@ -30,8 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ADTFactory.h"
|
#include "ADTFactory.h"
|
||||||
#include "sm_globals.h"
|
#include "ShareSys.h"
|
||||||
#include "logic_bridge.h"
|
|
||||||
|
|
||||||
ADTFactory g_AdtFactory;
|
ADTFactory g_AdtFactory;
|
||||||
|
|
||||||
@ -47,7 +46,7 @@ unsigned int ADTFactory::GetInterfaceVersion()
|
|||||||
|
|
||||||
void ADTFactory::OnSourceModAllInitialized()
|
void ADTFactory::OnSourceModAllInitialized()
|
||||||
{
|
{
|
||||||
sharesys->AddInterface(NULL, this);
|
g_ShareSys.AddInterface(NULL, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
IBasicTrie *ADTFactory::CreateBasicTrie()
|
IBasicTrie *ADTFactory::CreateBasicTrie()
|
@ -33,7 +33,7 @@
|
|||||||
#define _INCLUDE_SOURCEMOD_ADTFACTORY_H_
|
#define _INCLUDE_SOURCEMOD_ADTFACTORY_H_
|
||||||
|
|
||||||
#include <IADTFactory.h>
|
#include <IADTFactory.h>
|
||||||
#include "sm_globals.h"
|
#include "common_logic.h"
|
||||||
#include <sm_stringhashmap.h>
|
#include <sm_stringhashmap.h>
|
||||||
|
|
||||||
using namespace SourceMod;
|
using namespace SourceMod;
|
@ -25,6 +25,7 @@ files = [
|
|||||||
'smn_adt_array.cpp',
|
'smn_adt_array.cpp',
|
||||||
'smn_sorting.cpp',
|
'smn_sorting.cpp',
|
||||||
'smn_maplists.cpp',
|
'smn_maplists.cpp',
|
||||||
|
'ADTFactory.cpp',
|
||||||
'smn_adt_stack.cpp',
|
'smn_adt_stack.cpp',
|
||||||
'thread/ThreadWorker.cpp',
|
'thread/ThreadWorker.cpp',
|
||||||
'thread/BaseWorker.cpp',
|
'thread/BaseWorker.cpp',
|
||||||
|
Loading…
Reference in New Issue
Block a user