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
2b3717d8
Commit
2b3717d8
authored
Nov 07, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
0ee28269
4d14369b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
8 deletions
+23
-8
.gitignore
.gitignore
+4
-0
gframe/drawing.cpp
gframe/drawing.cpp
+1
-1
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-3
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+14
-2
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
.gitignore
View file @
2b3717d8
...
...
@@ -80,6 +80,7 @@
.vscode
core*
/bak/
/.vs
/bug.txt
/output
/temp
...
...
@@ -90,3 +91,6 @@ core*
/*.bat
/*.sh
/*.sql
/patch.exe.manifest
/patch.exe
/diff.exe
gframe/drawing.cpp
View file @
2b3717d8
...
...
@@ -984,7 +984,7 @@ void Game::DrawSpec() {
break
;
}
}
if
(
auto_watch_mode
&&
showcard
code
<
8
&&
showcardcode
>
0
)
{
if
(
auto_watch_mode
&&
showcard
p
<
8
&&
showcardp
>
0
&&
showcardcode
>
10
0
)
{
mainGame
->
ShowCardInfo
(
showcardcode
);
}
}
...
...
gframe/duelclient.cpp
View file @
2b3717d8
...
...
@@ -3033,8 +3033,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
}
if
(
auto_watch_mode
)
{
int
code
=
mainGame
->
dField
.
chains
[
ct
-
1
].
chain_card
->
code
;
if
(
code
>
0
)
mainGame
->
ShowCardInfo
(
code
);
mainGame
->
ShowCardInfo
(
code
);
}
mainGame
->
dField
.
last_chain
=
false
;
return
true
;
...
...
@@ -3106,7 +3105,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
int
s
=
BufferIO
::
ReadInt8
(
pbuf
);
/*int ss = */
BufferIO
::
ReadInt8
(
pbuf
);
ClientCard
*
pcard
=
mainGame
->
dField
.
GetCard
(
c
,
l
,
s
);
if
(
auto_watch_mode
&&
i
==
0
&&
pcard
->
code
>
0
)
{
if
(
auto_watch_mode
&&
i
==
0
)
{
mainGame
->
ShowCardInfo
(
pcard
->
code
);
}
pcard
->
is_highlighting
=
true
;
...
...
gframe/replay_mode.cpp
View file @
2b3717d8
...
...
@@ -238,7 +238,13 @@ void ReplayMode::EndDuel() {
mainGame
->
HideElement
(
mainGame
->
wCardSelect
);
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
gMutex
.
unlock
();
mainGame
->
actionSignal
.
Wait
();
if
(
auto_watch_mode
)
{
mainGame
->
actionSignal
.
Wait
(
2000
);
mainGame
->
device
->
closeDevice
();
}
else
{
mainGame
->
actionSignal
.
Wait
();
}
mainGame
->
gMutex
.
lock
();
mainGame
->
dInfo
.
isStarted
=
false
;
mainGame
->
dInfo
.
isFinished
=
true
;
...
...
@@ -315,7 +321,13 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
gMutex
.
unlock
();
mainGame
->
actionSignal
.
Reset
();
mainGame
->
actionSignal
.
Wait
();
if
(
auto_watch_mode
){
mainGame
->
actionSignal
.
Wait
(
2000
);
mainGame
->
device
->
closeDevice
();
}
else
{
mainGame
->
actionSignal
.
Wait
();
}
return
false
;
}
case
MSG_HINT
:
{
...
...
ocgcore
@
4844d300
Subproject commit
da0cd22bbb58d6a871a3f8517eaf91b0bd4fbff5
Subproject commit
4844d3009f70464ce1af25dd714daf4354139083
script
@
1b6c41a4
Subproject commit
de4b33a6ce6588602ad6c0d3faed6cf4ac3ed2fb
Subproject commit
1b6c41a45c45607d676c9c81f343711b8c5787ed
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