Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-2pick
Commits
6c4feb1c
Commit
6c4feb1c
authored
Nov 22, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
33701af7
479ef113
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
13 deletions
+12
-13
appveyor.yml
appveyor.yml
+2
-1
cards.cdb
cards.cdb
+0
-0
gframe/event_handler.cpp
gframe/event_handler.cpp
+2
-1
gframe/myfilesystem.h
gframe/myfilesystem.h
+6
-9
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
appveyor.yml
View file @
6c4feb1c
version
:
'
{build}'
version
:
'
{build}'
image
:
Visual Studio
2017
skip_tags
:
true
skip_tags
:
true
...
@@ -25,7 +26,7 @@ install:
...
@@ -25,7 +26,7 @@ install:
-
xcopy /E premake\* .
-
xcopy /E premake\* .
# premake
# premake
-
premake5 vs201
5
-
premake5 vs201
7
configuration
:
Release
configuration
:
Release
...
...
cards.cdb
View file @
6c4feb1c
No preview for this file type
gframe/event_handler.cpp
View file @
6c4feb1c
...
@@ -2347,7 +2347,8 @@ void ClientField::ShowCardInfoInList(ClientCard* pcard, irr::gui::IGUIElement* e
...
@@ -2347,7 +2347,8 @@ void ClientField::ShowCardInfoInList(ClientCard* pcard, irr::gui::IGUIElement* e
if
(
pcard
->
code
)
{
if
(
pcard
->
code
)
{
str
.
append
(
dataManager
.
GetName
(
pcard
->
code
));
str
.
append
(
dataManager
.
GetName
(
pcard
->
code
));
}
}
if
(
pcard
->
status
&
STATUS_PROC_COMPLETE
)
if
((
pcard
->
status
&
STATUS_PROC_COMPLETE
)
&&
(
pcard
->
type
&
(
TYPE_RITUAL
|
TYPE_FUSION
|
TYPE_SYNCHRO
|
TYPE_XYZ
|
TYPE_LINK
|
TYPE_SPSUMMON
)))
str
.
append
(
L"
\n
"
).
append
(
dataManager
.
GetSysString
(
224
));
str
.
append
(
L"
\n
"
).
append
(
dataManager
.
GetSysString
(
224
));
for
(
size_t
i
=
0
;
i
<
chains
.
size
();
++
i
)
{
for
(
size_t
i
=
0
;
i
<
chains
.
size
();
++
i
)
{
wchar_t
formatBuffer
[
2048
];
wchar_t
formatBuffer
[
2048
];
...
...
gframe/myfilesystem.h
View file @
6c4feb1c
...
@@ -5,10 +5,7 @@
...
@@ -5,10 +5,7 @@
#include <functional>
#include <functional>
#include "bufferio.h"
#include "bufferio.h"
#ifdef _WIN32
#ifndef _WIN32
#include <direct.h>
#include <sys/stat.h>
#else
#include <dirent.h>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/stat.h>
#endif
#endif
...
@@ -20,8 +17,8 @@
...
@@ -20,8 +17,8 @@
class
FileSystem
{
class
FileSystem
{
public:
public:
static
bool
IsFileExists
(
const
wchar_t
*
wfile
)
{
static
bool
IsFileExists
(
const
wchar_t
*
wfile
)
{
struct
_stat
fileStat
;
DWORD
attr
=
GetFileAttributesW
(
wfile
)
;
return
(
_wstat
(
wfile
,
&
fileStat
)
==
0
)
&&
!
(
fileStat
.
st_mode
&
_S_IFDIR
);
return
attr
!=
INVALID_FILE_ATTRIBUTES
&&
!
(
attr
&
FILE_ATTRIBUTE_DIRECTORY
);
}
}
static
bool
IsFileExists
(
const
char
*
file
)
{
static
bool
IsFileExists
(
const
char
*
file
)
{
...
@@ -31,8 +28,8 @@ public:
...
@@ -31,8 +28,8 @@ public:
}
}
static
bool
IsDirExists
(
const
wchar_t
*
wdir
)
{
static
bool
IsDirExists
(
const
wchar_t
*
wdir
)
{
struct
_stat
fileStat
;
DWORD
attr
=
GetFileAttributesW
(
wdir
)
;
return
(
_wstat
(
wdir
,
&
fileStat
)
==
0
)
&&
(
fileStat
.
st_mode
&
_S_IFDIR
);
return
attr
!=
INVALID_FILE_ATTRIBUTES
&&
(
attr
&
FILE_ATTRIBUTE_DIRECTORY
);
}
}
static
bool
IsDirExists
(
const
char
*
dir
)
{
static
bool
IsDirExists
(
const
char
*
dir
)
{
...
@@ -42,7 +39,7 @@ public:
...
@@ -42,7 +39,7 @@ public:
}
}
static
bool
MakeDir
(
const
wchar_t
*
wdir
)
{
static
bool
MakeDir
(
const
wchar_t
*
wdir
)
{
return
_wmkdir
(
wdir
)
==
0
;
return
CreateDirectoryW
(
wdir
,
NULL
)
;
}
}
static
bool
MakeDir
(
const
char
*
dir
)
{
static
bool
MakeDir
(
const
char
*
dir
)
{
...
...
ocgcore
@
e2b98d5c
Subproject commit
d7d50a64735386f200de36b2ae0175be47164fdf
Subproject commit
e2b98d5c5e7ea7a08eb4c19053a4de014fe41342
script
@
bb1beb06
Subproject commit
87b2a039e3b02c8fad75aa53719095e60c866466
Subproject commit
bb1beb063bb893897fee2b40453633136d6bed8f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment