comparison Overlays.cpp @ 701:d5b16a44d9b3

frame_table parser, new files for UI func
author Gloval
date Mon, 18 Mar 2013 22:53:56 +0400
parents f451efdb7c8b
children a9c1fb7483c2
comparison
equal deleted inserted replaced
700:1d05543f522d 701:d5b16a44d9b3
218 { 218 {
219 do 219 do
220 { 220 {
221 *strchr(&Buf, 10) = 0; 221 *strchr(&Buf, 10) = 0;
222 memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19)); 222 memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19));
223 if ( v19.field_0 && *v19.pProperties[0] != 47 ) 223 if ( v19.uPropCount && *v19.pProperties[0] != 47 )
224 ++Argsa; 224 ++Argsa;
225 } 225 }
226 while ( fgets(&Buf, 490, File) ); 226 while ( fgets(&Buf, 490, File) );
227 v5 = Argsa; 227 v5 = Argsa;
228 v3 = 0; 228 v3 = 0;
239 fseek(v8, v3, v3); 239 fseek(v8, v3, v3);
240 for ( i = fgets(&Buf, 490, File); i; i = fgets(&Buf, 490, File) ) 240 for ( i = fgets(&Buf, 490, File); i; i = fgets(&Buf, 490, File) )
241 { 241 {
242 *strchr(&Buf, 10) = 0; 242 *strchr(&Buf, 10) = 0;
243 memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19)); 243 memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19));
244 if ( v19.field_0 && *v19.pProperties[0] != 47 ) 244 if ( v19.uPropCount && *v19.pProperties[0] != 47 )
245 { 245 {
246 v10 = atoi(v19.pProperties[0]); 246 v10 = atoi(v19.pProperties[0]);
247 v11 = v19.pProperties[1]; 247 v11 = v19.pProperties[1];
248 v2->pOverlays[v2->uNumOverlays].uOverlayID = v10; 248 v2->pOverlays[v2->uNumOverlays].uOverlayID = v10;
249 if ( _strcmpi(v11, "center") ) 249 if ( _strcmpi(v11, "center") )