mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
Added arguments for screen-only mode, fullscreen and a usage menu, while still keeping the original functionality of the EPSILON_SDL_SCREEN_ONLY preprocessor var.
33 lines
761 B
C
33 lines
761 B
C
#ifndef ION_SIMULATOR_PLATFORM_H
|
|
#define ION_SIMULATOR_PLATFORM_H
|
|
|
|
#include <SDL.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Those functions should be implemented per-platform.
|
|
* They are defined as C function for easier interop. */
|
|
|
|
SDL_Texture * IonSimulatorLoadImage(SDL_Renderer * renderer, const char * identifier);
|
|
char * IonSimulatorGetLanguageCode();
|
|
|
|
void IonSimulatorTelemetryInit();
|
|
void IonSimulatorTelemetryEvent(const char * eventName);
|
|
void IonSimulatorTelemetryDeinit();
|
|
|
|
void IonSimulatorKeyboardKeyDown(int keyNumber);
|
|
void IonSimulatorKeyboardKeyUp(int keyNumber);
|
|
|
|
void IonSimulatorEventsPushEvent(int eventNumber);
|
|
|
|
void IonSimulatorCallbackDidRefresh();
|
|
void IonSimulatorCallbackDidScanKeyboard();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|