mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Adapt structs for easy forward declarations
Get rid of the tag namespace.
This commit is contained in:
parent
8f4d16fd1b
commit
4df3236c3e
2 changed files with 7 additions and 7 deletions
|
@ -109,14 +109,14 @@ typedef struct fileDownload_s {
|
||||||
void * buffer;
|
void * buffer;
|
||||||
} fileDownload_t;
|
} fileDownload_t;
|
||||||
|
|
||||||
typedef struct backgroundDownload_s {
|
struct backgroundDownload_t {
|
||||||
struct backgroundDownload_s *next; // set by the fileSystem
|
backgroundDownload_t *next; // set by the fileSystem
|
||||||
dlType_t opcode;
|
dlType_t opcode;
|
||||||
idFile * f;
|
idFile * f;
|
||||||
fileDownload_t file;
|
fileDownload_t file;
|
||||||
urlDownload_t url;
|
urlDownload_t url;
|
||||||
volatile bool completed;
|
volatile bool completed;
|
||||||
} backgroundDownload_t;
|
};
|
||||||
|
|
||||||
// file list for directory listings
|
// file list for directory listings
|
||||||
class idFileList {
|
class idFileList {
|
||||||
|
|
|
@ -102,15 +102,15 @@ typedef enum {
|
||||||
M_DELTAZ
|
M_DELTAZ
|
||||||
} sys_mEvents;
|
} sys_mEvents;
|
||||||
|
|
||||||
typedef struct sysEvent_s {
|
struct sysEvent_t {
|
||||||
sysEventType_t evType;
|
sysEventType_t evType;
|
||||||
int evValue;
|
int evValue;
|
||||||
int evValue2;
|
int evValue2;
|
||||||
int evPtrLength; // bytes of data pointed to by evPtr, for journaling
|
int evPtrLength; // bytes of data pointed to by evPtr, for journaling
|
||||||
void * evPtr; // this must be manually freed if not NULL
|
void * evPtr; // this must be manually freed if not NULL
|
||||||
} sysEvent_t;
|
};
|
||||||
|
|
||||||
typedef struct sysMemoryStats_s {
|
struct sysMemoryStats_t {
|
||||||
int memoryLoad;
|
int memoryLoad;
|
||||||
int totalPhysical;
|
int totalPhysical;
|
||||||
int availPhysical;
|
int availPhysical;
|
||||||
|
@ -119,7 +119,7 @@ typedef struct sysMemoryStats_s {
|
||||||
int totalVirtual;
|
int totalVirtual;
|
||||||
int availVirtual;
|
int availVirtual;
|
||||||
int availExtendedVirtual;
|
int availExtendedVirtual;
|
||||||
} sysMemoryStats_t;
|
};
|
||||||
|
|
||||||
template<class type> class idList; // for Sys_ListFiles
|
template<class type> class idList; // for Sys_ListFiles
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue