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
REIKAI
ygopro
Commits
da874074
Commit
da874074
authored
Jun 13, 2017
by
edo9300
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/Fluorohydride/master'
parents
ecb3f4a5
5e3a9b26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/data_manager.cpp
gframe/data_manager.cpp
+1
-1
gframe/event_handler.cpp
gframe/event_handler.cpp
+1
-2
gframe/menu_handler.cpp
gframe/menu_handler.cpp
+1
-0
No files found.
gframe/data_manager.cpp
View file @
da874074
...
@@ -292,7 +292,7 @@ const wchar_t* DataManager::FormatSetName(unsigned long long setcode) {
...
@@ -292,7 +292,7 @@ const wchar_t* DataManager::FormatSetName(unsigned long long setcode) {
for
(
int
i
=
0
;
i
<
4
;
++
i
)
{
for
(
int
i
=
0
;
i
<
4
;
++
i
)
{
const
wchar_t
*
setname
=
GetSetName
((
setcode
>>
i
*
16
)
&
0xffff
);
const
wchar_t
*
setname
=
GetSetName
((
setcode
>>
i
*
16
)
&
0xffff
);
if
(
setname
)
{
if
(
setname
)
{
BufferIO
::
CopyWStrRef
(
setname
,
p
,
16
);
BufferIO
::
CopyWStrRef
(
setname
,
p
,
32
);
*
p
=
L'|'
;
*
p
=
L'|'
;
*++
p
=
0
;
*++
p
=
0
;
}
}
...
...
gframe/event_handler.cpp
View file @
da874074
...
@@ -130,8 +130,6 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -130,8 +130,6 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
mainGame
->
ShowElement
(
mainGame
->
wLanWindow
);
mainGame
->
ShowElement
(
mainGame
->
wLanWindow
);
}
else
{
}
else
{
DuelClient
::
SendPacketToServer
(
CTOS_SURRENDER
);
DuelClient
::
SendPacketToServer
(
CTOS_SURRENDER
);
if
(
panel
)
mainGame
->
HideElement
(
panel
);
}
}
break
;
break
;
}
}
...
@@ -734,6 +732,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -734,6 +732,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
while
(
spsummonable_cards
[
index
]
!=
command_card
)
index
++
;
while
(
spsummonable_cards
[
index
]
!=
command_card
)
index
++
;
DuelClient
::
SetResponseI
((
index
<<
16
)
+
1
);
DuelClient
::
SetResponseI
((
index
<<
16
)
+
1
);
mainGame
->
HideElement
(
mainGame
->
wCardSelect
,
true
);
mainGame
->
HideElement
(
mainGame
->
wCardSelect
,
true
);
ShowCancelOrFinishButton
(
0
);
break
;
break
;
}
}
if
(
list_command
==
COMMAND_ACTIVATE
||
list_command
==
COMMAND_OPERATION
)
{
if
(
list_command
==
COMMAND_ACTIVATE
||
list_command
==
COMMAND_OPERATION
)
{
...
...
gframe/menu_handler.cpp
View file @
da874074
...
@@ -122,6 +122,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
...
@@ -122,6 +122,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
break
;
break
;
}
}
case
BUTTON_HP_DUELIST
:
{
case
BUTTON_HP_DUELIST
:
{
mainGame
->
cbDeckSelect
->
setEnabled
(
true
);
DuelClient
::
SendPacketToServer
(
CTOS_HS_TODUELIST
);
DuelClient
::
SendPacketToServer
(
CTOS_HS_TODUELIST
);
break
;
break
;
}
}
...
...
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