Mercurial > mm7
comparison mm7_5.cpp @ 703:a9c1fb7483c2
monster parser almost complete.
author | Gloval |
---|---|
date | Tue, 19 Mar 2013 01:33:35 +0400 |
parents | d5b16a44d9b3 |
children | d6236f6a9882 05f7a11f4f20 |
comparison
equal
deleted
inserted
replaced
701:d5b16a44d9b3 | 703:a9c1fb7483c2 |
---|---|
2282 strcpy((char *)pKeyActionMap->pPressedKeysBuffer, "2"); | 2282 strcpy((char *)pKeyActionMap->pPressedKeysBuffer, "2"); |
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, txt_file_frametable_parser((const char *)pKeyActionMap->pPressedKeysBuffer, &v218), sizeof(v216)); |
2288 if ( v216.uPropCount == 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 ) |