Commit f7ae66aa authored by mercury233's avatar mercury233

merge

parent f79a174b
...@@ -1230,7 +1230,6 @@ void Game::LoadConfig() { ...@@ -1230,7 +1230,6 @@ void Game::LoadConfig() {
gameConf.textfontsize = 14; gameConf.textfontsize = 14;
gameConf.nickname[0] = 0; gameConf.nickname[0] = 0;
gameConf.gamename[0] = 0; gameConf.gamename[0] = 0;
gameConf.bot_deck_path[0] = 0;
gameConf.lastcategory[0] = 0; gameConf.lastcategory[0] = 0;
gameConf.lastdeck[0] = 0; gameConf.lastdeck[0] = 0;
gameConf.numfont[0] = 0; gameConf.numfont[0] = 0;
...@@ -1376,9 +1375,6 @@ void Game::LoadConfig() { ...@@ -1376,9 +1375,6 @@ void Game::LoadConfig() {
} else if (!strcmp(strbuf, "gamename")) { } else if (!strcmp(strbuf, "gamename")) {
BufferIO::DecodeUTF8(valbuf, wstr); BufferIO::DecodeUTF8(valbuf, wstr);
BufferIO::CopyWStr(wstr, gameConf.gamename, 20); BufferIO::CopyWStr(wstr, gameConf.gamename, 20);
} else if (!strcmp(strbuf, "bot_deck_path")) {
BufferIO::DecodeUTF8(valbuf, wstr);
BufferIO::CopyWStr(wstr, gameConf.bot_deck_path, 64);
} else if (!strcmp(strbuf, "lastcategory")) { } else if (!strcmp(strbuf, "lastcategory")) {
BufferIO::DecodeUTF8(valbuf, wstr); BufferIO::DecodeUTF8(valbuf, wstr);
BufferIO::CopyWStr(wstr, gameConf.lastcategory, 64); BufferIO::CopyWStr(wstr, gameConf.lastcategory, 64);
......
...@@ -142,9 +142,9 @@ public: ...@@ -142,9 +142,9 @@ public:
void HideElement(irr::gui::IGUIElement* element, bool set_action = false); void HideElement(irr::gui::IGUIElement* element, bool set_action = false);
void PopupElement(irr::gui::IGUIElement* element, int hideframe = 0); void PopupElement(irr::gui::IGUIElement* element, int hideframe = 0);
void WaitFrameSignal(int frame); void WaitFrameSignal(int frame);
void DrawThumb(code_pointer cp, position2di pos, const std::unordered_map<int,int>* lflist, bool drag = false); void DrawThumb(code_pointer cp, position2di pos, const std::unordered_map<int,int>* lflist, bool drag = false);
void DrawDeck(); void DrawDeck();
void DrawPack(); void DrawPack();
void DrawSearchResults(); void DrawSearchResults();
void DrawDeckBd(); void DrawDeckBd();
void LoadConfig(); void LoadConfig();
......
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