Michaël Lemaire
203dd0ab12
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@350 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
27 lines
749 B
C
27 lines
749 B
C
#ifndef _PAYSAGES_MODIFIERS_H_
|
|
#define _PAYSAGES_MODIFIERS_H_
|
|
|
|
#include "pack.h"
|
|
#include "zone.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct HeightModifier HeightModifier;
|
|
|
|
HeightModifier* modifierCreate();
|
|
HeightModifier* modifierCreateCopy(HeightModifier* source);
|
|
void modifierDelete(HeightModifier* modifier);
|
|
void modifierSave(PackStream* stream, HeightModifier* modifier);
|
|
void modifierLoad(PackStream* stream, HeightModifier* modifier);
|
|
Zone* modifierGetZone(HeightModifier* modifier);
|
|
void modifierActionAddValue(HeightModifier* modifier, double value);
|
|
void modifierActionFixValue(HeightModifier* modifier, double value);
|
|
Vector3 modifierApply(HeightModifier* modifier, Vector3 location);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|