2026-01-12 01:55:20 +09:00
|
|
|
#ifndef __GEARSRC_CORE_H__
|
|
|
|
|
#define __GEARSRC_CORE_H__
|
2026-01-12 01:54:35 +09:00
|
|
|
|
|
|
|
|
#include <GearSrc/MachDep.h>
|
|
|
|
|
#include <GearSrc/TypeDefs.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
GSDECL void GSInit(void);
|
|
|
|
|
|
|
|
|
|
GSDECL GSEngine GSEngineCreate(GSEngineParam* param);
|
|
|
|
|
GSDECL void GSEngineDestroy(GSEngine engine);
|
|
|
|
|
GSDECL void GSEngineParamInit(GSEngineParam* param);
|
|
|
|
|
GSDECL void GSEngineLoop(GSEngine engine);
|
|
|
|
|
GSDECL GSClient GSEngineGetClient(GSEngine engine);
|
|
|
|
|
GSDECL GSServer GSEngineGetServer(GSEngine engine);
|
2026-01-20 14:07:56 +09:00
|
|
|
GSDECL GSBool GSEngineRegisterResource(GSEngine engine, const char* name, const char* path);
|
2026-01-13 04:28:36 +09:00
|
|
|
GSDECL void GSEngineUnregisterResource(GSEngine engine, const char* name);
|
2026-01-25 13:05:30 +09:00
|
|
|
GSDECL GSNumber GSEngineGetTPS(GSEngine engine);
|
2026-01-27 12:10:08 +09:00
|
|
|
GSDECL void GSEngineShutdown(GSEngine engine);
|
2026-01-12 01:54:35 +09:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|