Commit 37dceeaa authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents a7ddfb64 8ec251d5
...@@ -33,4 +33,4 @@ script: ...@@ -33,4 +33,4 @@ script:
- mkdir replay - mkdir replay
- echo "select id from datas;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ./redtext.txt - echo "select id from datas;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ./redtext.txt
- bash -c "exit $(cat ./redtext.txt | wc -l)" - bash -c "exit $(cat ./redtext.txt | wc -l)"
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "config.h" #include "config.h"
#include "sqlite3.h" #include "sqlite3.h"
#ifndef YGOPRO_SERVER_MODE #ifndef YGOPRO_SERVER_MODE
#include "spmemvfs.h" #include "spmemvfs/spmemvfs.h"
#endif #endif
#include "client_card.h" #include "client_card.h"
#include <unordered_map> #include <unordered_map>
......
...@@ -2031,6 +2031,8 @@ void Game::OnResize() { ...@@ -2031,6 +2031,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));
......
...@@ -156,7 +156,7 @@ public: ...@@ -156,7 +156,7 @@ public:
#ifndef YGOPRO_SERVER_MODE #ifndef YGOPRO_SERVER_MODE
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 "ConsoleApp" kind "ConsoleApp"
......
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