Update AppApps to use reflected files.
Previous files were hand written placeholders.
This also fixed the physics bug where movement was right.
Change-Id: I98838084d60f0eaf22f7fbd148a80b2f73f9a14c
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs
index e1a762d..d947613 100644
--- a/res/raw/allapps.rs
+++ b/res/raw/allapps.rs
@@ -18,7 +18,7 @@
int gNewTouchDown;
float gFlingVelocity;
int gIconCount;
-int gSelectedIconIndex;
+int gSelectedIconIndex = -1;
rs_allocation gSelectedIconTexture;
float gZoomTarget;
rs_allocation gHomeButton;
@@ -34,7 +34,7 @@
rs_allocation *gIconIDs;
rs_allocation *gLabelIDs;
-typedef struct VpConsts_s {
+typedef struct VpConsts {
float4 Position;
float4 ScaleOffset;
float2 BendPos;
@@ -310,7 +310,7 @@
float x = colWidth * col + (colWidth / 2);
vpConstants->Position.x = x + 0.2f;
- if (gSelectedIconIndex == iconNum && !p && gSelectedIconTexture) {
+ if (gSelectedIconIndex == iconNum && !p && gSelectedIconTexture.p) {
rsgBindProgramFragment(gPFTexNearest);
rsgBindTexture(gPFTexNearest, 0, gSelectedIconTexture);
vpConstants->ImgSize.x = rsAllocationGetDimX(gSelectedIconTexture);
diff --git a/res/raw/allapps_bc.bc b/res/raw/allapps_bc.bc
index 36e234c..3835d7d 100644
--- a/res/raw/allapps_bc.bc
+++ b/res/raw/allapps_bc.bc
Binary files differ