Skip to content

Commit 648e85c

Browse files
author
Chris Cornell
committed
Zooshi - First commit!
Not much of a game yet. Just an animated texture with music. But should be a good starting point - contains texture/shader loading, rendering, input, and sound. Change-Id: I0fdf6e21a6f2cdae6f8acfa928201f2005f46da1
1 parent 157873e commit 648e85c

File tree

112 files changed

+19178
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+19178
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Git ignore file for zooshi:
2+
3+
CMakeFiles/*
4+
CMakeLists.txt.user
5+
6+
7+
8+
# Unit test executables:
9+
tests/sample_test

AndroidManifest.xml

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright 2014 Google Inc. All rights reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<!-- BEGIN_INCLUDE(manifest) -->
17+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18+
package="com.google.fpl.pie_noon"
19+
android:versionCode="4"
20+
android:versionName="1.0">
21+
22+
<!-- This .apk has no Java code itself, so set hasCode to false. -->
23+
<application android:label="@string/app_name"
24+
android:icon="@drawable/ic_launcher"
25+
android:banner="@drawable/tv_banner"
26+
android:allowBackup="true"
27+
android:isGame="true"
28+
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
29+
<activity android:name="FPLActivity"
30+
android:label="@string/app_name"
31+
android:screenOrientation="landscape"
32+
android:configChanges="orientation|keyboardHidden|screenSize">
33+
<!-- Tell NativeActivity the name of the .so -->
34+
<meta-data android:name="android.app.lib_name"
35+
android:value="pie_noon" />
36+
<intent-filter>
37+
<action android:name="android.intent.action.MAIN" />
38+
<category android:name="android.intent.category.LAUNCHER" />
39+
<category android:name="com.google.intent.category.CARDBOARD" />
40+
</intent-filter>
41+
</activity>
42+
<activity android:name="FPLTvActivity"
43+
android:label="@string/app_name"
44+
android:screenOrientation="landscape"
45+
android:configChanges="orientation|keyboardHidden|screenSize">
46+
<intent-filter>
47+
<action android:name="android.intent.action.MAIN" />
48+
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
49+
</intent-filter>
50+
</activity>
51+
<meta-data android:name="com.google.android.gms.games.APP_ID"
52+
android:value="@string/app_id" />
53+
<meta-data android:name="com.google.android.gms.version"
54+
android:value="@integer/google_play_services_version"/>
55+
</application>
56+
57+
<!-- Minimum for SDL -->
58+
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="21" />
59+
60+
<!-- OpenGL ES 2.0 -->
61+
<uses-feature android:glEsVersion="0x00020000" />
62+
63+
<!-- Allow writing to external storage -->
64+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
65+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
66+
67+
<!-- Allow accessing the internet to load external pages -->
68+
<uses-permission android:name="android.permission.INTERNET" />
69+
70+
<!-- Allow access to the NFC reader for Cardboard to use -->
71+
<uses-permission android:name="android.permission.NFC" />
72+
73+
<!-- Optionally uses gamepad -->
74+
<uses-feature android:name="android.hardware.gamepad" android:required="false"/>
75+
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
76+
77+
</manifest>
78+
<!-- END_INCLUDE(manifest) -->

0 commit comments

Comments
 (0)