project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 4549 2e0447837a97
parent 4547 b70004a576a3
child 4574 e26ef1eca20a
equal deleted inserted replaced
4547:b70004a576a3 4549:2e0447837a97
   359             case 'i':
   359             case 'i':
   360                 switch (buffer[1]) {
   360                 switch (buffer[1]) {
   361                     case 'r':
   361                     case 'r':
   362                         DLog(@"Winning team: %s", &buffer[2]);
   362                         DLog(@"Winning team: %s", &buffer[2]);
   363                         break;
   363                         break;
       
   364                     case 'D':
       
   365                         DLog(@"Best Shot: %s", &buffer[2]);
       
   366                         break;
   364                     case 'k':
   367                     case 'k':
   365                         DLog(@"Best Hedgehog: %s", &buffer[2]);
   368                         DLog(@"Best Hedgehog: %s", &buffer[2]);
   366                         break;
   369                         break;
       
   370                     case 'K':
       
   371                         DLog(@"Hogs Killed: %s", &buffer[2]);
       
   372                         break;
       
   373                     case 'H':
       
   374                         //something about team health
       
   375                         break;
       
   376                     case 'T':
       
   377                         // local team stats
       
   378                         break;
       
   379                     case 'P':
       
   380                         // player postion
       
   381                         break;
       
   382                     case 's':
       
   383                         DLog(@"Most self damage: %s", &buffer[2]);
       
   384                         break;
       
   385                     case 'S':
       
   386                         DLog(@"Most friendly fire: %s", &buffer[2]);
       
   387                         break;
       
   388                     case 'B':
       
   389                         DLog(@"Most turn skipped by: %s", &buffer[2]);
       
   390                         break;
   367                     default:
   391                     default:
   368                         // TODO: losta stats stuff
   392                         DLog(@"Unhandled stat message, see statsPage.cpp");
   369                         break;
   393                         break;
   370                 }
   394                 }
   371                 break;
   395                 break;
   372             case 'q':
   396             case 'q':
   373                 // game ended, can remove the savefile
   397                 // game ended, can remove the savefile