Mercurial > mm7
diff AudioPlayer.cpp @ 701:d5b16a44d9b3
frame_table parser, new files for UI func
author | Gloval |
---|---|
date | Mon, 18 Mar 2013 22:53:56 +0400 |
parents | 96f48cfdd657 |
children | a9c1fb7483c2 |
line wrap: on
line diff
--- a/AudioPlayer.cpp Sun Mar 17 22:46:18 2013 +0200 +++ b/AudioPlayer.cpp Mon Mar 18 22:53:56 2013 +0400 @@ -470,7 +470,7 @@ { *strchr(&Buf, 10) = 0; memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19)); - if ( v19.field_0 && *v19.pProperties[0] != 47 ) + if ( v19.uPropCount && *v19.pProperties[0] != 47 ) ++Argsa; } while ( fgets(&Buf, 490, File) ); @@ -490,7 +490,7 @@ { *strchr(&Buf, 10) = 0; memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19)); - if ( v19.field_0 && *v19.pProperties[0] != 47 ) + if ( v19.uPropCount && *v19.pProperties[0] != 47 ) { sprintf(v2->pSounds[v2->uNumSounds].pSoundName, "%s", v19.pProperties[0]); v9 = atoi(v19.pProperties[1]); @@ -518,7 +518,7 @@ { v2->pSounds[v2->uNumSounds].eType = SOUND_DESC_SYSTEM; } - if ( v19.field_0 >= 4 && !_strcmpi(v19.pProperties[3], "3D") ) + if ( v19.uPropCount >= 4 && !_strcmpi(v19.pProperties[3], "3D") ) { v15 = (int)&v2->pSounds[v2->uNumSounds].uFlags; *(int *)v15 |= SOUND_DESC_SWAP;