--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m Sun Apr 22 03:59:24 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m Sun Apr 22 04:48:11 2012 +0200
@@ -25,11 +25,11 @@
#pragma mark -
#pragma mark functions called by pascal code
-BOOL inline isApplePhone() {
+BOOL inline isApplePhone(void) {
return (IS_IPAD() == NO);
}
-void startLoadingIndicator() {
+void startLoadingIndicator(void) {
// this is the first ojbc function called by engine, so we have to initialize some variables here
overlay_instance = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController" bundle:nil];
// in order to get rotation events we have to insert the view inside the first view of the second window
@@ -57,7 +57,7 @@
[overlay_instance.loadingIndicator release];
}
-void stopLoadingIndicator() {
+void stopLoadingIndicator(void) {
HW_zoomSet(1.7);
if ([HWUtils gameType] != gtSave) {
[overlay_instance.loadingIndicator stopAnimating];
@@ -69,7 +69,7 @@
[[NSUserDefaults standardUserDefaults] synchronize];
}
-void saveFinishedSynching() {
+void saveFinishedSynching(void) {
[UIView beginAnimations:@"fading from save synch" context:NULL];
[UIView setAnimationDuration:1];
overlay_instance.view.backgroundColor = [UIColor clearColor];
@@ -84,7 +84,7 @@
[HWUtils setGameStatus:gsInGame];
}
-void clearView() {
+void clearView(void) {
[overlay_instance clearOverlay];
}