-
Notifications
You must be signed in to change notification settings - Fork 10
/
terrain.h
50 lines (45 loc) · 840 Bytes
/
terrain.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* terrain.h
* XBolo
*
* Created by Robert Chrzanowski on 10/11/09.
* Copyright 2009 Robert Chrzanowski. All rights reserved.
*
*/
#ifndef __TERRAIN__
#define __TERRAIN__
enum {
kSeaTerrain,
kBoatTerrain,
kWallTerrain,
kRiverTerrain,
kSwampTerrain0,
kSwampTerrain1,
kSwampTerrain2,
kSwampTerrain3,
kCraterTerrain,
kRoadTerrain,
kForestTerrain,
kRubbleTerrain0,
kRubbleTerrain1,
kRubbleTerrain2,
kRubbleTerrain3,
kGrassTerrain0,
kGrassTerrain1,
kGrassTerrain2,
kGrassTerrain3,
kDamagedWallTerrain0,
kDamagedWallTerrain1,
kDamagedWallTerrain2,
kDamagedWallTerrain3,
/* mined terrain */
kMinedSeaTerrain,
kMinedSwampTerrain,
kMinedCraterTerrain,
kMinedRoadTerrain,
kMinedForestTerrain,
kMinedRubbleTerrain,
kMinedGrassTerrain,
} ;
int isWaterLikeTerrain(int terrain);
#endif /* __TERRAIN__ */