refactor(Core): rename namespaces and macros to acore (#2454)

This commit is contained in:
Viste
2019-12-01 15:13:31 +03:00
committed by Francesco Borzì
parent e19e95e5d0
commit e22d78ecd6
278 changed files with 1292 additions and 1309 deletions

View File

@@ -19,8 +19,8 @@
#include "Log.h"
#include "Master.h"
#ifndef _TRINITY_CORE_CONFIG
# define _TRINITY_CORE_CONFIG "worldserver.conf"
#ifndef _ACORE_CORE_CONFIG
# define _ACORE_CORE_CONFIG "worldserver.conf"
#endif
#ifdef _WIN32
@@ -61,7 +61,7 @@ void usage(const char* prog)
extern int main(int argc, char** argv)
{
///- Command line parsing to get the configuration file name
char const* cfg_file = _TRINITY_CORE_CONFIG;
char const* cfg_file = _ACORE_CORE_CONFIG;
int c = 1;
while (c < argc)
{
@@ -118,7 +118,7 @@ extern int main(int argc, char** argv)
++c;
}
std::string cfg_def_file=_TRINITY_CORE_CONFIG;
std::string cfg_def_file=_ACORE_CORE_CONFIG;
cfg_def_file += ".dist";
if (!sConfigMgr->LoadInitial(cfg_def_file.c_str())) {