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
3248b146
Commit
3248b146
authored
Aug 21, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Plain Diff
修正数字关键词冲突
parents
45e9ba05
88e0f8c9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
16 deletions
+13
-16
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+4
-4
mobile/assets/changelog.html
mobile/assets/changelog.html
+3
-6
mobile/assets_en/data/conf/strings.conf
mobile/assets_en/data/conf/strings.conf
+4
-4
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
.../main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
+1
-1
No files found.
Classes/gframe/game.cpp
View file @
3248b146
...
@@ -688,18 +688,18 @@ bool Game::Initialize() {
...
@@ -688,18 +688,18 @@ bool Game::Initialize() {
//dont merge
//dont merge
btnANCardOK
=
env
->
addButton
(
rect
<
s32
>
(
140
*
xScale
,
260
*
yScale
,
270
*
xScale
,
295
*
yScale
),
wANCard
,
BUTTON_ANCARD_OK
,
dataManager
.
GetSysString
(
1211
));
btnANCardOK
=
env
->
addButton
(
rect
<
s32
>
(
140
*
xScale
,
260
*
yScale
,
270
*
xScale
,
295
*
yScale
),
wANCard
,
BUTTON_ANCARD_OK
,
dataManager
.
GetSysString
(
1211
));
//announce attribute
//announce attribute
wANAttribute
=
env
->
addWindow
(
rect
<
s32
>
(
500
*
xScale
,
200
*
yScale
,
830
*
xScale
,
295
*
yScale
),
false
,
dataManager
.
GetSysString
(
562
));
wANAttribute
=
env
->
addWindow
(
rect
<
s32
>
(
500
*
xScale
,
200
*
yScale
,
750
*
xScale
,
380
*
yScale
),
false
,
dataManager
.
GetSysString
(
562
));
wANAttribute
->
getCloseButton
()
->
setVisible
(
false
);
wANAttribute
->
getCloseButton
()
->
setVisible
(
false
);
wANAttribute
->
setVisible
(
false
);
wANAttribute
->
setVisible
(
false
);
for
(
int
filter
=
0x1
,
i
=
0
;
i
<
7
;
filter
<<=
1
,
++
i
)
for
(
int
filter
=
0x1
,
i
=
0
;
i
<
7
;
filter
<<=
1
,
++
i
)
chkAttribute
[
i
]
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
((
10
+
(
i
%
4
)
*
80
)
*
xScale
,
(
25
+
(
i
/
4
)
*
25
)
*
yScale
,
(
90
+
(
i
%
4
)
*
80
)
*
xScale
,
(
50
+
(
i
/
4
)
*
2
5
)
*
yScale
),
chkAttribute
[
i
]
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
((
10
+
(
i
%
4
)
*
80
)
*
xScale
,
(
50
+
(
i
/
4
)
*
55
)
*
yScale
,
(
90
+
(
i
%
4
)
*
80
)
*
xScale
,
(
75
+
(
i
/
4
)
*
5
5
)
*
yScale
),
wANAttribute
,
CHECK_ATTRIBUTE
,
dataManager
.
FormatAttribute
(
filter
));
wANAttribute
,
CHECK_ATTRIBUTE
,
dataManager
.
FormatAttribute
(
filter
));
//announce race
//announce race
wANRace
=
env
->
addWindow
(
rect
<
s32
>
(
480
*
xScale
,
200
*
yScale
,
850
*
xScale
,
4
30
*
yScale
),
false
,
dataManager
.
GetSysString
(
563
));
wANRace
=
env
->
addWindow
(
rect
<
s32
>
(
480
*
xScale
,
100
*
yScale
,
850
*
xScale
,
5
30
*
yScale
),
false
,
dataManager
.
GetSysString
(
563
));
wANRace
->
getCloseButton
()
->
setVisible
(
false
);
wANRace
->
getCloseButton
()
->
setVisible
(
false
);
wANRace
->
setVisible
(
false
);
wANRace
->
setVisible
(
false
);
for
(
int
filter
=
0x1
,
i
=
0
;
i
<
25
;
filter
<<=
1
,
++
i
)
for
(
int
filter
=
0x1
,
i
=
0
;
i
<
25
;
filter
<<=
1
,
++
i
)
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
)
*
2
5
)
*
yScale
),
chkRace
[
i
]
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
((
10
+
(
i
%
4
)
*
90
)
*
xScale
,
(
50
+
(
i
/
4
)
*
55
)
*
yScale
,
(
100
+
(
i
%
4
)
*
90
)
*
xScale
,
(
75
+
(
i
/
4
)
*
5
5
)
*
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
,
90
*
yScale
,
820
*
xScale
,
120
*
yScale
),
true
,
false
,
0
,
-
1
,
false
);
stHintMsg
=
env
->
addStaticText
(
L""
,
rect
<
s32
>
(
500
*
xScale
,
90
*
yScale
,
820
*
xScale
,
120
*
yScale
),
true
,
false
,
0
,
-
1
,
false
);
...
...
mobile/assets/changelog.html
View file @
3248b146
...
@@ -17,17 +17,14 @@
...
@@ -17,17 +17,14 @@
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
</pre>
</pre>
<ul>
<ul>
<li
style=
"color:#ffff00"
>
3.3.
4
</li>
<li
style=
"color:#ffff00"
>
3.3.
5
</li>
</ul>
</ul>
<pre>
<pre>
更新:
更新:
1.更新ygo内核;
1.更新ygo内核;
4.新卡
T1005+DBHS+S
J;
4.新卡
SHVA+V
J;
优化:
优化:
1.卡密搜索可以搜到它规则上的同名卡和异画卡;
1.卡密搜索与关键词数字搜索冲突的问题;
2.筛选效果怪兽分类不显示其他种类;
3.调整部分UI适应新机型屏幕;
4.移除失效服务器;
</pre>
</pre>
</body>
</body>
</html>
</html>
\ No newline at end of file
mobile/assets_en/data/conf/strings.conf
View file @
3248b146
...
@@ -243,8 +243,8 @@
...
@@ -243,8 +243,8 @@
!
system
1164
Synchro
Summon
!
system
1164
Synchro
Summon
!
system
1165
Xyz
Summon
!
system
1165
Xyz
Summon
!
system
1166
Link
Summon
!
system
1166
Link
Summon
!
system
1190
Add
to
H
and
!
system
1190
Add
to
h
and
!
system
1191
Send
to
G
raveyard
!
system
1191
Send
to
G
Y
!
system
1192
Banish
!
system
1192
Banish
#menu
#menu
!
system
1200
LAN
Mode
!
system
1200
LAN
Mode
...
@@ -892,8 +892,8 @@
...
@@ -892,8 +892,8 @@
!
setname
0
x114
Fur
Hire
!
setname
0
x114
Fur
Hire
!
setname
0
x115
Sky
Striker
!
setname
0
x115
Sky
Striker
!
setname
0
x1115
Sky
Striker
Ace
!
setname
0
x1115
Sky
Striker
Ace
!
setname
0
x116
Palladion
!
setname
0
x116
Crusadia
!
setname
0
x117
Deviritual
!
setname
0
x117
Impcantation
!
setname
0
x118
Cynet
!
setname
0
x118
Cynet
!
setname
0
x119
Salamangreat
!
setname
0
x119
Salamangreat
!
setname
0
x11a
Dinowrestler
!
setname
0
x11a
Dinowrestler
...
...
mobile/build.gradle
View file @
3248b146
...
@@ -8,7 +8,7 @@ android {
...
@@ -8,7 +8,7 @@ android {
applicationId
"cn.garymb.ygomobile"
applicationId
"cn.garymb.ygomobile"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
22
targetSdkVersion
22
versionCode
3304081
7
versionCode
3304081
8
versionName
"3.3.4"
versionName
"3.3.4"
flavorDimensions
"versionCode"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
...
...
mobile/src/main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
View file @
3248b146
...
@@ -31,7 +31,7 @@ class CardSearchInfo {
...
@@ -31,7 +31,7 @@ class CardSearchInfo {
return
false
;
return
false
;
}
}
if
(!
TextUtils
.
isEmpty
(
word
))
{
if
(!
TextUtils
.
isEmpty
(
word
))
{
if
(
TextUtils
.
isDigitsOnly
(
word
))
{
if
(
TextUtils
.
isDigitsOnly
(
word
)
&&
word
.
length
()
>=
5
)
{
//code
//code
long
code
=
Long
.
parseLong
(
word
);
long
code
=
Long
.
parseLong
(
word
);
return
card
.
Code
==
code
||
card
.
Alias
==
code
;
return
card
.
Code
==
code
||
card
.
Alias
==
code
;
...
...
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