git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@403 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
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
|