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
ace03f4f
Commit
ace03f4f
authored
Oct 01, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-target' into test
parents
984725e6
23b91f88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
gframe/duelclient.cpp
gframe/duelclient.cpp
+20
-1
No files found.
gframe/duelclient.cpp
View file @
ace03f4f
...
...
@@ -2718,7 +2718,17 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
showcarddif
=
0
;
mainGame
->
showcard
=
1
;
pcard
->
is_highlighting
=
true
;
mainGame
->
WaitFrameSignal
(
30
);
if
(
pcard
->
location
&
0x30
)
{
float
shift
=
-
0.15
f
;
if
(
cc
==
1
)
shift
=
0.15
f
;
pcard
->
dPos
=
irr
::
core
::
vector3df
(
shift
,
0
,
0
);
pcard
->
dRot
=
irr
::
core
::
vector3df
(
0
,
0
,
0
);
pcard
->
is_moving
=
true
;
pcard
->
aniFrame
=
5
;
mainGame
->
WaitFrameSignal
(
30
);
mainGame
->
dField
.
MoveCard
(
pcard
,
5
);
}
else
mainGame
->
WaitFrameSignal
(
30
);
pcard
->
is_highlighting
=
false
;
mainGame
->
dField
.
current_chain
.
chain_card
=
pcard
;
mainGame
->
dField
.
current_chain
.
code
=
code
;
...
...
@@ -2850,6 +2860,15 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
dField
.
FadeCard
(
pcard
,
255
,
5
);
mainGame
->
WaitFrameSignal
(
5
);
}
}
else
if
(
pcard
->
location
&
0x30
)
{
float
shift
=
-
0.15
f
;
if
(
c
==
1
)
shift
=
0.15
f
;
pcard
->
dPos
=
irr
::
core
::
vector3df
(
shift
,
0
,
0
);
pcard
->
dRot
=
irr
::
core
::
vector3df
(
0
,
0
,
0
);
pcard
->
is_moving
=
true
;
pcard
->
aniFrame
=
5
;
mainGame
->
WaitFrameSignal
(
30
);
mainGame
->
dField
.
MoveCard
(
pcard
,
5
);
}
else
mainGame
->
WaitFrameSignal
(
30
);
myswprintf
(
textBuffer
,
dataManager
.
GetSysString
(
1610
),
dataManager
.
GetName
(
pcard
->
code
),
dataManager
.
FormatLocation
(
l
,
s
),
s
+
1
);
...
...
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