Commit 8ec251d5 authored by nanahira's avatar nanahira

Merge branch 'test' of github.com:mercury233/ygopro

parents 8ed60163 3bc07cdf
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "config.h" #include "config.h"
#include "sqlite3.h" #include "sqlite3.h"
#include "spmemvfs.h" #include "spmemvfs/spmemvfs.h"
#include "client_card.h" #include "client_card.h"
#include <unordered_map> #include <unordered_map>
......
...@@ -1974,6 +1974,8 @@ void Game::OnResize() { ...@@ -1974,6 +1974,8 @@ void Game::OnResize() {
lstLog->setRelativePosition(Resize(10, 10, 290, 290)); lstLog->setRelativePosition(Resize(10, 10, 290, 290));
if(showingcode) if(showingcode)
ShowCardInfo(showingcode, true); ShowCardInfo(showingcode, true);
else
ClearCardInfo();
btnClearLog->setRelativePosition(Resize(160, 300, 260, 325)); btnClearLog->setRelativePosition(Resize(160, 300, 260, 325));
wPhase->setRelativePosition(Resize(480, 310, 855, 330)); wPhase->setRelativePosition(Resize(480, 310, 855, 330));
......
...@@ -123,8 +123,7 @@ public: ...@@ -123,8 +123,7 @@ public:
return; return;
struct stat fileStat; struct stat fileStat;
std::vector<file_unit> file_list; std::vector<file_unit> file_list;
while ((dirp = readdir(dir)) != nullptr) while((dirp = readdir(dir)) != nullptr) {
{
file_unit funit; file_unit funit;
char fname[1024]; char fname[1024];
strcpy(fname, path); strcpy(fname, path);
...@@ -143,7 +142,7 @@ public: ...@@ -143,7 +142,7 @@ public:
static bool TraversalDirSort(file_unit file1, file_unit file2) { static bool TraversalDirSort(file_unit file1, file_unit file2) {
if(file1.is_dir != file2.is_dir) { if(file1.is_dir != file2.is_dir) {
return file1.is_dir; return file2.is_dir;
} else { } else {
return file1.filename < file2.filename; return file1.filename < file2.filename;
} }
......
include "lzma/." include "lzma/."
include "spmemvfs/."
project "ygopro" project "ygopro"
kind "WindowedApp" kind "WindowedApp"
files { "**.cpp", "**.cc", "**.c", "**.h" } files { "**.cpp", "**.cc", "**.c", "**.h" }
excludes "lzma/**" excludes { "lzma/**", "spmemvfs/**" }
includedirs { "../ocgcore" } includedirs { "../ocgcore" }
links { "ocgcore", "clzma", "Irrlicht", "freetype", "sqlite3", "lua" , "event" } links { "ocgcore", "clzma", "cspmemvfs", "Irrlicht", "freetype", "sqlite3", "lua" , "event" }
if USE_IRRKLANG then if USE_IRRKLANG then
defines { "YGOPRO_USE_IRRKLANG" } defines { "YGOPRO_USE_IRRKLANG" }
links { "ikpmp3" } links { "ikpmp3" }
......
project "cspmemvfs"
kind "StaticLib"
files { "**.c", "**.h" }
configuration "windows"
includedirs { "../../sqlite3" }
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