Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
44e0e756
Commit
44e0e756
authored
Sep 12, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
parent
fdbfe90e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
gframe/event_handler.cpp
gframe/event_handler.cpp
+4
-6
script
script
+1
-1
No files found.
gframe/event_handler.cpp
View file @
44e0e756
...
@@ -1630,7 +1630,9 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -1630,7 +1630,9 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
irr
::
core
::
dimension2d
<
unsigned
int
>
dtip
=
mainGame
->
textFont
->
getDimension
(
formatBuffer
)
+
irr
::
core
::
dimension2d
<
unsigned
int
>
(
10
,
10
);
irr
::
core
::
dimension2d
<
unsigned
int
>
dtip
=
mainGame
->
textFont
->
getDimension
(
formatBuffer
)
+
irr
::
core
::
dimension2d
<
unsigned
int
>
(
10
,
10
);
mainGame
->
stTip
->
setRelativePosition
(
recti
(
x
-
10
-
dtip
.
Width
,
y
-
10
-
dtip
.
Height
,
x
-
10
,
y
-
10
));
mainGame
->
stTip
->
setRelativePosition
(
recti
(
x
-
10
-
dtip
.
Width
,
y
-
10
-
dtip
.
Height
,
x
-
10
,
y
-
10
));
}
}
}
else
{
mainGame
->
stTip
->
setVisible
(
should_show_tip
);
break
;
}
hovered_location
=
0
;
hovered_location
=
0
;
ClientCard
*
mcard
=
0
;
ClientCard
*
mcard
=
0
;
int
mplayer
=
-
1
;
int
mplayer
=
-
1
;
...
@@ -1804,11 +1806,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -1804,11 +1806,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
}
}
hovered_player
=
mplayer
;
hovered_player
=
mplayer
;
}
}
}
mainGame
->
stTip
->
setVisible
(
should_show_tip
);
if
(
should_show_tip
)
mainGame
->
stTip
->
setVisible
(
true
);
else
mainGame
->
stTip
->
setVisible
(
false
);
break
;
break
;
}
}
case
irr
:
:
EMIE_MOUSE_WHEEL
:
{
case
irr
:
:
EMIE_MOUSE_WHEEL
:
{
...
...
script
@
69d9a324
Subproject commit
87063a011d7bc19e6535347d5c9f0956d5f0e25a
Subproject commit
69d9a3241eb9841fb3433e45d2c43cf13d5f9412
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