Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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-Cn-Ko-En
Commits
912fae3a
Commit
912fae3a
authored
Jan 13, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/fallenstardust/YGOMobile-cn-ko-en
parents
fee6c2b7
15e892a1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
Classes/gframe/drawing.cpp
Classes/gframe/drawing.cpp
+1
-1
Classes/gframe/duelclient.cpp
Classes/gframe/duelclient.cpp
+9
-0
mobile/build.gradle
mobile/build.gradle
+2
-2
mobile/src/main/AndroidManifest.xml
mobile/src/main/AndroidManifest.xml
+1
-1
mobile/src/main/res/xml/network_security_config.xml
mobile/src/main/res/xml/network_security_config.xml
+0
-7
No files found.
Classes/gframe/drawing.cpp
View file @
912fae3a
...
@@ -524,7 +524,7 @@ void Game::DrawMisc() {
...
@@ -524,7 +524,7 @@ void Game::DrawMisc() {
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
(
390
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
625
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
(
390
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
625
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
else
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
(
390
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
(
390
+
235
*
dInfo
.
lp
[
0
]
/
8000
)
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
else
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
(
390
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
(
390
+
235
*
dInfo
.
lp
[
0
]
/
8000
)
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
if
(
dInfo
.
lp
[
1
]
>=
8000
)
if
(
dInfo
.
lp
[
1
]
>=
8000
)
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
(
69
6
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
930
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
(
69
5
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
930
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
else
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
((
930
-
235
*
dInfo
.
lp
[
1
]
/
8000
)
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
930
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
else
driver
->
draw2DImage
(
imageManager
.
tLPBar
,
recti
((
930
-
235
*
dInfo
.
lp
[
1
]
/
8000
)
*
mainGame
->
xScale
,
12
*
mainGame
->
yScale
,
930
*
mainGame
->
xScale
,
74
*
mainGame
->
yScale
),
recti
(
0
,
0
,
60
,
60
),
0
,
0
,
true
);
if
(
lpframe
)
{
if
(
lpframe
)
{
dInfo
.
lp
[
lpplayer
]
-=
lpd
;
dInfo
.
lp
[
lpplayer
]
-=
lpd
;
...
...
Classes/gframe/duelclient.cpp
View file @
912fae3a
...
@@ -2859,6 +2859,15 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -2859,6 +2859,15 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
dField
.
FadeCard
(
pcard
,
255
,
5
);
mainGame
->
dField
.
FadeCard
(
pcard
,
255
,
5
);
mainGame
->
WaitFrameSignal
(
5
);
mainGame
->
WaitFrameSignal
(
5
);
}
}
}
else
if
(
pcard
->
location
&
0x30
)
{
float
shift
=
-
0.15
f
;
if
(
c
==
1
)
shift
=
0.15
f
;
pcard
->
dPos
=
irr
::
core
::
vector3df
(
shift
,
0
,
0
);
pcard
->
dRot
=
irr
::
core
::
vector3df
(
0
,
0
,
0
);
pcard
->
is_moving
=
true
;
pcard
->
aniFrame
=
5
;
mainGame
->
WaitFrameSignal
(
30
);
mainGame
->
dField
.
MoveCard
(
pcard
,
5
);
}
else
}
else
mainGame
->
WaitFrameSignal
(
30
);
mainGame
->
WaitFrameSignal
(
30
);
myswprintf
(
textBuffer
,
dataManager
.
GetSysString
(
1610
),
dataManager
.
GetName
(
pcard
->
code
),
dataManager
.
FormatLocation
(
l
,
s
),
s
+
1
);
myswprintf
(
textBuffer
,
dataManager
.
GetSysString
(
1610
),
dataManager
.
GetName
(
pcard
->
code
),
dataManager
.
FormatLocation
(
l
,
s
),
s
+
1
);
...
...
mobile/build.gradle
View file @
912fae3a
...
@@ -8,7 +8,7 @@ android {
...
@@ -8,7 +8,7 @@ android {
applicationId
"cn.garymb.ygomobile"
applicationId
"cn.garymb.ygomobile"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
28
targetSdkVersion
28
versionCode
33120010
4
versionCode
33120010
8
versionName
"3.3.12"
versionName
"3.3.12"
flavorDimensions
"versionCode"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
...
@@ -101,7 +101,7 @@ dependencies {
...
@@ -101,7 +101,7 @@ dependencies {
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
//
//
implementation
(
name:
'paysdk-release-1.2.4'
,
ext:
'aar'
)
implementation
(
name:
'paysdk-release-1.2.4'
,
ext:
'aar'
)
implementation
'com.pgyersdk:sdk:3.0.
2
'
implementation
'com.pgyersdk:sdk:3.0.
3
'
}
}
mobile/src/main/AndroidManifest.xml
View file @
912fae3a
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
android:largeHeap=
"true"
android:largeHeap=
"true"
android:supportsRtl=
"false"
android:supportsRtl=
"false"
android:theme=
"@style/AppTheme"
android:theme=
"@style/AppTheme"
android:networkSecurityConfig=
"@xml/network_security_config"
tools:replace=
"android:allowBackup,android:supportsRtl"
>
tools:replace=
"android:allowBackup,android:supportsRtl"
>
<activity
<activity
android:name=
"cn.garymb.ygomobile.ui.activities.LogoActivity"
android:name=
"cn.garymb.ygomobile.ui.activities.LogoActivity"
...
...
mobile/src/main/res/xml/network_security_config.xml
deleted
100644 → 0
View file @
fee6c2b7
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config
cleartextTrafficPermitted=
"true"
>
<domain
includeSubdomains=
"true"
>
www.pgyer.com
</domain>
<domain
includeSubdomains=
"true"
>
app-global.pgyer.com
</domain>
</domain-config>
</network-security-config>
\ No newline at end of file
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