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
0161ba75
Commit
0161ba75
authored
Sep 13, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
946df3ca
c5c00943
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
gframe/premake4.lua
gframe/premake4.lua
+1
-1
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+1
-1
gframe/single_mode.cpp
gframe/single_mode.cpp
+3
-3
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/premake4.lua
View file @
0161ba75
...
@@ -22,7 +22,7 @@ project "ygopro"
...
@@ -22,7 +22,7 @@ project "ygopro"
links
{
"ws2_32"
}
links
{
"ws2_32"
}
configuration
"not vs*"
configuration
"not vs*"
buildoptions
{
"-std=
gnu++0x
"
,
"-fno-rtti"
}
buildoptions
{
"-std=
c++14
"
,
"-fno-rtti"
}
configuration
"not windows"
configuration
"not windows"
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.3"
,
"/usr/include/lua/5.3"
}
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.3"
,
"/usr/include/lua/5.3"
}
links
{
"event_pthreads"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"dl"
,
"pthread"
}
gframe/replay_mode.cpp
View file @
0161ba75
...
@@ -220,7 +220,7 @@ bool ReplayMode::StartDuel() {
...
@@ -220,7 +220,7 @@ bool ReplayMode::StartDuel() {
size_t
slen
=
cur_replay
.
ReadInt16
();
size_t
slen
=
cur_replay
.
ReadInt16
();
cur_replay
.
ReadData
(
filename
,
slen
);
cur_replay
.
ReadData
(
filename
,
slen
);
filename
[
slen
]
=
0
;
filename
[
slen
]
=
0
;
if
(
!
preload_script
(
pduel
,
filename
,
slen
))
{
if
(
!
preload_script
(
pduel
,
filename
,
0
))
{
return
false
;
return
false
;
}
}
}
}
...
...
gframe/single_mode.cpp
View file @
0161ba75
...
@@ -59,11 +59,11 @@ int SingleMode::SinglePlayThread(void* param) {
...
@@ -59,11 +59,11 @@ int SingleMode::SinglePlayThread(void* param) {
if
(
open_file
)
{
if
(
open_file
)
{
open_file
=
false
;
open_file
=
false
;
slen
=
BufferIO
::
EncodeUTF8
(
open_file_name
,
filename
);
slen
=
BufferIO
::
EncodeUTF8
(
open_file_name
,
filename
);
if
(
!
preload_script
(
pduel
,
filename
,
slen
))
{
if
(
!
preload_script
(
pduel
,
filename
,
0
))
{
wchar_t
fname
[
256
];
wchar_t
fname
[
256
];
myswprintf
(
fname
,
L"./single/%ls"
,
open_file_name
);
myswprintf
(
fname
,
L"./single/%ls"
,
open_file_name
);
slen
=
BufferIO
::
EncodeUTF8
(
fname
,
filename
);
slen
=
BufferIO
::
EncodeUTF8
(
fname
,
filename
);
if
(
!
preload_script
(
pduel
,
filename
,
slen
))
if
(
!
preload_script
(
pduel
,
filename
,
0
))
slen
=
0
;
slen
=
0
;
}
}
}
else
{
}
else
{
...
@@ -71,7 +71,7 @@ int SingleMode::SinglePlayThread(void* param) {
...
@@ -71,7 +71,7 @@ int SingleMode::SinglePlayThread(void* param) {
wchar_t
fname
[
256
];
wchar_t
fname
[
256
];
myswprintf
(
fname
,
L"./single/%ls"
,
name
);
myswprintf
(
fname
,
L"./single/%ls"
,
name
);
slen
=
BufferIO
::
EncodeUTF8
(
fname
,
filename
);
slen
=
BufferIO
::
EncodeUTF8
(
fname
,
filename
);
if
(
!
preload_script
(
pduel
,
filename
,
slen
))
if
(
!
preload_script
(
pduel
,
filename
,
0
))
slen
=
0
;
slen
=
0
;
}
}
if
(
slen
==
0
)
{
if
(
slen
==
0
)
{
...
...
ocgcore
@
d8ca56be
Subproject commit
f7f89289068798f2a851270966e93568c09f5d96
Subproject commit
d8ca56be18004a8be33a1e6e7ddcad2b827578a5
script
@
f2531bc8
Subproject commit
c6ecdb014c2bf5806c5efda315aa255c53fd88bb
Subproject commit
f2531bc8e1a1a5a20d7867c678b3aa6166fbcd67
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