|
|
@ -137,7 +137,6 @@ using namespace NLMISC;
|
|
|
|
namespace NLGUI
|
|
|
|
namespace NLGUI
|
|
|
|
{
|
|
|
|
{
|
|
|
|
extern void luaDebuggerMainLoop();
|
|
|
|
extern void luaDebuggerMainLoop();
|
|
|
|
extern NLMISC::CStringMapper *_UIStringMapper;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
extern CClientChatManager ChatMngr;
|
|
|
|
extern CClientChatManager ChatMngr;
|
|
|
@ -543,10 +542,6 @@ CInterfaceManager::~CInterfaceManager()
|
|
|
|
CViewTextFormated::setFormatter( NULL );
|
|
|
|
CViewTextFormated::setFormatter( NULL );
|
|
|
|
reset(); // to flush IDStringWaiters
|
|
|
|
reset(); // to flush IDStringWaiters
|
|
|
|
|
|
|
|
|
|
|
|
// release the local string mapper
|
|
|
|
|
|
|
|
delete _UIStringMapper;
|
|
|
|
|
|
|
|
_UIStringMapper = NULL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// release the database observers
|
|
|
|
// release the database observers
|
|
|
|
releaseServerToLocalAutoCopyObservers();
|
|
|
|
releaseServerToLocalAutoCopyObservers();
|
|
|
|
|
|
|
|
|
|
|
@ -636,10 +631,6 @@ void CInterfaceManager::initLogin()
|
|
|
|
// Init LUA Scripting
|
|
|
|
// Init LUA Scripting
|
|
|
|
initLUA();
|
|
|
|
initLUA();
|
|
|
|
|
|
|
|
|
|
|
|
// Create String mapper
|
|
|
|
|
|
|
|
if (_UIStringMapper == NULL)
|
|
|
|
|
|
|
|
_UIStringMapper = CStringMapper::createLocalMapper();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Clear the action manager
|
|
|
|
// Clear the action manager
|
|
|
|
Actions.clear();
|
|
|
|
Actions.clear();
|
|
|
|
EditActions.clear();
|
|
|
|
EditActions.clear();
|
|
|
@ -708,10 +699,6 @@ void CInterfaceManager::uninitLogin()
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
void CInterfaceManager::initOutGame()
|
|
|
|
void CInterfaceManager::initOutGame()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// create String mapper
|
|
|
|
|
|
|
|
if (_UIStringMapper == NULL)
|
|
|
|
|
|
|
|
_UIStringMapper = CStringMapper::createLocalMapper();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Clear the action manager
|
|
|
|
// Clear the action manager
|
|
|
|
Actions.clear();
|
|
|
|
Actions.clear();
|
|
|
|
EditActions.clear();
|
|
|
|
EditActions.clear();
|
|
|
@ -871,10 +858,6 @@ void CInterfaceManager::initInGame()
|
|
|
|
// Init LUA Scripting
|
|
|
|
// Init LUA Scripting
|
|
|
|
initLUA();
|
|
|
|
initLUA();
|
|
|
|
|
|
|
|
|
|
|
|
// create the _UIStringMapper
|
|
|
|
|
|
|
|
if (_UIStringMapper == NULL)
|
|
|
|
|
|
|
|
_UIStringMapper = CStringMapper::createLocalMapper();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Clear the action manager
|
|
|
|
// Clear the action manager
|
|
|
|
Actions.clear();
|
|
|
|
Actions.clear();
|
|
|
|
EditActions.clear();
|
|
|
|
EditActions.clear();
|
|
|
|