Commit 8ec251d5 authored by nanahira's avatar nanahira

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

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