Commit 58be174a authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix merge conflict

parent e8ca4858
......@@ -39,6 +39,7 @@ bool DataManager::LoadDB(const char* file) {
cd.attribute = sqlite3_column_int(pStmt, 9);
cd.category = sqlite3_column_int(pStmt, 10);
_datas.insert(std::make_pair(cd.code, cd));
/*
len = BufferIO::DecodeUTF8((const char*)sqlite3_column_text(pStmt, 12), strBuffer);
if(len) {
cs.name = new wchar_t[len + 1];
......
......@@ -105,17 +105,15 @@ public:
void AddChatMsg(wchar_t* msg, int player);
void ClearTextures();
void CloseDuelWindow();
*/
*/
int LocalPlayer(int player);
const wchar_t* LocalName(int local_player);
/*
bool HasFocus(EGUI_ELEMENT_TYPE type) const {
irr::gui::IGUIElement* focus = env->getFocus();
//irr::gui::IGUIElement* focus = env->getFocus();
return focus && focus->hasType(type);
}
*/
*/
Mutex gMutex;
......@@ -129,8 +127,7 @@ public:
Config gameConf;
DuelInfo dInfo;
/*
std::list<FadingUnit> fadingList;
/*std::list<FadingUnit> fadingList;
std::vector<int> logParam;
std::wstring chatMsg[8];
......@@ -162,7 +159,6 @@ public:
bool is_building;
bool is_siding;
*/
*/
/*
ClientField dField;
......
......@@ -90,5 +90,6 @@ int main(int argc, char* argv[]) {
#else
#endif //_WIN32
*/
return EXIT_SUCCESS;
}
......@@ -790,7 +790,7 @@ int SingleMode::MessageHandler(long fduel, int type) {
if(enable_log == 1) {
wchar_t wbuf[1024];
BufferIO::DecodeUTF8(msgbuf, wbuf);
//mainGame->AddChatMsg(wbuf, 9);
mainGame->AddChatMsg(wbuf, 9);
} else if(enable_log == 2) {
FILE* fp = fopen("error.log", "at");
if(!fp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment