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
18bec1e4
Commit
18bec1e4
authored
Jul 11, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改hint message 位置
parent
134e3223
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+1
-1
Classes/ocgcore/scriptlib.h
Classes/ocgcore/scriptlib.h
+2
-0
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
+3
-0
No files found.
Classes/gframe/game.cpp
View file @
18bec1e4
...
@@ -740,7 +740,7 @@ bool Game::Initialize() {
...
@@ -740,7 +740,7 @@ bool Game::Initialize() {
chkRace
[
i
]
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
((
10
+
(
i
%
4
)
*
90
)
*
xScale
,
(
25
+
(
i
/
4
)
*
25
)
*
yScale
,
(
100
+
(
i
%
4
)
*
90
)
*
xScale
,
(
50
+
(
i
/
4
)
*
25
)
*
yScale
),
chkRace
[
i
]
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
((
10
+
(
i
%
4
)
*
90
)
*
xScale
,
(
25
+
(
i
/
4
)
*
25
)
*
yScale
,
(
100
+
(
i
%
4
)
*
90
)
*
xScale
,
(
50
+
(
i
/
4
)
*
25
)
*
yScale
),
wANRace
,
CHECK_RACE
,
dataManager
.
FormatRace
(
filter
));
wANRace
,
CHECK_RACE
,
dataManager
.
FormatRace
(
filter
));
//selection hint
//selection hint
stHintMsg
=
env
->
addStaticText
(
L""
,
rect
<
s32
>
(
500
*
xScale
,
60
*
yScale
,
820
*
xScale
,
9
0
*
yScale
),
true
,
false
,
0
,
-
1
,
false
);
stHintMsg
=
env
->
addStaticText
(
L""
,
rect
<
s32
>
(
500
*
xScale
,
90
*
yScale
,
820
*
xScale
,
12
0
*
yScale
),
true
,
false
,
0
,
-
1
,
false
);
stHintMsg
->
setBackgroundColor
(
0x6011113d
);
stHintMsg
->
setBackgroundColor
(
0x6011113d
);
stHintMsg
->
setTextAlignment
(
irr
::
gui
::
EGUIA_CENTER
,
irr
::
gui
::
EGUIA_CENTER
);
stHintMsg
->
setTextAlignment
(
irr
::
gui
::
EGUIA_CENTER
,
irr
::
gui
::
EGUIA_CENTER
);
stHintMsg
->
setVisible
(
false
);
stHintMsg
->
setVisible
(
false
);
...
...
Classes/ocgcore/scriptlib.h
View file @
18bec1e4
...
@@ -207,6 +207,8 @@ public:
...
@@ -207,6 +207,8 @@ public:
static
int32
card_is_able_to_extra_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_extra_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_deck_or_extra_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_deck_or_extra_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_remove_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_remove_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_decrease_attack_as_cost
(
lua_State
*
L
);
static
int32
card_is_able_to_decrease_defense_as_cost
(
lua_State
*
L
);
static
int32
card_is_releasable
(
lua_State
*
L
);
static
int32
card_is_releasable
(
lua_State
*
L
);
static
int32
card_is_releasable_by_effect
(
lua_State
*
L
);
static
int32
card_is_releasable_by_effect
(
lua_State
*
L
);
static
int32
card_is_discardable
(
lua_State
*
L
);
static
int32
card_is_discardable
(
lua_State
*
L
);
...
...
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
View file @
18bec1e4
...
@@ -70,7 +70,10 @@ public interface Constants {
...
@@ -70,7 +70,10 @@ public interface Constants {
String
CORE_SCRIPTS_ZIP
=
"scripts.zip"
;
String
CORE_SCRIPTS_ZIP
=
"scripts.zip"
;
String
CORE_PICS_ZIP
=
"pics.zip"
;
String
CORE_PICS_ZIP
=
"pics.zip"
;
String
CORE_SKIN_COVER
=
"cover.jpg"
;
String
CORE_SKIN_COVER
=
"cover.jpg"
;
String
CORE_SKIN_COVER2
=
"cover2.jpg"
;
String
CORE_SKIN_BG
=
"bg.jpg"
;
String
CORE_SKIN_BG
=
"bg.jpg"
;
String
CORE_SKIN_AVATAR_ME
=
"me.jpg"
;
String
CORE_SKIN_AVATAR_OPPONENT
=
"me.jpg"
;
String
UNKNOWN_IMAGE
=
"unknown.jpg"
;
String
UNKNOWN_IMAGE
=
"unknown.jpg"
;
String
YDK_FILE_EX
=
".ydk"
;
String
YDK_FILE_EX
=
".ydk"
;
int
[]
CORE_SKIN_BG_SIZE
=
new
int
[]{
1280
,
720
};
int
[]
CORE_SKIN_BG_SIZE
=
new
int
[]{
1280
,
720
};
...
...
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