Mercurial > mm7
comparison mm7_5.cpp @ 701:d5b16a44d9b3
frame_table parser, new files for UI func
author | Gloval |
---|---|
date | Mon, 18 Mar 2013 22:53:56 +0400 |
parents | 2dfb67633b01 |
children | a9c1fb7483c2 |
comparison
equal
deleted
inserted
replaced
700:1d05543f522d | 701:d5b16a44d9b3 |
---|---|
2283 goto LABEL_524; | 2283 goto LABEL_524; |
2284 case UIMSG_DD: | 2284 case UIMSG_DD: |
2285 LABEL_524: | 2285 LABEL_524: |
2286 sprintf(pTmpBuf, "%s", pKeyActionMap->pPressedKeysBuffer); | 2286 sprintf(pTmpBuf, "%s", pKeyActionMap->pPressedKeysBuffer); |
2287 memcpy(&v216, texture_frame_table_txt_parser((const char *)pKeyActionMap->pPressedKeysBuffer, &v218), sizeof(v216)); | 2287 memcpy(&v216, texture_frame_table_txt_parser((const char *)pKeyActionMap->pPressedKeysBuffer, &v218), sizeof(v216)); |
2288 if ( v216.field_0 == 1 ) | 2288 if ( v216.uPropCount == 1 ) |
2289 { | 2289 { |
2290 pNPCData4 = (NPCData *)((signed int)pGames_LOD->uNumSubIndices / 2); | 2290 pNPCData4 = (NPCData *)((signed int)pGames_LOD->uNumSubIndices / 2); |
2291 v70 = atoi(v216.pProperties[0]); | 2291 v70 = atoi(v216.pProperties[0]); |
2292 if ( v70 <= 0 || v70 >= 77 ) | 2292 if ( v70 <= 0 || v70 >= 77 ) |
2293 { | 2293 { |
2326 sprintf(Str2, "No map found for %s", pMapStats->pInfos[v71].pName); | 2326 sprintf(Str2, "No map found for %s", pMapStats->pInfos[v71].pName); |
2327 v73 = Str2; | 2327 v73 = Str2; |
2328 } | 2328 } |
2329 else | 2329 else |
2330 { | 2330 { |
2331 if ( v216.field_0 != 3 ) | 2331 if ( v216.uPropCount != 3 ) |
2332 //goto LABEL_90; | 2332 //goto LABEL_90; |
2333 { | 2333 { |
2334 v1 = ""; | 2334 v1 = ""; |
2335 v0 = 1; | 2335 v0 = 1; |
2336 continue; | 2336 continue; |