re3/src/skel/platform.h

55 lines
1.1 KiB
C
Raw Normal View History

2019-05-31 17:02:26 +00:00
#ifndef PLATFORM_H
#define PLATFORM_H
#include "rwcore.h"
#include "skeleton.h"
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
2020-05-11 02:55:57 +00:00
#ifdef _WIN32
2019-05-31 17:02:26 +00:00
extern RwUInt32 psTimer(void);
2020-05-11 02:55:57 +00:00
#else
extern double psTimer(void);
#endif
2019-05-31 17:02:26 +00:00
2020-05-23 09:34:22 +00:00
extern RwBool psInitialize(void);
2019-05-31 17:02:26 +00:00
extern void psTerminate(void);
extern void psCameraShowRaster(RwCamera *camera);
extern RwBool psCameraBeginUpdate(RwCamera *camera);
extern void psMouseSetPos(RwV2d *pos);
extern RwBool psSelectDevice();
extern RwMemoryFunctions *psGetMemoryFunctions(void);
2019-05-31 17:02:26 +00:00
/* install the platform specific file system */
extern RwBool psInstallFileSystem(void);
/* Handle native texture support */
extern RwBool psNativeTextureSupport(void);
2020-05-11 02:55:57 +00:00
extern void _InputTranslateShiftKeyUpDown(RsKeyCodes* rs);
extern void HandleExit();
extern void _psSelectScreenVM(RwInt32 videoMode);
extern void InitialiseLanguage();
extern RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode);
extern RwChar** _psGetVideoModeList();
extern RwInt32 _psGetNumVideModes();
2019-05-31 17:02:26 +00:00
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* PLATFORM_H */