Skip to content

Commit

Permalink
Set target back to 1.6, Android things.
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Hoover <[email protected]>
  • Loading branch information
Ken Hoover committed Jul 2, 2013
1 parent 29d194f commit 7f46690
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion rop-game-android/.classpath
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/rop-game"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/rop-game"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="lib" path="/rop-game/libs/gdx.jar" sourcepath="/rop-game/libs/gdx-sources.jar"/>
<classpathentry exported="true" kind="lib" path="libs/gdx-backend-android.jar" sourcepath="libs/gdx-backend-android-sources.jar"/>
Expand Down
7 changes: 7 additions & 0 deletions rop-game-android/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
6 changes: 3 additions & 3 deletions rop-game/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
org.eclipse.jdt.core.compiler.source=1.6
8 changes: 4 additions & 4 deletions rop-game/src/com/kandl/ropgame/model/Recipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,19 @@ public Recipe () {
cut = new Array<Vector2>(2);
pos = new Array<Vector2>(2);
int n = (int) (Math.random() * 16);
if ((n & 0b0001) != 0) {
if ((n & 0x0001) != 0) {
cut.add(new Vector2(1, 0));
pos.add(new Vector2(0.5f, 0.5f));
}
if ((n & 0b0010) != 0) {
if ((n & 0x0002) != 0) {
cut.add(new Vector2(0, 1));
pos.add(new Vector2(0.5f, 0.5f));
}
if ((n & 0b0100) != 0) {
if ((n & 0x0004) != 0) {
cut.add(new Vector2(1, 1).nor());
pos.add(new Vector2(0.5f,0.5f));
}
if ((n & 0b1000) != 0) {
if ((n & 0x0008) != 0) {
cut.add(new Vector2(-1,1).nor());
pos.add(new Vector2(0.5f,0.5f));
}
Expand Down
1 change: 0 additions & 1 deletion rop-game/src/com/kandl/ropgame/view/MiniOrderSheet.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public void clicked (InputEvent e, float x, float y) {
currSprite = i.getIcon();
current = new Image(new SpriteDrawable(currSprite));
current.setScale(scale * 2);
System.out.println(scale * current.getWidth() + ", " + scale * background.getWidth());
components.add(current);
addActor(current);
current.setPosition(10, height - scale * 2 * (50 * ++n));
Expand Down

0 comments on commit 7f46690

Please sign in to comment.