My Project: openb3dlib.mod/data.h Source File

My Project

data.h
Go to the documentation of this file.
1 // data.h
2
3 #include "openb3d/src/actions.h"
4 #include "openb3d/src/pick.h"
5 #include "openb3d/src/light.h"
6 #include "openb3d/src/shadow.h"
7
8 #include <vector>
9 #include <list>
10 //using namespace std;
11
12 extern "C" {
13
14 // Static
15 char* StaticChar( int classid,int varid );
16 int* StaticInt( int classid,int varid );
17 float* StaticFloat( int classid,int varid );
18 Entity* StaticEntity( int classid,int varid );
19 Camera* StaticCamera( int classid,int varid );
20 Pivot* StaticPivot( int classid,int varid );
21 Surface* StaticSurface( int classid,int varid );
22 int StaticListSize( int classid,int varid );
23 Action* StaticIterListAction( int classid,int varid,int &id );
24 Camera* StaticIterListCamera( int classid,int varid,int &id );
25 Entity* StaticIterListEntity( int classid,int varid,int &id );
26 ShadowObject* StaticIterListShadowObject( int classid,int varid,int &id );
27 Terrain* StaticIterListTerrain( int classid,int varid,int &id );
28 Texture* StaticIterListTexture( int classid,int varid,int &id );
29 Light* StaticIterVectorLight( int classid,int varid,int &id );
30
31 // Action
32 int* ActionInt( Action* obj,int varid );
33
34 // AnimationKeys
35 int* AnimationKeysInt( AnimationKeys* obj,int varid );
36 float* AnimationKeysFloat( AnimationKeys* obj,int varid );
37
38 // Bone
39 float* BoneFloat( Bone* obj,int varid );
40 AnimationKeys* BoneAnimationKeys( Bone* obj,int varid );
41 Matrix* BoneMatrix( Bone* obj,int varid );
42
43 // Brush
44 int* BrushInt( Brush* obj,int varid );
45 unsigned int* BrushUInt( Brush* obj,int varid );
46 float* BrushFloat( Brush* obj,int varid );
47 const char* BrushString( Brush* obj,int varid );
48 Texture* BrushTextureArray( Brush* obj,int varid,int index );
49
50 // Camera
51 bool* CameraBool( Camera* obj,int varid );
52 int* CameraInt( Camera* obj,int varid );
53 float* CameraFloat( Camera* obj,int varid );
54
55 // Entity
56 int* EntityInt( Entity* obj,int varid );
57 float* EntityFloat( Entity* obj,int varid );
58 const char* EntityString( Entity* obj,int varid );
59 Entity* EntityEntity( Entity* obj,int varid );
60 Matrix* EntityMatrix( Entity* obj,int varid );
61 Brush* EntityBrush( Entity* obj,int varid );
62 int EntityListSize( Entity* obj,int varid );
63 Entity* EntityIterListEntity( Entity* obj,int varid,int &id );
64 void EntityListPushBackEntity( Entity* obj,int varid,Entity* ent );
65
66 // Light
67 char* LightChar( Light* obj,int varid );
68 float* LightFloat( Light* obj,int varid );
69
70 // Matrix
71 float* MatrixFloat( Matrix* obj,int varid );
72
73 // Mesh
74 int* MeshInt( Mesh* obj,int varid );
75 float* MeshFloat( Mesh* obj,int varid );
76 Matrix* MeshMatrix( Mesh* obj,int varid );
77 int MeshListSize( Mesh* obj,int varid );
78 Surface* MeshIterListSurface( Mesh* obj,int varid,int &id );
79 Bone* MeshIterVectorBone( Mesh* obj,int varid,int &id );
80 vector<Bone*>* MeshVectorBone( Mesh* obj,int varid );
81 void MeshListPushBackSurface( Mesh* obj,int varid,Surface* surf );
82 void MeshListPushBackBone( Mesh* obj,int varid,Bone* bone );
83
84 // ShadowObject
85 char* ShadowObjectChar( ShadowObject* obj,int varid );
86 int* ShadowObjectInt( ShadowObject* obj,int varid );
87 Mesh* ShadowObjectMesh( ShadowObject* obj,int varid );
88 Surface* ShadowObjectSurface( ShadowObject* obj,int varid );
89
90 // Sprite
91 int* SpriteInt( Sprite* obj,int varid );
92 float* SpriteFloat( Sprite* obj,int varid );
93
94 // Surface
95 unsigned short* SurfaceUShort( Surface* obj,int varid );
96 int* SurfaceInt( Surface* obj,int varid );
97 unsigned int* SurfaceUInt( Surface* obj,int varid );
98 float* SurfaceFloat( Surface* obj,int varid );
99 Brush* SurfaceBrush( Surface* obj,int varid );
100 Shader* SurfaceShader( Surface* obj,int varid );
101
102 // Terrain
103 float* TerrainFloat( Terrain* obj,int varid );
104 Camera* TerrainCamera( Terrain* obj,int varid );
105 Shader* TerrainShader( Terrain* obj,int varid );
106
107 // Texture
108 int* TextureInt( Texture* obj,int varid );
109 unsigned int* TextureUInt( Texture* obj,int varid );
110 float* TextureFloat( Texture* obj,int varid );
111 const char* TextureString( Texture* obj,int varid );
112
113 } // extern "C"
MeshIterVectorBone
Bone * MeshIterVectorBone(Mesh *obj, int varid, int &id)
Definition: data.cpp:1204
MeshListPushBackBone
void MeshListPushBackBone(Mesh *obj, int varid, Bone *bone)
Definition: data.cpp:1239
StaticListSize
int StaticListSize(int classid, int varid)
Definition: data.cpp:571
BrushTextureArray
Texture * BrushTextureArray(Brush *obj, int varid, int index)
Definition: data.cpp:917
Mesh
Definition: mesh.h:34
BoneMatrix
Matrix * BoneMatrix(Bone *obj, int varid)
Definition: data.cpp:872
CameraBool
bool * CameraBool(Camera *obj, int varid)
Definition: data.cpp:926
SurfaceUShort
unsigned short * SurfaceUShort(Surface *obj, int varid)
Definition: data.cpp:1302
Surface
Definition: surface.h:19
TextureInt
int * TextureInt(Texture *obj, int varid)
Definition: data.cpp:1392
MeshListPushBackSurface
void MeshListPushBackSurface(Mesh *obj, int varid, Surface *surf)
Definition: data.cpp:1230
TextureFloat
float * TextureFloat(Texture *obj, int varid)
Definition: data.cpp:1415
Bone
Definition: bone.h:18
Light
Definition: light.h:19
Terrain
Definition: terrain.h:22
Pivot
Definition: pivot.h:19
actions.h
SurfaceShader
Shader * SurfaceShader(Surface *obj, int varid)
Definition: data.cpp:1357
pick.h
shadow.h
EntityInt
int * EntityInt(Entity *obj, int varid)
Definition: data.cpp:970
TerrainShader
Shader * TerrainShader(Terrain *obj, int varid)
Definition: data.cpp:1383
EntityListSize
int EntityListSize(Entity *obj, int varid)
Definition: data.cpp:1072
StaticPivot
Pivot * StaticPivot(int classid, int varid)
Definition: data.cpp:549
BoneFloat
float * BoneFloat(Bone *obj, int varid)
Definition: data.cpp:839
EntityString
const char * EntityString(Entity *obj, int varid)
Definition: data.cpp:1041
Camera
Definition: camera.h:23
MeshIterListSurface
Surface * MeshIterListSurface(Mesh *obj, int varid, int &id)
Definition: data.cpp:1178
ShadowObjectInt
int * ShadowObjectInt(ShadowObject *obj, int varid)
Definition: data.cpp:1257
AnimationKeys
Definition: animation_keys.h:17
light.h
ActionInt
int * ActionInt(Action *obj, int varid)
Definition: data.cpp:804
TextureString
const char * TextureString(Texture *obj, int varid)
Definition: data.cpp:1426
StaticIterVectorLight
Light * StaticIterVectorLight(int classid, int varid, int &id)
Definition: data.cpp:779
ShadowObject
Definition: shadow.h:50
EntityBrush
Brush * EntityBrush(Entity *obj, int varid)
Definition: data.cpp:1056
StaticChar
char * StaticChar(int classid, int varid)
Definition: data.cpp:418
MeshFloat
float * MeshFloat(Mesh *obj, int varid)
Definition: data.cpp:1149
Action
Definition: actions.h:20
Sprite
Definition: sprite.h:18
SurfaceInt
int * SurfaceInt(Surface *obj, int varid)
Definition: data.cpp:1309
AnimationKeysFloat
float * AnimationKeysFloat(AnimationKeys *obj, int varid)
Definition: data.cpp:821
LightFloat
float * LightFloat(Light *obj, int varid)
Definition: data.cpp:1117
EntityFloat
float * EntityFloat(Entity *obj, int varid)
Definition: data.cpp:995
BoneAnimationKeys
AnimationKeys * BoneAnimationKeys(Bone *obj, int varid)
Definition: data.cpp:865
MeshInt
int * MeshInt(Mesh *obj, int varid)
Definition: data.cpp:1140
MeshVectorBone
vector< Bone * > * MeshVectorBone(Mesh *obj, int varid)
Definition: data.cpp:1223
Entity
Definition: entity.h:27
MatrixFloat
float * MatrixFloat(Matrix *obj, int varid)
Definition: data.cpp:1131
BrushUInt
unsigned int * BrushUInt(Brush *obj, int varid)
Definition: data.cpp:892
EntityMatrix
Matrix * EntityMatrix(Entity *obj, int varid)
Definition: data.cpp:1063
CameraInt
int * CameraInt(Camera *obj, int varid)
Definition: data.cpp:934
EntityEntity
Entity * EntityEntity(Entity *obj, int varid)
Definition: data.cpp:1049
ShadowObjectSurface
Surface * ShadowObjectSurface(ShadowObject *obj, int varid)
Definition: data.cpp:1272
StaticIterListCamera
Camera * StaticIterListCamera(int classid, int varid, int &id)
Definition: data.cpp:644
StaticCamera
Camera * StaticCamera(int classid, int varid)
Definition: data.cpp:527
StaticInt
int * StaticInt(int classid, int varid)
Definition: data.cpp:429
MeshListSize
int MeshListSize(Mesh *obj, int varid)
Definition: data.cpp:1168
EntityIterListEntity
Entity * EntityIterListEntity(Entity *obj, int varid, int &id)
Definition: data.cpp:1081
ShadowObjectMesh
Mesh * ShadowObjectMesh(ShadowObject *obj, int varid)
Definition: data.cpp:1264
ShadowObjectChar
char * ShadowObjectChar(ShadowObject *obj, int varid)
Definition: data.cpp:1248
Texture
Definition: texture.h:23
StaticIterListTerrain
Terrain * StaticIterListTerrain(int classid, int varid, int &id)
Definition: data.cpp:733
Matrix
Definition: matrix.h:18
CameraFloat
float * CameraFloat(Camera *obj, int varid)
Definition: data.cpp:948
Shader
Definition: shadermat.h:56
StaticEntity
Entity * StaticEntity(int classid, int varid)
Definition: data.cpp:538
MeshMatrix
Matrix * MeshMatrix(Mesh *obj, int varid)
Definition: data.cpp:1161
TerrainCamera
Camera * TerrainCamera(Terrain *obj, int varid)
Definition: data.cpp:1376
BrushString
const char * BrushString(Brush *obj, int varid)
Definition: data.cpp:910
EntityListPushBackEntity
void EntityListPushBackEntity(Entity *obj, int varid, Entity *ent)
Definition: data.cpp:1100
StaticFloat
float * StaticFloat(int classid, int varid)
Definition: data.cpp:476
BrushFloat
float * BrushFloat(Brush *obj, int varid)
Definition: data.cpp:899
StaticIterListTexture
Texture * StaticIterListTexture(int classid, int varid, int &id)
Definition: data.cpp:756
SpriteFloat
float * SpriteFloat(Sprite *obj, int varid)
Definition: data.cpp:1289
StaticIterListShadowObject
ShadowObject * StaticIterListShadowObject(int classid, int varid, int &id)
Definition: data.cpp:710
Brush
Definition: brush.h:21
TextureUInt
unsigned int * TextureUInt(Texture *obj, int varid)
Definition: data.cpp:1406
SurfaceFloat
float * SurfaceFloat(Surface *obj, int varid)
Definition: data.cpp:1335
TerrainFloat
float * TerrainFloat(Terrain *obj, int varid)
Definition: data.cpp:1366
StaticSurface
Surface * StaticSurface(int classid, int varid)
Definition: data.cpp:560
StaticIterListAction
Action * StaticIterListAction(int classid, int varid, int &id)
Definition: data.cpp:621
LightChar
char * LightChar(Light *obj, int varid)
Definition: data.cpp:1109
AnimationKeysInt
int * AnimationKeysInt(AnimationKeys *obj, int varid)
Definition: data.cpp:813
SpriteInt
int * SpriteInt(Sprite *obj, int varid)
Definition: data.cpp:1281
BrushInt
int * BrushInt(Brush *obj, int varid)
Definition: data.cpp:883
SurfaceUInt
unsigned int * SurfaceUInt(Surface *obj, int varid)
Definition: data.cpp:1328
StaticIterListEntity
Entity * StaticIterListEntity(int classid, int varid, int &id)
Definition: data.cpp:667
SurfaceBrush
Brush * SurfaceBrush(Surface *obj, int varid)
Definition: data.cpp:1350