text encoding fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include "questmanager.h"
|
||||
@@ -132,7 +132,7 @@ namespace quest
|
||||
//
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// 순서 Index (여러개 있을 수 있으므로 있는 것임, 실제 index 값은 쓰지 않음)
|
||||
// 순서 Index (여러개 있을 수 있으므로 있는 것임, 실제 index 값은 쓰지 않음)
|
||||
j = i;
|
||||
i = s.find('.', i + 1);
|
||||
|
||||
@@ -411,7 +411,7 @@ namespace quest
|
||||
|
||||
void operator()(PC::QuestInfoIterator& itPCQuest, NPC::QuestMapType::iterator& itQuestMap)
|
||||
{
|
||||
// 없으니 새로 시작
|
||||
// 없으니 새로 시작
|
||||
DWORD dwQuestIndex = itQuestMap->first;
|
||||
|
||||
if (NPC::HasStartState(itQuestMap->second) && CQuestManager::instance().CanStartQuest(dwQuestIndex))
|
||||
@@ -495,8 +495,8 @@ namespace quest
|
||||
for (int i = 0; i < fMatch.size; i++)
|
||||
{
|
||||
if ( i != 0 ) {
|
||||
//2012.05.14 <김용욱> : 퀘스트 매니저의 m_pCurrentPC가 바뀌는 경우가 발생하여,
|
||||
//두개 이상의 스크립트를 실행시, 두번째 부터는 퀘스트 매니저의 PC 값을 새로 셋팅한다.
|
||||
//2012.05.14 <김용욱> : 퀘스트 매니저의 m_pCurrentPC가 바뀌는 경우가 발생하여,
|
||||
//두개 이상의 스크립트를 실행시, 두번째 부터는 퀘스트 매니저의 PC 값을 새로 셋팅한다.
|
||||
PC * pPC = CQuestManager::instance().GetPC(pc.GetID());
|
||||
}
|
||||
|
||||
@@ -806,7 +806,7 @@ namespace quest
|
||||
QuestMapType & rmapEventOwnQuest = m_mapOwnQuest[EventIndex];
|
||||
QuestMapType::iterator itQuestMap = rmapEventOwnQuest.find(quest_index);
|
||||
|
||||
// 그런 퀘스트가 없음
|
||||
// 그런 퀘스트가 없음
|
||||
if (itQuestMap == rmapEventOwnQuest.end())
|
||||
return false;
|
||||
|
||||
@@ -818,7 +818,7 @@ namespace quest
|
||||
}
|
||||
else
|
||||
{
|
||||
// 새로 시작할까요?
|
||||
// 새로 시작할까요?
|
||||
if (CQuestManager::instance().CanStartQuest(itQuestMap->first, pc) && HasStartState(itQuestMap->second))
|
||||
iState = 0;
|
||||
else
|
||||
@@ -918,7 +918,7 @@ namespace quest
|
||||
{
|
||||
os << ",\"" << ScriptToString(AvailScript[i]->arg.c_str()) << '"';
|
||||
}
|
||||
os << ", '"<<LC_TEXT("닫기")<<"'";
|
||||
os << ", '"<<LC_TEXT("닫기")<<"'";
|
||||
os << ")";
|
||||
|
||||
CQuestManager::ExecuteQuestScript(pc, "QUEST_CHAT_TEMP_QUEST", 0, os.str().c_str(), os.str().size(), &AvailScript, false);
|
||||
@@ -963,7 +963,7 @@ namespace quest
|
||||
else
|
||||
return HandleEvent(pc, QUEST_ITEM_PICK_EVENT);
|
||||
}
|
||||
//독일 선물 기능 테스트
|
||||
//독일 선물 기능 테스트
|
||||
bool NPC::OnItemInformer(PC& pc, unsigned int vnum)
|
||||
{
|
||||
return HandleEvent(pc, QUEST_ITEM_INFORMER_EVENT);
|
||||
|
||||
Reference in New Issue
Block a user