33 lines
579 B
C
33 lines
579 B
C
|
#ifndef _PAYSAGES_GEOAREA_H_
|
||
|
#define _PAYSAGES_GEOAREA_H_
|
||
|
|
||
|
/* Geographic area definition */
|
||
|
|
||
|
#include "pack.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
double location_x;
|
||
|
double location_z;
|
||
|
double size_x;
|
||
|
double size_z;
|
||
|
} GeoArea;
|
||
|
|
||
|
GeoArea geoareaCreate();
|
||
|
void geoareaDelete(GeoArea* geoarea);
|
||
|
void geoareaCopy(GeoArea* source, GeoArea* destination);
|
||
|
void geoareaValidate(GeoArea* geoarea);
|
||
|
|
||
|
void geoareaSave(PackStream* stream, GeoArea* geoarea);
|
||
|
void geoareaLoad(PackStream* stream, GeoArea* geoarea);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|