Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
Commits
7330ba83
Commit
7330ba83
authored
Apr 22, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drag 宣言卡名与卡牌选择列表
可在准备界面刷新黑块
parent
824588e0
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
193 additions
and
10 deletions
+193
-10
Classes/gframe/client_field.cpp
Classes/gframe/client_field.cpp
+6
-2
Classes/gframe/client_field.h
Classes/gframe/client_field.h
+7
-3
Classes/gframe/event_handler.cpp
Classes/gframe/event_handler.cpp
+179
-4
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+1
-1
No files found.
Classes/gframe/client_field.cpp
View file @
7330ba83
...
...
@@ -15,13 +15,17 @@ ClientField::ClientField() {
//drag cardtext and lists
is_dragging_cardtext
=
false
;
is_dragging_lstLog
=
false
;
is_dragging_tabHelper
=
false
;
is_dragging_tabSystem
=
false
;
is_dragging_lstReplayList
=
false
;
is_dragging_lstSinglePlayList
=
false
;
is_dragging_lstBotList
=
false
;
is_dragging_lstDecks
=
false
;
is_dragging_lstANCard
=
false
;
is_dragging_CardSelect
=
false
;
is_dragging_CardDisplay
=
false
;
is_dragging_tabHelper
=
false
;
is_dragging_tabSystem
=
false
;
dragging_tab_start_pos
=
0
;
dragging_tab_start_x
=
0
;
dragging_tab_start_y
=
0
;
hovered_card
=
0
;
...
...
Classes/gframe/client_field.h
View file @
7330ba83
...
...
@@ -120,13 +120,17 @@ public:
irr
::
gui
::
IGUIElement
*
panel
;
bool
is_dragging_cardtext
;
bool
is_dragging_lstLog
;
bool
is_dragging_tabHelper
;
bool
is_dragging_tabSystem
;
bool
is_dragging_lstReplayList
;
bool
is_dragging_lstSinglePlayList
;
bool
is_dragging_lstBotList
;
bool
is_dragging_lstDecks
;
int
dragging_tab_start_pos
;
bool
is_dragging_lstANCard
;
bool
is_dragging_CardSelect
;
bool
is_dragging_CardDisplay
;
bool
is_dragging_tabHelper
;
bool
is_dragging_tabSystem
;
int
dragging_tab_start_pos
;
int
dragging_tab_start_x
;
int
dragging_tab_start_y
;
std
::
vector
<
int
>
ancard
;
int
hovered_controler
;
...
...
Classes/gframe/event_handler.cpp
View file @
7330ba83
This diff is collapsed.
Click to expand it.
Classes/gframe/game.cpp
View file @
7330ba83
...
...
@@ -893,7 +893,7 @@ bool Game::Initialize() {
chkBotHand
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
360
*
xScale
,
140
*
yScale
,
560
*
xScale
,
170
*
yScale
),
tabBot
,
-
1
,
dataManager
.
GetSysString
(
1384
));
chkBotNoCheckDeck
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
360
*
xScale
,
180
*
yScale
,
560
*
xScale
,
210
*
yScale
),
tabBot
,
-
1
,
dataManager
.
GetSysString
(
1229
));
chkBotNoShuffleDeck
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
360
*
xScale
,
220
*
yScale
,
560
*
xScale
,
250
*
yScale
),
tabBot
,
-
1
,
dataManager
.
GetSysString
(
1230
));
}
else
{
// avoid null
pointer
}
else
{
// avoid null
object reference
btnStartBot
=
env
->
addButton
(
rect
<
s32
>
(
0
,
0
,
0
,
0
),
wSinglePlay
);
btnBotCancel
=
env
->
addButton
(
rect
<
s32
>
(
0
,
0
,
0
,
0
),
wSinglePlay
);
btnStartBot
->
setVisible
(
false
);
...
...
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