repo.or.cz
/
NXEngine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
NXEngine v1.0.0.6
[NXEngine.git]
/
slope.h
blob
2e624fa7babc880b67275e544e486f6fec4dadd3
1
2
#ifndef _SLOPE_H
3
#define _SLOPE_H
4
5
// slope types
6
#define SLOPE_CEIL_FWD1 1
7
#define SLOPE_CEIL_FWD2 2
8
#define SLOPE_CEIL_BACK1 3
9
#define SLOPE_CEIL_BACK2 4
10
11
#define SLOPE_BACK1 5
12
#define SLOPE_BACK2 6
13
#define SLOPE_FWD1 7
14
#define SLOPE_FWD2 8
15
16
#define SLOPE_LAST 8
17
18
struct
SlopeTable
19
{
20
uint8_t
table
[
TILE_W
][
TILE_H
];
21
};
22
23
#endif