mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 10:07:20 +03:00
Initial commit
This commit is contained in:
commit
77cdaaf97e
827 changed files with 418745 additions and 0 deletions
59
src/skel/platform.h
Normal file
59
src/skel/platform.h
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
#ifndef PLATFORM_H
|
||||
#define PLATFORM_H
|
||||
|
||||
// Functions that's different on glfw/win etc. but have same signature (but if a function only used in win.cpp you can keep in win.h)
|
||||
|
||||
#include "rwcore.h"
|
||||
#include "skeleton.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#ifdef _WIN32
|
||||
extern RwUInt32 psTimer(void);
|
||||
#else
|
||||
extern double psTimer(void);
|
||||
#endif
|
||||
|
||||
extern RwBool psInitialize(void);
|
||||
extern void psTerminate(void);
|
||||
|
||||
extern void psCameraShowRaster(RwCamera *camera);
|
||||
extern RwBool psCameraBeginUpdate(RwCamera *camera);
|
||||
extern RwImage *psGrabScreen(RwCamera *camera);
|
||||
|
||||
extern void psMouseSetPos(RwV2d *pos);
|
||||
|
||||
extern RwBool psSelectDevice();
|
||||
|
||||
extern RwMemoryFunctions *psGetMemoryFunctions(void);
|
||||
|
||||
/* install the platform specific file system */
|
||||
extern RwBool psInstallFileSystem(void);
|
||||
|
||||
|
||||
/* Handle native texture support */
|
||||
extern RwBool psNativeTextureSupport(void);
|
||||
|
||||
extern void _InputTranslateShiftKeyUpDown(RsKeyCodes* rs);
|
||||
extern long _InputInitialiseMouse(); // returns HRESULT on Windows actually
|
||||
extern void _InputInitialiseJoys();
|
||||
|
||||
extern void HandleExit();
|
||||
|
||||
extern void _psSelectScreenVM(RwInt32 videoMode);
|
||||
|
||||
extern void InitialiseLanguage();
|
||||
|
||||
extern RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode);
|
||||
|
||||
extern RwChar** _psGetVideoModeList();
|
||||
|
||||
extern RwInt32 _psGetNumVideModes();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* PLATFORM_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue