Michaël Lemaire
deeadf33ca
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@213 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
27 lines
736 B
C
27 lines
736 B
C
#ifndef _PAYSAGES_MODIFIERS_H_
|
|
#define _PAYSAGES_MODIFIERS_H_
|
|
|
|
#include "shared/types.h"
|
|
#include <stdio.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct HeightModifier HeightModifier;
|
|
|
|
HeightModifier* modifierCreate();
|
|
HeightModifier* modifierCreateCopy(HeightModifier* source);
|
|
void modifierDelete(HeightModifier* modifier);
|
|
void modifierSave(HeightModifier* modifier, FILE* f);
|
|
void modifierLoad(HeightModifier* modifier, FILE* f);
|
|
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
|