mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Update structs
This commit is contained in:
parent
ccbf4a961b
commit
10fc071bad
@ -911,6 +911,68 @@ namespace game
|
||||
Glyph* glyphs;
|
||||
};
|
||||
|
||||
struct StreamFileNameRaw
|
||||
{
|
||||
const char* dir;
|
||||
const char* name;
|
||||
};
|
||||
|
||||
struct StreamFileNamePacked
|
||||
{
|
||||
unsigned __int64 offset;
|
||||
unsigned __int64 length;
|
||||
};
|
||||
|
||||
union StreamFileInfo
|
||||
{
|
||||
StreamFileNameRaw raw;
|
||||
StreamFileNamePacked packed;
|
||||
};
|
||||
|
||||
struct StreamFileName
|
||||
{
|
||||
unsigned __int16 isLocalized;
|
||||
unsigned __int16 fileIndex;
|
||||
StreamFileInfo info;
|
||||
};
|
||||
|
||||
struct StreamedSound
|
||||
{
|
||||
StreamFileName filename;
|
||||
unsigned int totalMsec;
|
||||
};
|
||||
|
||||
union SoundFileRef
|
||||
{
|
||||
StreamedSound streamSnd;
|
||||
};
|
||||
|
||||
struct SoundFile
|
||||
{
|
||||
char type;
|
||||
char exists;
|
||||
SoundFileRef u;
|
||||
};
|
||||
|
||||
struct snd_alias_t
|
||||
{
|
||||
const char* aliasName;
|
||||
char __pad0[24];
|
||||
SoundFile* soundFile;
|
||||
char __pad1[198];
|
||||
// not gonna map this out...
|
||||
};
|
||||
|
||||
struct snd_alias_list_t
|
||||
{
|
||||
const char* aliasName;
|
||||
snd_alias_t* head;
|
||||
void* unk;
|
||||
unsigned char count;
|
||||
unsigned char unkCount;
|
||||
char __pad0[6];
|
||||
};
|
||||
|
||||
union XAssetHeader
|
||||
{
|
||||
void* data;
|
||||
|
Loading…
Reference in New Issue
Block a user