Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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
fallenstardust
YGOMobile-Cn-Ko-En
Commits
03a89915
Commit
03a89915
authored
May 04, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong merged code
parent
71e2810d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
Classes/gframe/deck_con.h
Classes/gframe/deck_con.h
+1
-1
Classes/gframe/deck_manager.h
Classes/gframe/deck_manager.h
+1
-1
Classes/gframe/duelclient.cpp
Classes/gframe/duelclient.cpp
+1
-1
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+3
-2
No files found.
Classes/gframe/deck_con.h
View file @
03a89915
...
...
@@ -26,7 +26,7 @@ public:
void
ClearSearch
();
void
SortList
();
void
RefreshDeckList
(
bool
showPack
);
\
\
void
RefreshDeckList
(
bool
showPack
);
//
void
RefreshReadonly
(
int
catesel
);
void
RefreshPackListScroll
();
void
ChangeCategory
(
int
catesel
);
...
...
Classes/gframe/deck_manager.h
View file @
03a89915
...
...
@@ -45,7 +45,7 @@ public:
int
CheckDeck
(
Deck
&
deck
,
int
lfhash
,
int
rule
);
int
LoadDeck
(
Deck
&
deck
,
int
*
dbuf
,
int
mainc
,
int
sidec
,
bool
is_packlist
=
false
);
bool
LoadSide
(
Deck
&
deck
,
int
*
dbuf
,
int
mainc
,
int
sidec
);
void
GetCategoryPath
(
wchar_t
*
ret
,
int
index
,
const
wchar_t
*
text
,
bool
showPack
);
\
\
void
GetCategoryPath
(
wchar_t
*
ret
,
int
index
,
const
wchar_t
*
text
,
bool
showPack
);
//
void
GetDeckFile
(
wchar_t
*
ret
,
irr
::
gui
::
IGUIComboBox
*
cbCategory
,
irr
::
gui
::
IGUIComboBox
*
cbDeck
);
bool
LoadDeck
(
irr
::
gui
::
IGUIComboBox
*
cbCategory
,
irr
::
gui
::
IGUIComboBox
*
cbDeck
);
FILE
*
OpenDeckFile
(
const
wchar_t
*
file
,
const
char
*
mode
);
...
...
Classes/gframe/duelclient.cpp
View file @
03a89915
...
...
@@ -1863,7 +1863,7 @@ int DuelClient::ClientAnalyze(unsigned char* msg, unsigned int len) {
SetResponseI
(
positions
);
return
true
;
}
int
count
=
0
,
filter
=
0x1
,
startpos
;
int
count
=
0
,
filter
=
0x1
,
startpos
=
30
;
while
(
filter
!=
0x10
)
{
if
(
positions
&
filter
)
count
++
;
filter
<<=
1
;
...
...
Classes/gframe/game.cpp
View file @
03a89915
...
...
@@ -2122,8 +2122,9 @@ void Game::CloseDuelWindow() {
ClearTextures
();
closeDoneSignal
.
Set
();
}
int
Game
::
LocalPlayer
(
int
player
)
{
return
dInfo
.
isFirst
?
player
:
1
-
player
;
int
Game
::
LocalPlayer
(
int
player
)
const
{
int
pid
=
player
?
1
:
0
;
return
dInfo
.
isFirst
?
pid
:
1
-
pid
;
}
const
wchar_t
*
Game
::
LocalName
(
int
local_player
)
{
return
local_player
==
0
?
dInfo
.
hostname
:
dInfo
.
clientname
;
...
...
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