Commits

Anonymous committed 7a7bb93

fixes

Comments (0)

Files changed (3)

code/ios/LobsterViewController.mm

 	static double currentTime = 0.0;
 	static double previousTime = 0.0;
 	
+	if (!animating)
+		return;
+	
 	// update by timer
 	currentTime = lobster_time();
 	application->timer(currentTime, currentTime - previousTime);

code/payload/views/GameView.cpp

 		{
 			sprintf(text, "%.2f", bestScore->time);
 			crapText("best time:",  "centuryGothic", 320.0f,  5.0f, vector3_compose(1.0f, 1.0f, 1.0f));
-			crapText(text,     "centuryGothic", 420.0f,  5.0f, vector3_compose(1.0f, 1.0f, 1.0f));
+			crapText(text,     "centuryGothic", 525.0f,  5.0f, vector3_compose(1.0f, 1.0f, 1.0f));
 		
 			sprintf(text, "%d", bestScore->moves);
 			crapText("best aimoves:", "centuryGothic", 320.0f, 25.0f, vector3_compose(1.0f, 1.0f, 1.0f));
-			crapText(text,     "centuryGothic", 420.0f, 25.0f, vector3_compose(1.0f, 1.0f, 1.0f));
+			crapText(text,     "centuryGothic", 525.0f, 25.0f, vector3_compose(1.0f, 1.0f, 1.0f));
 		}
 	}
 

lobster.xcodeproj/project.pbxproj

 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=*]" = "iPhone Developer";
 				COPY_PHASE_STRIP = NO;
 				GCC_DYNAMIC_NO_PIC = NO;
 				GCC_OPTIMIZATION_LEVEL = 0;
 					"\"$(SRCROOT)/lib\"",
 				);
 				PRODUCT_NAME = puzzlefu;
+				PROVISIONING_PROFILE = "";
+				"PROVISIONING_PROFILE[sdk=*]" = "";
 				TARGETED_DEVICE_FAMILY = "1,2";
 			};
 			name = Debug;
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				COPY_PHASE_STRIP = YES;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = Lobster_Prefix.pch;
 					"\"$(SRCROOT)/lib\"",
 				);
 				PRODUCT_NAME = puzzlefu;
+				PROVISIONING_PROFILE = "";
+				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
 				TARGETED_DEVICE_FAMILY = "1,2";
 				VALIDATE_PRODUCT = YES;
 			};