2020-03-31 18:55:57 +02:00
|
|
|
#ifndef EMULATOR_PRIVATE_H
|
|
|
|
#define EMULATOR_PRIVATE_H
|
|
|
|
|
|
|
|
/* Usually called at the beginning of main function */
|
|
|
|
extern void Emulator_Initialise(char* windowName, int screenWidth, int screenHeight);
|
|
|
|
|
2020-04-27 15:56:18 +02:00
|
|
|
/* Returns the screen size dimensions */
|
|
|
|
extern void Emulator_GetScreenSize(int& screenWidth, int& screenHeight);
|
|
|
|
|
2020-04-05 17:39:14 +02:00
|
|
|
/* Called inside VSync / DrawSync */
|
|
|
|
extern void Emulator_SwapDelay(int intervals);
|
|
|
|
|
2020-03-31 18:55:57 +02:00
|
|
|
/* Usually called after ClearOTag/ClearOTagR */
|
2020-03-31 19:09:22 +02:00
|
|
|
extern bool Emulator_BeginScene();
|
2020-03-31 18:55:57 +02:00
|
|
|
|
|
|
|
/* Usually called after DrawOTag/DrawOTagEnv */
|
|
|
|
extern void Emulator_EndScene();
|
|
|
|
|
|
|
|
/* Explicitly updates emulator input loop */
|
|
|
|
extern void Emulator_UpdateInput();
|
|
|
|
|
|
|
|
/* Usually called at the end if main function */
|
|
|
|
extern void Emulator_ShutDown();
|
|
|
|
|
|
|
|
/* Sets the maximum vertex count value for PGXP vertex caching */
|
|
|
|
extern void Emulator_SetPGXPVertexCount(int vertexCount);
|
|
|
|
|
2020-04-09 21:33:15 +02:00
|
|
|
/* Waits for timer */
|
|
|
|
extern void Emulator_WaitForTimestep(int count);
|
|
|
|
|
2020-03-31 18:55:57 +02:00
|
|
|
#endif
|