Files

57 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2023-02-14 21:11:00 -08:00
//------------------------------------------------
//--- 010 Editor v13.0.1 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
2023-02-15 10:09:07 -08:00
#ifndef _CSCALEFORMFLASHLIBRARY
#define _CSCALEFORMFLASHLIBRARY
2023-02-14 21:11:00 -08:00
typedef struct
{
ChunkDescriptor chunk;
2023-02-14 21:11:00 -08:00
struct CScaleformFlashLibraryChunk
{
2023-02-15 10:09:07 -08:00
uint32 referencedTextures;
struct ReferencedTxtrs
{
struct ReferencedTxtr
{
2023-02-14 21:11:00 -08:00
GUID texRef;
if (ReadByte() == 0)
{
CStringFixed texName;
}
else
{
CString texName;
}
2023-02-15 10:09:07 -08:00
} rtxtr[referencedTextures] <optimize = false>;
} rtxrs;
if (ReadByte() == 0)
{
CStringFixed theSWFName;
}
else
{
CString theSWFName;
}
2023-02-15 10:09:07 -08:00
FSkip(4); //Skip ahead to see the SWF size
LittleEndian(); //temp swap endian
uint32 swfSize<hidden=true>; //Pull SWF size
BigEndian(); //temp swap endian
FSkip(-8); //Go back to GFX
2023-02-14 21:11:00 -08:00
byte theGFXFile[swfSize]; //History
} GFXLChunk;
2023-02-15 10:09:07 -08:00
} CScaleformFlashLibrary;
#endif// _CSCALEFORMFLASHLIBRARY