FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kTerrain.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_TERRAIN_H
9 #define K_FIRESYNC_TERRAIN_H
10 
11 #include <kFireSync/kFsDef.h>
12 
13 kBeginHeader()
14 
15 //typedef kObject kTerrain; --forward-declared in kFsDef.x.h
16 
17 kFsFx(kStatus) kTerrain_Construct(kTerrain* terrain, kImage profile, kAlloc allocator);
18 
19 kFsFx(kImage) kTerrain_GetProfile(kTerrain terrain);
20 kFsFx(kStatus) kTerrain_SetProfile(kTerrain terrain,kImage image);
21 
22 kFsFx(kStatus) kTerrain_AddOverlay(kTerrain terrain,kImage image);
23 kFsFx(kImage*) kTerrain_OverlayAt(kTerrain terrain,k32u index);
24 kFsFx(kStatus) kTerrain_ClearOverlays(kTerrain terrain);
25 kFsFx(kSize) kTerrain_OverlayCount(kTerrain terrain);
26 
27 kFsFx(kStatus) kTerrain_SetWorldPlane(kTerrain terrain,kPoint3d32s * topLeft,kPoint3d32s * bottomLeft,kPoint3d32s * bottomRight);
28 kFsFx(kStatus) kTerrain_GetWorldPlane(kTerrain terrain,kPoint3d32s * topLeft,kPoint3d32s * bottomLeft,kPoint3d32s * bottomRight);
29 
30 kFsFx(kStatus) kTerrain_InvertProfile(kTerrain terrain,kBool invert);
31 kFsFx(kStatus) kTerrain_IsProfileInverted(kTerrain terrain,kBool *inverted);
32 
33 kEndHeader()
34 #include <kFireSync/Data/kTerrain.x.h>
35 
36 #endif
Essential API declarations for the kFireSync library.