diff --git a/neo/swf/SWF_Load.cpp b/neo/swf/SWF_Load.cpp index abaa227d..64625bff 100644 --- a/neo/swf/SWF_Load.cpp +++ b/neo/swf/SWF_Load.cpp @@ -850,6 +850,7 @@ void idSWF::WriteXML( const char* filename ) file->WriteFloatString( "\t\t\t\n" ); #endif } + file->WriteFloatString( "\t\t\n" ); break; } @@ -857,14 +858,14 @@ void idSWF::WriteXML( const char* filename ) { const idSWFText* text = dictionary[i].text; - file->WriteFloatString( "\t\t\t\n" ); + file->WriteFloatString( "\t\t\n" ); float x = text->bounds.tl.y; float y = text->bounds.tl.x; float width = fabs( text->bounds.br.y - text->bounds.tl.y ); float height = fabs( text->bounds.br.x - text->bounds.tl.x ); - file->WriteFloatString( "\t\t\t\t\n", x, y, width, height ); + file->WriteFloatString( "\t\t\t\n", x, y, width, height ); //file->WriteBig( text->bounds.tl ); //file->WriteBig( text->bounds.br ); @@ -872,7 +873,7 @@ void idSWF::WriteXML( const char* filename ) //file->WriteBigArray( ( float* )&text->matrix, 6 ); swfMatrix_t m = text->matrix; - file->WriteFloatString( "\t\t\t\t%f %f %f %f %f %f\n", + file->WriteFloatString( "\t\t\t%f %f %f %f %f %f\n", m.xx, m.yy, m.xy, m.yx, m.tx, m.ty ); //file->WriteBig( text->textRecords.Num() ); @@ -911,6 +912,8 @@ void idSWF::WriteXML( const char* filename ) file->WriteBig( text->glyphs[g].advance ); } */ + + file->WriteFloatString( "\t\t\n" ); break; } @@ -918,7 +921,7 @@ void idSWF::WriteXML( const char* filename ) { const idSWFEditText* et = dictionary[i].edittext; - file->WriteFloatString( "\t\t\t\n", + file->WriteFloatString( "\t\t\n", et->flags, et->fontID, et->fontHeight, et->maxLength, idSWF::GetEditTextAlignName( et->align ), et->leftMargin, et->rightMargin, et->indent, et->leading, et->variable.c_str(), et->initialText.c_str() ); @@ -928,13 +931,13 @@ void idSWF::WriteXML( const char* filename ) float width = fabs( et->bounds.br.y - et->bounds.tl.y ); float height = fabs( et->bounds.br.x - et->bounds.tl.x ); - file->WriteFloatString( "\t\t\t\t\n", x, y, width, height ); + file->WriteFloatString( "\t\t\t\n", x, y, width, height ); idVec4 color = et->color.ToVec4(); - file->WriteFloatString( "\t\t\t\t\n", + file->WriteFloatString( "\t\t\t\n", color.x, color.y, color.z, color.w ); - file->WriteFloatString( "\t\t\t\n" ); + file->WriteFloatString( "\t\t\n" ); //file->WriteBig( et->bounds.tl ); //file->WriteBig( et->bounds.br );