mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-03 00:33:55 +03:00
Removed GamePool
This commit is contained in:
parent
228bbdc99e
commit
41b56564dd
@ -3,13 +3,6 @@
|
|||||||
#define LOAD_ASSET(path) (path == NULL ? NULL : (GameEngine_OTRSigCheck((const char*) path) ? ResourceGetDataByName((const char*) path) : path))
|
#define LOAD_ASSET(path) (path == NULL ? NULL : (GameEngine_OTRSigCheck((const char*) path) ? ResourceGetDataByName((const char*) path) : path))
|
||||||
#define LOAD_ASSET_RAW(path) ResourceGetDataByName((const char*) path)
|
#define LOAD_ASSET_RAW(path) ResourceGetDataByName((const char*) path)
|
||||||
|
|
||||||
struct GamePool {
|
|
||||||
unsigned long chunk;
|
|
||||||
unsigned long cursor;
|
|
||||||
unsigned long length;
|
|
||||||
void* memory;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SF64_VER_US = 0x94F1D5A7,
|
SF64_VER_US = 0x94F1D5A7,
|
||||||
SF64_VER_EU = 0x6EE9ADE7,
|
SF64_VER_EU = 0x6EE9ADE7,
|
||||||
@ -56,7 +49,6 @@ class GameEngine {
|
|||||||
|
|
||||||
extern "C" void* GameEngine_Malloc(size_t size);
|
extern "C" void* GameEngine_Malloc(size_t size);
|
||||||
|
|
||||||
|
|
||||||
#define memallocn(type, n) (type*) GameEngine_Malloc(sizeof(type) * n)
|
#define memallocn(type, n) (type*) GameEngine_Malloc(sizeof(type) * n)
|
||||||
#define memalloc(type) memallocn(type, 1)
|
#define memalloc(type) memallocn(type, 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user