Separate engine and game

This commit is contained in:
2023-11-07 16:55:14 +01:00
parent 8a13edb838
commit 20034c96e6
922 changed files with 526 additions and 29 deletions

View File

@@ -0,0 +1,18 @@
#ifndef BREEZE_MODULE_H
#define BREEZE_MODULE_H
#include "../defines.h"
typedef enum BzModule {
BZ_MODULE_LOGGER,
BZ_MODULE_APPLICATION,
BZ_MODULE_INPUT,
BZ_ENGINE_MODULE_COUNT
} BzModule;
bool bzModuleIsAllocated(BzModule module);
void *bzModuleRetrieve(BzModule module);
void *bzModuleAllocate(BzModule module, size_t sizeBytes);
void bzModuleFree(BzModule module);
#endif //BREEZE_MODULE_H