# HG changeset patch
# User koda
# Date 1292681656 -3600
# Node ID 2e0447837a97ac199fb656a8b4e7b0dce6e1f2c1
# Parent b70004a576a32368aa8c0021c09da813fbd2425a
initial stats interpretation for ifrontend
diff -r b70004a576a3 -r 2e0447837a97 project_files/HedgewarsMobile/Classes/GameSetup.m
--- a/project_files/HedgewarsMobile/Classes/GameSetup.m Thu Dec 16 22:46:38 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.m Sat Dec 18 15:14:16 2010 +0100
@@ -361,11 +361,35 @@
case 'r':
DLog(@"Winning team: %s", &buffer[2]);
break;
+ case 'D':
+ DLog(@"Best Shot: %s", &buffer[2]);
+ break;
case 'k':
DLog(@"Best Hedgehog: %s", &buffer[2]);
break;
+ case 'K':
+ DLog(@"Hogs Killed: %s", &buffer[2]);
+ break;
+ case 'H':
+ //something about team health
+ break;
+ case 'T':
+ // local team stats
+ break;
+ case 'P':
+ // player postion
+ break;
+ case 's':
+ DLog(@"Most self damage: %s", &buffer[2]);
+ break;
+ case 'S':
+ DLog(@"Most friendly fire: %s", &buffer[2]);
+ break;
+ case 'B':
+ DLog(@"Most turn skipped by: %s", &buffer[2]);
+ break;
default:
- // TODO: losta stats stuff
+ DLog(@"Unhandled stat message, see statsPage.cpp");
break;
}
break;
diff -r b70004a576a3 -r 2e0447837a97 project_files/HedgewarsMobile/Resources/HelpPageInGameViewController-iPhone.xib
--- a/project_files/HedgewarsMobile/Resources/HelpPageInGameViewController-iPhone.xib Thu Dec 16 22:46:38 2010 +0100
+++ b/project_files/HedgewarsMobile/Resources/HelpPageInGameViewController-iPhone.xib Sat Dec 18 15:14:16 2010 +0100
@@ -360,7 +360,7 @@
{{-1, 0}, {481, 44}}
IBCocoaTouchFramework
-