--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m Sat Feb 04 23:06:22 2012 +0100
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m Sun Feb 05 15:52:26 2012 +0100
@@ -21,7 +21,6 @@
#import "ObjcExports.h"
#import "OverlayViewController.h"
-#import "AmmoMenuViewController.h"
// cache the grenade time
@@ -64,7 +63,7 @@
overlay_instance.view.userInteractionEnabled = NO;
}
CGPoint center = overlay_instance.view.center;
- CGPoint loaderCenter = ((IS_DUALHEAD() || [HWUtils gameType] == gtSave) ? center : CGPointMake(center.x, center.y * 5/3));
+ CGPoint loaderCenter = ([HWUtils gameType] == gtSave) ? center : CGPointMake(center.x, center.y * 5/3);
overlay_instance.loadingIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
overlay_instance.loadingIndicator.hidesWhenStopped = YES;
@@ -119,10 +118,6 @@
grenadeTime = 2;
}
-void updateVisualsNewTurn(void) {
- [overlay_instance.amvc updateAmmoVisuals];
-}
-
// dummy function to prevent linkage fail
int SDL_main(int argc, char **argv) {
return 0;