2019-05-31 19:02:26 +02:00
|
|
|
#ifndef PLATFORM_H
|
|
|
|
#define PLATFORM_H
|
|
|
|
|
|
|
|
#include "rwcore.h"
|
|
|
|
#include "skeleton.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
extern RwUInt32 psTimer(void);
|
|
|
|
|
|
|
|
|
|
|
|
extern RwBool psInitialise(void);
|
|
|
|
extern void psTerminate(void);
|
|
|
|
|
|
|
|
extern void psCameraShowRaster(RwCamera *camera);
|
|
|
|
extern RwBool psCameraBeginUpdate(RwCamera *camera);
|
|
|
|
|
|
|
|
extern void psMouseSetPos(RwV2d *pos);
|
|
|
|
|
2019-06-02 05:00:38 +02:00
|
|
|
extern RwBool psSelectDevice();
|
|
|
|
|
|
|
|
extern RwMemoryFunctions *psGetMemoryFunctions(void);
|
2019-05-31 19:02:26 +02:00
|
|
|
|
|
|
|
/* install the platform specific file system */
|
|
|
|
extern RwBool psInstallFileSystem(void);
|
|
|
|
|
|
|
|
|
|
|
|
/* Handle native texture support */
|
|
|
|
extern RwBool psNativeTextureSupport(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* PLATFORM_H */
|