Move filesystem natives from Core to Logic (bug 5606, r=psychonic).

--HG--
rename : core/smn_filesystem.cpp => core/logic/smn_filesystem.cpp
This commit is contained in:
David Anderson
2013-02-16 15:52:11 -08:00
parent 7814acb9f8
commit 5f0a55057e
8 changed files with 149 additions and 126 deletions
+5 -1
View File
@@ -70,6 +70,9 @@ static IGameConfig *GetCoreGameConfig()
return g_pGameConf;
}
// Defined in smn_filesystem.cpp.
extern bool OnLogPrint(const char *msg);
static sm_logic_t logic =
{
NULL,
@@ -82,7 +85,8 @@ static sm_logic_t logic =
UTIL_ReplaceAll,
UTIL_ReplaceEx,
UTIL_DecodeHexString,
GetCoreGameConfig
GetCoreGameConfig,
OnLogPrint
};
static void logic_init(const sm_core_t* core, sm_logic_t* _logic)