[Structs] Update filesystem structs
This commit is contained in:
parent
0fa33e609f
commit
3c6e48f201
@ -3669,28 +3669,55 @@ namespace Game
|
|||||||
DWORD unk;
|
DWORD unk;
|
||||||
} PartyData_t;
|
} PartyData_t;
|
||||||
|
|
||||||
typedef struct fileInPack_s
|
struct fileInIwd_s
|
||||||
{
|
{
|
||||||
DWORD idk;
|
unsigned int pos;
|
||||||
char* name;
|
char *name;
|
||||||
DWORD idk2;
|
fileInIwd_s *next;
|
||||||
} fileInPack_t;
|
};
|
||||||
|
|
||||||
typedef struct
|
struct iwd_t
|
||||||
{
|
{
|
||||||
char pakFilename[256]; // c:\quake3\baseq3\pak0.pk3
|
char iwdFilename[256];
|
||||||
char pakBasename[256]; // pak0
|
char iwdBasename[256];
|
||||||
char pakGamename[256]; // baseq3
|
char iwdGamename[256];
|
||||||
void* handle; // handle to zip file
|
char *handle;
|
||||||
int checksum;
|
int checksum;
|
||||||
int pure_checksum; // checksum for pure
|
int pure_checksum;
|
||||||
int idk; // ?
|
volatile int hasOpenFile;
|
||||||
int numfiles; // number of files in pk3
|
int numfiles;
|
||||||
int referenced; // referenced file flags
|
char referenced;
|
||||||
int hashSize; // hash table size (power of 2)
|
unsigned int hashSize;
|
||||||
fileInPack_t* *hashTable; // hash table
|
fileInIwd_s **hashTable;
|
||||||
fileInPack_t* buildBuffer;
|
fileInIwd_s *buildBuffer;
|
||||||
} pack_t;
|
};
|
||||||
|
|
||||||
|
#ifndef __cplusplus
|
||||||
|
typedef void _iobuf;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
union qfile_gus
|
||||||
|
{
|
||||||
|
_iobuf *o;
|
||||||
|
char *z;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct qfile_us
|
||||||
|
{
|
||||||
|
qfile_gus file;
|
||||||
|
int iwdIsClone;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct fileHandleData_t
|
||||||
|
{
|
||||||
|
qfile_us handleFiles;
|
||||||
|
int handleSync;
|
||||||
|
int fileSize;
|
||||||
|
int zipFilePos;
|
||||||
|
iwd_t *zipFile;
|
||||||
|
int streamed;
|
||||||
|
char name[256];
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char path[256]; // c:\quake3
|
char path[256]; // c:\quake3
|
||||||
@ -3700,8 +3727,12 @@ namespace Game
|
|||||||
typedef struct searchpath_s
|
typedef struct searchpath_s
|
||||||
{
|
{
|
||||||
searchpath_s* next;
|
searchpath_s* next;
|
||||||
pack_t* pack;
|
iwd_t *iwd;
|
||||||
directory_t* dir;
|
directory_t* dir;
|
||||||
|
int bLocalized;
|
||||||
|
int ignore;
|
||||||
|
int ignorePureCheck;
|
||||||
|
int language;
|
||||||
} searchpath_t;
|
} searchpath_t;
|
||||||
|
|
||||||
struct SafeArea
|
struct SafeArea
|
||||||
|
Loading…
Reference in New Issue
Block a user