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
65a0bdd7
Commit
65a0bdd7
authored
Mar 28, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
f707e95b
7d732051
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
gframe/drawing.cpp
gframe/drawing.cpp
+3
-0
gframe/duelclient.cpp
gframe/duelclient.cpp
+11
-0
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/drawing.cpp
View file @
65a0bdd7
...
...
@@ -984,6 +984,9 @@ void Game::DrawSpec() {
break
;
}
}
if
(
auto_watch_mode
&
showcardcode
<
8
&&
showcardcode
>
0
)
{
mainGame
->
ShowCardInfo
(
showcardcode
);
}
}
if
(
is_attacking
)
{
irr
::
core
::
matrix4
matk
;
...
...
gframe/duelclient.cpp
View file @
65a0bdd7
...
...
@@ -2959,6 +2959,11 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
WaitFrameSignal
(
3
);
}
}
if
(
auto_watch_mode
)
{
int
code
=
mainGame
->
dField
.
chains
[
ct
-
1
].
chain_card
->
code
;
if
(
code
>
0
)
mainGame
->
ShowCardInfo
(
code
);
}
mainGame
->
dField
.
last_chain
=
false
;
return
true
;
}
...
...
@@ -3029,6 +3034,9 @@ 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
)
{
mainGame
->
ShowCardInfo
(
pcard
->
code
);
}
pcard
->
is_highlighting
=
true
;
mainGame
->
dField
.
current_chain
.
target
.
insert
(
pcard
);
if
(
pcard
->
location
&
LOCATION_ONFIELD
)
{
...
...
@@ -3393,6 +3401,9 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
atk_r
=
vector3df
(
0
,
0
,
3.1415926
-
atan
((
xd
-
xa
)
/
(
yd
-
ya
)));
}
matManager
.
GenArrow
(
sy
);
if
(
auto_watch_mode
)
{
mainGame
->
ShowCardInfo
(
mainGame
->
dField
.
attacker
->
code
);
}
mainGame
->
attack_sv
=
0
;
mainGame
->
is_attacking
=
true
;
mainGame
->
WaitFrameSignal
(
40
);
...
...
ocgcore
@
37b31b72
Subproject commit
848005898ba085a1dfa172085c495418d8afcb16
Subproject commit
37b31b728546f67590fc272eb1326287aa1c991e
script
@
6e98bf82
Subproject commit
17096c4264ac893d691a08732d2a929db995baed
Subproject commit
6e98bf821eda80175f219a263cff6e53ab5c589c
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