Commit 37dceeaa authored by nanahira's avatar nanahira

Merge branch 'master' into server

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