Alchemy
Loading...
Searching...
No Matches

curve_data.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_FIELD_CURVE_DATA_H
2#define ALCHEMY_UNIT_FIELD_CURVE_DATA_H
3
4#include "types.h"
5
6extern const u8 gCurve_LerpWeightTable[256];
7extern const u8 gCurve_SampleIndexTable[256];
8
9#endif
const u8 gCurve_LerpWeightTable[256]
Height-curve tables, indexed by (row << 4) + column within a 16x16 cell.
Definition curve_data.c:8
const u8 gCurve_SampleIndexTable[256]
The sample Curve_LookupSampleByTable reads at each position: 0, 1 or 2, split along two diagonals.
Definition curve_data.c:29
The integer types, TRUE, UNUSED and the fixed-address macros.
unsigned char u8
Definition types.h:11