mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 10:52:36 +01:00
34 lines
1019 B
C
34 lines
1019 B
C
#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);
|
|
|
|
/* Returns the screen size dimensions */
|
|
extern void Emulator_GetScreenSize(int& screenWidth, int& screenHeight);
|
|
|
|
/* Sets mouse cursor position */
|
|
extern void Emulator_SetCursorPosition(int x, int y);
|
|
|
|
/* Called inside VSync / DrawSync */
|
|
extern void Emulator_SwapDelay(int intervals);
|
|
|
|
/* Usually called after ClearOTag/ClearOTagR */
|
|
extern bool Emulator_BeginScene();
|
|
|
|
/* 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);
|
|
|
|
/* Waits for timer */
|
|
extern void Emulator_WaitForTimestep(int count);
|
|
|
|
#endif |