You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
C
43 lines
1.5 KiB
C
/****************************************************************************
|
|
* *
|
|
* module : native.h *
|
|
* *
|
|
* purpose: see native.c *
|
|
* *
|
|
****************************************************************************/
|
|
|
|
#ifndef NATIVE_H
|
|
#define NATIVE_H
|
|
|
|
#include "rwcore.h"
|
|
|
|
/****************************************************************************
|
|
global prototypes
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif /* __cplusplus */
|
|
|
|
/* Geometry */
|
|
RWEXPORT RwStream* RWAPI _rpGeometryNativeWrite(RwStream *stream,
|
|
const RpGeometry *geometry);
|
|
RWEXPORT RpGeometry* RWAPI _rpGeometryNativeRead(RwStream *stream,
|
|
RpGeometry *geometry);
|
|
RWEXPORT RwInt32 RWAPI _rpGeometryNativeSize(const RpGeometry *geometry);
|
|
|
|
/* World sectors */
|
|
RWEXPORT RwStream* RWAPI _rpWorldSectorNativeWrite(RwStream *stream,
|
|
const RpWorldSector *sector);
|
|
RWEXPORT RpWorldSector* RWAPI _rpWorldSectorNativeRead(RwStream *stream,
|
|
RpWorldSector *sector);
|
|
RWEXPORT RwInt32 RWAPI _rpWorldSectorNativeSize(const RpWorldSector *sector);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
#endif /* NATIVE_H */
|