Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
nanahira
ygopro2
Commits
1e33917e
Commit
1e33917e
authored
Mar 14, 2019
by
無名の凝泪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update library-release.aar(add libgdiplus) | Only Support Android 5.0+
parent
68b5410a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
96 deletions
+22
-96
AI_core_vs2017solution/build/android/jni/Application.mk
AI_core_vs2017solution/build/android/jni/Application.mk
+1
-1
Assets/Plugins/Android/library-release.aar
Assets/Plugins/Android/library-release.aar
+0
-0
Assets/Plugins/Android/libs.meta
Assets/Plugins/Android/libs.meta
+1
-1
Assets/Plugins/Android/libs/x86.meta
Assets/Plugins/Android/libs/x86.meta
+0
-9
Assets/Plugins/Android/libs/x86/libocgcore.so
Assets/Plugins/Android/libs/x86/libocgcore.so
+0
-0
Assets/Plugins/Android/libs/x86/libocgcore.so.meta
Assets/Plugins/Android/libs/x86/libocgcore.so.meta
+0
-34
Assets/Plugins/Android/libs/x86/libsqlite3.so
Assets/Plugins/Android/libs/x86/libsqlite3.so
+0
-0
Assets/Plugins/Android/libs/x86/libsqlite3.so.meta
Assets/Plugins/Android/libs/x86/libsqlite3.so.meta
+0
-34
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+15
-12
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+5
-5
No files found.
AI_core_vs2017solution/build/android/jni/Application.mk
View file @
1e33917e
#APP_BUILD_SCRIPT := Android.mk
APP_PLATFORM
:=
android-14
APP_ABI
:=
armeabi-v7a
x86
APP_ABI
:=
armeabi-v7a
APP_STL
:=
gnustl_static
APP_CPPFLAGS
:=
-Wno-error
=
format-security
-std
=
gnu++11
-fpermissive
-fexceptions
APP_OPTIM
:=
release
Assets/Plugins/Android/library-release.aar
View file @
1e33917e
No preview for this file type
Assets/Plugins/Android/libs.meta
View file @
1e33917e
fileFormatVersion: 2
guid: 4288e383ed17c8c4a93d8d3a1395dafd
folderAsset: yes
timeCreated: 15
26538476
timeCreated: 15
52532408
licenseType: Free
DefaultImporter:
userData:
...
...
Assets/Plugins/Android/libs/x86.meta
deleted
100644 → 0
View file @
68b5410a
fileFormatVersion: 2
guid: 450e0a9c89bf4a040b26f1fef13f5655
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/Android/libs/x86/libocgcore.so
deleted
100644 → 0
View file @
68b5410a
File deleted
Assets/Plugins/Android/libs/x86/libocgcore.so.meta
deleted
100644 → 0
View file @
68b5410a
fileFormatVersion: 2
guid: 53795d48a20b9524180c4bf4481385f1
timeCreated: 1526547438
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
Android: Android
second:
enabled: 1
settings:
CPU: x86
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/Android/libs/x86/libsqlite3.so
deleted
100644 → 0
View file @
68b5410a
File deleted
Assets/Plugins/Android/libs/x86/libsqlite3.so.meta
deleted
100644 → 0
View file @
68b5410a
fileFormatVersion: 2
guid: fa9cbdc3a67e5fd4baeb5d0dd3f4cf71
timeCreated: 1445131383
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
Android: Android
second:
enabled: 1
settings:
CPU: x86
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
1e33917e
...
...
@@ -258,7 +258,7 @@ public class GameTextureManager
if
(
File
.
Exists
(
"picture/closeup/"
+
pic
.
code
.
ToString
()
+
".png"
))
{
string
path
=
"picture/closeup/"
+
pic
.
code
.
ToString
()
+
".png"
;
#if UNITY_EDITOR || UNITY_STANDALONE_WIN
//编译器、Windows
#if UNITY_EDITOR || UNITY_STANDALONE_WIN
|| UNITY_ANDROID //编译器、Windows、Android
BitmapHelper
bitmap
=
new
BitmapHelper
(
path
);
int
left
;
int
right
;
...
...
@@ -290,10 +290,11 @@ public class GameTextureManager
caculateK
(
pic
);
/*
* 以上处理其他平台无法正常使用
* 以上处理iOS平台无法正常使用
* Android已成功编译 libgdiplus.so (https://github.com/Unicorn369/libgdiplus-Android.git)
* 暂时只能直接贴图,以后再处理
*/
#elif UNITY_
ANDROID || UNITY_IPHONE //Android、
iPhone
*
*
/
#elif UNITY_
IPHONE //
iPhone
byte
[]
data
;
using
(
FileStream
file
=
new
FileStream
(
path
,
FileMode
.
Open
,
FileAccess
.
Read
))
{
...
...
@@ -593,7 +594,7 @@ public class GameTextureManager
string
path
=
"picture/closeup/"
+
pic
.
code
.
ToString
()
+
".png"
;
if
(!
File
.
Exists
(
path
))
{
#if UNITY_EDITOR || UNITY_STANDALONE_WIN
//编译器、Windows
#if UNITY_EDITOR || UNITY_STANDALONE_WIN
|| UNITY_ANDROID //编译器、Windows、Android
path
=
"picture/card/"
+
pic
.
code
.
ToString
()
+
".png"
;
if
(!
File
.
Exists
(
path
))
{
...
...
@@ -629,10 +630,11 @@ public class GameTextureManager
//pic.autoMade = true;
/*
* 以上处理其他平台无法正常使用
* 以上处理iOS平台无法正常使用
* Android已成功编译libgdiplus.so (https://github.com/Unicorn369/libgdiplus-Android.git)
* 暂时只能直接贴图,以后再处理
*/
#elif UNITY_
ANDROID || UNITY_IPHONE //Android、
iPhone
*
*
/
#elif UNITY_
IPHONE //
iPhone
path
=
"picture/null.png"
;
byte
[]
data
;
...
...
@@ -647,7 +649,7 @@ public class GameTextureManager
}
else
{
#if UNITY_EDITOR || UNITY_STANDALONE_WIN
//编译器、Windows
#if UNITY_EDITOR || UNITY_STANDALONE_WIN
|| UNITY_ANDROID //编译器、Windows、Android
BitmapHelper
bitmap
=
new
BitmapHelper
(
path
);
int
left
;
int
right
;
...
...
@@ -701,10 +703,11 @@ public class GameTextureManager
caculateK
(
pic
);
/*
* 以上处理其他平台无法正常使用
* 以上处理iOS平台无法正常使用
* Android已成功编译libgdiplus.so (https://github.com/Unicorn369/libgdiplus-Android.git)
* 暂时只能直接贴图,以后再处理
*/
#elif UNITY_
ANDROID || UNITY_IPHONE //Android、
iPhone
*
*
/
#elif UNITY_
IPHONE //
iPhone
byte
[]
data
;
using
(
FileStream
file
=
new
FileStream
(
path
,
FileMode
.
Open
,
FileAccess
.
Read
))
{
...
...
ProjectSettings/ProjectSettings.asset
View file @
1e33917e
...
...
@@ -10,8 +10,8 @@ PlayerSettings:
targetDevice
:
2
useOnDemandResources
:
0
accelerometerFrequency
:
60
companyName
:
"
YGOPro2
\uFF08
Beta
\uFF09
"
productName
:
"
YGOPro2
\uFF08
Beta
\uFF09
"
companyName
:
YGOPro2 (Test)
productName
:
YGOPro2 (Test)
defaultCursor
:
{
fileID
:
0
}
cursorHotspot
:
{
x
:
0
,
y
:
0
}
m_SplashScreenBackgroundColor
:
{
r
:
0.13333334
,
g
:
0.17254902
,
b
:
0.21176471
,
a
:
1
}
...
...
@@ -123,7 +123,7 @@ PlayerSettings:
16:10:
1
16:9:
1
Others
:
1
bundleVersion
:
1.034.8
bundleVersion
:
1.034.8
(Test 2.0)
preloadedAssets
:
[]
metroInputSource
:
0
m_HolographicPauseOnTrackingLoss
:
1
...
...
@@ -149,7 +149,7 @@ PlayerSettings:
buildNumber
:
iOS
:
AndroidBundleVersionCode
:
2
AndroidMinSdkVersion
:
16
AndroidMinSdkVersion
:
21
AndroidTargetSdkVersion
:
0
AndroidPreferredInstallLocation
:
0
aotOptions
:
...
...
@@ -225,7 +225,7 @@ PlayerSettings:
iOSManualSigningProvisioningProfileID
:
tvOSManualSigningProvisioningProfileID
:
appleEnableAutomaticSigning
:
0
AndroidTargetDevice
:
0
AndroidTargetDevice
:
3
AndroidSplashScreenScale
:
0
androidSplashScreen
:
{
fileID
:
0
}
AndroidKeystoreName
:
ygopro.jks
...
...
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