You've already forked PrimeRemasterStructs
mirror of
https://github.com/PrimeDecomp/PrimeRemasterStructs.git
synced 2026-03-31 14:23:23 -07:00
0aae00e75a
Actual commit this time
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
//------------------------------------------------
|
|
//--- 010 Editor v13.0.1 Binary Template
|
|
//
|
|
// File:
|
|
// Authors:
|
|
// Version:
|
|
// Purpose:
|
|
// Category:
|
|
// File Mask:
|
|
// ID Bytes:
|
|
// History:
|
|
//------------------------------------------------
|
|
|
|
#ifndef _CSCALEFORMFLASHLIBRARY
|
|
#define _CSCALEFORMFLASHLIBRARY
|
|
|
|
typedef struct
|
|
{
|
|
ChunkDescriptor chunk;
|
|
struct CScaleformFlashLibraryChunk
|
|
{
|
|
uint32 referencedTextures;
|
|
struct ReferencedTxtrs
|
|
{
|
|
struct ReferencedTxtr
|
|
{
|
|
GUID texRef;
|
|
if (ReadByte() == 0)
|
|
{
|
|
CStringFixed texName;
|
|
}
|
|
else
|
|
{
|
|
CString texName;
|
|
}
|
|
} rtxtr[referencedTextures] <optimize = false>;
|
|
} rtxrs;
|
|
if (ReadByte() == 0)
|
|
{
|
|
CStringFixed theSWFName;
|
|
}
|
|
else
|
|
{
|
|
CString theSWFName;
|
|
}
|
|
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
|
|
byte theGFXFile[swfSize]; //History
|
|
} GFXLChunk;
|
|
} CScaleformFlashLibrary;
|
|
|
|
|
|
#endif// _CSCALEFORMFLASHLIBRARY
|