Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
List
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
苍蓝
rd-ygopro
Commits
464d5611
Commit
464d5611
authored
Oct 25, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Fluorohydride/ygopro
parents
a8beeb81
b68249ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
gframe/duelclient.cpp
gframe/duelclient.cpp
+9
-8
strings.conf
strings.conf
+1
-0
No files found.
gframe/duelclient.cpp
View file @
464d5611
...
@@ -1946,10 +1946,10 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -1946,10 +1946,10 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
0
);
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
0
);
respbuf
[
1
]
=
LOCATION_MZONE
;
respbuf
[
1
]
=
LOCATION_MZONE
;
filter
=
mainGame
->
dField
.
selectable_field
&
0x7f
;
filter
=
mainGame
->
dField
.
selectable_field
&
0x7f
;
}
else
if
(
mainGame
->
dField
.
selectable_field
&
0x
1
f00
)
{
}
else
if
(
mainGame
->
dField
.
selectable_field
&
0x
3
f00
)
{
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
0
);
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
0
);
respbuf
[
1
]
=
LOCATION_SZONE
;
respbuf
[
1
]
=
LOCATION_SZONE
;
filter
=
(
mainGame
->
dField
.
selectable_field
>>
8
)
&
0x
1
f
;
filter
=
(
mainGame
->
dField
.
selectable_field
>>
8
)
&
0x
3
f
;
}
else
if
(
mainGame
->
dField
.
selectable_field
&
0xc000
)
{
}
else
if
(
mainGame
->
dField
.
selectable_field
&
0xc000
)
{
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
0
);
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
0
);
respbuf
[
1
]
=
LOCATION_SZONE
;
respbuf
[
1
]
=
LOCATION_SZONE
;
...
@@ -1959,10 +1959,10 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -1959,10 +1959,10 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
1
);
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
1
);
respbuf
[
1
]
=
LOCATION_MZONE
;
respbuf
[
1
]
=
LOCATION_MZONE
;
filter
=
(
mainGame
->
dField
.
selectable_field
>>
16
)
&
0x7f
;
filter
=
(
mainGame
->
dField
.
selectable_field
>>
16
)
&
0x7f
;
}
else
if
(
mainGame
->
dField
.
selectable_field
&
0x
1
f000000
)
{
}
else
if
(
mainGame
->
dField
.
selectable_field
&
0x
3
f000000
)
{
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
1
);
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
1
);
respbuf
[
1
]
=
LOCATION_SZONE
;
respbuf
[
1
]
=
LOCATION_SZONE
;
filter
=
(
mainGame
->
dField
.
selectable_field
>>
24
)
&
0x
1
f
;
filter
=
(
mainGame
->
dField
.
selectable_field
>>
24
)
&
0x
3
f
;
}
else
{
}
else
{
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
1
);
respbuf
[
0
]
=
mainGame
->
LocalPlayer
(
1
);
respbuf
[
1
]
=
LOCATION_SZONE
;
respbuf
[
1
]
=
LOCATION_SZONE
;
...
@@ -2741,6 +2741,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -2741,6 +2741,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
else
if
(
reason
&
REASON_DESTROY
&&
pl
!=
cl
)
else
if
(
reason
&
REASON_DESTROY
&&
pl
!=
cl
)
soundManager
.
PlaySoundEffect
(
SOUND_DESTROYED
);
soundManager
.
PlaySoundEffect
(
SOUND_DESTROYED
);
}
}
int
appear
=
mainGame
->
gameConf
.
quick_animation
?
12
:
20
;
if
(
pl
==
0
)
{
if
(
pl
==
0
)
{
ClientCard
*
pcard
=
new
ClientCard
();
ClientCard
*
pcard
=
new
ClientCard
();
pcard
->
position
=
cp
;
pcard
->
position
=
cp
;
...
@@ -2751,8 +2752,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -2751,8 +2752,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
gMutex
.
unlock
();
mainGame
->
gMutex
.
unlock
();
mainGame
->
dField
.
GetCardLocation
(
pcard
,
&
pcard
->
curPos
,
&
pcard
->
curRot
,
true
);
mainGame
->
dField
.
GetCardLocation
(
pcard
,
&
pcard
->
curPos
,
&
pcard
->
curRot
,
true
);
pcard
->
curAlpha
=
5
;
pcard
->
curAlpha
=
5
;
mainGame
->
dField
.
FadeCard
(
pcard
,
255
,
20
);
mainGame
->
dField
.
FadeCard
(
pcard
,
255
,
appear
);
mainGame
->
WaitFrameSignal
(
20
);
mainGame
->
WaitFrameSignal
(
appear
);
}
else
}
else
mainGame
->
dField
.
AddCard
(
pcard
,
cc
,
cl
,
cs
);
mainGame
->
dField
.
AddCard
(
pcard
,
cc
,
cl
,
cs
);
}
else
if
(
cl
==
0
)
{
}
else
if
(
cl
==
0
)
{
...
@@ -2763,8 +2764,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -2763,8 +2764,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
for
(
auto
eqit
=
pcard
->
equipped
.
begin
();
eqit
!=
pcard
->
equipped
.
end
();
++
eqit
)
for
(
auto
eqit
=
pcard
->
equipped
.
begin
();
eqit
!=
pcard
->
equipped
.
end
();
++
eqit
)
(
*
eqit
)
->
equipTarget
=
0
;
(
*
eqit
)
->
equipTarget
=
0
;
if
(
!
mainGame
->
dInfo
.
isReplaySkiping
)
{
if
(
!
mainGame
->
dInfo
.
isReplaySkiping
)
{
mainGame
->
dField
.
FadeCard
(
pcard
,
5
,
20
);
mainGame
->
dField
.
FadeCard
(
pcard
,
5
,
appear
);
mainGame
->
WaitFrameSignal
(
20
);
mainGame
->
WaitFrameSignal
(
appear
);
mainGame
->
gMutex
.
lock
();
mainGame
->
gMutex
.
lock
();
mainGame
->
dField
.
RemoveCard
(
pc
,
pl
,
ps
);
mainGame
->
dField
.
RemoveCard
(
pc
,
pl
,
ps
);
mainGame
->
gMutex
.
unlock
();
mainGame
->
gMutex
.
unlock
();
...
...
strings.conf
View file @
464d5611
...
@@ -1169,3 +1169,4 @@
...
@@ -1169,3 +1169,4 @@
!
setname
0
x18b
救援
ACE
队
R
-
ACE
!
setname
0
x18b
救援
ACE
队
R
-
ACE
!
setname
0
x18c
纯爱妖精 ピュアリィ
!
setname
0
x18c
纯爱妖精 ピュアリィ
!
setname
0
x18d
御巫
!
setname
0
x18d
御巫
!
setname
0
x18e
仪水镜 儀水鏡
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