logging changed to spdlog
This commit is contained in:
@@ -25,12 +25,7 @@
|
||||
#include "sectree_manager.h"
|
||||
|
||||
#undef sys_err
|
||||
#ifndef OS_WINDOWS
|
||||
#define sys_err(fmt, args...) quest::CQuestManager::instance().QuestError(__FUNCTION__, __LINE__, fmt, ##args)
|
||||
#else
|
||||
#define sys_err(fmt, ...) quest::CQuestManager::instance().QuestError(__FUNCTION__, __LINE__, fmt, __VA_ARGS__)
|
||||
|
||||
#endif
|
||||
#define sys_err(fmt, ...) quest::CQuestManager::instance().QuestError(std::source_location::current(), fmt __VA_OPT__(, __VA_ARGS__))
|
||||
|
||||
extern ACMD(do_block_chat);
|
||||
|
||||
@@ -802,7 +797,7 @@ namespace quest
|
||||
return 1;
|
||||
}
|
||||
|
||||
// 새로운 state를 만든다.
|
||||
// <EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> state<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
int _set_quest_state(lua_State* L)
|
||||
{
|
||||
if (!lua_isstring(L, 1) || !lua_isstring(L, 2))
|
||||
@@ -962,7 +957,7 @@ namespace quest
|
||||
|
||||
event_create(warp_all_to_village_event, info, PASSES_PER_SEC(iSec));
|
||||
|
||||
SendNoticeMap(LC_TEXT("잠시후 모두 마을로 이동됩니다."), iMapIndex, false);
|
||||
SendNoticeMap(LC_TEXT("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>̵<EFBFBD><CCB5>˴ϴ<CBB4>."), iMapIndex, false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -1036,7 +1031,7 @@ namespace quest
|
||||
return 0;
|
||||
}
|
||||
|
||||
//주의: 몹 리젠이 안되는 맵에서만 사용
|
||||
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ȵǴ<C8B5> <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
||||
int _regen_in_map( lua_State * L )
|
||||
{
|
||||
int iMapIndex = static_cast<int>(lua_tonumber(L, 1));
|
||||
|
||||
Reference in New Issue
Block a user