Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
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
YGOPRO-520DIY
ygopro
Commits
b34a6a0f
Commit
b34a6a0f
authored
Jan 23, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Fluorohydride/ygopro
parents
db837b78
604ac65a
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
26 deletions
+10
-26
gframe/client_field.cpp
gframe/client_field.cpp
+1
-1
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-12
gframe/event_handler.cpp
gframe/event_handler.cpp
+0
-2
gframe/game.cpp
gframe/game.cpp
+1
-1
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+1
-2
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-2
gframe/single_mode.cpp
gframe/single_mode.cpp
+1
-2
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+1
-2
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/client_field.cpp
View file @
b34a6a0f
...
...
@@ -414,7 +414,7 @@ void ClientField::ShowSelectCard(bool buttonok, bool chain) {
mainGame
->
btnCardSelect
[
i
]
->
setRelativePosition
(
rect
<
s32
>
(
startpos
+
i
*
125
,
55
,
startpos
+
120
+
i
*
125
,
225
));
mainGame
->
btnCardSelect
[
i
]
->
setPressed
(
false
);
mainGame
->
btnCardSelect
[
i
]
->
setVisible
(
true
);
if
(
mainGame
->
dInfo
.
curMsg
!=
MSG_SORT_C
HAIN
&&
mainGame
->
dInfo
.
curMsg
!=
MSG_SORT_C
ARD
)
{
if
(
mainGame
->
dInfo
.
curMsg
!=
MSG_SORT_CARD
)
{
// text
wchar_t
formatBuffer
[
2048
];
if
(
conti_selecting
)
...
...
gframe/duelclient.cpp
View file @
b34a6a0f
...
...
@@ -2105,8 +2105,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
}
return
mainGame
->
dField
.
ShowSelectSum
(
mainGame
->
dField
.
select_panalmode
);
}
case
MSG_SORT_CARD
:
case
MSG_SORT_CHAIN
:
{
case
MSG_SORT_CARD
:
{
/*int player = */
BufferIO
::
ReadInt8
(
pbuf
);
int
count
=
BufferIO
::
ReadInt8
(
pbuf
);
mainGame
->
dField
.
selectable_cards
.
clear
();
...
...
@@ -2126,15 +2125,6 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
dField
.
selectable_cards
.
push_back
(
pcard
);
mainGame
->
dField
.
sort_list
.
push_back
(
0
);
}
if
(
mainGame
->
chkAutoChain
->
isChecked
()
&&
mainGame
->
dInfo
.
curMsg
==
MSG_SORT_CHAIN
)
{
mainGame
->
dField
.
sort_list
.
clear
();
SetResponseI
(
-
1
);
DuelClient
::
SendResponse
();
return
true
;
}
if
(
mainGame
->
dInfo
.
curMsg
==
MSG_SORT_CHAIN
)
mainGame
->
wCardSelect
->
setText
(
dataManager
.
GetSysString
(
206
));
else
mainGame
->
wCardSelect
->
setText
(
dataManager
.
GetSysString
(
205
));
mainGame
->
dField
.
select_min
=
0
;
mainGame
->
dField
.
select_max
=
count
;
...
...
gframe/event_handler.cpp
View file @
b34a6a0f
...
...
@@ -745,7 +745,6 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
ShowSelectSum
(
true
);
break
;
}
case
MSG_SORT_CHAIN
:
case
MSG_SORT_CARD
:
{
int
offset
=
mainGame
->
scrCardList
->
getPos
()
/
10
;
int
sel_seq
=
id
-
BUTTON_CARD_0
+
offset
;
...
...
@@ -2551,7 +2550,6 @@ void ClientField::CancelOrFinish() {
}
break
;
}
case
MSG_SORT_CHAIN
:
case
MSG_SORT_CARD
:
{
if
(
mainGame
->
wCardSelect
->
isVisible
())
{
DuelClient
::
SetResponseI
(
-
1
);
...
...
gframe/game.cpp
View file @
b34a6a0f
...
...
@@ -12,7 +12,7 @@
#include <sstream>
#include <regex>
unsigned
short
PRO_VERSION
=
0x13
4B
;
unsigned
short
PRO_VERSION
=
0x13
50
;
namespace
ygo
{
...
...
gframe/replay_mode.cpp
View file @
b34a6a0f
...
...
@@ -438,8 +438,7 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
pbuf
+=
count
*
11
;
return
ReadReplayResponse
();
}
case
MSG_SORT_CARD
:
case
MSG_SORT_CHAIN
:
{
case
MSG_SORT_CARD
:
{
player
=
BufferIO
::
ReadInt8
(
pbuf
);
count
=
BufferIO
::
ReadInt8
(
pbuf
);
pbuf
+=
count
*
7
;
...
...
gframe/single_duel.cpp
View file @
b34a6a0f
...
...
@@ -786,8 +786,7 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
NetServer
::
SendBufferToPlayer
(
players
[
player
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
return
1
;
}
case
MSG_SORT_CARD
:
case
MSG_SORT_CHAIN
:
{
case
MSG_SORT_CARD
:
{
player
=
BufferIO
::
ReadInt8
(
pbuf
);
count
=
BufferIO
::
ReadInt8
(
pbuf
);
pbuf
+=
count
*
7
;
...
...
gframe/single_mode.cpp
View file @
b34a6a0f
...
...
@@ -344,8 +344,7 @@ bool SingleMode::SinglePlayAnalyze(char* msg, unsigned int len) {
}
break
;
}
case
MSG_SORT_CARD
:
case
MSG_SORT_CHAIN
:
{
case
MSG_SORT_CARD
:
{
player
=
BufferIO
::
ReadInt8
(
pbuf
);
count
=
BufferIO
::
ReadInt8
(
pbuf
);
pbuf
+=
count
*
7
;
...
...
gframe/tag_duel.cpp
View file @
b34a6a0f
...
...
@@ -742,8 +742,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
NetServer
::
SendBufferToPlayer
(
cur_player
[
player
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
return
1
;
}
case
MSG_SORT_CARD
:
case
MSG_SORT_CHAIN
:
{
case
MSG_SORT_CARD
:
{
player
=
BufferIO
::
ReadInt8
(
pbuf
);
count
=
BufferIO
::
ReadInt8
(
pbuf
);
pbuf
+=
count
*
7
;
...
...
ocgcore
@
91b8bc4c
Subproject commit
048acc22717689614b42ca099af21cebbec3cba3
Subproject commit
91b8bc4cf5e96a2e57fa43aa55f1377d8a3e3a64
script
@
b820812a
Subproject commit
2e432b04d6ba6d6ba5d1e2e1d85398e1838b1a32
Subproject commit
b820812a1ffb14eeb0022b2336c0c8c93d856d5c
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