Skip to content
Permalink
Browse files

OUYA version

  • Loading branch information...
c99koder committed Oct 20, 2014
1 parent 0cb5485 commit 472ce10977bbb5cb925d2554240ee881bc3882d1
BIN +6 KB ouya/.DS_Store
Binary file not shown.
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>DCSquares-OUYA</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.c99.dcsquares"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14"/>

<application
android:icon="@drawable/icon" android:name="DCSquaresApplication" android:allowBackup="false"
android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:hardwareAccelerated="true">
<activity
android:label="@string/app_name"
android:name=".TitleScreenActivity" android:screenOrientation="landscape" android:immersive="true">
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
<activity
android:label="@string/app_name"
android:name=".GameActivity" android:screenOrientation="landscape" android:immersive="true">
<intent-filter >
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
</application>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,40 @@
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService

-keepclasseswithmembernames class * {
native <methods>;
}

-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
@@ -0,0 +1,11 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.

# Project target.
target=android-16
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ccc"
android:orientation="horizontal" android:weightSum="100">

<android.opengl.GLSurfaceView
android:id="@+id/squaresView"
android:layout_marginTop="32dip"
android:layout_marginBottom="32dip"
android:layout_marginLeft="40dip"
android:layout_marginRight="10dip"
android:layout_height="match_parent"
android:layout_weight="100" android:layout_width="wrap_content"/>

<LinearLayout
android:layout_width="100dp"
android:layout_height="wrap_content"
android:orientation="vertical" android:layout_marginRight="40dp" android:layout_marginTop="32dp">

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="46dp"
android:orientation="vertical" android:background="@drawable/stat_bg" android:layout_marginBottom="10dp">

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Score" android:gravity="center_horizontal"/>

<TextView
android:id="@+id/scoreLabel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="0" android:gravity="center"/>

</LinearLayout>

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="46dp"
android:orientation="vertical" android:background="@drawable/stat_bg" android:layout_marginBottom="10dp">

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Squares" android:gravity="center_horizontal"/>

<TextView
android:id="@+id/squaresLabel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="0" android:gravity="center"/>

</LinearLayout>

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="46dp"
android:orientation="vertical" android:background="@drawable/stat_bg" android:layout_marginBottom="10dp">

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Combo" android:gravity="center_horizontal"/>

<TextView
android:id="@+id/comboLabel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="0" android:gravity="center"/>

</LinearLayout>

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="46dp"
android:orientation="vertical" android:background="@drawable/stat_bg" android:layout_marginBottom="10dp">

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Time" android:gravity="center_horizontal"/>

<TextView
android:id="@+id/timeLabel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="0" android:gravity="center"/>

</LinearLayout>

</LinearLayout>

</LinearLayout>
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ccc"
android:orientation="vertical" >

<android.opengl.GLSurfaceView
android:id="@+id/squaresView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="32dip"
android:layout_marginBottom="32dip"
android:layout_marginLeft="40dip"
android:layout_marginRight="40dip"
/>

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/squaresView"
android:layout_centerHorizontal="true"
android:layout_marginTop="72dp"
android:src="@drawable/logo" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/squaresView"
android:layout_centerHorizontal="true"
android:layout_marginBottom="180dp"
android:textSize="20sp"
android:text="Press O to Start"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/squaresView"
android:layout_alignLeft="@+id/squaresView"
android:textSize="20sp"
android:text="Version 1.0-OUYA" android:layout_marginLeft="6dp"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/squaresView"
android:layout_alignRight="@+id/squaresView"
android:textSize="20sp"
android:text="© 2001-2013 Sam Steele" android:layout_marginRight="6dp"/>

</RelativeLayout>
Binary file not shown.
BIN +1.38 MB ouya/res/raw/game.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DCSquares</string>
</resources>

0 comments on commit 472ce10

Please sign in to comment.
You can’t perform that action at this time.