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 #include <kFireSync/Data/kTerrain.x.h>
13 
14 //typedef kObject kTerrain; --forward-declared in kFsDef.x.h
15 
16 kFsFx(kStatus) kTerrain_Construct(kTerrain* terrain, kImage profile, kAlloc allocator);
17 
18 kFsFx(kImage) kTerrain_GetProfile(kTerrain terrain);
19 kFsFx(kStatus) kTerrain_SetProfile(kTerrain terrain,kImage image);
20 
21 kFsFx(kStatus) kTerrain_AddOverlay(kTerrain terrain,kImage image);
22 kFsFx(kImage*) kTerrain_OverlayAt(kTerrain terrain,k32u index);
23 kFsFx(kStatus) kTerrain_ClearOverlays(kTerrain terrain);
24 kFsFx(kSize) kTerrain_OverlayCount(kTerrain terrain);
25 
26 kFsFx(kStatus) kTerrain_SetWorldPlane(kTerrain terrain,kPoint3d32s * topLeft,kPoint3d32s * bottomLeft,kPoint3d32s * bottomRight);
27 kFsFx(kStatus) kTerrain_GetWorldPlane(kTerrain terrain,kPoint3d32s * topLeft,kPoint3d32s * bottomLeft,kPoint3d32s * bottomRight);
28 
29 kFsFx(kStatus) kTerrain_InvertProfile(kTerrain terrain,kBool invert);
30 kFsFx(kStatus) kTerrain_IsProfileInverted(kTerrain terrain,kBool *inverted);
31 
32 #endif
Essential API declarations for the kFireSync library.