#ifndef OPENB3D_OPENB3DCORE_OPENB3DCORE_BMX_RELEASE_WIN32_X86_H
#define OPENB3D_OPENB3DCORE_OPENB3DCORE_BMX_RELEASE_WIN32_X86_H

#include <brl.mod/blitz.mod/.bmx/blitz.bmx.release.win32.x86.h>
#include <openb3d.mod/openb3dlib.mod/.bmx/openb3dlib.bmx.release.win32.x86.h>
#include <openb3d.mod/ddsloader.mod/.bmx/ddsloader.bmx.release.win32.x86.h>
int __bb_openb3d_openb3dcore_openb3dcore();
struct openb3d_openb3dcore_TMeshLoader_obj;
struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj;
struct openb3d_openb3dcore_TMeshLoaderMax_obj;
struct openb3d_openb3dcore_TGlobal3D_obj;
struct openb3d_openb3dcore_TUse_obj;
struct openb3d_openb3dcore_TEntity_obj;
struct openb3d_openb3dcore_TCamera_obj;
struct openb3d_openb3dcore_TLight_obj;
struct openb3d_openb3dcore_TPivot_obj;
struct openb3d_openb3dcore_TMesh_obj;
struct openb3d_openb3dcore_TSprite_obj;
struct openb3d_openb3dcore_TBone_obj;
struct openb3d_openb3dcore_TSurface_obj;
struct openb3d_openb3dcore_TTexture_obj;
struct openb3d_openb3dcore_TTextureFilter_obj;
struct openb3d_openb3dcore_TBrush_obj;
struct openb3d_openb3dcore_TAnimation_obj;
struct openb3d_openb3dcore_TAnimationKeys_obj;
struct openb3d_openb3dcore_TB3D_obj;
struct openb3d_openb3dcore_TMD2Vertex_obj;
struct openb3d_openb3dcore_TMD2Triangle_obj;
struct openb3d_openb3dcore_TMD2TexCoords_obj;
struct openb3d_openb3dcore_TMD2Frame_obj;
struct openb3d_openb3dcore_TMD2_obj;
struct openb3d_openb3dcore_T3DS_obj;
struct openb3d_openb3dcore_TChunk_obj;
struct openb3d_openb3dcore_TAnimKey_obj;
struct openb3d_openb3dcore_T3DS2_obj;
struct openb3d_openb3dcore_TOBJ_obj;
struct openb3d_openb3dcore_TFaceData_obj;
struct openb3d_openb3dcore_TObjNormal_obj;
struct openb3d_openb3dcore_TObjTexCoord_obj;
struct openb3d_openb3dcore_TObjVertex_obj;
struct openb3d_openb3dcore_TObjMtl_obj;
struct openb3d_openb3dcore_TVertCache_obj;
struct openb3d_openb3dcore_TPick_obj;
struct openb3d_openb3dcore_TVector_obj;
struct openb3d_openb3dcore_TVecPtr_obj;
struct openb3d_openb3dcore_TMatrix_obj;
struct openb3d_openb3dcore_TMatPtr_obj;
struct openb3d_openb3dcore_TQuaternion_obj;
struct openb3d_openb3dcore_TQuatPtr_obj;
struct openb3d_openb3dcore_TBlitz2D_obj;
struct openb3d_openb3dcore_TUtility_obj;
struct openb3d_openb3dcore_TTerrain_obj;
struct openb3d_openb3dcore_TShaderObject_obj;
struct openb3d_openb3dcore_TMaterial_obj;
struct openb3d_openb3dcore_TShader_obj;
struct openb3d_openb3dcore_TShadowObject_obj;
struct openb3d_openb3dcore_THardwareInfo_obj;
struct openb3d_openb3dcore_TStencil_obj;
struct openb3d_openb3dcore_TFluid_obj;
struct openb3d_openb3dcore_TBlob_obj;
struct openb3d_openb3dcore_TGeosphere_obj;
struct openb3d_openb3dcore_TOcTree_obj;
struct openb3d_openb3dcore_TVoxelSprite_obj;
struct openb3d_openb3dcore_TAction_obj;
struct openb3d_openb3dcore_TConstraint_obj;
struct openb3d_openb3dcore_TRigidBody_obj;
struct openb3d_openb3dcore_TParticleBatch_obj;
struct openb3d_openb3dcore_TParticleEmitter_obj;
struct openb3d_openb3dcore_TPostFX_obj;
void _openb3d_openb3dcore_TMeshLoader_New(struct openb3d_openb3dcore_TMeshLoader_obj* o);
typedef BBINT (*openb3d_openb3dcore_TMeshLoader_CanLoadMesh_S_m)(struct openb3d_openb3dcore_TMeshLoader_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TMeshLoader_CanLoadMesh_S(struct openb3d_openb3dcore_TMeshLoader_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMeshLoader_LoadMesh_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_TMeshLoader_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMeshLoader_LoadMesh_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_TMeshLoader_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMeshLoader_LoadAnimMesh_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_TMeshLoader_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMeshLoader_LoadAnimMesh_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_TMeshLoader_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct BBClass_openb3d_openb3dcore_TMeshLoader {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMeshLoader_CanLoadMesh_S_m m_CanLoadMesh_S;
	openb3d_openb3dcore_TMeshLoader_LoadMesh_TTStreamTObjectTTEntityi_m m_LoadMesh_TTStreamTObjectTTEntityi;
	openb3d_openb3dcore_TMeshLoader_LoadAnimMesh_TTStreamTObjectTTEntityi_m m_LoadAnimMesh_TTStreamTObjectTTEntityi;
};

struct openb3d_openb3dcore_TMeshLoader_obj {
	struct BBClass_openb3d_openb3dcore_TMeshLoader* clas;
	struct openb3d_openb3dcore_TMeshLoader_obj* _openb3d_openb3dcore_tmeshloader__succ;
};
extern struct BBClass_openb3d_openb3dcore_TMeshLoader openb3d_openb3dcore_TMeshLoader;
void _openb3d_openb3dcore_TMeshLoaderOpenB3D_New(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj* o);
typedef BBINT (*openb3d_openb3dcore_TMeshLoaderOpenB3D_CanLoadMesh_S_m)(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TMeshLoaderOpenB3D_CanLoadMesh_S(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMeshLoaderOpenB3D_LoadMesh_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMeshLoaderOpenB3D_LoadMesh_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMeshLoaderOpenB3D_LoadAnimMesh_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMeshLoaderOpenB3D_LoadAnimMesh_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct BBClass_openb3d_openb3dcore_TMeshLoaderOpenB3D {
	struct BBClass_openb3d_openb3dcore_TMeshLoader*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMeshLoaderOpenB3D_CanLoadMesh_S_m m_CanLoadMesh_S;
	openb3d_openb3dcore_TMeshLoaderOpenB3D_LoadMesh_TTStreamTObjectTTEntityi_m m_LoadMesh_TTStreamTObjectTTEntityi;
	openb3d_openb3dcore_TMeshLoaderOpenB3D_LoadAnimMesh_TTStreamTObjectTTEntityi_m m_LoadAnimMesh_TTStreamTObjectTTEntityi;
};

struct openb3d_openb3dcore_TMeshLoaderOpenB3D_obj {
	struct BBClass_openb3d_openb3dcore_TMeshLoaderOpenB3D* clas;
	struct openb3d_openb3dcore_TMeshLoader_obj* _openb3d_openb3dcore_tmeshloader__succ;
};
extern struct BBClass_openb3d_openb3dcore_TMeshLoaderOpenB3D openb3d_openb3dcore_TMeshLoaderOpenB3D;
void _openb3d_openb3dcore_TMeshLoaderMax_New(struct openb3d_openb3dcore_TMeshLoaderMax_obj* o);
typedef BBINT (*openb3d_openb3dcore_TMeshLoaderMax_CanLoadMesh_S_m)(struct openb3d_openb3dcore_TMeshLoaderMax_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TMeshLoaderMax_CanLoadMesh_S(struct openb3d_openb3dcore_TMeshLoaderMax_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMeshLoaderMax_LoadMesh_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_TMeshLoaderMax_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMeshLoaderMax_LoadMesh_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_TMeshLoaderMax_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMeshLoaderMax_LoadAnimMesh_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_TMeshLoaderMax_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMeshLoaderMax_LoadAnimMesh_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_TMeshLoaderMax_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct BBClass_openb3d_openb3dcore_TMeshLoaderMax {
	struct BBClass_openb3d_openb3dcore_TMeshLoader*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMeshLoaderMax_CanLoadMesh_S_m m_CanLoadMesh_S;
	openb3d_openb3dcore_TMeshLoaderMax_LoadMesh_TTStreamTObjectTTEntityi_m m_LoadMesh_TTStreamTObjectTTEntityi;
	openb3d_openb3dcore_TMeshLoaderMax_LoadAnimMesh_TTStreamTObjectTTEntityi_m m_LoadAnimMesh_TTStreamTObjectTTEntityi;
};

struct openb3d_openb3dcore_TMeshLoaderMax_obj {
	struct BBClass_openb3d_openb3dcore_TMeshLoaderMax* clas;
	struct openb3d_openb3dcore_TMeshLoader_obj* _openb3d_openb3dcore_tmeshloader__succ;
};
extern struct BBClass_openb3d_openb3dcore_TMeshLoaderMax openb3d_openb3dcore_TMeshLoaderMax;
void _openb3d_openb3dcore_TGlobal3D_New(struct openb3d_openb3dcore_TGlobal3D_obj* o);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TGlobal3D_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_DebugGlobals_i_ii_f)(BBINT,BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_DebugGlobals_i_ii(BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_CopyList_i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TGlobal3D_CopyList_i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_CheckFramebufferStatus_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_CheckFramebufferStatus_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_GraphicsInit_i_f)();
BBINT openb3d_openb3dcore_TGlobal3D_GraphicsInit_i();
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_EnableStates_i_f)();
BBINT openb3d_openb3dcore_TGlobal3D_EnableStates_i();
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_Wireframe_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_Wireframe_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_AmbientLight_i_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBINT openb3d_openb3dcore_TGlobal3D_AmbientLight_i_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_FreeCollisionPivots_i_f)();
BBINT openb3d_openb3dcore_TGlobal3D_FreeCollisionPivots_i();
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_ClearCollisions_i_f)();
BBINT openb3d_openb3dcore_TGlobal3D_ClearCollisions_i();
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_Collisions_i_iiii_f)(BBINT,BBINT,BBINT,BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_Collisions_i_iiii(BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_ClearWorld_i_iii_f)(BBINT,BBINT,BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_ClearWorld_i_iii(BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_FreeAllEntities_i_vi_f)(BBINT*);
BBINT openb3d_openb3dcore_TGlobal3D_FreeAllEntities_i_vi(BBINT*);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_UpdateWorld_i_f_f)(BBFLOAT);
BBINT openb3d_openb3dcore_TGlobal3D_UpdateWorld_i_f(BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_RenderWorld_i_f)();
BBINT openb3d_openb3dcore_TGlobal3D_RenderWorld_i();
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_AntiAlias_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_AntiAlias_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_MSAntiAlias_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TGlobal3D_MSAntiAlias_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_RenderCamera_i_TTCamera_f)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT openb3d_openb3dcore_TGlobal3D_RenderCamera_i_TTCamera(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TGlobal3D_UpdateEntityAnim_i_TTMesh_f)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT openb3d_openb3dcore_TGlobal3D_UpdateEntityAnim_i_TTMesh(struct openb3d_openb3dcore_TMesh_obj*);
struct BBClass_openb3d_openb3dcore_TGlobal3D {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TGlobal3D_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TGlobal3D_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TGlobal3D_CopyList_i_TTList_f f_CopyList_i_TTList;
	openb3d_openb3dcore_TGlobal3D_CheckFramebufferStatus_i_i_f f_CheckFramebufferStatus_i_i;
	openb3d_openb3dcore_TGlobal3D_GraphicsInit_i_f f_GraphicsInit_i;
	openb3d_openb3dcore_TGlobal3D_EnableStates_i_f f_EnableStates_i;
	openb3d_openb3dcore_TGlobal3D_Wireframe_i_i_f f_Wireframe_i_i;
	openb3d_openb3dcore_TGlobal3D_AmbientLight_i_fff_f f_AmbientLight_i_fff;
	openb3d_openb3dcore_TGlobal3D_FreeCollisionPivots_i_f f_FreeCollisionPivots_i;
	openb3d_openb3dcore_TGlobal3D_ClearCollisions_i_f f_ClearCollisions_i;
	openb3d_openb3dcore_TGlobal3D_Collisions_i_iiii_f f_Collisions_i_iiii;
	openb3d_openb3dcore_TGlobal3D_ClearWorld_i_iii_f f_ClearWorld_i_iii;
	openb3d_openb3dcore_TGlobal3D_FreeAllEntities_i_vi_f f_FreeAllEntities_i_vi;
	openb3d_openb3dcore_TGlobal3D_UpdateWorld_i_f_f f_UpdateWorld_i_f;
	openb3d_openb3dcore_TGlobal3D_RenderWorld_i_f f_RenderWorld_i;
	openb3d_openb3dcore_TGlobal3D_AntiAlias_i_i_f f_AntiAlias_i_i;
	openb3d_openb3dcore_TGlobal3D_MSAntiAlias_i_i_f f_MSAntiAlias_i_i;
	openb3d_openb3dcore_TGlobal3D_RenderCamera_i_TTCamera_f f_RenderCamera_i_TTCamera;
	openb3d_openb3dcore_TGlobal3D_UpdateEntityAnim_i_TTMesh_f f_UpdateEntityAnim_i_TTMesh;
};

struct openb3d_openb3dcore_TGlobal3D_obj {
	struct BBClass_openb3d_openb3dcore_TGlobal3D* clas;
};
extern struct BBClass_openb3d_openb3dcore_TGlobal3D openb3d_openb3dcore_TGlobal3D;
extern BBINT* openb3d_openb3dcore_TGlobal3D_width;
extern BBINT* openb3d_openb3dcore_TGlobal3D_height;
extern BBINT* openb3d_openb3dcore_TGlobal3D_Mode;
extern BBINT* openb3d_openb3dcore_TGlobal3D_depth;
extern BBINT* openb3d_openb3dcore_TGlobal3D_rate;
extern BBFLOAT* openb3d_openb3dcore_TGlobal3D_ambient_red;
extern BBFLOAT* openb3d_openb3dcore_TGlobal3D_ambient_green;
extern BBFLOAT* openb3d_openb3dcore_TGlobal3D_ambient_blue;
extern BBINT* openb3d_openb3dcore_TGlobal3D_vbo_enabled;
extern BBINT* openb3d_openb3dcore_TGlobal3D_vbo_min_tris;
extern BBINT* openb3d_openb3dcore_TGlobal3D_Shadows_enabled;
extern BBFLOAT* openb3d_openb3dcore_TGlobal3D_anim_speed;
extern BBINT* openb3d_openb3dcore_TGlobal3D_fog_enabled;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_root_ent;
extern struct openb3d_openb3dcore_TCamera_obj* openb3d_openb3dcore_TGlobal3D_camera_in_use;
extern struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TGlobal3D_ambient_shader;
extern BBINT* openb3d_openb3dcore_TGlobal3D_alpha_enable;
extern BBINT* openb3d_openb3dcore_TGlobal3D_blend_mode;
extern BBINT* openb3d_openb3dcore_TGlobal3D_fx1;
extern BBINT* openb3d_openb3dcore_TGlobal3D_fx2;
extern BBINT openb3d_openb3dcore_TGlobal3D_pivots_exist;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_piv1o;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_piv1;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_piv11;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_piv111;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_piv2o;
extern struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TGlobal3D_piv2;
extern struct brl_graphics_TGraphics_obj* openb3d_openb3dcore_TGlobal3D_gfx_obj;
extern BBBYTE openb3d_openb3dcore_TGlobal3D_txt_red;
extern BBBYTE openb3d_openb3dcore_TGlobal3D_txt_green;
extern BBBYTE openb3d_openb3dcore_TGlobal3D_txt_blue;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_New;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_Del;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_3DS;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_B3D;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_MD2;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_Assimp;
extern BBINT openb3d_openb3dcore_TGlobal3D_Log_OBJ;
extern BBFLOAT openb3d_openb3dcore_TGlobal3D_GL_Version;
extern BBINT openb3d_openb3dcore_TGlobal3D_Texture_Loader;
extern BBINT openb3d_openb3dcore_TGlobal3D_Mesh_Loader;
extern BBINT openb3d_openb3dcore_TGlobal3D_Mesh_Flags;
extern BBINT openb3d_openb3dcore_TGlobal3D_Mesh_Transform;
extern BBINT openb3d_openb3dcore_TGlobal3D_Loader_3DS2;
extern BBARRAY openb3d_openb3dcore_TGlobal3D_Cubemap_Frame;
extern BBARRAY openb3d_openb3dcore_TGlobal3D_Cubemap_Face;
extern BBINT openb3d_openb3dcore_TGlobal3D_Flip_Cubemap;
extern BBINT openb3d_openb3dcore_TGlobal3D_Texture_Flags;
extern struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TGlobal3D_Matrix_3DS;
extern struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TGlobal3D_Matrix_MD2;
void _openb3d_openb3dcore_TUse_New(struct openb3d_openb3dcore_TUse_obj* o);
typedef BBINT (*openb3d_openb3dcore_TUse_LibraryMeshes_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TUse_LibraryMeshes_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_AssimpStreamMeshes_i_ii_f)(BBINT,BBINT);
BBINT openb3d_openb3dcore_TUse_AssimpStreamMeshes_i_ii(BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_MeshDebugLog_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TUse_MeshDebugLog_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_MeshTransform_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TUse_MeshTransform_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_Matrix3DS_i_fffffffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT openb3d_openb3dcore_TUse_Matrix3DS_i_fffffffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TUse_MatrixMD2_i_fffffffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT openb3d_openb3dcore_TUse_MatrixMD2_i_fffffffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TUse_LibraryTextures_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TUse_LibraryTextures_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_TextureFrames_i_iiiiii_f)(BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
BBINT openb3d_openb3dcore_TUse_TextureFrames_i_iiiiii(BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_TextureFaces_i_iiiiii_f)(BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
BBINT openb3d_openb3dcore_TUse_TextureFaces_i_iiiiii(BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_CubemapFlip_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TUse_CubemapFlip_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TUse_MeshTextureFlags_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TUse_MeshTextureFlags_i_i(BBINT);
struct BBClass_openb3d_openb3dcore_TUse {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TUse_LibraryMeshes_i_i_f f_LibraryMeshes_i_i;
	openb3d_openb3dcore_TUse_AssimpStreamMeshes_i_ii_f f_AssimpStreamMeshes_i_ii;
	openb3d_openb3dcore_TUse_MeshDebugLog_i_i_f f_MeshDebugLog_i_i;
	openb3d_openb3dcore_TUse_MeshTransform_i_i_f f_MeshTransform_i_i;
	openb3d_openb3dcore_TUse_Matrix3DS_i_fffffffff_f f_Matrix3DS_i_fffffffff;
	openb3d_openb3dcore_TUse_MatrixMD2_i_fffffffff_f f_MatrixMD2_i_fffffffff;
	openb3d_openb3dcore_TUse_LibraryTextures_i_i_f f_LibraryTextures_i_i;
	openb3d_openb3dcore_TUse_TextureFrames_i_iiiiii_f f_TextureFrames_i_iiiiii;
	openb3d_openb3dcore_TUse_TextureFaces_i_iiiiii_f f_TextureFaces_i_iiiiii;
	openb3d_openb3dcore_TUse_CubemapFlip_i_i_f f_CubemapFlip_i_i;
	openb3d_openb3dcore_TUse_MeshTextureFlags_i_i_f f_MeshTextureFlags_i_i;
};

struct openb3d_openb3dcore_TUse_obj {
	struct BBClass_openb3d_openb3dcore_TUse* clas;
};
extern struct BBClass_openb3d_openb3dcore_TUse openb3d_openb3dcore_TUse;
void _openb3d_openb3dcore_TEntity_New(struct openb3d_openb3dcore_TEntity_obj* o);
void _openb3d_openb3dcore_TEntity_Delete(struct openb3d_openb3dcore_TEntity_obj* o);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_CopyEntity_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_Update_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_Update(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TEntity_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
BBBYTE* openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TEntity_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TEntity_InitFields_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_InitFields(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_DebugFields_ii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_DebugFields_ii(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_AddList_TTList_m)(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TEntity_AddList_TTList(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TEntity_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_CopyList_TTList_m)(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TEntity_CopyList_TTList(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TEntity_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m)(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
BBINT _openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m)(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
BBINT _openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
typedef BBINT (*openb3d_openb3dcore_TEntity_AddAnimSeq_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TEntity_AddAnimSeq_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_SetAnimKey_fiii(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_AlignToVector_fffif_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_AlignToVector_fffif(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT,BBFLOAT);
typedef BBSTRING (*openb3d_openb3dcore_TEntity_GetString_pb_m)(struct openb3d_openb3dcore_TEntity_obj*,BBBYTE*);
BBSTRING _openb3d_openb3dcore_TEntity_GetString_pb(struct openb3d_openb3dcore_TEntity_obj*,BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TEntity_SetString_pbS_m)(struct openb3d_openb3dcore_TEntity_obj*,BBBYTE*,BBSTRING);
BBINT _openb3d_openb3dcore_TEntity_SetString_pbS(struct openb3d_openb3dcore_TEntity_obj*,BBBYTE*,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TEntity_FreeEntity_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_FreeEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_FreeEntityList_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_FreeEntityList(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_SetParent_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_SetParent_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_PositionEntity_fffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_PositionEntity_fffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_MoveEntity_fff_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_MoveEntity_fff(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_TranslateEntity_fffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_ScaleEntity_fffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_RotateEntity_fffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_RotateEntity_fffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_TurnEntity_fffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_TurnEntity_fffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_PointEntity_TTEntityf(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m)(struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TEntity_LoadAnimSeq_S(struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_Animate_ifii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBFLOAT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_Animate_ifii(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBFLOAT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_SetAnimTime_fi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_SetAnimTime_fi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_AnimSeq_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_AnimSeq(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_AnimLength_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_AnimLength(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_AnimTime_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBFLOAT _openb3d_openb3dcore_TEntity_AnimTime(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_Animating_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_Animating(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityColor_fffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityColor_fffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityAlpha_f_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_EntityAlpha_f(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityShininess_f_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_EntityShininess_f(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityBlend_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityBlend_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityFX_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityFX_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TBrush_obj*);
BBINT _openb3d_openb3dcore_TEntity_PaintEntity_TTBrush(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TBrush_obj*);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TEntity_GetEntityBrush_m)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_TEntity_GetEntityBrush(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityOrder_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityOrder_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_ShowEntity_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_ShowEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_HideEntity_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_HideEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_NameEntity_S_m)(struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TEntity_NameEntity_S(struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityParent_TTEntityi(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_GetParent_m)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_GetParent(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityX_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityX_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityY_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityY_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityZ_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityZ_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityPitch_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityPitch_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityYaw_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityYaw_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityRoll_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityRoll_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBSTRING (*openb3d_openb3dcore_TEntity_EntityClass_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBSTRING _openb3d_openb3dcore_TEntity_EntityClass(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBSTRING (*openb3d_openb3dcore_TEntity_EntityName_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBSTRING _openb3d_openb3dcore_TEntity_EntityName(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_CountChildren_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_CountChildren(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_GetChild_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_GetChild_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_FindChild_S_m)(struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_FindChild_S(struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_EntityPick_f_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_EntityPick_f(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_LinePick_fffffff_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_LinePick_fffffff(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityDistance_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBFLOAT _openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBFLOAT _openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_TFormedX_f_f)();
BBFLOAT openb3d_openb3dcore_TEntity_TFormedX_f();
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_TFormedY_f_f)();
BBFLOAT openb3d_openb3dcore_TEntity_TFormedY_f();
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_TFormedZ_f_f)();
BBFLOAT openb3d_openb3dcore_TEntity_TFormedZ_f();
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_GetMatElement_ii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_GetMatElement_ii(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_ResetEntity_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_ResetEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityRadius_ff_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_EntityRadius_ff(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityBox_ffffff_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_EntityBox_ffffff(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityType_ii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityType_ii(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_EntityPickMode_ii_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_EntityPickMode_ii(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_EntityCollided_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_EntityCollided_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_CountCollisions_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_CountCollisions(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionX_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionX_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionY_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionY_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionZ_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionZ_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionNX_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionNX_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionNY_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionNY_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionNZ_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionNZ_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_CollisionTime_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_CollisionTime_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_CollisionEntity_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_CollisionEntity_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TEntity_CollisionSurface_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_TEntity_CollisionSurface_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_CollisionTriangle_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TEntity_CollisionTriangle_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_GetEntityType_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_GetEntityType(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_MeshCullRadius_f_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TEntity_MeshCullRadius_f(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityScaleX_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityScaleX_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityScaleY_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityScaleY_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityScaleZ_i_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityScaleZ_i(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TEntity_Hidden_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_Hidden(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f)(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi(struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity(struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBINT*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_ListParents_TTList_m)(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TEntity_ListParents_TTList(struct openb3d_openb3dcore_TEntity_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_UpdateMat_b_m)(struct openb3d_openb3dcore_TEntity_obj*,BBBYTE);
BBINT _openb3d_openb3dcore_TEntity_UpdateMat_b(struct openb3d_openb3dcore_TEntity_obj*,BBBYTE);
typedef BBINT (*openb3d_openb3dcore_TEntity_AddParent_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_AddParent_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBFLOAT _openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_MQ_Update_m)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TEntity_MQ_Update(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TEntity_MQ_Turn_ffffi(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
struct BBClass_openb3d_openb3dcore_TEntity {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TEntity_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TEntity_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dcore_TEntity_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
};

struct openb3d_openb3dcore_TEntity_obj {
	struct BBClass_openb3d_openb3dcore_TEntity* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
};
extern struct BBClass_openb3d_openb3dcore_TEntity openb3d_openb3dcore_TEntity;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TEntity_entity_list;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TEntity_animate_list;
extern BBFLOAT* openb3d_openb3dcore_TEntity_tformed_x;
extern BBFLOAT* openb3d_openb3dcore_TEntity_tformed_y;
extern BBFLOAT* openb3d_openb3dcore_TEntity_tformed_z;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TEntity_ent_map;
extern BBINT openb3d_openb3dcore_TEntity_entity_list_id;
extern BBINT openb3d_openb3dcore_TEntity_animate_list_id;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TEntity_child_list_queue;
void _openb3d_openb3dcore_TCamera_New(struct openb3d_openb3dcore_TCamera_obj* o);
void _openb3d_openb3dcore_TCamera_Delete(struct openb3d_openb3dcore_TCamera_obj* o);
typedef struct openb3d_openb3dcore_TCamera_obj* (*openb3d_openb3dcore_TCamera_CreateObject_TTCamera_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TCamera_obj* openb3d_openb3dcore_TCamera_CreateObject_TTCamera_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TCamera_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TCamera_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TCamera_InitFields_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_InitFields(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_DebugFields_ii_m)(struct openb3d_openb3dcore_TCamera_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TCamera_DebugFields_ii(struct openb3d_openb3dcore_TCamera_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TCamera_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TCamera_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TCamera_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraListAdd_TTList_m)(struct openb3d_openb3dcore_TCamera_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TCamera_CameraListAdd_TTList(struct openb3d_openb3dcore_TCamera_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraListRemove_TTList_m)(struct openb3d_openb3dcore_TCamera_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TCamera_CameraListRemove_TTList(struct openb3d_openb3dcore_TCamera_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_UpdateFog_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_UpdateFog(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_FreeEntity_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_FreeEntity(struct openb3d_openb3dcore_TCamera_obj*);
typedef struct openb3d_openb3dcore_TCamera_obj* (*openb3d_openb3dcore_TCamera_CreateCamera_TTCamera_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TCamera_obj* openb3d_openb3dcore_TCamera_CreateCamera_TTCamera_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraViewport_iiii_m)(struct openb3d_openb3dcore_TCamera_obj*,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TCamera_CameraViewport_iiii(struct openb3d_openb3dcore_TCamera_obj*,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraClsColor_fff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_CameraClsColor_fff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraClsMode_ii_m)(struct openb3d_openb3dcore_TCamera_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TCamera_CameraClsMode_ii(struct openb3d_openb3dcore_TCamera_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraRange_ff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_CameraRange_ff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraZoom_f_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_CameraZoom_f(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraProjMode_i_m)(struct openb3d_openb3dcore_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dcore_TCamera_CameraProjMode_i(struct openb3d_openb3dcore_TCamera_obj*,BBINT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TCamera_CameraPick_ff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_TCamera_CameraPick_ff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraFogMode_i_m)(struct openb3d_openb3dcore_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dcore_TCamera_CameraFogMode_i(struct openb3d_openb3dcore_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraFogColor_fff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_CameraFogColor_fff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraFogRange_ff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_CameraFogRange_ff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_CameraProject_fff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_CameraProject_fff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TCamera_ProjectedX_f_f)();
BBFLOAT openb3d_openb3dcore_TCamera_ProjectedX_f();
typedef BBFLOAT (*openb3d_openb3dcore_TCamera_ProjectedY_f_f)();
BBFLOAT openb3d_openb3dcore_TCamera_ProjectedY_f();
typedef BBFLOAT (*openb3d_openb3dcore_TCamera_ProjectedZ_f_f)();
BBFLOAT openb3d_openb3dcore_TCamera_ProjectedZ_f();
typedef BBINT (*openb3d_openb3dcore_TCamera_EntityInView_TTEntity_m)(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TCamera_EntityInView_TTEntity(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TCamera_obj* (*openb3d_openb3dcore_TCamera_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TCamera_obj* _openb3d_openb3dcore_TCamera_CopyEntity_TTEntity(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_Update_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_Update(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_Render_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_Render(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_UpdateSprite_TTSprite_m)(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TSprite_obj*);
BBINT _openb3d_openb3dcore_TCamera_UpdateSprite_TTSprite(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TSprite_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_AddTransformedSpriteToSurface_TTSpriteTTSurface_m)(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TSprite_obj*,struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TCamera_AddTransformedSpriteToSurface_TTSpriteTTSurface(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TSprite_obj*,struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_RenderListAdd_TTMesh_m)(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TCamera_RenderListAdd_TTMesh(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_ExtractFrustum_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_ExtractFrustum(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TCamera_EntityInFrustum_TTEntity_m)(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBFLOAT _openb3d_openb3dcore_TCamera_EntityInFrustum_TTEntity(struct openb3d_openb3dcore_TCamera_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_accPerspective_fffffffff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_accPerspective_fffffffff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_accFrustum_fffffffffff_m)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TCamera_accFrustum_fffffffffff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TCamera_UpdateProjMatrix_m)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TCamera_UpdateProjMatrix(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TCamera_UpdateEntityRender_i_TTEntityTTCamera_f)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TCamera_obj*);
BBINT openb3d_openb3dcore_TCamera_UpdateEntityRender_i_TTEntityTTCamera(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TCamera_obj*);
struct BBClass_openb3d_openb3dcore_TCamera {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TCamera_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TCamera_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TCamera_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TCamera_InitFields_m m_InitFields;
	openb3d_openb3dcore_TCamera_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TCamera_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TCamera_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TCamera_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TCamera_CreateObject_TTCamera_pb_f f_CreateObject_TTCamera_pb;
	openb3d_openb3dcore_TCamera_CameraListAdd_TTList_m m_CameraListAdd_TTList;
	openb3d_openb3dcore_TCamera_CameraListRemove_TTList_m m_CameraListRemove_TTList;
	openb3d_openb3dcore_TCamera_UpdateFog_m m_UpdateFog;
	openb3d_openb3dcore_TCamera_CreateCamera_TTCamera_TTEntity_f f_CreateCamera_TTCamera_TTEntity;
	openb3d_openb3dcore_TCamera_CameraViewport_iiii_m m_CameraViewport_iiii;
	openb3d_openb3dcore_TCamera_CameraClsColor_fff_m m_CameraClsColor_fff;
	openb3d_openb3dcore_TCamera_CameraClsMode_ii_m m_CameraClsMode_ii;
	openb3d_openb3dcore_TCamera_CameraRange_ff_m m_CameraRange_ff;
	openb3d_openb3dcore_TCamera_CameraZoom_f_m m_CameraZoom_f;
	openb3d_openb3dcore_TCamera_CameraProjMode_i_m m_CameraProjMode_i;
	openb3d_openb3dcore_TCamera_CameraPick_ff_m m_CameraPick_ff;
	openb3d_openb3dcore_TCamera_CameraFogMode_i_m m_CameraFogMode_i;
	openb3d_openb3dcore_TCamera_CameraFogColor_fff_m m_CameraFogColor_fff;
	openb3d_openb3dcore_TCamera_CameraFogRange_ff_m m_CameraFogRange_ff;
	openb3d_openb3dcore_TCamera_CameraProject_fff_m m_CameraProject_fff;
	openb3d_openb3dcore_TCamera_ProjectedX_f_f f_ProjectedX_f;
	openb3d_openb3dcore_TCamera_ProjectedY_f_f f_ProjectedY_f;
	openb3d_openb3dcore_TCamera_ProjectedZ_f_f f_ProjectedZ_f;
	openb3d_openb3dcore_TCamera_EntityInView_TTEntity_m m_EntityInView_TTEntity;
	openb3d_openb3dcore_TCamera_Render_m m_Render;
	openb3d_openb3dcore_TCamera_UpdateSprite_TTSprite_m m_UpdateSprite_TTSprite;
	openb3d_openb3dcore_TCamera_AddTransformedSpriteToSurface_TTSpriteTTSurface_m m_AddTransformedSpriteToSurface_TTSpriteTTSurface;
	openb3d_openb3dcore_TCamera_RenderListAdd_TTMesh_m m_RenderListAdd_TTMesh;
	openb3d_openb3dcore_TCamera_ExtractFrustum_m m_ExtractFrustum;
	openb3d_openb3dcore_TCamera_EntityInFrustum_TTEntity_m m_EntityInFrustum_TTEntity;
	openb3d_openb3dcore_TCamera_accPerspective_fffffffff_m m_accPerspective_fffffffff;
	openb3d_openb3dcore_TCamera_accFrustum_fffffffffff_m m_accFrustum_fffffffffff;
	openb3d_openb3dcore_TCamera_UpdateProjMatrix_m m_UpdateProjMatrix;
	openb3d_openb3dcore_TCamera_UpdateEntityRender_i_TTEntityTTCamera_f f_UpdateEntityRender_i_TTEntityTTCamera;
};

struct openb3d_openb3dcore_TCamera_obj {
	struct BBClass_openb3d_openb3dcore_TCamera* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tcamera_vx;
	BBINT* _openb3d_openb3dcore_tcamera_vy;
	BBINT* _openb3d_openb3dcore_tcamera_vwidth;
	BBINT* _openb3d_openb3dcore_tcamera_vheight;
	BBFLOAT* _openb3d_openb3dcore_tcamera_cls_r;
	BBFLOAT* _openb3d_openb3dcore_tcamera_cls_g;
	BBFLOAT* _openb3d_openb3dcore_tcamera_cls_b;
	BBBYTE* _openb3d_openb3dcore_tcamera_cls_color;
	BBBYTE* _openb3d_openb3dcore_tcamera_cls_zbuffer;
	BBFLOAT* _openb3d_openb3dcore_tcamera_range_near;
	BBFLOAT* _openb3d_openb3dcore_tcamera_range_far;
	BBFLOAT* _openb3d_openb3dcore_tcamera_zoom;
	BBINT* _openb3d_openb3dcore_tcamera_proj_mode;
	BBINT* _openb3d_openb3dcore_tcamera_fog_mode;
	BBFLOAT* _openb3d_openb3dcore_tcamera_fog_r;
	BBFLOAT* _openb3d_openb3dcore_tcamera_fog_g;
	BBFLOAT* _openb3d_openb3dcore_tcamera_fog_b;
	BBFLOAT* _openb3d_openb3dcore_tcamera_fog_range_near;
	BBFLOAT* _openb3d_openb3dcore_tcamera_fog_range_far;
	BBINT* _openb3d_openb3dcore_tcamera_project_enabled;
	BBFLOAT* _openb3d_openb3dcore_tcamera_mod_mat;
	BBFLOAT* _openb3d_openb3dcore_tcamera_proj_mat;
	BBINT* _openb3d_openb3dcore_tcamera_viewport;
	BBFLOAT* _openb3d_openb3dcore_tcamera_frustum;
};
extern struct BBClass_openb3d_openb3dcore_TCamera openb3d_openb3dcore_TCamera;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TCamera_cam_list;
extern BBFLOAT* openb3d_openb3dcore_TCamera_projected_x;
extern BBFLOAT* openb3d_openb3dcore_TCamera_projected_y;
extern BBFLOAT* openb3d_openb3dcore_TCamera_projected_z;
extern BBINT openb3d_openb3dcore_TCamera_cam_list_id;
void _openb3d_openb3dcore_TLight_New(struct openb3d_openb3dcore_TLight_obj* o);
void _openb3d_openb3dcore_TLight_Delete(struct openb3d_openb3dcore_TLight_obj* o);
typedef struct openb3d_openb3dcore_TLight_obj* (*openb3d_openb3dcore_TLight_CreateObject_TTLight_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TLight_obj* openb3d_openb3dcore_TLight_CreateObject_TTLight_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TLight_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TLight_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TLight_InitFields_m)(struct openb3d_openb3dcore_TLight_obj*);
BBINT _openb3d_openb3dcore_TLight_InitFields(struct openb3d_openb3dcore_TLight_obj*);
typedef BBINT (*openb3d_openb3dcore_TLight_DebugGlobals_i_ii_f)(BBINT,BBINT);
BBINT openb3d_openb3dcore_TLight_DebugGlobals_i_ii(BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TLight_DebugFields_ii_m)(struct openb3d_openb3dcore_TLight_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TLight_DebugFields_ii(struct openb3d_openb3dcore_TLight_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TLight_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TLight_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TLight_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TLight_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TLight_GetLightValues_i_f)();
BBINT openb3d_openb3dcore_TLight_GetLightValues_i();
typedef BBINT (*openb3d_openb3dcore_TLight_SetLightValues_i_f)();
BBINT openb3d_openb3dcore_TLight_SetLightValues_i();
typedef BBINT (*openb3d_openb3dcore_TLight_FreeEntity_m)(struct openb3d_openb3dcore_TLight_obj*);
BBINT _openb3d_openb3dcore_TLight_FreeEntity(struct openb3d_openb3dcore_TLight_obj*);
typedef struct openb3d_openb3dcore_TLight_obj* (*openb3d_openb3dcore_TLight_CreateLight_TTLight_iTTEntity_f)(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TLight_obj* openb3d_openb3dcore_TLight_CreateLight_TTLight_iTTEntity(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TLight_LightRange_f_m)(struct openb3d_openb3dcore_TLight_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TLight_LightRange_f(struct openb3d_openb3dcore_TLight_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TLight_LightColor_fff_m)(struct openb3d_openb3dcore_TLight_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TLight_LightColor_fff(struct openb3d_openb3dcore_TLight_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TLight_LightConeAngles_ff_m)(struct openb3d_openb3dcore_TLight_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TLight_LightConeAngles_ff(struct openb3d_openb3dcore_TLight_obj*,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TLight_obj* (*openb3d_openb3dcore_TLight_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TLight_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TLight_obj* _openb3d_openb3dcore_TLight_CopyEntity_TTEntity(struct openb3d_openb3dcore_TLight_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TLight_Update_m)(struct openb3d_openb3dcore_TLight_obj*);
BBINT _openb3d_openb3dcore_TLight_Update(struct openb3d_openb3dcore_TLight_obj*);
struct BBClass_openb3d_openb3dcore_TLight {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TLight_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TLight_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TLight_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TLight_InitFields_m m_InitFields;
	openb3d_openb3dcore_TLight_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TLight_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TLight_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TLight_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TLight_CreateObject_TTLight_pb_f f_CreateObject_TTLight_pb;
	openb3d_openb3dcore_TLight_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TLight_GetLightValues_i_f f_GetLightValues_i;
	openb3d_openb3dcore_TLight_SetLightValues_i_f f_SetLightValues_i;
	openb3d_openb3dcore_TLight_CreateLight_TTLight_iTTEntity_f f_CreateLight_TTLight_iTTEntity;
	openb3d_openb3dcore_TLight_LightRange_f_m m_LightRange_f;
	openb3d_openb3dcore_TLight_LightColor_fff_m m_LightColor_fff;
	openb3d_openb3dcore_TLight_LightConeAngles_ff_m m_LightConeAngles_ff;
};

struct openb3d_openb3dcore_TLight_obj {
	struct BBClass_openb3d_openb3dcore_TLight* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBBYTE* _openb3d_openb3dcore_tlight_cast_shadow;
	BBBYTE* _openb3d_openb3dcore_tlight_light_type;
	BBFLOAT* _openb3d_openb3dcore_tlight_range;
	BBFLOAT* _openb3d_openb3dcore_tlight_red;
	BBFLOAT* _openb3d_openb3dcore_tlight_green;
	BBFLOAT* _openb3d_openb3dcore_tlight_blue;
	BBFLOAT* _openb3d_openb3dcore_tlight_inner_ang;
	BBFLOAT* _openb3d_openb3dcore_tlight_outer_ang;
};
extern struct BBClass_openb3d_openb3dcore_TLight openb3d_openb3dcore_TLight;
extern BBINT* openb3d_openb3dcore_TLight_light_no;
extern BBINT* openb3d_openb3dcore_TLight_no_lights;
extern BBINT* openb3d_openb3dcore_TLight_max_lights;
extern BBINT* openb3d_openb3dcore_TLight_gl_light;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TLight_light_list;
extern BBARRAY openb3d_openb3dcore_TLight_ambient;
extern BBARRAY openb3d_openb3dcore_TLight_diffuse;
extern BBARRAY openb3d_openb3dcore_TLight_specular;
extern BBARRAY openb3d_openb3dcore_TLight_position;
extern BBARRAY openb3d_openb3dcore_TLight_spotDirection;
extern BBARRAY openb3d_openb3dcore_TLight_spotExponent;
extern BBARRAY openb3d_openb3dcore_TLight_spotCutoff;
extern BBARRAY openb3d_openb3dcore_TLight_constantAtt;
extern BBARRAY openb3d_openb3dcore_TLight_linearAtt;
extern BBARRAY openb3d_openb3dcore_TLight_quadraticAtt;
extern BBINT openb3d_openb3dcore_TLight_light_list_id;
void _openb3d_openb3dcore_TPivot_New(struct openb3d_openb3dcore_TPivot_obj* o);
void _openb3d_openb3dcore_TPivot_Delete(struct openb3d_openb3dcore_TPivot_obj* o);
typedef struct openb3d_openb3dcore_TPivot_obj* (*openb3d_openb3dcore_TPivot_CreateObject_TTPivot_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TPivot_CreateObject_TTPivot_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TPivot_InitFields_m)(struct openb3d_openb3dcore_TPivot_obj*);
BBINT _openb3d_openb3dcore_TPivot_InitFields(struct openb3d_openb3dcore_TPivot_obj*);
typedef BBINT (*openb3d_openb3dcore_TPivot_DebugFields_ii_m)(struct openb3d_openb3dcore_TPivot_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TPivot_DebugFields_ii(struct openb3d_openb3dcore_TPivot_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TPivot_FreeEntity_m)(struct openb3d_openb3dcore_TPivot_obj*);
BBINT _openb3d_openb3dcore_TPivot_FreeEntity(struct openb3d_openb3dcore_TPivot_obj*);
typedef struct openb3d_openb3dcore_TPivot_obj* (*openb3d_openb3dcore_TPivot_CreatePivot_TTPivot_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_TPivot_CreatePivot_TTPivot_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TPivot_obj* (*openb3d_openb3dcore_TPivot_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TPivot_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TPivot_obj* _openb3d_openb3dcore_TPivot_CopyEntity_TTEntity(struct openb3d_openb3dcore_TPivot_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TPivot_Update_m)(struct openb3d_openb3dcore_TPivot_obj*);
BBINT _openb3d_openb3dcore_TPivot_Update(struct openb3d_openb3dcore_TPivot_obj*);
struct BBClass_openb3d_openb3dcore_TPivot {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TPivot_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TPivot_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TPivot_InitFields_m m_InitFields;
	openb3d_openb3dcore_TPivot_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TPivot_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TPivot_CreateObject_TTPivot_pb_f f_CreateObject_TTPivot_pb;
	openb3d_openb3dcore_TPivot_CreatePivot_TTPivot_TTEntity_f f_CreatePivot_TTPivot_TTEntity;
};

struct openb3d_openb3dcore_TPivot_obj {
	struct BBClass_openb3d_openb3dcore_TPivot* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
};
extern struct BBClass_openb3d_openb3dcore_TPivot openb3d_openb3dcore_TPivot;
void _openb3d_openb3dcore_TMesh_New(struct openb3d_openb3dcore_TMesh_obj* o);
void _openb3d_openb3dcore_TMesh_Delete(struct openb3d_openb3dcore_TMesh_obj* o);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateObject_TTMesh_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateObject_TTMesh_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TMesh_InitFields_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_InitFields(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_DebugFields_ii_m)(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TMesh_DebugFields_ii(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TMesh_AddList_TTList_m)(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TMesh_AddList_TTList(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_CopyList_TTList_m)(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TMesh_CopyList_TTList(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject_m)(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
BBINT _openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject_m)(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
BBINT _openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject(struct openb3d_openb3dcore_TMesh_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshArrayResize_ii_m)(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TMesh_MeshArrayResize_ii(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject_m)(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT,BBOBJECT);
BBINT _openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT,BBOBJECT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_NewMesh_TTMesh_f)();
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_NewMesh_TTMesh();
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_Create_TTMesh_f)();
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_Create_TTMesh();
typedef BBINT (*openb3d_openb3dcore_TMesh_LightMesh_fffffff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_LightMesh_fffffff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_CreateAllChildren_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_CreateAllChildren(struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity_f)(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh_f)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh(struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TBone_obj* (*openb3d_openb3dcore_TMesh_CreateBone_TTEntity_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBone_obj* _openb3d_openb3dcore_TMesh_CreateBone_TTEntity(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_SkinMesh_iiifififif_m)(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_SkinMesh_iiifififif(struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBINT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_PositionAnimMesh_fff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_PositionAnimMesh_fff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_RotateAnimMesh_fff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_RotateAnimMesh_fff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_FreeEntity_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_FreeEntity(struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity_f)(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity_f)(BBINT,BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity(BBINT,BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity_f)(BBINT,BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity(BBINT,BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CopyMesh_TTEntity_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMesh_CopyMesh_TTEntity(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_AddMesh_TTMesh_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_AddMesh_TTMesh(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_FlipMesh_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_FlipMesh(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_PaintMesh_TTBrush_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
BBINT _openb3d_openb3dcore_TMesh_PaintMesh_TTBrush(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_FitMesh_ffffffi_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TMesh_FitMesh_ffffffi(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TMesh_ScaleMesh_fff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_ScaleMesh_fff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_RotateMesh_fff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_RotateMesh_fff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_PositionMesh_fff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_PositionMesh_fff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_UpdateNormals_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_UpdateNormals(struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TMesh_CreateSurface_TTBrush_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_TMesh_CreateSurface_TTBrush(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TMesh_MeshWidth_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBFLOAT _openb3d_openb3dcore_TMesh_MeshWidth(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TMesh_MeshHeight_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBFLOAT _openb3d_openb3dcore_TMesh_MeshHeight(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TMesh_MeshDepth_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBFLOAT _openb3d_openb3dcore_TMesh_MeshDepth(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_CountSurfaces_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_CountSurfaces(struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TMesh_GetSurface_i_m)(struct openb3d_openb3dcore_TMesh_obj*,BBINT);
struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_TMesh_GetSurface_i(struct openb3d_openb3dcore_TMesh_obj*,BBINT);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TMesh_FindSurface_TTBrush_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_TMesh_FindSurface_TTBrush(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMesh_CopyEntity_TTEntity(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_Update_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_Update(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_CountVertices_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_CountVertices(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_CountTriangles_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_CountTriangles(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CollapseAnimMesh_m)(struct openb3d_openb3dcore_TMesh_obj*);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMesh_CollapseAnimMesh(struct openb3d_openb3dcore_TMesh_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TMesh_obj*);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr_m)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_GetBounds_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_GetBounds(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_Alpha_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_Alpha(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshColor_ffff_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_MeshColor_ffff(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshRed_f_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_MeshRed_f(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshGreen_f_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_MeshGreen_f(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshBlue_f_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_MeshBlue_f(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_MeshAlpha_f_m)(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMesh_MeshAlpha_f(struct openb3d_openb3dcore_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMesh_TreeCheck_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_TreeCheck(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_Render_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_Render(struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TMesh_UpdateShadow_m)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TMesh_UpdateShadow(struct openb3d_openb3dcore_TMesh_obj*);
struct BBClass_openb3d_openb3dcore_TMesh {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TMesh_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TMesh_InitFields_m m_InitFields;
	openb3d_openb3dcore_TMesh_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TMesh_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TMesh_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TMesh_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TMesh_CreateObject_TTMesh_pb_f f_CreateObject_TTMesh_pb;
	openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject_m m_MeshListAdd_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject_m m_MeshListRemove_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshArrayResize_ii_m m_MeshArrayResize_ii;
	openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject_m m_MeshArraySet_iiTObject;
	openb3d_openb3dcore_TMesh_NewMesh_TTMesh_f f_NewMesh_TTMesh;
	openb3d_openb3dcore_TMesh_Create_TTMesh_f f_Create_TTMesh;
	openb3d_openb3dcore_TMesh_LightMesh_fffffff_m m_LightMesh_fffffff;
	openb3d_openb3dcore_TMesh_CreateAllChildren_m m_CreateAllChildren;
	openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh_f f_UpdatePlane_i_TTMesh;
	openb3d_openb3dcore_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dcore_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dcore_TMesh_PositionAnimMesh_fff_m m_PositionAnimMesh_fff;
	openb3d_openb3dcore_TMesh_RotateAnimMesh_fff_m m_RotateAnimMesh_fff;
	openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff_m m_ScaleAnimMesh_fff;
	openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr_m m_TransformVertices_TTMatPtr;
	openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface_m m_UpdateVerticesNormals_TTSurface;
	openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dcore_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dcore_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dcore_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dcore_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dcore_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dcore_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dcore_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dcore_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dcore_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dcore_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dcore_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dcore_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dcore_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dcore_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dcore_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dcore_TMesh_CollapseAnimMesh_m m_CollapseAnimMesh;
	openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr_m m_TransformMesh_TTMatPtr;
	openb3d_openb3dcore_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dcore_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dcore_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dcore_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dcore_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dcore_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dcore_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dcore_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dcore_TMesh_Render_m m_Render;
	openb3d_openb3dcore_TMesh_UpdateShadow_m m_UpdateShadow;
};

struct openb3d_openb3dcore_TMesh_obj {
	struct BBClass_openb3d_openb3dcore_TMesh* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_bones;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tmesh_mat_sp;
	BBINT* _openb3d_openb3dcore_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dcore_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_z;
	BBINT* _openb3d_openb3dcore_tmesh_shared_surf;
	BBINT* _openb3d_openb3dcore_tmesh_shared_anim_surf;
	BBINT _openb3d_openb3dcore_tmesh_plane_divisions;
	BBINT _openb3d_openb3dcore_tmesh_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dcore_TMesh openb3d_openb3dcore_TMesh;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TMesh_plane_list;
void _openb3d_openb3dcore_TSprite_New(struct openb3d_openb3dcore_TSprite_obj* o);
void _openb3d_openb3dcore_TSprite_Delete(struct openb3d_openb3dcore_TSprite_obj* o);
typedef struct openb3d_openb3dcore_TSprite_obj* (*openb3d_openb3dcore_TSprite_CreateObject_TTSprite_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_TSprite_CreateObject_TTSprite_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TSprite_InitFields_m)(struct openb3d_openb3dcore_TSprite_obj*);
BBINT _openb3d_openb3dcore_TSprite_InitFields(struct openb3d_openb3dcore_TSprite_obj*);
typedef BBINT (*openb3d_openb3dcore_TSprite_DebugFields_ii_m)(struct openb3d_openb3dcore_TSprite_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TSprite_DebugFields_ii(struct openb3d_openb3dcore_TSprite_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TSprite_obj* (*openb3d_openb3dcore_TSprite_NewSprite_TTSprite_f)();
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_TSprite_NewSprite_TTSprite();
typedef struct openb3d_openb3dcore_TSprite_obj* (*openb3d_openb3dcore_TSprite_Create_TTSprite_f)();
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_TSprite_Create_TTSprite();
typedef BBINT (*openb3d_openb3dcore_TSprite_SpriteRenderMode_i_m)(struct openb3d_openb3dcore_TSprite_obj*,BBINT);
BBINT _openb3d_openb3dcore_TSprite_SpriteRenderMode_i(struct openb3d_openb3dcore_TSprite_obj*,BBINT);
typedef struct openb3d_openb3dcore_TSprite_obj* (*openb3d_openb3dcore_TSprite_CreateSprite_TTSprite_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_TSprite_CreateSprite_TTSprite_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TSprite_obj* (*openb3d_openb3dcore_TSprite_LoadSprite_TTSprite_SiTTEntity_f)(BBSTRING,BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_TSprite_LoadSprite_TTSprite_SiTTEntity(BBSTRING,BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TSprite_RotateSprite_f_m)(struct openb3d_openb3dcore_TSprite_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TSprite_RotateSprite_f(struct openb3d_openb3dcore_TSprite_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSprite_ScaleSprite_ff_m)(struct openb3d_openb3dcore_TSprite_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSprite_ScaleSprite_ff(struct openb3d_openb3dcore_TSprite_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSprite_HandleSprite_ff_m)(struct openb3d_openb3dcore_TSprite_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSprite_HandleSprite_ff(struct openb3d_openb3dcore_TSprite_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSprite_SpriteViewMode_i_m)(struct openb3d_openb3dcore_TSprite_obj*,BBINT);
BBINT _openb3d_openb3dcore_TSprite_SpriteViewMode_i(struct openb3d_openb3dcore_TSprite_obj*,BBINT);
typedef struct openb3d_openb3dcore_TSprite_obj* (*openb3d_openb3dcore_TSprite_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TSprite_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TSprite_obj* _openb3d_openb3dcore_TSprite_CopyEntity_TTEntity(struct openb3d_openb3dcore_TSprite_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TSprite_SpriteTexCoords_iiiiiii_m)(struct openb3d_openb3dcore_TSprite_obj*,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TSprite_SpriteTexCoords_iiiiiii(struct openb3d_openb3dcore_TSprite_obj*,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSprite_SpriteVertexColor_ifff_m)(struct openb3d_openb3dcore_TSprite_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSprite_SpriteVertexColor_ifff(struct openb3d_openb3dcore_TSprite_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TSprite {
	struct BBClass_openb3d_openb3dcore_TMesh*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TSprite_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TMesh_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TSprite_InitFields_m m_InitFields;
	openb3d_openb3dcore_TSprite_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TMesh_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TMesh_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TMesh_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TSprite_CreateObject_TTSprite_pb_f f_CreateObject_TTSprite_pb;
	openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject_m m_MeshListAdd_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject_m m_MeshListRemove_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshArrayResize_ii_m m_MeshArrayResize_ii;
	openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject_m m_MeshArraySet_iiTObject;
	openb3d_openb3dcore_TMesh_NewMesh_TTMesh_f f_NewMesh_TTMesh;
	openb3d_openb3dcore_TSprite_Create_TTSprite_f f_Create_TTSprite;
	openb3d_openb3dcore_TMesh_LightMesh_fffffff_m m_LightMesh_fffffff;
	openb3d_openb3dcore_TMesh_CreateAllChildren_m m_CreateAllChildren;
	openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh_f f_UpdatePlane_i_TTMesh;
	openb3d_openb3dcore_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dcore_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dcore_TMesh_PositionAnimMesh_fff_m m_PositionAnimMesh_fff;
	openb3d_openb3dcore_TMesh_RotateAnimMesh_fff_m m_RotateAnimMesh_fff;
	openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff_m m_ScaleAnimMesh_fff;
	openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr_m m_TransformVertices_TTMatPtr;
	openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface_m m_UpdateVerticesNormals_TTSurface;
	openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dcore_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dcore_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dcore_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dcore_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dcore_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dcore_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dcore_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dcore_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dcore_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dcore_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dcore_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dcore_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dcore_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dcore_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dcore_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dcore_TMesh_CollapseAnimMesh_m m_CollapseAnimMesh;
	openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr_m m_TransformMesh_TTMatPtr;
	openb3d_openb3dcore_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dcore_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dcore_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dcore_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dcore_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dcore_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dcore_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dcore_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dcore_TMesh_Render_m m_Render;
	openb3d_openb3dcore_TMesh_UpdateShadow_m m_UpdateShadow;
	openb3d_openb3dcore_TSprite_NewSprite_TTSprite_f f_NewSprite_TTSprite;
	openb3d_openb3dcore_TSprite_SpriteRenderMode_i_m m_SpriteRenderMode_i;
	openb3d_openb3dcore_TSprite_CreateSprite_TTSprite_TTEntity_f f_CreateSprite_TTSprite_TTEntity;
	openb3d_openb3dcore_TSprite_LoadSprite_TTSprite_SiTTEntity_f f_LoadSprite_TTSprite_SiTTEntity;
	openb3d_openb3dcore_TSprite_RotateSprite_f_m m_RotateSprite_f;
	openb3d_openb3dcore_TSprite_ScaleSprite_ff_m m_ScaleSprite_ff;
	openb3d_openb3dcore_TSprite_HandleSprite_ff_m m_HandleSprite_ff;
	openb3d_openb3dcore_TSprite_SpriteViewMode_i_m m_SpriteViewMode_i;
	openb3d_openb3dcore_TSprite_SpriteTexCoords_iiiiiii_m m_SpriteTexCoords_iiiiiii;
	openb3d_openb3dcore_TSprite_SpriteVertexColor_ifff_m m_SpriteVertexColor_ifff;
};

struct openb3d_openb3dcore_TSprite_obj {
	struct BBClass_openb3d_openb3dcore_TSprite* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_bones;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tmesh_mat_sp;
	BBINT* _openb3d_openb3dcore_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dcore_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_z;
	BBINT* _openb3d_openb3dcore_tmesh_shared_surf;
	BBINT* _openb3d_openb3dcore_tmesh_shared_anim_surf;
	BBINT _openb3d_openb3dcore_tmesh_plane_divisions;
	BBINT _openb3d_openb3dcore_tmesh_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_bones_id;
	BBFLOAT* _openb3d_openb3dcore_tsprite_angle;
	BBFLOAT* _openb3d_openb3dcore_tsprite_scale_x;
	BBFLOAT* _openb3d_openb3dcore_tsprite_scale_y;
	BBFLOAT* _openb3d_openb3dcore_tsprite_handle_x;
	BBFLOAT* _openb3d_openb3dcore_tsprite_handle_y;
	BBINT* _openb3d_openb3dcore_tsprite_view_mode;
	BBINT* _openb3d_openb3dcore_tsprite_render_mode;
};
extern struct BBClass_openb3d_openb3dcore_TSprite openb3d_openb3dcore_TSprite;
void _openb3d_openb3dcore_TBone_New(struct openb3d_openb3dcore_TBone_obj* o);
void _openb3d_openb3dcore_TBone_Delete(struct openb3d_openb3dcore_TBone_obj* o);
typedef struct openb3d_openb3dcore_TBone_obj* (*openb3d_openb3dcore_TBone_CreateObject_TTBone_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TBone_obj* openb3d_openb3dcore_TBone_CreateObject_TTBone_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TBone_InitFields_m)(struct openb3d_openb3dcore_TBone_obj*);
BBINT _openb3d_openb3dcore_TBone_InitFields(struct openb3d_openb3dcore_TBone_obj*);
typedef BBINT (*openb3d_openb3dcore_TBone_DebugFields_ii_m)(struct openb3d_openb3dcore_TBone_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TBone_DebugFields_ii(struct openb3d_openb3dcore_TBone_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TBone_obj* (*openb3d_openb3dcore_TBone_NewBone_TTBone_f)();
struct openb3d_openb3dcore_TBone_obj* openb3d_openb3dcore_TBone_NewBone_TTBone();
typedef struct openb3d_openb3dcore_TBone_obj* (*openb3d_openb3dcore_TBone_Create_TTBone_f)();
struct openb3d_openb3dcore_TBone_obj* openb3d_openb3dcore_TBone_Create_TTBone();
typedef struct openb3d_openb3dcore_TBone_obj* (*openb3d_openb3dcore_TBone_CreateBone_TTBone_TTMeshTTEntity_f)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBone_obj* openb3d_openb3dcore_TBone_CreateBone_TTBone_TTMeshTTEntity(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TBone_FreeEntity_m)(struct openb3d_openb3dcore_TBone_obj*);
BBINT _openb3d_openb3dcore_TBone_FreeEntity(struct openb3d_openb3dcore_TBone_obj*);
typedef struct openb3d_openb3dcore_TBone_obj* (*openb3d_openb3dcore_TBone_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TBone_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBone_obj* _openb3d_openb3dcore_TBone_CopyEntity_TTEntity(struct openb3d_openb3dcore_TBone_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TBone_Update_m)(struct openb3d_openb3dcore_TBone_obj*);
BBINT _openb3d_openb3dcore_TBone_Update(struct openb3d_openb3dcore_TBone_obj*);
struct BBClass_openb3d_openb3dcore_TBone {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TBone_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TBone_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TBone_InitFields_m m_InitFields;
	openb3d_openb3dcore_TBone_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TBone_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TBone_CreateObject_TTBone_pb_f f_CreateObject_TTBone_pb;
	openb3d_openb3dcore_TBone_NewBone_TTBone_f f_NewBone_TTBone;
	openb3d_openb3dcore_TBone_Create_TTBone_f f_Create_TTBone;
	openb3d_openb3dcore_TBone_CreateBone_TTBone_TTMeshTTEntity_f f_CreateBone_TTBone_TTMeshTTEntity;
};

struct openb3d_openb3dcore_TBone_obj {
	struct BBClass_openb3d_openb3dcore_TBone* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_px;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_py;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_pz;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_sx;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_sy;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_sz;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_rx;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_ry;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_rz;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_qx;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_qy;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_qz;
	BBFLOAT* _openb3d_openb3dcore_tbone_n_qw;
	struct openb3d_openb3dcore_TAnimationKeys_obj* _openb3d_openb3dcore_tbone_keys;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tbone_mat2;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tbone_inv_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tbone_tform_mat;
	BBFLOAT* _openb3d_openb3dcore_tbone_kx;
	BBFLOAT* _openb3d_openb3dcore_tbone_ky;
	BBFLOAT* _openb3d_openb3dcore_tbone_kz;
	BBFLOAT* _openb3d_openb3dcore_tbone_kqx;
	BBFLOAT* _openb3d_openb3dcore_tbone_kqy;
	BBFLOAT* _openb3d_openb3dcore_tbone_kqz;
	BBFLOAT* _openb3d_openb3dcore_tbone_kqw;
};
extern struct BBClass_openb3d_openb3dcore_TBone openb3d_openb3dcore_TBone;
void _openb3d_openb3dcore_TSurface_New(struct openb3d_openb3dcore_TSurface_obj* o);
void _openb3d_openb3dcore_TSurface_Delete(struct openb3d_openb3dcore_TSurface_obj* o);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TSurface_CreateObject_TTSurface_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TSurface_CreateObject_TTSurface_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TSurface_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TSurface_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TSurface_GetObject_TTSurface_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TSurface_GetObject_TTSurface_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TSurface_GetInstance_pb_TTSurface_f)(struct openb3d_openb3dcore_TSurface_obj*);
BBBYTE* openb3d_openb3dcore_TSurface_GetInstance_pb_TTSurface(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_InitFields_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_InitFields(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_DebugFields_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TSurface_DebugFields_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBFLOAT* (*openb3d_openb3dcore_TSurface_SurfaceFloatArrayCopy_iTTSurface_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,struct openb3d_openb3dcore_TSurface_obj*);
BBFLOAT* _openb3d_openb3dcore_TSurface_SurfaceFloatArrayCopy_iTTSurface(struct openb3d_openb3dcore_TSurface_obj*,BBINT,struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT* (*openb3d_openb3dcore_TSurface_SurfaceIntArrayResize_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBINT* _openb3d_openb3dcore_TSurface_SurfaceIntArrayResize_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBFLOAT* (*openb3d_openb3dcore_TSurface_SurfaceFloatArrayResize_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBFLOAT* _openb3d_openb3dcore_TSurface_SurfaceFloatArrayResize_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSurface_SurfaceFloatArrayAdd_if_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_SurfaceFloatArrayAdd_if(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TSurface_NewSurface_TTSurface_f)();
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TSurface_NewSurface_TTSurface();
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TSurface_Create_TTSurface_f)();
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TSurface_Create_TTSurface();
typedef BBINT (*openb3d_openb3dcore_TSurface_FreeSurface_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_FreeSurface(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_UpdateTexCoords_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_UpdateTexCoords(struct openb3d_openb3dcore_TSurface_obj*);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TSurface_GetSurfaceBrush_m)(struct openb3d_openb3dcore_TSurface_obj*);
struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_TSurface_GetSurfaceBrush(struct openb3d_openb3dcore_TSurface_obj*);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TSurface_CreateSurface_TTSurface_TTMeshTTBrush_f)(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TSurface_CreateSurface_TTSurface_TTMeshTTBrush(struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TBrush_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_PaintSurface_TTBrush_m)(struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TBrush_obj*);
BBINT _openb3d_openb3dcore_TSurface_PaintSurface_TTBrush(struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TBrush_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_ClearSurface_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TSurface_ClearSurface_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSurface_AddVertex_ffffff_m)(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_AddVertex_ffffff(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_AddTriangle_iii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TSurface_AddTriangle_iii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSurface_CountVertices_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_CountVertices(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_CountTriangles_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_CountTriangles(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_VertexCoords_ifff_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_VertexCoords_ifff(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_VertexColor_iffff_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_VertexColor_iffff(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_VertexNormal_ifff_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_VertexNormal_ifff(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_VertexTexCoords_ifffi_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TSurface_VertexTexCoords_ifffi(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexX_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexX_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexY_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexY_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexZ_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexZ_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexRed_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexRed_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexGreen_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexGreen_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexBlue_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexBlue_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexAlpha_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexAlpha_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexNX_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexNX_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexNY_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexNY_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexNZ_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexNZ_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexU_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexU_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexV_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexV_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_VertexW_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_VertexW_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSurface_TriangleVertex_ii_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TSurface_TriangleVertex_ii(struct openb3d_openb3dcore_TSurface_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TSurface_Copy_m)(struct openb3d_openb3dcore_TSurface_obj*);
struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_TSurface_Copy(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_UpdateNormals_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_UpdateNormals(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_TriangleNX_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_TriangleNX_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_TriangleNY_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_TriangleNY_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TSurface_TriangleNZ_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_TSurface_TriangleNZ_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSurface_UpdateVBO_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_UpdateVBO(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_FreeVBO_m)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TSurface_FreeVBO(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TSurface_RemoveTri_i_m)(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBINT _openb3d_openb3dcore_TSurface_RemoveTri_i(struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TSurface_SurfaceColor_ffff_m)(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_SurfaceColor_ffff(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_SurfaceRed_f_m)(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_SurfaceRed_f(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_SurfaceGreen_f_m)(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_SurfaceGreen_f(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_SurfaceBlue_f_m)(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_SurfaceBlue_f(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TSurface_SurfaceAlpha_f_m)(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TSurface_SurfaceAlpha_f(struct openb3d_openb3dcore_TSurface_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TSurface {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TSurface_CreateObject_TTSurface_pb_f f_CreateObject_TTSurface_pb;
	openb3d_openb3dcore_TSurface_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TSurface_GetObject_TTSurface_pb_f f_GetObject_TTSurface_pb;
	openb3d_openb3dcore_TSurface_GetInstance_pb_TTSurface_f f_GetInstance_pb_TTSurface;
	openb3d_openb3dcore_TSurface_InitFields_m m_InitFields;
	openb3d_openb3dcore_TSurface_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TSurface_SurfaceFloatArrayCopy_iTTSurface_m m_SurfaceFloatArrayCopy_iTTSurface;
	openb3d_openb3dcore_TSurface_SurfaceIntArrayResize_ii_m m_SurfaceIntArrayResize_ii;
	openb3d_openb3dcore_TSurface_SurfaceFloatArrayResize_ii_m m_SurfaceFloatArrayResize_ii;
	openb3d_openb3dcore_TSurface_SurfaceFloatArrayAdd_if_m m_SurfaceFloatArrayAdd_if;
	openb3d_openb3dcore_TSurface_NewSurface_TTSurface_f f_NewSurface_TTSurface;
	openb3d_openb3dcore_TSurface_Create_TTSurface_f f_Create_TTSurface;
	openb3d_openb3dcore_TSurface_FreeSurface_m m_FreeSurface;
	openb3d_openb3dcore_TSurface_UpdateTexCoords_m m_UpdateTexCoords;
	openb3d_openb3dcore_TSurface_GetSurfaceBrush_m m_GetSurfaceBrush;
	openb3d_openb3dcore_TSurface_CreateSurface_TTSurface_TTMeshTTBrush_f f_CreateSurface_TTSurface_TTMeshTTBrush;
	openb3d_openb3dcore_TSurface_PaintSurface_TTBrush_m m_PaintSurface_TTBrush;
	openb3d_openb3dcore_TSurface_ClearSurface_ii_m m_ClearSurface_ii;
	openb3d_openb3dcore_TSurface_AddVertex_ffffff_m m_AddVertex_ffffff;
	openb3d_openb3dcore_TSurface_AddTriangle_iii_m m_AddTriangle_iii;
	openb3d_openb3dcore_TSurface_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TSurface_CountTriangles_m m_CountTriangles;
	openb3d_openb3dcore_TSurface_VertexCoords_ifff_m m_VertexCoords_ifff;
	openb3d_openb3dcore_TSurface_VertexColor_iffff_m m_VertexColor_iffff;
	openb3d_openb3dcore_TSurface_VertexNormal_ifff_m m_VertexNormal_ifff;
	openb3d_openb3dcore_TSurface_VertexTexCoords_ifffi_m m_VertexTexCoords_ifffi;
	openb3d_openb3dcore_TSurface_VertexX_i_m m_VertexX_i;
	openb3d_openb3dcore_TSurface_VertexY_i_m m_VertexY_i;
	openb3d_openb3dcore_TSurface_VertexZ_i_m m_VertexZ_i;
	openb3d_openb3dcore_TSurface_VertexRed_i_m m_VertexRed_i;
	openb3d_openb3dcore_TSurface_VertexGreen_i_m m_VertexGreen_i;
	openb3d_openb3dcore_TSurface_VertexBlue_i_m m_VertexBlue_i;
	openb3d_openb3dcore_TSurface_VertexAlpha_i_m m_VertexAlpha_i;
	openb3d_openb3dcore_TSurface_VertexNX_i_m m_VertexNX_i;
	openb3d_openb3dcore_TSurface_VertexNY_i_m m_VertexNY_i;
	openb3d_openb3dcore_TSurface_VertexNZ_i_m m_VertexNZ_i;
	openb3d_openb3dcore_TSurface_VertexU_ii_m m_VertexU_ii;
	openb3d_openb3dcore_TSurface_VertexV_ii_m m_VertexV_ii;
	openb3d_openb3dcore_TSurface_VertexW_ii_m m_VertexW_ii;
	openb3d_openb3dcore_TSurface_TriangleVertex_ii_m m_TriangleVertex_ii;
	openb3d_openb3dcore_TSurface_Copy_m m_Copy;
	openb3d_openb3dcore_TSurface_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TSurface_TriangleNX_i_m m_TriangleNX_i;
	openb3d_openb3dcore_TSurface_TriangleNY_i_m m_TriangleNY_i;
	openb3d_openb3dcore_TSurface_TriangleNZ_i_m m_TriangleNZ_i;
	openb3d_openb3dcore_TSurface_UpdateVBO_m m_UpdateVBO;
	openb3d_openb3dcore_TSurface_FreeVBO_m m_FreeVBO;
	openb3d_openb3dcore_TSurface_RemoveTri_i_m m_RemoveTri_i;
	openb3d_openb3dcore_TSurface_SurfaceColor_ffff_m m_SurfaceColor_ffff;
	openb3d_openb3dcore_TSurface_SurfaceRed_f_m m_SurfaceRed_f;
	openb3d_openb3dcore_TSurface_SurfaceGreen_f_m m_SurfaceGreen_f;
	openb3d_openb3dcore_TSurface_SurfaceBlue_f_m m_SurfaceBlue_f;
	openb3d_openb3dcore_TSurface_SurfaceAlpha_f_m m_SurfaceAlpha_f;
};

struct openb3d_openb3dcore_TSurface_obj {
	struct BBClass_openb3d_openb3dcore_TSurface* clas;
	BBINT* _openb3d_openb3dcore_tsurface_no_verts;
	BBINT* _openb3d_openb3dcore_tsurface_no_tris;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_coords;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_norm;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_tex_coords0;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_tex_coords1;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_col;
	BBSHORT* _openb3d_openb3dcore_tsurface_tris;
	BBINT* _openb3d_openb3dcore_tsurface_vert_bone1_no;
	BBINT* _openb3d_openb3dcore_tsurface_vert_bone2_no;
	BBINT* _openb3d_openb3dcore_tsurface_vert_bone3_no;
	BBINT* _openb3d_openb3dcore_tsurface_vert_bone4_no;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_weight1;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_weight2;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_weight3;
	BBFLOAT* _openb3d_openb3dcore_tsurface_vert_weight4;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tsurface_brush;
	struct openb3d_openb3dcore_TShader_obj* _openb3d_openb3dcore_tsurface_shadermat;
	BBINT* _openb3d_openb3dcore_tsurface_vbo_id;
	BBINT* _openb3d_openb3dcore_tsurface_vert_array_size;
	BBINT* _openb3d_openb3dcore_tsurface_tri_array_size;
	BBINT* _openb3d_openb3dcore_tsurface_vmin;
	BBINT* _openb3d_openb3dcore_tsurface_vmax;
	BBINT* _openb3d_openb3dcore_tsurface_vbo_enabled;
	BBINT* _openb3d_openb3dcore_tsurface_reset_vbo;
	BBINT* _openb3d_openb3dcore_tsurface_alpha_enable;
	BBBYTE* _openb3d_openb3dcore_tsurface_instance;
	BBINT _openb3d_openb3dcore_tsurface_exists;
};
extern struct BBClass_openb3d_openb3dcore_TSurface openb3d_openb3dcore_TSurface;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TSurface_surf_map;
void _openb3d_openb3dcore_TTexture_New(struct openb3d_openb3dcore_TTexture_obj* o);
void _openb3d_openb3dcore_TTexture_Delete(struct openb3d_openb3dcore_TTexture_obj* o);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_CreateObject_TTTexture_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_CreateObject_TTTexture_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TTexture_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TTexture_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_GetObject_TTTexture_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_GetObject_TTTexture_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture_f)(struct openb3d_openb3dcore_TTexture_obj*);
BBBYTE* openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture(struct openb3d_openb3dcore_TTexture_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TTexture_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TTexture_InitFields_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBINT _openb3d_openb3dcore_TTexture_InitFields(struct openb3d_openb3dcore_TTexture_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_DebugFields_ii_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TTexture_DebugFields_ii(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TTexture_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TTexture_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureListAdd_TTList_m)(struct openb3d_openb3dcore_TTexture_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TTexture_TextureListAdd_TTList(struct openb3d_openb3dcore_TTexture_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureListRemove_TTList_m)(struct openb3d_openb3dcore_TTexture_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dcore_TTexture_TextureListRemove_TTList(struct openb3d_openb3dcore_TTexture_obj*,struct brl_linkedlist_TList_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_NewTexture_TTTexture_f)();
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_NewTexture_TTTexture();
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_Create_TTTexture_f)();
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_Create_TTTexture();
typedef BBINT (*openb3d_openb3dcore_TTexture_CountMipmaps_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBINT _openb3d_openb3dcore_TTexture_CountMipmaps(struct openb3d_openb3dcore_TTexture_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_BufferToTex_pbi_m)(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_BufferToTex_pbi(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TexToBuffer_pbi_m)(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_TexToBuffer_pbi(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_CameraToTex_TTCamerai_m)(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_CameraToTex_TTCamerai(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_DepthBufferToTex_TTCamera_m)(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*);
BBINT _openb3d_openb3dcore_TTexture_DepthBufferToTex_TTCamera(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_AlphaDiscard_f_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_AlphaDiscard_f(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureFlags_i_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_TextureFlags_i(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureGLTexEnvi_iii_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TTexture_TextureGLTexEnvi_iii(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureGLTexEnvf_iif_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_TextureGLTexEnvf_iif(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_GlobalAnIsotropic_f_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_GlobalAnIsotropic_f(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureAnIsotropic_f_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_TextureAnIsotropic_f(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureMultitex_f_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_TextureMultitex_f(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
typedef BBSTRING (*openb3d_openb3dcore_TTexture_GetString_pb_m)(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*);
BBSTRING _openb3d_openb3dcore_TTexture_GetString_pb(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TTexture_SetString_pbS_m)(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*,BBSTRING);
BBINT _openb3d_openb3dcore_TTexture_SetString_pbS(struct openb3d_openb3dcore_TTexture_obj*,BBBYTE*,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TTexture_CameraToTexEXT_TTCamerai_m)(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_CameraToTexEXT_TTCamerai(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_DepthBufferToTexEXT_TTCamerai_m)(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_DepthBufferToTexEXT_TTCamerai(struct openb3d_openb3dcore_TTexture_obj*,struct openb3d_openb3dcore_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_FreeTexture_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBINT _openb3d_openb3dcore_TTexture_FreeTexture(struct openb3d_openb3dcore_TTexture_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_CreateTexture_TTTexture_iiii_f)(BBINT,BBINT,BBINT,BBINT);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_CreateTexture_TTTexture_iiii(BBINT,BBINT,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_LoadTexture_TTTexture_SiTTTexture_f)(BBSTRING,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_LoadTexture_TTTexture_SiTTTexture(BBSTRING,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_LoadAnimTexture_TTTexture_SiiiiiTTTexture_f)(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_LoadAnimTexture_TTTexture_SiiiiiTTTexture(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_LoadAnimTextureStream_TTTexture_TObjectiiiiiTTTexture_f)(BBOBJECT,BBINT,BBINT,BBINT,BBINT,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_LoadAnimTextureStream_TTTexture_TObjectiiiiiTTTexture(BBOBJECT,BBINT,BBINT,BBINT,BBINT,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_LoadCubeMapTextureStream_TTTexture_TObjectiiiiiTTTexture_f)(BBOBJECT,BBINT,BBINT,BBINT,BBINT,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_LoadCubeMapTextureStream_TTTexture_TObjectiiiiiTTTexture(BBOBJECT,BBINT,BBINT,BBINT,BBINT,BBINT,struct openb3d_openb3dcore_TTexture_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_FileFind_i_vS_f)(BBSTRING*);
BBINT openb3d_openb3dcore_TTexture_FileFind_i_vS(BBSTRING*);
typedef BBSTRING (*openb3d_openb3dcore_TTexture_FileAbs_S_S_f)(BBSTRING);
BBSTRING openb3d_openb3dcore_TTexture_FileAbs_S_S(BBSTRING);
typedef struct brl_pixmap_TPixmap_obj* (*openb3d_openb3dcore_TTexture_AdjustPixmap_TTPixmap_TTPixmap_f)(struct brl_pixmap_TPixmap_obj*);
struct brl_pixmap_TPixmap_obj* openb3d_openb3dcore_TTexture_AdjustPixmap_TTPixmap_TTPixmap(struct brl_pixmap_TPixmap_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_CheckAlpha_i_TTPixmap_f)(struct brl_pixmap_TPixmap_obj*);
BBINT openb3d_openb3dcore_TTexture_CheckAlpha_i_TTPixmap(struct brl_pixmap_TPixmap_obj*);
typedef struct brl_pixmap_TPixmap_obj* (*openb3d_openb3dcore_TTexture_ApplyAlpha_TTPixmap_vTTPixmapf_f)(struct brl_pixmap_TPixmap_obj**,BBFLOAT);
struct brl_pixmap_TPixmap_obj* openb3d_openb3dcore_TTexture_ApplyAlpha_TTPixmap_vTTPixmapf(struct brl_pixmap_TPixmap_obj**,BBFLOAT);
typedef struct brl_pixmap_TPixmap_obj* (*openb3d_openb3dcore_TTexture_ApplyMask_TTPixmap_vTTPixmapiii_f)(struct brl_pixmap_TPixmap_obj**,BBINT,BBINT,BBINT);
struct brl_pixmap_TPixmap_obj* openb3d_openb3dcore_TTexture_ApplyMask_TTPixmap_vTTPixmapiii(struct brl_pixmap_TPixmap_obj**,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_Pow2Size_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TTexture_Pow2Size_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureBlend_i_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_TextureBlend_i(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureCoords_i_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_TextureCoords_i(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_ScaleTexture_ff_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_ScaleTexture_ff(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_PositionTexture_ff_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_PositionTexture_ff(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_RotateTexture_f_m)(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TTexture_RotateTexture_f(struct openb3d_openb3dcore_TTexture_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureWidth_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBINT _openb3d_openb3dcore_TTexture_TextureWidth(struct openb3d_openb3dcore_TTexture_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureHeight_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBINT _openb3d_openb3dcore_TTexture_TextureHeight(struct openb3d_openb3dcore_TTexture_obj*);
typedef BBSTRING (*openb3d_openb3dcore_TTexture_TextureName_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBSTRING _openb3d_openb3dcore_TTexture_TextureName(struct openb3d_openb3dcore_TTexture_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_GetBrushTexture_TTTexture_TTBrushi_f)(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_TTexture_GetBrushTexture_TTTexture_TTBrushi(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_ClearTextureFilters_i_f)();
BBINT openb3d_openb3dcore_TTexture_ClearTextureFilters_i();
typedef BBINT (*openb3d_openb3dcore_TTexture_TextureFilter_i_Si_f)(BBSTRING,BBINT);
BBINT openb3d_openb3dcore_TTexture_TextureFilter_i_Si(BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_SetCubeFace_i_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_SetCubeFace_i(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_SetCubeMode_i_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dcore_TTexture_SetCubeMode_i(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTexture_BackBufferToTex_iii_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TTexture_BackBufferToTex_iii(struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_Copy_i_m)(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
struct openb3d_openb3dcore_TTexture_obj* _openb3d_openb3dcore_TTexture_Copy_i(struct openb3d_openb3dcore_TTexture_obj*,BBINT);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TTexture_TexInList_m)(struct openb3d_openb3dcore_TTexture_obj*);
struct openb3d_openb3dcore_TTexture_obj* _openb3d_openb3dcore_TTexture_TexInList(struct openb3d_openb3dcore_TTexture_obj*);
typedef BBINT (*openb3d_openb3dcore_TTexture_FilterFlags_m)(struct openb3d_openb3dcore_TTexture_obj*);
BBINT _openb3d_openb3dcore_TTexture_FilterFlags(struct openb3d_openb3dcore_TTexture_obj*);
struct BBClass_openb3d_openb3dcore_TTexture {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TTexture_CreateObject_TTTexture_pb_f f_CreateObject_TTTexture_pb;
	openb3d_openb3dcore_TTexture_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TTexture_GetObject_TTTexture_pb_f f_GetObject_TTTexture_pb;
	openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture_f f_GetInstance_pb_TTTexture;
	openb3d_openb3dcore_TTexture_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TTexture_InitFields_m m_InitFields;
	openb3d_openb3dcore_TTexture_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TTexture_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TTexture_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TTexture_TextureListAdd_TTList_m m_TextureListAdd_TTList;
	openb3d_openb3dcore_TTexture_TextureListRemove_TTList_m m_TextureListRemove_TTList;
	openb3d_openb3dcore_TTexture_NewTexture_TTTexture_f f_NewTexture_TTTexture;
	openb3d_openb3dcore_TTexture_Create_TTTexture_f f_Create_TTTexture;
	openb3d_openb3dcore_TTexture_CountMipmaps_m m_CountMipmaps;
	openb3d_openb3dcore_TTexture_BufferToTex_pbi_m m_BufferToTex_pbi;
	openb3d_openb3dcore_TTexture_TexToBuffer_pbi_m m_TexToBuffer_pbi;
	openb3d_openb3dcore_TTexture_CameraToTex_TTCamerai_m m_CameraToTex_TTCamerai;
	openb3d_openb3dcore_TTexture_DepthBufferToTex_TTCamera_m m_DepthBufferToTex_TTCamera;
	openb3d_openb3dcore_TTexture_AlphaDiscard_f_m m_AlphaDiscard_f;
	openb3d_openb3dcore_TTexture_TextureFlags_i_m m_TextureFlags_i;
	openb3d_openb3dcore_TTexture_TextureGLTexEnvi_iii_m m_TextureGLTexEnvi_iii;
	openb3d_openb3dcore_TTexture_TextureGLTexEnvf_iif_m m_TextureGLTexEnvf_iif;
	openb3d_openb3dcore_TTexture_GlobalAnIsotropic_f_m m_GlobalAnIsotropic_f;
	openb3d_openb3dcore_TTexture_TextureAnIsotropic_f_m m_TextureAnIsotropic_f;
	openb3d_openb3dcore_TTexture_TextureMultitex_f_m m_TextureMultitex_f;
	openb3d_openb3dcore_TTexture_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TTexture_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TTexture_CameraToTexEXT_TTCamerai_m m_CameraToTexEXT_TTCamerai;
	openb3d_openb3dcore_TTexture_DepthBufferToTexEXT_TTCamerai_m m_DepthBufferToTexEXT_TTCamerai;
	openb3d_openb3dcore_TTexture_FreeTexture_m m_FreeTexture;
	openb3d_openb3dcore_TTexture_CreateTexture_TTTexture_iiii_f f_CreateTexture_TTTexture_iiii;
	openb3d_openb3dcore_TTexture_LoadTexture_TTTexture_SiTTTexture_f f_LoadTexture_TTTexture_SiTTTexture;
	openb3d_openb3dcore_TTexture_LoadAnimTexture_TTTexture_SiiiiiTTTexture_f f_LoadAnimTexture_TTTexture_SiiiiiTTTexture;
	openb3d_openb3dcore_TTexture_LoadAnimTextureStream_TTTexture_TObjectiiiiiTTTexture_f f_LoadAnimTextureStream_TTTexture_TObjectiiiiiTTTexture;
	openb3d_openb3dcore_TTexture_LoadCubeMapTextureStream_TTTexture_TObjectiiiiiTTTexture_f f_LoadCubeMapTextureStream_TTTexture_TObjectiiiiiTTTexture;
	openb3d_openb3dcore_TTexture_FileFind_i_vS_f f_FileFind_i_vS;
	openb3d_openb3dcore_TTexture_FileAbs_S_S_f f_FileAbs_S_S;
	openb3d_openb3dcore_TTexture_AdjustPixmap_TTPixmap_TTPixmap_f f_AdjustPixmap_TTPixmap_TTPixmap;
	openb3d_openb3dcore_TTexture_CheckAlpha_i_TTPixmap_f f_CheckAlpha_i_TTPixmap;
	openb3d_openb3dcore_TTexture_ApplyAlpha_TTPixmap_vTTPixmapf_f f_ApplyAlpha_TTPixmap_vTTPixmapf;
	openb3d_openb3dcore_TTexture_ApplyMask_TTPixmap_vTTPixmapiii_f f_ApplyMask_TTPixmap_vTTPixmapiii;
	openb3d_openb3dcore_TTexture_Pow2Size_i_i_f f_Pow2Size_i_i;
	openb3d_openb3dcore_TTexture_TextureBlend_i_m m_TextureBlend_i;
	openb3d_openb3dcore_TTexture_TextureCoords_i_m m_TextureCoords_i;
	openb3d_openb3dcore_TTexture_ScaleTexture_ff_m m_ScaleTexture_ff;
	openb3d_openb3dcore_TTexture_PositionTexture_ff_m m_PositionTexture_ff;
	openb3d_openb3dcore_TTexture_RotateTexture_f_m m_RotateTexture_f;
	openb3d_openb3dcore_TTexture_TextureWidth_m m_TextureWidth;
	openb3d_openb3dcore_TTexture_TextureHeight_m m_TextureHeight;
	openb3d_openb3dcore_TTexture_TextureName_m m_TextureName;
	openb3d_openb3dcore_TTexture_GetBrushTexture_TTTexture_TTBrushi_f f_GetBrushTexture_TTTexture_TTBrushi;
	openb3d_openb3dcore_TTexture_ClearTextureFilters_i_f f_ClearTextureFilters_i;
	openb3d_openb3dcore_TTexture_TextureFilter_i_Si_f f_TextureFilter_i_Si;
	openb3d_openb3dcore_TTexture_SetCubeFace_i_m m_SetCubeFace_i;
	openb3d_openb3dcore_TTexture_SetCubeMode_i_m m_SetCubeMode_i;
	openb3d_openb3dcore_TTexture_BackBufferToTex_iii_m m_BackBufferToTex_iii;
	openb3d_openb3dcore_TTexture_Copy_i_m m_Copy_i;
	openb3d_openb3dcore_TTexture_TexInList_m m_TexInList;
	openb3d_openb3dcore_TTexture_FilterFlags_m m_FilterFlags;
};

struct openb3d_openb3dcore_TTexture_obj {
	struct BBClass_openb3d_openb3dcore_TTexture* clas;
	BBINT* _openb3d_openb3dcore_ttexture_texture;
	BBBYTE* _openb3d_openb3dcore_ttexture_file;
	BBINT* _openb3d_openb3dcore_ttexture_frames;
	BBINT* _openb3d_openb3dcore_ttexture_flags;
	BBINT* _openb3d_openb3dcore_ttexture_blend;
	BBINT* _openb3d_openb3dcore_ttexture_coords;
	BBFLOAT* _openb3d_openb3dcore_ttexture_u_scale;
	BBFLOAT* _openb3d_openb3dcore_ttexture_v_scale;
	BBFLOAT* _openb3d_openb3dcore_ttexture_u_pos;
	BBFLOAT* _openb3d_openb3dcore_ttexture_v_pos;
	BBFLOAT* _openb3d_openb3dcore_ttexture_angle;
	BBBYTE* _openb3d_openb3dcore_ttexture_file_abs;
	BBINT* _openb3d_openb3dcore_ttexture_width;
	BBINT* _openb3d_openb3dcore_ttexture_height;
	BBINT* _openb3d_openb3dcore_ttexture_no_frames;
	BBINT* _openb3d_openb3dcore_ttexture_framebuffer;
	BBINT* _openb3d_openb3dcore_ttexture_cube_face;
	BBINT* _openb3d_openb3dcore_ttexture_cube_mode;
	struct brl_pixmap_TPixmap_obj* _openb3d_openb3dcore_ttexture_pixmap;
	BBFLOAT _openb3d_openb3dcore_ttexture_discard;
	BBINT* _openb3d_openb3dcore_ttexture_gltex;
	BBARRAY _openb3d_openb3dcore_ttexture_no_mipmaps;
	BBINT* _openb3d_openb3dcore_ttexture_format;
	BBBYTE* _openb3d_openb3dcore_ttexture_instance;
	BBINT _openb3d_openb3dcore_ttexture_exists;
};
extern struct BBClass_openb3d_openb3dcore_TTexture openb3d_openb3dcore_TTexture;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TTexture_tex_list;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TTexture_tex_list_all;
extern BBINT openb3d_openb3dcore_TTexture_is_unique;
extern BBINT* openb3d_openb3dcore_TTexture_AnIsoSupport;
extern BBFLOAT* openb3d_openb3dcore_TTexture_global_aniso;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TTexture_tex_map;
extern BBINT openb3d_openb3dcore_TTexture_tex_list_id;
extern BBINT openb3d_openb3dcore_TTexture_tex_list_all_id;
void _openb3d_openb3dcore_TTextureFilter_New(struct openb3d_openb3dcore_TTextureFilter_obj* o);
struct BBClass_openb3d_openb3dcore_TTextureFilter {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TTextureFilter_obj {
	struct BBClass_openb3d_openb3dcore_TTextureFilter* clas;
	BBSTRING _openb3d_openb3dcore_ttexturefilter_text;
	BBINT _openb3d_openb3dcore_ttexturefilter_flags;
};
extern struct BBClass_openb3d_openb3dcore_TTextureFilter openb3d_openb3dcore_TTextureFilter;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TTextureFilter_filter_list;
void _openb3d_openb3dcore_TBrush_New(struct openb3d_openb3dcore_TBrush_obj* o);
void _openb3d_openb3dcore_TBrush_Delete(struct openb3d_openb3dcore_TBrush_obj* o);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_CreateObject_TTBrush_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_TBrush_CreateObject_TTBrush_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TBrush_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TBrush_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_GetObject_TTBrush_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_TBrush_GetObject_TTBrush_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TBrush_GetInstance_pb_TTBrush_f)(struct openb3d_openb3dcore_TBrush_obj*);
BBBYTE* openb3d_openb3dcore_TBrush_GetInstance_pb_TTBrush(struct openb3d_openb3dcore_TBrush_obj*);
typedef BBINT (*openb3d_openb3dcore_TBrush_InitFields_m)(struct openb3d_openb3dcore_TBrush_obj*);
BBINT _openb3d_openb3dcore_TBrush_InitFields(struct openb3d_openb3dcore_TBrush_obj*);
typedef BBINT (*openb3d_openb3dcore_TBrush_DebugFields_ii_m)(struct openb3d_openb3dcore_TBrush_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TBrush_DebugFields_ii(struct openb3d_openb3dcore_TBrush_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TBrush_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TBrush_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TBrush_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TBrush_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TBrush_FreeBrushTextures_m)(struct openb3d_openb3dcore_TBrush_obj*);
BBINT _openb3d_openb3dcore_TBrush_FreeBrushTextures(struct openb3d_openb3dcore_TBrush_obj*);
typedef BBSTRING (*openb3d_openb3dcore_TBrush_GetString_pb_m)(struct openb3d_openb3dcore_TBrush_obj*,BBBYTE*);
BBSTRING _openb3d_openb3dcore_TBrush_GetString_pb(struct openb3d_openb3dcore_TBrush_obj*,BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TBrush_SetString_pbS_m)(struct openb3d_openb3dcore_TBrush_obj*,BBBYTE*,BBSTRING);
BBINT _openb3d_openb3dcore_TBrush_SetString_pbS(struct openb3d_openb3dcore_TBrush_obj*,BBBYTE*,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushGLColor_ffff_m)(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TBrush_BrushGLColor_ffff(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushGLBlendFunc_ii_m)(struct openb3d_openb3dcore_TBrush_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TBrush_BrushGLBlendFunc_ii(struct openb3d_openb3dcore_TBrush_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TBrush_GetBrushTexture_i_m)(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
struct openb3d_openb3dcore_TTexture_obj* _openb3d_openb3dcore_TBrush_GetBrushTexture_i(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TBrush_FreeBrush_m)(struct openb3d_openb3dcore_TBrush_obj*);
BBINT _openb3d_openb3dcore_TBrush_FreeBrush(struct openb3d_openb3dcore_TBrush_obj*);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_CreateBrush_TTBrush_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_TBrush_CreateBrush_TTBrush_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_LoadBrush_TTBrush_Siff_f)(BBSTRING,BBINT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_TBrush_LoadBrush_TTBrush_Siff(BBSTRING,BBINT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushColor_fff_m)(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TBrush_BrushColor_fff(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushAlpha_f_m)(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TBrush_BrushAlpha_f(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushShininess_f_m)(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TBrush_BrushShininess_f(struct openb3d_openb3dcore_TBrush_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushTexture_TTTextureii_m)(struct openb3d_openb3dcore_TBrush_obj*,struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TBrush_BrushTexture_TTTextureii(struct openb3d_openb3dcore_TBrush_obj*,struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushBlend_i_m)(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
BBINT _openb3d_openb3dcore_TBrush_BrushBlend_i(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TBrush_BrushFX_i_m)(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
BBINT _openb3d_openb3dcore_TBrush_BrushFX_i(struct openb3d_openb3dcore_TBrush_obj*,BBINT);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_GetEntityBrush_TTBrush_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_TBrush_GetEntityBrush_TTBrush_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_GetSurfaceBrush_TTBrush_TTSurface_f)(struct openb3d_openb3dcore_TSurface_obj*);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_TBrush_GetSurfaceBrush_TTBrush_TTSurface(struct openb3d_openb3dcore_TSurface_obj*);
typedef struct openb3d_openb3dcore_TBrush_obj* (*openb3d_openb3dcore_TBrush_Copy_m)(struct openb3d_openb3dcore_TBrush_obj*);
struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_TBrush_Copy(struct openb3d_openb3dcore_TBrush_obj*);
typedef BBINT (*openb3d_openb3dcore_TBrush_CompareBrushes_i_TTBrushTTBrush_f)(struct openb3d_openb3dcore_TBrush_obj*,struct openb3d_openb3dcore_TBrush_obj*);
BBINT openb3d_openb3dcore_TBrush_CompareBrushes_i_TTBrushTTBrush(struct openb3d_openb3dcore_TBrush_obj*,struct openb3d_openb3dcore_TBrush_obj*);
struct BBClass_openb3d_openb3dcore_TBrush {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TBrush_CreateObject_TTBrush_pb_f f_CreateObject_TTBrush_pb;
	openb3d_openb3dcore_TBrush_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TBrush_GetObject_TTBrush_pb_f f_GetObject_TTBrush_pb;
	openb3d_openb3dcore_TBrush_GetInstance_pb_TTBrush_f f_GetInstance_pb_TTBrush;
	openb3d_openb3dcore_TBrush_InitFields_m m_InitFields;
	openb3d_openb3dcore_TBrush_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TBrush_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TBrush_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TBrush_FreeBrushTextures_m m_FreeBrushTextures;
	openb3d_openb3dcore_TBrush_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TBrush_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TBrush_BrushGLColor_ffff_m m_BrushGLColor_ffff;
	openb3d_openb3dcore_TBrush_BrushGLBlendFunc_ii_m m_BrushGLBlendFunc_ii;
	openb3d_openb3dcore_TBrush_GetBrushTexture_i_m m_GetBrushTexture_i;
	openb3d_openb3dcore_TBrush_FreeBrush_m m_FreeBrush;
	openb3d_openb3dcore_TBrush_CreateBrush_TTBrush_fff_f f_CreateBrush_TTBrush_fff;
	openb3d_openb3dcore_TBrush_LoadBrush_TTBrush_Siff_f f_LoadBrush_TTBrush_Siff;
	openb3d_openb3dcore_TBrush_BrushColor_fff_m m_BrushColor_fff;
	openb3d_openb3dcore_TBrush_BrushAlpha_f_m m_BrushAlpha_f;
	openb3d_openb3dcore_TBrush_BrushShininess_f_m m_BrushShininess_f;
	openb3d_openb3dcore_TBrush_BrushTexture_TTTextureii_m m_BrushTexture_TTTextureii;
	openb3d_openb3dcore_TBrush_BrushBlend_i_m m_BrushBlend_i;
	openb3d_openb3dcore_TBrush_BrushFX_i_m m_BrushFX_i;
	openb3d_openb3dcore_TBrush_GetEntityBrush_TTBrush_TTEntity_f f_GetEntityBrush_TTBrush_TTEntity;
	openb3d_openb3dcore_TBrush_GetSurfaceBrush_TTBrush_TTSurface_f f_GetSurfaceBrush_TTBrush_TTSurface;
	openb3d_openb3dcore_TBrush_Copy_m m_Copy;
	openb3d_openb3dcore_TBrush_CompareBrushes_i_TTBrushTTBrush_f f_CompareBrushes_i_TTBrushTTBrush;
};

struct openb3d_openb3dcore_TBrush_obj {
	struct BBClass_openb3d_openb3dcore_TBrush* clas;
	BBINT* _openb3d_openb3dcore_tbrush_no_texs;
	BBBYTE* _openb3d_openb3dcore_tbrush_name;
	BBFLOAT* _openb3d_openb3dcore_tbrush_red;
	BBFLOAT* _openb3d_openb3dcore_tbrush_green;
	BBFLOAT* _openb3d_openb3dcore_tbrush_blue;
	BBFLOAT* _openb3d_openb3dcore_tbrush_alpha;
	BBFLOAT* _openb3d_openb3dcore_tbrush_shine;
	BBINT* _openb3d_openb3dcore_tbrush_blend;
	BBINT* _openb3d_openb3dcore_tbrush_fx;
	BBINT* _openb3d_openb3dcore_tbrush_cache_frame;
	BBARRAY _openb3d_openb3dcore_tbrush_tex;
	BBBYTE* _openb3d_openb3dcore_tbrush_instance;
	BBINT _openb3d_openb3dcore_tbrush_exists;
};
extern struct BBClass_openb3d_openb3dcore_TBrush openb3d_openb3dcore_TBrush;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TBrush_brush_list;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TBrush_brush_map;
extern BBINT openb3d_openb3dcore_TBrush_brush_list_id;
void _openb3d_openb3dcore_TAnimation_New(struct openb3d_openb3dcore_TAnimation_obj* o);
typedef BBINT (*openb3d_openb3dcore_TAnimation_AnimateMesh3_i_TTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TAnimation_AnimateMesh3_i_TTEntity(struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TAnimation_AnimateMesh_i_TTEntityfii_f)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT,BBINT);
BBINT openb3d_openb3dcore_TAnimation_AnimateMesh_i_TTEntityfii(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TAnimation_AnimateMesh2_i_TTEntityfii_f)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT,BBINT);
BBINT openb3d_openb3dcore_TAnimation_AnimateMesh2_i_TTEntityfii(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TAnimation_VertexDeform_i_TTMesh_f)(struct openb3d_openb3dcore_TMesh_obj*);
BBINT openb3d_openb3dcore_TAnimation_VertexDeform_i_TTMesh(struct openb3d_openb3dcore_TMesh_obj*);
struct BBClass_openb3d_openb3dcore_TAnimation {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TAnimation_AnimateMesh3_i_TTEntity_f f_AnimateMesh3_i_TTEntity;
	openb3d_openb3dcore_TAnimation_AnimateMesh_i_TTEntityfii_f f_AnimateMesh_i_TTEntityfii;
	openb3d_openb3dcore_TAnimation_AnimateMesh2_i_TTEntityfii_f f_AnimateMesh2_i_TTEntityfii;
	openb3d_openb3dcore_TAnimation_VertexDeform_i_TTMesh_f f_VertexDeform_i_TTMesh;
};

struct openb3d_openb3dcore_TAnimation_obj {
	struct BBClass_openb3d_openb3dcore_TAnimation* clas;
};
extern struct BBClass_openb3d_openb3dcore_TAnimation openb3d_openb3dcore_TAnimation;
void _openb3d_openb3dcore_TAnimationKeys_New(struct openb3d_openb3dcore_TAnimationKeys_obj* o);
void _openb3d_openb3dcore_TAnimationKeys_Delete(struct openb3d_openb3dcore_TAnimationKeys_obj* o);
typedef struct openb3d_openb3dcore_TAnimationKeys_obj* (*openb3d_openb3dcore_TAnimationKeys_CreateObject_TTAnimationKeys_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TAnimationKeys_obj* openb3d_openb3dcore_TAnimationKeys_CreateObject_TTAnimationKeys_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TAnimationKeys_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TAnimationKeys_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TAnimationKeys_obj* (*openb3d_openb3dcore_TAnimationKeys_GetObject_TTAnimationKeys_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TAnimationKeys_obj* openb3d_openb3dcore_TAnimationKeys_GetObject_TTAnimationKeys_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TAnimationKeys_GetInstance_pb_TTAnimationKeys_f)(struct openb3d_openb3dcore_TAnimationKeys_obj*);
BBBYTE* openb3d_openb3dcore_TAnimationKeys_GetInstance_pb_TTAnimationKeys(struct openb3d_openb3dcore_TAnimationKeys_obj*);
typedef BBINT (*openb3d_openb3dcore_TAnimationKeys_InitFields_m)(struct openb3d_openb3dcore_TAnimationKeys_obj*);
BBINT _openb3d_openb3dcore_TAnimationKeys_InitFields(struct openb3d_openb3dcore_TAnimationKeys_obj*);
typedef BBINT (*openb3d_openb3dcore_TAnimationKeys_DebugFields_ii_m)(struct openb3d_openb3dcore_TAnimationKeys_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TAnimationKeys_DebugFields_ii(struct openb3d_openb3dcore_TAnimationKeys_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TAnimationKeys_obj* (*openb3d_openb3dcore_TAnimationKeys_NewAnimationKeys_TTAnimationKeys_TTBone_f)(struct openb3d_openb3dcore_TBone_obj*);
struct openb3d_openb3dcore_TAnimationKeys_obj* openb3d_openb3dcore_TAnimationKeys_NewAnimationKeys_TTAnimationKeys_TTBone(struct openb3d_openb3dcore_TBone_obj*);
typedef struct openb3d_openb3dcore_TAnimationKeys_obj* (*openb3d_openb3dcore_TAnimationKeys_Create_TTAnimationKeys_TTBone_f)(struct openb3d_openb3dcore_TBone_obj*);
struct openb3d_openb3dcore_TAnimationKeys_obj* openb3d_openb3dcore_TAnimationKeys_Create_TTAnimationKeys_TTBone(struct openb3d_openb3dcore_TBone_obj*);
typedef BBINT* (*openb3d_openb3dcore_TAnimationKeys_AnimationKeysIntArrayResize_ii_m)(struct openb3d_openb3dcore_TAnimationKeys_obj*,BBINT,BBINT);
BBINT* _openb3d_openb3dcore_TAnimationKeys_AnimationKeysIntArrayResize_ii(struct openb3d_openb3dcore_TAnimationKeys_obj*,BBINT,BBINT);
typedef BBFLOAT* (*openb3d_openb3dcore_TAnimationKeys_AnimationKeysFloatArrayResize_ii_m)(struct openb3d_openb3dcore_TAnimationKeys_obj*,BBINT,BBINT);
BBFLOAT* _openb3d_openb3dcore_TAnimationKeys_AnimationKeysFloatArrayResize_ii(struct openb3d_openb3dcore_TAnimationKeys_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TAnimationKeys_obj* (*openb3d_openb3dcore_TAnimationKeys_Copy_m)(struct openb3d_openb3dcore_TAnimationKeys_obj*);
struct openb3d_openb3dcore_TAnimationKeys_obj* _openb3d_openb3dcore_TAnimationKeys_Copy(struct openb3d_openb3dcore_TAnimationKeys_obj*);
struct BBClass_openb3d_openb3dcore_TAnimationKeys {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TAnimationKeys_CreateObject_TTAnimationKeys_pb_f f_CreateObject_TTAnimationKeys_pb;
	openb3d_openb3dcore_TAnimationKeys_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TAnimationKeys_GetObject_TTAnimationKeys_pb_f f_GetObject_TTAnimationKeys_pb;
	openb3d_openb3dcore_TAnimationKeys_GetInstance_pb_TTAnimationKeys_f f_GetInstance_pb_TTAnimationKeys;
	openb3d_openb3dcore_TAnimationKeys_InitFields_m m_InitFields;
	openb3d_openb3dcore_TAnimationKeys_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TAnimationKeys_NewAnimationKeys_TTAnimationKeys_TTBone_f f_NewAnimationKeys_TTAnimationKeys_TTBone;
	openb3d_openb3dcore_TAnimationKeys_Create_TTAnimationKeys_TTBone_f f_Create_TTAnimationKeys_TTBone;
	openb3d_openb3dcore_TAnimationKeys_AnimationKeysIntArrayResize_ii_m m_AnimationKeysIntArrayResize_ii;
	openb3d_openb3dcore_TAnimationKeys_AnimationKeysFloatArrayResize_ii_m m_AnimationKeysFloatArrayResize_ii;
	openb3d_openb3dcore_TAnimationKeys_Copy_m m_Copy;
};

struct openb3d_openb3dcore_TAnimationKeys_obj {
	struct BBClass_openb3d_openb3dcore_TAnimationKeys* clas;
	BBINT* _openb3d_openb3dcore_tanimationkeys_frames;
	BBINT* _openb3d_openb3dcore_tanimationkeys_flags;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_px;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_py;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_pz;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_sx;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_sy;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_sz;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_qw;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_qx;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_qy;
	BBFLOAT* _openb3d_openb3dcore_tanimationkeys_qz;
	BBBYTE* _openb3d_openb3dcore_tanimationkeys_instance;
};
extern struct BBClass_openb3d_openb3dcore_TAnimationKeys openb3d_openb3dcore_TAnimationKeys;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TAnimationKeys_animkeys_map;
void _openb3d_openb3dcore_TB3D_New(struct openb3d_openb3dcore_TB3D_obj* o);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TB3D_LoadAnimB3D_TTMesh_TObjectTTEntity_f)(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TB3D_LoadAnimB3D_TTMesh_TObjectTTEntity(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TB3D_LoadAnimB3DFromStream_TTMesh_TTStreamTObjectTTEntity_f)(struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TB3D_LoadAnimB3DFromStream_TTMesh_TTStreamTObjectTTEntity(struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TB3D_TrimVerts_i_TTSurface_f)(struct openb3d_openb3dcore_TSurface_obj*);
BBINT openb3d_openb3dcore_TB3D_TrimVerts_i_TTSurface(struct openb3d_openb3dcore_TSurface_obj*);
typedef BBSTRING (*openb3d_openb3dcore_TB3D_b3dReadString_S_vTTStream_f)(struct brl_stream_TStream_obj**);
BBSTRING openb3d_openb3dcore_TB3D_b3dReadString_S_vTTStream(struct brl_stream_TStream_obj**);
typedef BBSTRING (*openb3d_openb3dcore_TB3D_ReadTag_S_TTStream_f)(struct brl_stream_TStream_obj*);
BBSTRING openb3d_openb3dcore_TB3D_ReadTag_S_TTStream(struct brl_stream_TStream_obj*);
typedef BBINT (*openb3d_openb3dcore_TB3D_NewTag_i_S_f)(BBSTRING);
BBINT openb3d_openb3dcore_TB3D_NewTag_i_S(BBSTRING);
struct BBClass_openb3d_openb3dcore_TB3D {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TB3D_LoadAnimB3D_TTMesh_TObjectTTEntity_f f_LoadAnimB3D_TTMesh_TObjectTTEntity;
	openb3d_openb3dcore_TB3D_LoadAnimB3DFromStream_TTMesh_TTStreamTObjectTTEntity_f f_LoadAnimB3DFromStream_TTMesh_TTStreamTObjectTTEntity;
	openb3d_openb3dcore_TB3D_TrimVerts_i_TTSurface_f f_TrimVerts_i_TTSurface;
	openb3d_openb3dcore_TB3D_b3dReadString_S_vTTStream_f f_b3dReadString_S_vTTStream;
	openb3d_openb3dcore_TB3D_ReadTag_S_TTStream_f f_ReadTag_S_TTStream;
	openb3d_openb3dcore_TB3D_NewTag_i_S_f f_NewTag_i_S;
};

struct openb3d_openb3dcore_TB3D_obj {
	struct BBClass_openb3d_openb3dcore_TB3D* clas;
};
extern struct BBClass_openb3d_openb3dcore_TB3D openb3d_openb3dcore_TB3D;
extern BBSTRING openb3d_openb3dcore_TB3D_filepath;
void _openb3d_openb3dcore_TMD2Vertex_New(struct openb3d_openb3dcore_TMD2Vertex_obj* o);
struct BBClass_openb3d_openb3dcore_TMD2Vertex {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TMD2Vertex_obj {
	struct BBClass_openb3d_openb3dcore_TMD2Vertex* clas;
	BBFLOAT _openb3d_openb3dcore_tmd2vertex_x;
	BBFLOAT _openb3d_openb3dcore_tmd2vertex_y;
	BBFLOAT _openb3d_openb3dcore_tmd2vertex_z;
	BBBYTE _openb3d_openb3dcore_tmd2vertex_normalindex;
};
extern struct BBClass_openb3d_openb3dcore_TMD2Vertex openb3d_openb3dcore_TMD2Vertex;
void _openb3d_openb3dcore_TMD2Triangle_New(struct openb3d_openb3dcore_TMD2Triangle_obj* o);
struct BBClass_openb3d_openb3dcore_TMD2Triangle {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TMD2Triangle_obj {
	struct BBClass_openb3d_openb3dcore_TMD2Triangle* clas;
	BBSHORT _openb3d_openb3dcore_tmd2triangle_v0;
	BBSHORT _openb3d_openb3dcore_tmd2triangle_v1;
	BBSHORT _openb3d_openb3dcore_tmd2triangle_v2;
	BBSHORT _openb3d_openb3dcore_tmd2triangle_t0;
	BBSHORT _openb3d_openb3dcore_tmd2triangle_t1;
	BBSHORT _openb3d_openb3dcore_tmd2triangle_t2;
};
extern struct BBClass_openb3d_openb3dcore_TMD2Triangle openb3d_openb3dcore_TMD2Triangle;
void _openb3d_openb3dcore_TMD2TexCoords_New(struct openb3d_openb3dcore_TMD2TexCoords_obj* o);
struct BBClass_openb3d_openb3dcore_TMD2TexCoords {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TMD2TexCoords_obj {
	struct BBClass_openb3d_openb3dcore_TMD2TexCoords* clas;
	BBFLOAT _openb3d_openb3dcore_tmd2texcoords_u;
	BBFLOAT _openb3d_openb3dcore_tmd2texcoords_v;
};
extern struct BBClass_openb3d_openb3dcore_TMD2TexCoords openb3d_openb3dcore_TMD2TexCoords;
void _openb3d_openb3dcore_TMD2Frame_New(struct openb3d_openb3dcore_TMD2Frame_obj* o);
struct BBClass_openb3d_openb3dcore_TMD2Frame {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TMD2Frame_obj {
	struct BBClass_openb3d_openb3dcore_TMD2Frame* clas;
	BBSTRING _openb3d_openb3dcore_tmd2frame_name;
	BBFLOAT _openb3d_openb3dcore_tmd2frame_sx;
	BBFLOAT _openb3d_openb3dcore_tmd2frame_sy;
	BBFLOAT _openb3d_openb3dcore_tmd2frame_sz;
	BBFLOAT _openb3d_openb3dcore_tmd2frame_tx;
	BBFLOAT _openb3d_openb3dcore_tmd2frame_ty;
	BBFLOAT _openb3d_openb3dcore_tmd2frame_tz;
	BBARRAY _openb3d_openb3dcore_tmd2frame_verts;
};
extern struct BBClass_openb3d_openb3dcore_TMD2Frame openb3d_openb3dcore_TMD2Frame;
void _openb3d_openb3dcore_TMD2_New(struct openb3d_openb3dcore_TMD2_obj* o);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMD2_LoadMD2_TTMesh_TObjectTTEntity_f)(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMD2_LoadMD2_TTMesh_TObjectTTEntity(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TMD2_LoadMD2FromStream_TTMesh_TTStreamTObjectTTEntity_f)(struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TMD2_LoadMD2FromStream_TTMesh_TTStreamTObjectTTEntity(struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
struct BBClass_openb3d_openb3dcore_TMD2 {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMD2_LoadMD2_TTMesh_TObjectTTEntity_f f_LoadMD2_TTMesh_TObjectTTEntity;
	openb3d_openb3dcore_TMD2_LoadMD2FromStream_TTMesh_TTStreamTObjectTTEntity_f f_LoadMD2FromStream_TTMesh_TTStreamTObjectTTEntity;
};

struct openb3d_openb3dcore_TMD2_obj {
	struct BBClass_openb3d_openb3dcore_TMD2* clas;
};
extern struct BBClass_openb3d_openb3dcore_TMD2 openb3d_openb3dcore_TMD2;
extern BBARRAY openb3d_openb3dcore_TMD2_md2_anorms;
void _openb3d_openb3dcore_T3DS_New(struct openb3d_openb3dcore_T3DS_obj* o);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadChunk_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadChunk(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_SkipChunk_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_SkipChunk(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBSTRING (*openb3d_openb3dcore_T3DS_ReadCString_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBSTRING _openb3d_openb3dcore_T3DS_ReadCString(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadRGB_ivbvbvb_m)(struct openb3d_openb3dcore_T3DS_obj*,BBINT,BBBYTE*,BBBYTE*,BBBYTE*);
BBINT _openb3d_openb3dcore_T3DS_ReadRGB_ivbvbvb(struct openb3d_openb3dcore_T3DS_obj*,BBINT,BBBYTE*,BBBYTE*,BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadPercent_ivi_m)(struct openb3d_openb3dcore_T3DS_obj*,BBINT,BBINT*);
BBINT _openb3d_openb3dcore_T3DS_ReadPercent_ivi(struct openb3d_openb3dcore_T3DS_obj*,BBINT,BBINT*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadVertexList_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadVertexList(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadFaceList_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadFaceList(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadTexCoords_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadTexCoords(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadTransMatrix_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadTransMatrix(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadFaceMatList_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadFaceMatList(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_LoadMap_SS_m)(struct openb3d_openb3dcore_T3DS_obj*,BBSTRING,BBSTRING);
BBINT _openb3d_openb3dcore_T3DS_LoadMap_SS(struct openb3d_openb3dcore_T3DS_obj*,BBSTRING,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadMap_i_m)(struct openb3d_openb3dcore_T3DS_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS_ReadMap_i(struct openb3d_openb3dcore_T3DS_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadTriMesh_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadTriMesh(struct openb3d_openb3dcore_T3DS_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS_ReadBrushBlock_m)(struct openb3d_openb3dcore_T3DS_obj*);
BBINT _openb3d_openb3dcore_T3DS_ReadBrushBlock(struct openb3d_openb3dcore_T3DS_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_T3DS_Load3DS_TTMesh_TObjectTTEntityi_f)(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_T3DS_Load3DS_TTMesh_TObjectTTEntityi(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_T3DS_Load3DSFromStream_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_T3DS_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_T3DS_Load3DSFromStream_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_T3DS_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct BBClass_openb3d_openb3dcore_T3DS {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_T3DS_ReadChunk_m m_ReadChunk;
	openb3d_openb3dcore_T3DS_SkipChunk_m m_SkipChunk;
	openb3d_openb3dcore_T3DS_ReadCString_m m_ReadCString;
	openb3d_openb3dcore_T3DS_ReadRGB_ivbvbvb_m m_ReadRGB_ivbvbvb;
	openb3d_openb3dcore_T3DS_ReadPercent_ivi_m m_ReadPercent_ivi;
	openb3d_openb3dcore_T3DS_ReadVertexList_m m_ReadVertexList;
	openb3d_openb3dcore_T3DS_ReadFaceList_m m_ReadFaceList;
	openb3d_openb3dcore_T3DS_ReadTexCoords_m m_ReadTexCoords;
	openb3d_openb3dcore_T3DS_ReadTransMatrix_m m_ReadTransMatrix;
	openb3d_openb3dcore_T3DS_ReadFaceMatList_m m_ReadFaceMatList;
	openb3d_openb3dcore_T3DS_LoadMap_SS_m m_LoadMap_SS;
	openb3d_openb3dcore_T3DS_ReadMap_i_m m_ReadMap_i;
	openb3d_openb3dcore_T3DS_ReadTriMesh_m m_ReadTriMesh;
	openb3d_openb3dcore_T3DS_ReadBrushBlock_m m_ReadBrushBlock;
	openb3d_openb3dcore_T3DS_Load3DS_TTMesh_TObjectTTEntityi_f f_Load3DS_TTMesh_TObjectTTEntityi;
	openb3d_openb3dcore_T3DS_Load3DSFromStream_TTStreamTObjectTTEntityi_m m_Load3DSFromStream_TTStreamTObjectTTEntityi;
};

struct openb3d_openb3dcore_T3DS_obj {
	struct BBClass_openb3d_openb3dcore_T3DS* clas;
	struct brl_stream_TStream_obj* _openb3d_openb3dcore_t3ds_stream;
	BBSHORT _openb3d_openb3dcore_t3ds_chunkid;
	BBINT _openb3d_openb3dcore_t3ds_chunksize;
	struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_t3ds_surface;
	struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_t3ds_mesh;
	struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_t3ds_root;
	struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_t3ds_new_surface;
	struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_t3ds_new_mesh;
	BBINT _openb3d_openb3dcore_t3ds_vertexcount;
	BBINT _openb3d_openb3dcore_t3ds_trianglecount;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_t3ds_brush;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_t3ds_brushs;
	BBINT _openb3d_openb3dcore_t3ds_texturelayer;
	struct openb3d_openb3dcore_TTexture_obj* _openb3d_openb3dcore_t3ds_texture;
	BBARRAY _openb3d_openb3dcore_t3ds_movedtris;
	BBINT _openb3d_openb3dcore_t3ds_trisindex;
	BBARRAY _openb3d_openb3dcore_t3ds_objectnames;
	BBINT _openb3d_openb3dcore_t3ds_objectindex;
	BBBYTE _openb3d_openb3dcore_t3ds_red;
	BBBYTE _openb3d_openb3dcore_t3ds_green;
	BBBYTE _openb3d_openb3dcore_t3ds_blue;
	BBINT _openb3d_openb3dcore_t3ds_percent;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_t3ds_meshes;
	struct brl_map_TMap_obj* _openb3d_openb3dcore_t3ds_matrixmap;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_t3ds_new_matrix;
	BBINT _openb3d_openb3dcore_t3ds_override_texflags;
};
extern struct BBClass_openb3d_openb3dcore_T3DS openb3d_openb3dcore_T3DS;
void _openb3d_openb3dcore_TChunk_New(struct openb3d_openb3dcore_TChunk_obj* o);
typedef struct openb3d_openb3dcore_TChunk_obj* (*openb3d_openb3dcore_TChunk_Create_TTChunk_iii_f)(BBINT,BBINT,BBINT);
struct openb3d_openb3dcore_TChunk_obj* openb3d_openb3dcore_TChunk_Create_TTChunk_iii(BBINT,BBINT,BBINT);
struct BBClass_openb3d_openb3dcore_TChunk {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TChunk_Create_TTChunk_iii_f f_Create_TTChunk_iii;
};

struct openb3d_openb3dcore_TChunk_obj {
	struct BBClass_openb3d_openb3dcore_TChunk* clas;
	BBINT _openb3d_openb3dcore_tchunk_id;
	BBINT _openb3d_openb3dcore_tchunk_size;
	BBINT _openb3d_openb3dcore_tchunk_endchunk;
};
extern struct BBClass_openb3d_openb3dcore_TChunk openb3d_openb3dcore_TChunk;
void _openb3d_openb3dcore_TAnimKey_New(struct openb3d_openb3dcore_TAnimKey_obj* o);
typedef struct openb3d_openb3dcore_TAnimKey_obj* (*openb3d_openb3dcore_TAnimKey_Create_afafaf_m)(struct openb3d_openb3dcore_TAnimKey_obj*,BBARRAY,BBARRAY,BBARRAY);
struct openb3d_openb3dcore_TAnimKey_obj* _openb3d_openb3dcore_TAnimKey_Create_afafaf(struct openb3d_openb3dcore_TAnimKey_obj*,BBARRAY,BBARRAY,BBARRAY);
typedef struct openb3d_openb3dcore_TAnimKey_obj* (*openb3d_openb3dcore_TAnimKey_Interpolate_TTAnimKeyf_m)(struct openb3d_openb3dcore_TAnimKey_obj*,struct openb3d_openb3dcore_TAnimKey_obj*,BBFLOAT);
struct openb3d_openb3dcore_TAnimKey_obj* _openb3d_openb3dcore_TAnimKey_Interpolate_TTAnimKeyf(struct openb3d_openb3dcore_TAnimKey_obj*,struct openb3d_openb3dcore_TAnimKey_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TAnimKey_obj* (*openb3d_openb3dcore_TAnimKey_Empty_m)(struct openb3d_openb3dcore_TAnimKey_obj*);
struct openb3d_openb3dcore_TAnimKey_obj* _openb3d_openb3dcore_TAnimKey_Empty(struct openb3d_openb3dcore_TAnimKey_obj*);
struct BBClass_openb3d_openb3dcore_TAnimKey {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TAnimKey_Create_afafaf_m m_Create_afafaf;
	openb3d_openb3dcore_TAnimKey_Interpolate_TTAnimKeyf_m m_Interpolate_TTAnimKeyf;
	openb3d_openb3dcore_TAnimKey_Empty_m m_Empty;
};

struct openb3d_openb3dcore_TAnimKey_obj {
	struct BBClass_openb3d_openb3dcore_TAnimKey* clas;
	BBARRAY _openb3d_openb3dcore_tanimkey_pos;
	BBARRAY _openb3d_openb3dcore_tanimkey_rot;
	BBARRAY _openb3d_openb3dcore_tanimkey_size;
};
extern struct BBClass_openb3d_openb3dcore_TAnimKey openb3d_openb3dcore_TAnimKey;
void _openb3d_openb3dcore_T3DS2_New(struct openb3d_openb3dcore_T3DS2_obj* o);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_T3DS2_GetObject_i_m)(struct openb3d_openb3dcore_T3DS2_obj*,BBINT);
struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_T3DS2_GetObject_i(struct openb3d_openb3dcore_T3DS2_obj*,BBINT);
typedef struct openb3d_openb3dcore_TChunk_obj* (*openb3d_openb3dcore_T3DS2_ReadChunk_m)(struct openb3d_openb3dcore_T3DS2_obj*);
struct openb3d_openb3dcore_TChunk_obj* _openb3d_openb3dcore_T3DS2_ReadChunk(struct openb3d_openb3dcore_T3DS2_obj*);
typedef BBSTRING (*openb3d_openb3dcore_T3DS2_ParseString_m)(struct openb3d_openb3dcore_T3DS2_obj*);
BBSTRING _openb3d_openb3dcore_T3DS2_ParseString(struct openb3d_openb3dcore_T3DS2_obj*);
typedef BBSHORT (*openb3d_openb3dcore_T3DS2_ParseVertexList_TTSurfaceTTEntity_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBSHORT _openb3d_openb3dcore_T3DS2_ParseVertexList_TTSurfaceTTEntity(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseMapList_TTSurfaceTTEntity_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_T3DS2_ParseMapList_TTSurfaceTTEntity(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseFaceMatList_TTSurfaceTTEntity_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_T3DS2_ParseFaceMatList_TTSurfaceTTEntity(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBSHORT (*openb3d_openb3dcore_T3DS2_ParseFaceList_TTSurfaceTTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBSHORT _openb3d_openb3dcore_T3DS2_ParseFaceList_TTSurfaceTTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TSurface_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBSTRING (*openb3d_openb3dcore_T3DS2_ParseMap_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBSTRING _openb3d_openb3dcore_T3DS2_ParseMap_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseTriMesh_TTMeshTTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS2_ParseTriMesh_TTMeshTTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TMesh_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBARRAY (*openb3d_openb3dcore_T3DS2_ParseAnimKeys_TTEntityiaTTAnimKeyi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBARRAY,BBINT);
BBARRAY _openb3d_openb3dcore_T3DS2_ParseAnimKeys_TTEntityiaTTAnimKeyi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT,BBARRAY,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseMeshInfo_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS2_ParseMeshInfo_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseObject_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS2_ParseObject_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_T3DS2_ParsePercent_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dcore_T3DS2_ParsePercent_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBARRAY (*openb3d_openb3dcore_T3DS2_ParseColor_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBARRAY _openb3d_openb3dcore_T3DS2_ParseColor_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseMaterial_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS2_ParseMaterial_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseKeyFrames_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS2_ParseKeyFrames_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_T3DS2_ParseScene_TTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_T3DS2_ParseScene_TTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_T3DS2_ParseFile_TObjectTTEntity_m)(struct openb3d_openb3dcore_T3DS2_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_T3DS2_ParseFile_TObjectTTEntity(struct openb3d_openb3dcore_T3DS2_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_T3DS2_LoadAnim3DS_TTMesh_TObjectTTEntityi_f)(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_T3DS2_LoadAnim3DS_TTMesh_TObjectTTEntityi(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_T3DS2_LoadAnim3DSFromStream_TTStreamTObjectTTEntityi_m)(struct openb3d_openb3dcore_T3DS2_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_T3DS2_LoadAnim3DSFromStream_TTStreamTObjectTTEntityi(struct openb3d_openb3dcore_T3DS2_obj*,struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct BBClass_openb3d_openb3dcore_T3DS2 {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_T3DS2_GetObject_i_m m_GetObject_i;
	openb3d_openb3dcore_T3DS2_ReadChunk_m m_ReadChunk;
	openb3d_openb3dcore_T3DS2_ParseString_m m_ParseString;
	openb3d_openb3dcore_T3DS2_ParseVertexList_TTSurfaceTTEntity_m m_ParseVertexList_TTSurfaceTTEntity;
	openb3d_openb3dcore_T3DS2_ParseMapList_TTSurfaceTTEntity_m m_ParseMapList_TTSurfaceTTEntity;
	openb3d_openb3dcore_T3DS2_ParseFaceMatList_TTSurfaceTTEntity_m m_ParseFaceMatList_TTSurfaceTTEntity;
	openb3d_openb3dcore_T3DS2_ParseFaceList_TTSurfaceTTEntityi_m m_ParseFaceList_TTSurfaceTTEntityi;
	openb3d_openb3dcore_T3DS2_ParseMap_TTEntityi_m m_ParseMap_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseTriMesh_TTMeshTTEntityi_m m_ParseTriMesh_TTMeshTTEntityi;
	openb3d_openb3dcore_T3DS2_ParseAnimKeys_TTEntityiaTTAnimKeyi_m m_ParseAnimKeys_TTEntityiaTTAnimKeyi;
	openb3d_openb3dcore_T3DS2_ParseMeshInfo_TTEntityi_m m_ParseMeshInfo_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseObject_TTEntityi_m m_ParseObject_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParsePercent_TTEntityi_m m_ParsePercent_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseColor_TTEntityi_m m_ParseColor_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseMaterial_TTEntityi_m m_ParseMaterial_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseKeyFrames_TTEntityi_m m_ParseKeyFrames_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseScene_TTEntityi_m m_ParseScene_TTEntityi;
	openb3d_openb3dcore_T3DS2_ParseFile_TObjectTTEntity_m m_ParseFile_TObjectTTEntity;
	openb3d_openb3dcore_T3DS2_LoadAnim3DS_TTMesh_TObjectTTEntityi_f f_LoadAnim3DS_TTMesh_TObjectTTEntityi;
	openb3d_openb3dcore_T3DS2_LoadAnim3DSFromStream_TTStreamTObjectTTEntityi_m m_LoadAnim3DSFromStream_TTStreamTObjectTTEntityi;
};

struct openb3d_openb3dcore_T3DS2_obj {
	struct BBClass_openb3d_openb3dcore_T3DS2* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_t3ds2_objlist;
	struct brl_map_TMap_obj* _openb3d_openb3dcore_t3ds2_materialmap;
	struct brl_map_TMap_obj* _openb3d_openb3dcore_t3ds2_materialcolormap;
	struct brl_map_TMap_obj* _openb3d_openb3dcore_t3ds2_materialshinemap;
	struct brl_map_TMap_obj* _openb3d_openb3dcore_t3ds2_materiallayermap;
	struct brl_map_TMap_obj* _openb3d_openb3dcore_t3ds2_matrixmap;
	BBSTRING _openb3d_openb3dcore_t3ds2_filepath;
	BBSTRING _openb3d_openb3dcore_t3ds2_filename;
	struct brl_stream_TStream_obj* _openb3d_openb3dcore_t3ds2_stream;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_t3ds2_defaultbrush;
	struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_t3ds2_root;
	BBINT _openb3d_openb3dcore_t3ds2_override_texflags;
};
extern struct BBClass_openb3d_openb3dcore_T3DS2 openb3d_openb3dcore_T3DS2;
void _openb3d_openb3dcore_TOBJ_New(struct openb3d_openb3dcore_TOBJ_obj* o);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TOBJ_LoadOBJ_TTMesh_TObjectTTEntityi_f)(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TOBJ_LoadOBJ_TTMesh_TObjectTTEntityi(BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TOBJ_LoadOBJFromStream_TTMesh_TTStreamTObjectTTEntityi_f)(struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TOBJ_LoadOBJFromStream_TTMesh_TTStreamTObjectTTEntityi(struct brl_stream_TStream_obj*,BBOBJECT,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dcore_TMesh_obj* (*openb3d_openb3dcore_TOBJ_ParseObj_TTMesh_TTStreamTTEntityS_f)(struct brl_stream_TStream_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_TOBJ_ParseObj_TTMesh_TTStreamTTEntityS(struct brl_stream_TStream_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBSTRING);
typedef BBARRAY (*openb3d_openb3dcore_TOBJ_ParseFaces_aTTFaceData_S_f)(BBSTRING);
BBARRAY openb3d_openb3dcore_TOBJ_ParseFaces_aTTFaceData_S(BBSTRING);
typedef BBARRAY (*openb3d_openb3dcore_TOBJ_CustomSplit_aS_SS_f)(BBSTRING,BBSTRING);
BBARRAY openb3d_openb3dcore_TOBJ_CustomSplit_aS_SS(BBSTRING,BBSTRING);
typedef BBARRAY (*openb3d_openb3dcore_TOBJ_ParseMTLLib_aTTObjMtl_SS_f)(BBSTRING,BBSTRING);
BBARRAY openb3d_openb3dcore_TOBJ_ParseMTLLib_aTTObjMtl_SS(BBSTRING,BBSTRING);
struct BBClass_openb3d_openb3dcore_TOBJ {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TOBJ_LoadOBJ_TTMesh_TObjectTTEntityi_f f_LoadOBJ_TTMesh_TObjectTTEntityi;
	openb3d_openb3dcore_TOBJ_LoadOBJFromStream_TTMesh_TTStreamTObjectTTEntityi_f f_LoadOBJFromStream_TTMesh_TTStreamTObjectTTEntityi;
	openb3d_openb3dcore_TOBJ_ParseObj_TTMesh_TTStreamTTEntityS_f f_ParseObj_TTMesh_TTStreamTTEntityS;
	openb3d_openb3dcore_TOBJ_ParseFaces_aTTFaceData_S_f f_ParseFaces_aTTFaceData_S;
	openb3d_openb3dcore_TOBJ_CustomSplit_aS_SS_f f_CustomSplit_aS_SS;
	openb3d_openb3dcore_TOBJ_ParseMTLLib_aTTObjMtl_SS_f f_ParseMTLLib_aTTObjMtl_SS;
};

struct openb3d_openb3dcore_TOBJ_obj {
	struct BBClass_openb3d_openb3dcore_TOBJ* clas;
};
extern struct BBClass_openb3d_openb3dcore_TOBJ openb3d_openb3dcore_TOBJ;
extern BBINT openb3d_openb3dcore_TOBJ_override_texflags;
extern BBSTRING openb3d_openb3dcore_TOBJ_MeshPath;
extern BBSTRING openb3d_openb3dcore_TOBJ_TexturePath;
extern BBSTRING openb3d_openb3dcore_TOBJ_MaterialPath;
void _openb3d_openb3dcore_TFaceData_New(struct openb3d_openb3dcore_TFaceData_obj* o);
struct BBClass_openb3d_openb3dcore_TFaceData {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TFaceData_obj {
	struct BBClass_openb3d_openb3dcore_TFaceData* clas;
	BBINT _openb3d_openb3dcore_tfacedata_vi;
	BBINT _openb3d_openb3dcore_tfacedata_ti;
	BBINT _openb3d_openb3dcore_tfacedata_ni;
	BBINT _openb3d_openb3dcore_tfacedata_its;
};
extern struct BBClass_openb3d_openb3dcore_TFaceData openb3d_openb3dcore_TFaceData;
void _openb3d_openb3dcore_TObjNormal_New(struct openb3d_openb3dcore_TObjNormal_obj* o);
typedef BBINT (*openb3d_openb3dcore_TObjNormal_GetValues_S_m)(struct openb3d_openb3dcore_TObjNormal_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TObjNormal_GetValues_S(struct openb3d_openb3dcore_TObjNormal_obj*,BBSTRING);
struct BBClass_openb3d_openb3dcore_TObjNormal {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TObjNormal_GetValues_S_m m_GetValues_S;
};

struct openb3d_openb3dcore_TObjNormal_obj {
	struct BBClass_openb3d_openb3dcore_TObjNormal* clas;
	BBFLOAT _openb3d_openb3dcore_tobjnormal_nx;
	BBFLOAT _openb3d_openb3dcore_tobjnormal_ny;
	BBFLOAT _openb3d_openb3dcore_tobjnormal_nz;
};
extern struct BBClass_openb3d_openb3dcore_TObjNormal openb3d_openb3dcore_TObjNormal;
void _openb3d_openb3dcore_TObjTexCoord_New(struct openb3d_openb3dcore_TObjTexCoord_obj* o);
typedef BBINT (*openb3d_openb3dcore_TObjTexCoord_GetValues_S_m)(struct openb3d_openb3dcore_TObjTexCoord_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TObjTexCoord_GetValues_S(struct openb3d_openb3dcore_TObjTexCoord_obj*,BBSTRING);
struct BBClass_openb3d_openb3dcore_TObjTexCoord {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TObjTexCoord_GetValues_S_m m_GetValues_S;
};

struct openb3d_openb3dcore_TObjTexCoord_obj {
	struct BBClass_openb3d_openb3dcore_TObjTexCoord* clas;
	BBFLOAT _openb3d_openb3dcore_tobjtexcoord_u;
	BBFLOAT _openb3d_openb3dcore_tobjtexcoord_v;
	BBFLOAT _openb3d_openb3dcore_tobjtexcoord_w;
};
extern struct BBClass_openb3d_openb3dcore_TObjTexCoord openb3d_openb3dcore_TObjTexCoord;
void _openb3d_openb3dcore_TObjVertex_New(struct openb3d_openb3dcore_TObjVertex_obj* o);
typedef BBINT (*openb3d_openb3dcore_TObjVertex_GetValues_S_m)(struct openb3d_openb3dcore_TObjVertex_obj*,BBSTRING);
BBINT _openb3d_openb3dcore_TObjVertex_GetValues_S(struct openb3d_openb3dcore_TObjVertex_obj*,BBSTRING);
struct BBClass_openb3d_openb3dcore_TObjVertex {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TObjVertex_GetValues_S_m m_GetValues_S;
};

struct openb3d_openb3dcore_TObjVertex_obj {
	struct BBClass_openb3d_openb3dcore_TObjVertex* clas;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_x;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_y;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_z;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_w;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_r;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_g;
	BBFLOAT _openb3d_openb3dcore_tobjvertex_b;
};
extern struct BBClass_openb3d_openb3dcore_TObjVertex openb3d_openb3dcore_TObjVertex;
void _openb3d_openb3dcore_TObjMtl_New(struct openb3d_openb3dcore_TObjMtl_obj* o);
struct BBClass_openb3d_openb3dcore_TObjMtl {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
};

struct openb3d_openb3dcore_TObjMtl_obj {
	struct BBClass_openb3d_openb3dcore_TObjMtl* clas;
	BBSTRING _openb3d_openb3dcore_tobjmtl_name;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tobjmtl_brush;
	struct openb3d_openb3dcore_TTexture_obj* _openb3d_openb3dcore_tobjmtl_texture;
	struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_tobjmtl_meshsurface;
	struct openb3d_openb3dcore_TVertCache_obj* _openb3d_openb3dcore_tobjmtl_cache;
};
extern struct BBClass_openb3d_openb3dcore_TObjMtl openb3d_openb3dcore_TObjMtl;
void _openb3d_openb3dcore_TVertCache_New(struct openb3d_openb3dcore_TVertCache_obj* o);
typedef struct openb3d_openb3dcore_TVertCache_obj* (*openb3d_openb3dcore_TVertCache_Create_TTVertCache_i_f)(BBINT);
struct openb3d_openb3dcore_TVertCache_obj* openb3d_openb3dcore_TVertCache_Create_TTVertCache_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TVertCache_CheckVert_iii_m)(struct openb3d_openb3dcore_TVertCache_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TVertCache_CheckVert_iii(struct openb3d_openb3dcore_TVertCache_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TVertCache_SetCache_iiii_m)(struct openb3d_openb3dcore_TVertCache_obj*,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TVertCache_SetCache_iiii(struct openb3d_openb3dcore_TVertCache_obj*,BBINT,BBINT,BBINT,BBINT);
struct BBClass_openb3d_openb3dcore_TVertCache {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TVertCache_Create_TTVertCache_i_f f_Create_TTVertCache_i;
	openb3d_openb3dcore_TVertCache_CheckVert_iii_m m_CheckVert_iii;
	openb3d_openb3dcore_TVertCache_SetCache_iiii_m m_SetCache_iiii;
};

struct openb3d_openb3dcore_TVertCache_obj {
	struct BBClass_openb3d_openb3dcore_TVertCache* clas;
	BBINT _openb3d_openb3dcore_tvertcache_size;
	BBARRAY _openb3d_openb3dcore_tvertcache_realvertindex;
	BBARRAY _openb3d_openb3dcore_tvertcache_texusedindex;
	BBARRAY _openb3d_openb3dcore_tvertcache_normusedindex;
};
extern struct BBClass_openb3d_openb3dcore_TVertCache openb3d_openb3dcore_TVertCache;
void _openb3d_openb3dcore_TPick_New(struct openb3d_openb3dcore_TPick_obj* o);
typedef BBINT (*openb3d_openb3dcore_TPick_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TPick_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TPick_DebugGlobals_i_ii_f)(BBINT,BBINT);
BBINT openb3d_openb3dcore_TPick_DebugGlobals_i_ii(BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TPick_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TPick_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TPick_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TPick_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TPick_CameraPick_TTEntity_TTCameraff_f)(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TPick_CameraPick_TTEntity_TTCameraff(struct openb3d_openb3dcore_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TPick_EntityPick_TTEntity_TTEntityf_f)(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TPick_EntityPick_TTEntity_TTEntityf(struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TPick_LinePick_TTEntity_fffffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TPick_LinePick_TTEntity_fffffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TPick_EntityVisible_i_TTEntityTTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT openb3d_openb3dcore_TPick_EntityVisible_i_TTEntityTTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedX_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedX_f();
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedY_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedY_f();
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedZ_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedZ_f();
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedNX_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedNX_f();
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedNY_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedNY_f();
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedNZ_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedNZ_f();
typedef BBFLOAT (*openb3d_openb3dcore_TPick_PickedTime_f_f)();
BBFLOAT openb3d_openb3dcore_TPick_PickedTime_f();
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TPick_PickedEntity_TTEntity_f)();
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TPick_PickedEntity_TTEntity();
typedef struct openb3d_openb3dcore_TSurface_obj* (*openb3d_openb3dcore_TPick_PickedSurface_TTSurface_f)();
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TPick_PickedSurface_TTSurface();
typedef BBINT (*openb3d_openb3dcore_TPick_PickedTriangle_i_f)();
BBINT openb3d_openb3dcore_TPick_PickedTriangle_i();
typedef struct openb3d_openb3dcore_TEntity_obj* (*openb3d_openb3dcore_TPick_Pick_TTEntity_fffffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TPick_Pick_TTEntity_fffffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TPick {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TPick_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TPick_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TPick_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TPick_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TPick_CameraPick_TTEntity_TTCameraff_f f_CameraPick_TTEntity_TTCameraff;
	openb3d_openb3dcore_TPick_EntityPick_TTEntity_TTEntityf_f f_EntityPick_TTEntity_TTEntityf;
	openb3d_openb3dcore_TPick_LinePick_TTEntity_fffffff_f f_LinePick_TTEntity_fffffff;
	openb3d_openb3dcore_TPick_EntityVisible_i_TTEntityTTEntity_f f_EntityVisible_i_TTEntityTTEntity;
	openb3d_openb3dcore_TPick_PickedX_f_f f_PickedX_f;
	openb3d_openb3dcore_TPick_PickedY_f_f f_PickedY_f;
	openb3d_openb3dcore_TPick_PickedZ_f_f f_PickedZ_f;
	openb3d_openb3dcore_TPick_PickedNX_f_f f_PickedNX_f;
	openb3d_openb3dcore_TPick_PickedNY_f_f f_PickedNY_f;
	openb3d_openb3dcore_TPick_PickedNZ_f_f f_PickedNZ_f;
	openb3d_openb3dcore_TPick_PickedTime_f_f f_PickedTime_f;
	openb3d_openb3dcore_TPick_PickedEntity_TTEntity_f f_PickedEntity_TTEntity;
	openb3d_openb3dcore_TPick_PickedSurface_TTSurface_f f_PickedSurface_TTSurface;
	openb3d_openb3dcore_TPick_PickedTriangle_i_f f_PickedTriangle_i;
	openb3d_openb3dcore_TPick_Pick_TTEntity_fffffff_f f_Pick_TTEntity_fffffff;
};

struct openb3d_openb3dcore_TPick_obj {
	struct BBClass_openb3d_openb3dcore_TPick* clas;
};
extern struct BBClass_openb3d_openb3dcore_TPick openb3d_openb3dcore_TPick;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TPick_ent_list;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_x;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_y;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_z;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_nx;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_ny;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_nz;
extern BBFLOAT* openb3d_openb3dcore_TPick_picked_time;
extern struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_TPick_picked_ent;
extern struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_TPick_picked_surface;
extern BBINT* openb3d_openb3dcore_TPick_picked_triangle;
extern BBINT openb3d_openb3dcore_TPick_ent_list_id;
void _openb3d_openb3dcore_TVector_New(struct openb3d_openb3dcore_TVector_obj* o);
void _openb3d_openb3dcore_TVector_Delete(struct openb3d_openb3dcore_TVector_obj* o);
BBINT _openb3d_openb3dcore_TVector_Compare(struct openb3d_openb3dcore_TVector_obj* o, BBOBJECT otherObject);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Create_TTVector_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TVector_obj* openb3d_openb3dcore_TVector_Create_TTVector_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_CopyVecPtr_TTVector_TTVecPtr_f)(struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVector_obj* openb3d_openb3dcore_TVector_CopyVecPtr_TTVector_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_GetVecPtr_TTVecPtr_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_GetVecPtr_TTVecPtr(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Copy_m)(struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Copy(struct openb3d_openb3dcore_TVector_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Add_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Add_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Subtract_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Subtract_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Multiply_f_m)(struct openb3d_openb3dcore_TVector_obj*,BBFLOAT);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Multiply_f(struct openb3d_openb3dcore_TVector_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Multiply2_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Multiply2_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Divide_f_m)(struct openb3d_openb3dcore_TVector_obj*,BBFLOAT);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Divide_f(struct openb3d_openb3dcore_TVector_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Divide2_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Divide2_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_Dot_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
BBFLOAT _openb3d_openb3dcore_TVector_Dot_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef struct openb3d_openb3dcore_TVector_obj* (*openb3d_openb3dcore_TVector_Cross_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVector_obj* _openb3d_openb3dcore_TVector_Cross_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef BBINT (*openb3d_openb3dcore_TVector_Normalize_m)(struct openb3d_openb3dcore_TVector_obj*);
BBINT _openb3d_openb3dcore_TVector_Normalize(struct openb3d_openb3dcore_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_Distance_TTVector_m)(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
BBFLOAT _openb3d_openb3dcore_TVector_Distance_TTVector(struct openb3d_openb3dcore_TVector_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_Length_m)(struct openb3d_openb3dcore_TVector_obj*);
BBFLOAT _openb3d_openb3dcore_TVector_Length(struct openb3d_openb3dcore_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_SquaredLength_m)(struct openb3d_openb3dcore_TVector_obj*);
BBFLOAT _openb3d_openb3dcore_TVector_SquaredLength(struct openb3d_openb3dcore_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_SetLength_f_m)(struct openb3d_openb3dcore_TVector_obj*,BBFLOAT);
BBFLOAT _openb3d_openb3dcore_TVector_SetLength_f(struct openb3d_openb3dcore_TVector_obj*,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_VectorYaw_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TVector_VectorYaw_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TVector_VectorPitch_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TVector_VectorPitch_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TVector {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	BBINT     (*Compare)( struct openb3d_openb3dcore_TVector_obj* x, BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TVector_Create_TTVector_fff_f f_Create_TTVector_fff;
	openb3d_openb3dcore_TVector_CopyVecPtr_TTVector_TTVecPtr_f f_CopyVecPtr_TTVector_TTVecPtr;
	openb3d_openb3dcore_TVector_GetVecPtr_TTVecPtr_m m_GetVecPtr_TTVecPtr;
	openb3d_openb3dcore_TVector_Copy_m m_Copy;
	openb3d_openb3dcore_TVector_Add_TTVector_m m_Add_TTVector;
	openb3d_openb3dcore_TVector_Subtract_TTVector_m m_Subtract_TTVector;
	openb3d_openb3dcore_TVector_Multiply_f_m m_Multiply_f;
	openb3d_openb3dcore_TVector_Multiply2_TTVector_m m_Multiply2_TTVector;
	openb3d_openb3dcore_TVector_Divide_f_m m_Divide_f;
	openb3d_openb3dcore_TVector_Divide2_TTVector_m m_Divide2_TTVector;
	openb3d_openb3dcore_TVector_Dot_TTVector_m m_Dot_TTVector;
	openb3d_openb3dcore_TVector_Cross_TTVector_m m_Cross_TTVector;
	openb3d_openb3dcore_TVector_Normalize_m m_Normalize;
	openb3d_openb3dcore_TVector_Distance_TTVector_m m_Distance_TTVector;
	openb3d_openb3dcore_TVector_Length_m m_Length;
	openb3d_openb3dcore_TVector_SquaredLength_m m_SquaredLength;
	openb3d_openb3dcore_TVector_SetLength_f_m m_SetLength_f;
	openb3d_openb3dcore_TVector_VectorYaw_f_fff_f f_VectorYaw_f_fff;
	openb3d_openb3dcore_TVector_VectorPitch_f_fff_f f_VectorPitch_f_fff;
};

struct openb3d_openb3dcore_TVector_obj {
	struct BBClass_openb3d_openb3dcore_TVector* clas;
	BBFLOAT _openb3d_openb3dcore_tvector_x;
	BBFLOAT _openb3d_openb3dcore_tvector_y;
	BBFLOAT _openb3d_openb3dcore_tvector_z;
};
extern struct BBClass_openb3d_openb3dcore_TVector openb3d_openb3dcore_TVector;
void _openb3d_openb3dcore_TVecPtr_New(struct openb3d_openb3dcore_TVecPtr_obj* o);
void _openb3d_openb3dcore_TVecPtr_Delete(struct openb3d_openb3dcore_TVecPtr_obj* o);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_CreateObject_TTVecPtr_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TVecPtr_obj* openb3d_openb3dcore_TVecPtr_CreateObject_TTVecPtr_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TVecPtr_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TVecPtr_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_GetObject_TTVecPtr_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TVecPtr_obj* openb3d_openb3dcore_TVecPtr_GetObject_TTVecPtr_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TVecPtr_GetInstance_pb_TTVecPtr_f)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBBYTE* openb3d_openb3dcore_TVecPtr_GetInstance_pb_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TVecPtr_InitFields_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBINT _openb3d_openb3dcore_TVecPtr_InitFields(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_NewVecPtr_TTVecPtr_f)();
struct openb3d_openb3dcore_TVecPtr_obj* openb3d_openb3dcore_TVecPtr_NewVecPtr_TTVecPtr();
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Create_TTVecPtr_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TVecPtr_obj* openb3d_openb3dcore_TVecPtr_Create_TTVecPtr_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_CopyVector_TTVecPtr_TTVector_f)(struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* openb3d_openb3dcore_TVecPtr_CopyVector_TTVecPtr_TTVector(struct openb3d_openb3dcore_TVector_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_GetVector_TTVector_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVector_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_GetVector_TTVector(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_Magnitude_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TVecPtr_Magnitude_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Copy_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Copy(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Negate_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Negate(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Add_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Add_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Subtract_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Subtract_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Multiply_f_m)(struct openb3d_openb3dcore_TVecPtr_obj*,BBFLOAT);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Multiply_f(struct openb3d_openb3dcore_TVecPtr_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Multiply2_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Multiply2_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Divide_f_m)(struct openb3d_openb3dcore_TVecPtr_obj*,BBFLOAT);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Divide_f(struct openb3d_openb3dcore_TVecPtr_obj*,BBFLOAT);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Divide2_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Divide2_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_Dot_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TVecPtr_Dot_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Cross_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Cross_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_Length_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TVecPtr_Length(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_Distance_TTVecPtr_m)(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TVecPtr_Distance_TTVecPtr(struct openb3d_openb3dcore_TVecPtr_obj*,struct openb3d_openb3dcore_TVecPtr_obj*);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TVecPtr_Normalized_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TVecPtr_Normalized(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TVecPtr_Normalize_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBINT _openb3d_openb3dcore_TVecPtr_Normalize(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_VectorYaw_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TVecPtr_VectorYaw_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_VectorPitch_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TVecPtr_VectorPitch_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_Yaw_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TVecPtr_Yaw(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TVecPtr_Pitch_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TVecPtr_Pitch(struct openb3d_openb3dcore_TVecPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TVecPtr_Clear_m)(struct openb3d_openb3dcore_TVecPtr_obj*);
BBINT _openb3d_openb3dcore_TVecPtr_Clear(struct openb3d_openb3dcore_TVecPtr_obj*);
struct BBClass_openb3d_openb3dcore_TVecPtr {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TVecPtr_CreateObject_TTVecPtr_pb_f f_CreateObject_TTVecPtr_pb;
	openb3d_openb3dcore_TVecPtr_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TVecPtr_GetObject_TTVecPtr_pb_f f_GetObject_TTVecPtr_pb;
	openb3d_openb3dcore_TVecPtr_GetInstance_pb_TTVecPtr_f f_GetInstance_pb_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_InitFields_m m_InitFields;
	openb3d_openb3dcore_TVecPtr_NewVecPtr_TTVecPtr_f f_NewVecPtr_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Create_TTVecPtr_fff_f f_Create_TTVecPtr_fff;
	openb3d_openb3dcore_TVecPtr_CopyVector_TTVecPtr_TTVector_f f_CopyVector_TTVecPtr_TTVector;
	openb3d_openb3dcore_TVecPtr_GetVector_TTVector_m m_GetVector_TTVector;
	openb3d_openb3dcore_TVecPtr_Magnitude_f_fff_f f_Magnitude_f_fff;
	openb3d_openb3dcore_TVecPtr_Copy_m m_Copy;
	openb3d_openb3dcore_TVecPtr_Negate_m m_Negate;
	openb3d_openb3dcore_TVecPtr_Add_TTVecPtr_m m_Add_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Subtract_TTVecPtr_m m_Subtract_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Multiply_f_m m_Multiply_f;
	openb3d_openb3dcore_TVecPtr_Multiply2_TTVecPtr_m m_Multiply2_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Divide_f_m m_Divide_f;
	openb3d_openb3dcore_TVecPtr_Divide2_TTVecPtr_m m_Divide2_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Dot_TTVecPtr_m m_Dot_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Cross_TTVecPtr_m m_Cross_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Length_m m_Length;
	openb3d_openb3dcore_TVecPtr_Distance_TTVecPtr_m m_Distance_TTVecPtr;
	openb3d_openb3dcore_TVecPtr_Normalized_m m_Normalized;
	openb3d_openb3dcore_TVecPtr_Normalize_m m_Normalize;
	openb3d_openb3dcore_TVecPtr_VectorYaw_f_fff_f f_VectorYaw_f_fff;
	openb3d_openb3dcore_TVecPtr_VectorPitch_f_fff_f f_VectorPitch_f_fff;
	openb3d_openb3dcore_TVecPtr_Yaw_m m_Yaw;
	openb3d_openb3dcore_TVecPtr_Pitch_m m_Pitch;
	openb3d_openb3dcore_TVecPtr_Clear_m m_Clear;
};

struct openb3d_openb3dcore_TVecPtr_obj {
	struct BBClass_openb3d_openb3dcore_TVecPtr* clas;
	BBFLOAT* _openb3d_openb3dcore_tvecptr_x;
	BBFLOAT* _openb3d_openb3dcore_tvecptr_y;
	BBFLOAT* _openb3d_openb3dcore_tvecptr_z;
	BBBYTE* _openb3d_openb3dcore_tvecptr_instance;
};
extern struct BBClass_openb3d_openb3dcore_TVecPtr openb3d_openb3dcore_TVecPtr;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TVecPtr_vecptr_map;
void _openb3d_openb3dcore_TMatrix_New(struct openb3d_openb3dcore_TMatrix_obj* o);
void _openb3d_openb3dcore_TMatrix_Delete(struct openb3d_openb3dcore_TMatrix_obj* o);
typedef struct openb3d_openb3dcore_TMatrix_obj* (*openb3d_openb3dcore_TMatrix_CopyMatPtr_TTMatrix_TTMatPtr_f)(struct openb3d_openb3dcore_TMatPtr_obj*);
struct openb3d_openb3dcore_TMatrix_obj* openb3d_openb3dcore_TMatrix_CopyMatPtr_TTMatrix_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef struct openb3d_openb3dcore_TMatrix_obj* (*openb3d_openb3dcore_TMatrix_GetMatPtr_TTMatPtr_m)(struct openb3d_openb3dcore_TMatrix_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
struct openb3d_openb3dcore_TMatrix_obj* _openb3d_openb3dcore_TMatrix_GetMatPtr_TTMatPtr(struct openb3d_openb3dcore_TMatrix_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatrix_SetIdentity_fffffffff_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_SetIdentity_fffffffff(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatrix_LoadIdentity_m)(struct openb3d_openb3dcore_TMatrix_obj*);
BBINT _openb3d_openb3dcore_TMatrix_LoadIdentity(struct openb3d_openb3dcore_TMatrix_obj*);
typedef struct openb3d_openb3dcore_TMatrix_obj* (*openb3d_openb3dcore_TMatrix_Copy_m)(struct openb3d_openb3dcore_TMatrix_obj*);
struct openb3d_openb3dcore_TMatrix_obj* _openb3d_openb3dcore_TMatrix_Copy(struct openb3d_openb3dcore_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatrix_Overwrite_TTMatrix_m)(struct openb3d_openb3dcore_TMatrix_obj*,struct openb3d_openb3dcore_TMatrix_obj*);
BBINT _openb3d_openb3dcore_TMatrix_Overwrite_TTMatrix(struct openb3d_openb3dcore_TMatrix_obj*,struct openb3d_openb3dcore_TMatrix_obj*);
typedef struct openb3d_openb3dcore_TMatrix_obj* (*openb3d_openb3dcore_TMatrix_Inverse_m)(struct openb3d_openb3dcore_TMatrix_obj*);
struct openb3d_openb3dcore_TMatrix_obj* _openb3d_openb3dcore_TMatrix_Inverse(struct openb3d_openb3dcore_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatrix_Multiply_TTMatrix_m)(struct openb3d_openb3dcore_TMatrix_obj*,struct openb3d_openb3dcore_TMatrix_obj*);
BBINT _openb3d_openb3dcore_TMatrix_Multiply_TTMatrix(struct openb3d_openb3dcore_TMatrix_obj*,struct openb3d_openb3dcore_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatrix_Translate_fff_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_Translate_fff(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatrix_Scale_fff_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_Scale_fff(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatrix_Rotate_fff_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_Rotate_fff(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatrix_RotatePitch_f_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_RotatePitch_f(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatrix_RotateYaw_f_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_RotateYaw_f(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatrix_RotateRoll_f_m)(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatrix_RotateRoll_f(struct openb3d_openb3dcore_TMatrix_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TMatrix {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMatrix_CopyMatPtr_TTMatrix_TTMatPtr_f f_CopyMatPtr_TTMatrix_TTMatPtr;
	openb3d_openb3dcore_TMatrix_GetMatPtr_TTMatPtr_m m_GetMatPtr_TTMatPtr;
	openb3d_openb3dcore_TMatrix_SetIdentity_fffffffff_m m_SetIdentity_fffffffff;
	openb3d_openb3dcore_TMatrix_LoadIdentity_m m_LoadIdentity;
	openb3d_openb3dcore_TMatrix_Copy_m m_Copy;
	openb3d_openb3dcore_TMatrix_Overwrite_TTMatrix_m m_Overwrite_TTMatrix;
	openb3d_openb3dcore_TMatrix_Inverse_m m_Inverse;
	openb3d_openb3dcore_TMatrix_Multiply_TTMatrix_m m_Multiply_TTMatrix;
	openb3d_openb3dcore_TMatrix_Translate_fff_m m_Translate_fff;
	openb3d_openb3dcore_TMatrix_Scale_fff_m m_Scale_fff;
	openb3d_openb3dcore_TMatrix_Rotate_fff_m m_Rotate_fff;
	openb3d_openb3dcore_TMatrix_RotatePitch_f_m m_RotatePitch_f;
	openb3d_openb3dcore_TMatrix_RotateYaw_f_m m_RotateYaw_f;
	openb3d_openb3dcore_TMatrix_RotateRoll_f_m m_RotateRoll_f;
};

struct openb3d_openb3dcore_TMatrix_obj {
	struct BBClass_openb3d_openb3dcore_TMatrix* clas;
	BBARRAY _openb3d_openb3dcore_tmatrix_grid;
};
extern struct BBClass_openb3d_openb3dcore_TMatrix openb3d_openb3dcore_TMatrix;
void _openb3d_openb3dcore_TMatPtr_New(struct openb3d_openb3dcore_TMatPtr_obj* o);
void _openb3d_openb3dcore_TMatPtr_Delete(struct openb3d_openb3dcore_TMatPtr_obj* o);
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_CreateObject_TTMatPtr_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TMatPtr_CreateObject_TTMatPtr_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TMatPtr_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_GetObject_TTMatPtr_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TMatPtr_GetObject_TTMatPtr_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TMatPtr_GetInstance_pb_TTMatPtr_f)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBBYTE* openb3d_openb3dcore_TMatPtr_GetInstance_pb_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_InitFields_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_InitFields(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_DebugFields_ii_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TMatPtr_DebugFields_ii(struct openb3d_openb3dcore_TMatPtr_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_NewMatPtr_TTMatPtr_f)();
struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TMatPtr_NewMatPtr_TTMatPtr();
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_Create_TTMatPtr_f)();
struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TMatPtr_Create_TTMatPtr();
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_CopyMatrix_TTMatPtr_TTMatrix_f)(struct openb3d_openb3dcore_TMatrix_obj*);
struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_TMatPtr_CopyMatrix_TTMatPtr_TTMatrix(struct openb3d_openb3dcore_TMatrix_obj*);
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_GetMatrix_TTMatrix_m)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatrix_obj*);
struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_TMatPtr_GetMatrix_TTMatrix(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatrix_obj*);
typedef struct openb3d_openb3dcore_TMatPtr_obj* (*openb3d_openb3dcore_TMatPtr_Copy_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_TMatPtr_Copy(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Overwrite_TTMatPtr_m)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_Overwrite_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_GetInverse_TTMatPtr_m)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_GetInverse_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_GetInverse2_TTMatPtr_m)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_GetInverse2_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_LoadIdentity_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_LoadIdentity(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_SetIdentity_fffffffff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_SetIdentity_fffffffff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TVecPtr_obj* (*openb3d_openb3dcore_TMatPtr_GetMatrixScale_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
struct openb3d_openb3dcore_TVecPtr_obj* _openb3d_openb3dcore_TMatPtr_GetMatrixScale(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Multiply_TTMatPtr_m)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_Multiply_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Translate_fff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_Translate_fff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Scale_fff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_Scale_fff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Rotate_fff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_Rotate_fff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_RotatePitch_f_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_RotatePitch_f(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_RotateYaw_f_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_RotateYaw_f(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_RotateRoll_f_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_RotateRoll_f(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_FromQuaternion_ffff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_FromQuaternion_ffff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_TransformVec_vfvfvfi_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBINT);
BBINT _openb3d_openb3dcore_TMatPtr_TransformVec_vfvfvfi(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Transpose_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_Transpose(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_SetTranslate_fff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_SetTranslate_fff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Multiply2_TTMatPtr_m)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT _openb3d_openb3dcore_TMatPtr_Multiply2_TTMatPtr(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TMatPtr_GetPitch_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TMatPtr_GetPitch(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TMatPtr_GetYaw_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TMatPtr_GetYaw(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBFLOAT (*openb3d_openb3dcore_TMatPtr_GetRoll_m)(struct openb3d_openb3dcore_TMatPtr_obj*);
BBFLOAT _openb3d_openb3dcore_TMatPtr_GetRoll(struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_FromToRotation_ffffff_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TMatPtr_FromToRotation_ffffff(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_ToQuat_vfvfvfvf_m)(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dcore_TMatPtr_ToQuat_vfvfvfvf(struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBFLOAT (*openb3d_openb3dcore_TMatPtr_Magnitude_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TMatPtr_Magnitude_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Quaternion_FromAngleAxis_i_ffffvfvfvfvf_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT openb3d_openb3dcore_TMatPtr_Quaternion_FromAngleAxis_i_ffffvfvfvfvf(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_Quaternion_MultiplyQuat_i_ffffffffvfvfvfvf_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT openb3d_openb3dcore_TMatPtr_Quaternion_MultiplyQuat_i_ffffffffvfvfvfvf(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TMatPtr_InterpolateMatrix_i_TTMatPtrTTMatPtrf_f)(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
BBINT openb3d_openb3dcore_TMatPtr_InterpolateMatrix_i_TTMatPtrTTMatPtrf(struct openb3d_openb3dcore_TMatPtr_obj*,struct openb3d_openb3dcore_TMatPtr_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TMatPtr {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMatPtr_CreateObject_TTMatPtr_pb_f f_CreateObject_TTMatPtr_pb;
	openb3d_openb3dcore_TMatPtr_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TMatPtr_GetObject_TTMatPtr_pb_f f_GetObject_TTMatPtr_pb;
	openb3d_openb3dcore_TMatPtr_GetInstance_pb_TTMatPtr_f f_GetInstance_pb_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_InitFields_m m_InitFields;
	openb3d_openb3dcore_TMatPtr_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TMatPtr_NewMatPtr_TTMatPtr_f f_NewMatPtr_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_Create_TTMatPtr_f f_Create_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_CopyMatrix_TTMatPtr_TTMatrix_f f_CopyMatrix_TTMatPtr_TTMatrix;
	openb3d_openb3dcore_TMatPtr_GetMatrix_TTMatrix_m m_GetMatrix_TTMatrix;
	openb3d_openb3dcore_TMatPtr_Copy_m m_Copy;
	openb3d_openb3dcore_TMatPtr_Overwrite_TTMatPtr_m m_Overwrite_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_GetInverse_TTMatPtr_m m_GetInverse_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_GetInverse2_TTMatPtr_m m_GetInverse2_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_LoadIdentity_m m_LoadIdentity;
	openb3d_openb3dcore_TMatPtr_SetIdentity_fffffffff_m m_SetIdentity_fffffffff;
	openb3d_openb3dcore_TMatPtr_GetMatrixScale_m m_GetMatrixScale;
	openb3d_openb3dcore_TMatPtr_Multiply_TTMatPtr_m m_Multiply_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_Translate_fff_m m_Translate_fff;
	openb3d_openb3dcore_TMatPtr_Scale_fff_m m_Scale_fff;
	openb3d_openb3dcore_TMatPtr_Rotate_fff_m m_Rotate_fff;
	openb3d_openb3dcore_TMatPtr_RotatePitch_f_m m_RotatePitch_f;
	openb3d_openb3dcore_TMatPtr_RotateYaw_f_m m_RotateYaw_f;
	openb3d_openb3dcore_TMatPtr_RotateRoll_f_m m_RotateRoll_f;
	openb3d_openb3dcore_TMatPtr_FromQuaternion_ffff_m m_FromQuaternion_ffff;
	openb3d_openb3dcore_TMatPtr_TransformVec_vfvfvfi_m m_TransformVec_vfvfvfi;
	openb3d_openb3dcore_TMatPtr_Transpose_m m_Transpose;
	openb3d_openb3dcore_TMatPtr_SetTranslate_fff_m m_SetTranslate_fff;
	openb3d_openb3dcore_TMatPtr_Multiply2_TTMatPtr_m m_Multiply2_TTMatPtr;
	openb3d_openb3dcore_TMatPtr_GetPitch_m m_GetPitch;
	openb3d_openb3dcore_TMatPtr_GetYaw_m m_GetYaw;
	openb3d_openb3dcore_TMatPtr_GetRoll_m m_GetRoll;
	openb3d_openb3dcore_TMatPtr_FromToRotation_ffffff_m m_FromToRotation_ffffff;
	openb3d_openb3dcore_TMatPtr_ToQuat_vfvfvfvf_m m_ToQuat_vfvfvfvf;
	openb3d_openb3dcore_TMatPtr_Magnitude_f_fff_f f_Magnitude_f_fff;
	openb3d_openb3dcore_TMatPtr_Quaternion_FromAngleAxis_i_ffffvfvfvfvf_f f_Quaternion_FromAngleAxis_i_ffffvfvfvfvf;
	openb3d_openb3dcore_TMatPtr_Quaternion_MultiplyQuat_i_ffffffffvfvfvfvf_f f_Quaternion_MultiplyQuat_i_ffffffffvfvfvfvf;
	openb3d_openb3dcore_TMatPtr_InterpolateMatrix_i_TTMatPtrTTMatPtrf_f f_InterpolateMatrix_i_TTMatPtrTTMatPtrf;
};

struct openb3d_openb3dcore_TMatPtr_obj {
	struct BBClass_openb3d_openb3dcore_TMatPtr* clas;
	BBFLOAT* _openb3d_openb3dcore_tmatptr_grid;
	BBBYTE* _openb3d_openb3dcore_tmatptr_instance;
};
extern struct BBClass_openb3d_openb3dcore_TMatPtr openb3d_openb3dcore_TMatPtr;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TMatPtr_matptr_map;
void _openb3d_openb3dcore_TQuaternion_New(struct openb3d_openb3dcore_TQuaternion_obj* o);
void _openb3d_openb3dcore_TQuaternion_Delete(struct openb3d_openb3dcore_TQuaternion_obj* o);
typedef struct openb3d_openb3dcore_TQuaternion_obj* (*openb3d_openb3dcore_TQuaternion_Create_TTQuaternion_ffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TQuaternion_obj* openb3d_openb3dcore_TQuaternion_Create_TTQuaternion_ffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TQuaternion_obj* (*openb3d_openb3dcore_TQuaternion_CopyQuatPtr_TTQuaternion_TTQuatPtr_f)(struct openb3d_openb3dcore_TQuatPtr_obj*);
struct openb3d_openb3dcore_TQuaternion_obj* openb3d_openb3dcore_TQuaternion_CopyQuatPtr_TTQuaternion_TTQuatPtr(struct openb3d_openb3dcore_TQuatPtr_obj*);
typedef struct openb3d_openb3dcore_TQuaternion_obj* (*openb3d_openb3dcore_TQuaternion_GetQuatPtr_TTQuatPtr_m)(struct openb3d_openb3dcore_TQuaternion_obj*,struct openb3d_openb3dcore_TQuatPtr_obj*);
struct openb3d_openb3dcore_TQuaternion_obj* _openb3d_openb3dcore_TQuaternion_GetQuatPtr_TTQuatPtr(struct openb3d_openb3dcore_TQuaternion_obj*,struct openb3d_openb3dcore_TQuatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TQuaternion_QuatToMat_i_ffffvTTMatrix_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TMatrix_obj**);
BBINT openb3d_openb3dcore_TQuaternion_QuatToMat_i_ffffvTTMatrix(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TMatrix_obj**);
typedef BBINT (*openb3d_openb3dcore_TQuaternion_QuatToEuler_i_ffffvfvfvf_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT openb3d_openb3dcore_TQuaternion_QuatToEuler_i_ffffvfvfvf(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TQuaternion_Slerp_i_ffffffffvfvfvfvff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT);
BBINT openb3d_openb3dcore_TQuaternion_Slerp_i_ffffffffvfvfvfvff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TQuaternion {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TQuaternion_Create_TTQuaternion_ffff_f f_Create_TTQuaternion_ffff;
	openb3d_openb3dcore_TQuaternion_CopyQuatPtr_TTQuaternion_TTQuatPtr_f f_CopyQuatPtr_TTQuaternion_TTQuatPtr;
	openb3d_openb3dcore_TQuaternion_GetQuatPtr_TTQuatPtr_m m_GetQuatPtr_TTQuatPtr;
	openb3d_openb3dcore_TQuaternion_QuatToMat_i_ffffvTTMatrix_f f_QuatToMat_i_ffffvTTMatrix;
	openb3d_openb3dcore_TQuaternion_QuatToEuler_i_ffffvfvfvf_f f_QuatToEuler_i_ffffvfvfvf;
	openb3d_openb3dcore_TQuaternion_Slerp_i_ffffffffvfvfvfvff_f f_Slerp_i_ffffffffvfvfvfvff;
};

struct openb3d_openb3dcore_TQuaternion_obj {
	struct BBClass_openb3d_openb3dcore_TQuaternion* clas;
	BBFLOAT _openb3d_openb3dcore_tquaternion_w;
	BBFLOAT _openb3d_openb3dcore_tquaternion_x;
	BBFLOAT _openb3d_openb3dcore_tquaternion_y;
	BBFLOAT _openb3d_openb3dcore_tquaternion_z;
};
extern struct BBClass_openb3d_openb3dcore_TQuaternion openb3d_openb3dcore_TQuaternion;
void _openb3d_openb3dcore_TQuatPtr_New(struct openb3d_openb3dcore_TQuatPtr_obj* o);
void _openb3d_openb3dcore_TQuatPtr_Delete(struct openb3d_openb3dcore_TQuatPtr_obj* o);
typedef struct openb3d_openb3dcore_TQuatPtr_obj* (*openb3d_openb3dcore_TQuatPtr_CreateObject_TTQuatPtr_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TQuatPtr_obj* openb3d_openb3dcore_TQuatPtr_CreateObject_TTQuatPtr_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TQuatPtr_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TQuatPtr_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TQuatPtr_obj* (*openb3d_openb3dcore_TQuatPtr_GetObject_TTQuatPtr_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TQuatPtr_obj* openb3d_openb3dcore_TQuatPtr_GetObject_TTQuatPtr_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TQuatPtr_GetInstance_pb_TTQuatPtr_f)(struct openb3d_openb3dcore_TQuatPtr_obj*);
BBBYTE* openb3d_openb3dcore_TQuatPtr_GetInstance_pb_TTQuatPtr(struct openb3d_openb3dcore_TQuatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TQuatPtr_InitFields_m)(struct openb3d_openb3dcore_TQuatPtr_obj*);
BBINT _openb3d_openb3dcore_TQuatPtr_InitFields(struct openb3d_openb3dcore_TQuatPtr_obj*);
typedef struct openb3d_openb3dcore_TQuatPtr_obj* (*openb3d_openb3dcore_TQuatPtr_Create_TTQuatPtr_ffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dcore_TQuatPtr_obj* openb3d_openb3dcore_TQuatPtr_Create_TTQuatPtr_ffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dcore_TQuatPtr_obj* (*openb3d_openb3dcore_TQuatPtr_CopyQuaternion_TTQuatPtr_TTQuaternion_f)(struct openb3d_openb3dcore_TQuaternion_obj*);
struct openb3d_openb3dcore_TQuatPtr_obj* openb3d_openb3dcore_TQuatPtr_CopyQuaternion_TTQuatPtr_TTQuaternion(struct openb3d_openb3dcore_TQuaternion_obj*);
typedef struct openb3d_openb3dcore_TQuatPtr_obj* (*openb3d_openb3dcore_TQuatPtr_NewQuatPtr_TTQuatPtr_f)();
struct openb3d_openb3dcore_TQuatPtr_obj* openb3d_openb3dcore_TQuatPtr_NewQuatPtr_TTQuatPtr();
typedef struct openb3d_openb3dcore_TQuatPtr_obj* (*openb3d_openb3dcore_TQuatPtr_GetQuaternion_TTQuaternion_m)(struct openb3d_openb3dcore_TQuatPtr_obj*,struct openb3d_openb3dcore_TQuaternion_obj*);
struct openb3d_openb3dcore_TQuatPtr_obj* _openb3d_openb3dcore_TQuatPtr_GetQuaternion_TTQuaternion(struct openb3d_openb3dcore_TQuatPtr_obj*,struct openb3d_openb3dcore_TQuaternion_obj*);
typedef BBINT (*openb3d_openb3dcore_TQuatPtr_QuatToMat_i_ffffTTMatPtr_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TMatPtr_obj*);
BBINT openb3d_openb3dcore_TQuatPtr_QuatToMat_i_ffffTTMatPtr(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TMatPtr_obj*);
typedef BBINT (*openb3d_openb3dcore_TQuatPtr_QuatToEuler_i_ffffvfvfvf_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT openb3d_openb3dcore_TQuatPtr_QuatToEuler_i_ffffvfvfvf(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TQuatPtr_Slerp_i_ffffffffvfvfvfvff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT);
BBINT openb3d_openb3dcore_TQuatPtr_Slerp_i_ffffffffvfvfvfvff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TQuatPtr {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TQuatPtr_CreateObject_TTQuatPtr_pb_f f_CreateObject_TTQuatPtr_pb;
	openb3d_openb3dcore_TQuatPtr_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TQuatPtr_GetObject_TTQuatPtr_pb_f f_GetObject_TTQuatPtr_pb;
	openb3d_openb3dcore_TQuatPtr_GetInstance_pb_TTQuatPtr_f f_GetInstance_pb_TTQuatPtr;
	openb3d_openb3dcore_TQuatPtr_InitFields_m m_InitFields;
	openb3d_openb3dcore_TQuatPtr_Create_TTQuatPtr_ffff_f f_Create_TTQuatPtr_ffff;
	openb3d_openb3dcore_TQuatPtr_CopyQuaternion_TTQuatPtr_TTQuaternion_f f_CopyQuaternion_TTQuatPtr_TTQuaternion;
	openb3d_openb3dcore_TQuatPtr_NewQuatPtr_TTQuatPtr_f f_NewQuatPtr_TTQuatPtr;
	openb3d_openb3dcore_TQuatPtr_GetQuaternion_TTQuaternion_m m_GetQuaternion_TTQuaternion;
	openb3d_openb3dcore_TQuatPtr_QuatToMat_i_ffffTTMatPtr_f f_QuatToMat_i_ffffTTMatPtr;
	openb3d_openb3dcore_TQuatPtr_QuatToEuler_i_ffffvfvfvf_f f_QuatToEuler_i_ffffvfvfvf;
	openb3d_openb3dcore_TQuatPtr_Slerp_i_ffffffffvfvfvfvff_f f_Slerp_i_ffffffffvfvfvfvff;
};

struct openb3d_openb3dcore_TQuatPtr_obj {
	struct BBClass_openb3d_openb3dcore_TQuatPtr* clas;
	BBFLOAT* _openb3d_openb3dcore_tquatptr_w;
	BBFLOAT* _openb3d_openb3dcore_tquatptr_x;
	BBFLOAT* _openb3d_openb3dcore_tquatptr_y;
	BBFLOAT* _openb3d_openb3dcore_tquatptr_z;
	BBBYTE* _openb3d_openb3dcore_tquatptr_instance;
};
extern struct BBClass_openb3d_openb3dcore_TQuatPtr openb3d_openb3dcore_TQuatPtr;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TQuatPtr_quatptr_map;
void _openb3d_openb3dcore_TBlitz2D_New(struct openb3d_openb3dcore_TBlitz2D_obj* o);
typedef BBINT (*openb3d_openb3dcore_TBlitz2D_BeginMax2D_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TBlitz2D_BeginMax2D_i_i(BBINT);
typedef BBINT (*openb3d_openb3dcore_TBlitz2D_EndMax2D_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_TBlitz2D_EndMax2D_i_i(BBINT);
struct BBClass_openb3d_openb3dcore_TBlitz2D {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TBlitz2D_BeginMax2D_i_i_f f_BeginMax2D_i_i;
	openb3d_openb3dcore_TBlitz2D_EndMax2D_i_i_f f_EndMax2D_i_i;
};

struct openb3d_openb3dcore_TBlitz2D_obj {
	struct BBClass_openb3d_openb3dcore_TBlitz2D* clas;
};
extern struct BBClass_openb3d_openb3dcore_TBlitz2D openb3d_openb3dcore_TBlitz2D;
void _openb3d_openb3dcore_TUtility_New(struct openb3d_openb3dcore_TUtility_obj* o);
typedef BBFLOAT (*openb3d_openb3dcore_TUtility_UpdateValue_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dcore_TUtility_UpdateValue_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TUtility {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TUtility_UpdateValue_f_fff_f f_UpdateValue_f_fff;
};

struct openb3d_openb3dcore_TUtility_obj {
	struct BBClass_openb3d_openb3dcore_TUtility* clas;
};
extern struct BBClass_openb3d_openb3dcore_TUtility openb3d_openb3dcore_TUtility;
void _openb3d_openb3dcore_TTerrain_New(struct openb3d_openb3dcore_TTerrain_obj* o);
void _openb3d_openb3dcore_TTerrain_Delete(struct openb3d_openb3dcore_TTerrain_obj* o);
typedef struct openb3d_openb3dcore_TTerrain_obj* (*openb3d_openb3dcore_TTerrain_CreateObject_TTTerrain_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dcore_TTerrain_CreateObject_TTTerrain_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TTerrain_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TTerrain_InitFields_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_InitFields(struct openb3d_openb3dcore_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_DebugGlobals_i_ii_f)(BBINT,BBINT);
BBINT openb3d_openb3dcore_TTerrain_DebugGlobals_i_ii(BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTerrain_DebugFields_ii_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TTerrain_DebugFields_ii(struct openb3d_openb3dcore_TTerrain_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTerrain_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TTerrain_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TTerrain_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_FreeEntity_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_FreeEntity(struct openb3d_openb3dcore_TTerrain_obj*);
typedef struct openb3d_openb3dcore_TTerrain_obj* (*openb3d_openb3dcore_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f)(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dcore_TTerrain_CreateTerrain_TTTerrain_iTTEntity(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TTerrain_obj* (*openb3d_openb3dcore_TTerrain_LoadTerrain_TTTerrain_STTEntity_f)(BBSTRING,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dcore_TTerrain_LoadTerrain_TTTerrain_STTEntity(BBSTRING,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_ModifyTerrain_iif_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBINT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TTerrain_ModifyTerrain_iif(struct openb3d_openb3dcore_TTerrain_obj*,BBINT,BBINT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TTerrain_TerrainHeight_ii_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dcore_TTerrain_TerrainHeight_ii(struct openb3d_openb3dcore_TTerrain_obj*,BBINT,BBINT);
typedef BBFLOAT (*openb3d_openb3dcore_TTerrain_TerrainX_fff_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT _openb3d_openb3dcore_TTerrain_TerrainX_fff(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TTerrain_TerrainY_fff_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT _openb3d_openb3dcore_TTerrain_TerrainY_fff(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dcore_TTerrain_TerrainZ_fff_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT _openb3d_openb3dcore_TTerrain_TerrainZ_fff(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTerrain_UpdateNormals_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_UpdateNormals(struct openb3d_openb3dcore_TTerrain_obj*);
typedef struct openb3d_openb3dcore_TTerrain_obj* (*openb3d_openb3dcore_TTerrain_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TTerrain_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TTerrain_obj* _openb3d_openb3dcore_TTerrain_CopyEntity_TTEntity(struct openb3d_openb3dcore_TTerrain_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_TerrainDetail_f_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TTerrain_TerrainDetail_f(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TTerrain_TerrainCountVertices_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_TerrainCountVertices(struct openb3d_openb3dcore_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_TerrainCountTriangles_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_TerrainCountTriangles(struct openb3d_openb3dcore_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_TerrainScaleTexCoords_ffi_m)(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TTerrain_TerrainScaleTexCoords_ffi(struct openb3d_openb3dcore_TTerrain_obj*,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TTerrain_Update_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_Update(struct openb3d_openb3dcore_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dcore_TTerrain_UpdateTerrain_m)(struct openb3d_openb3dcore_TTerrain_obj*);
BBINT _openb3d_openb3dcore_TTerrain_UpdateTerrain(struct openb3d_openb3dcore_TTerrain_obj*);
struct BBClass_openb3d_openb3dcore_TTerrain {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TTerrain_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TTerrain_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TTerrain_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TTerrain_InitFields_m m_InitFields;
	openb3d_openb3dcore_TTerrain_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TTerrain_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TTerrain_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TTerrain_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TTerrain_CreateObject_TTTerrain_pb_f f_CreateObject_TTTerrain_pb;
	openb3d_openb3dcore_TTerrain_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f f_CreateTerrain_TTTerrain_iTTEntity;
	openb3d_openb3dcore_TTerrain_LoadTerrain_TTTerrain_STTEntity_f f_LoadTerrain_TTTerrain_STTEntity;
	openb3d_openb3dcore_TTerrain_ModifyTerrain_iif_m m_ModifyTerrain_iif;
	openb3d_openb3dcore_TTerrain_TerrainHeight_ii_m m_TerrainHeight_ii;
	openb3d_openb3dcore_TTerrain_TerrainX_fff_m m_TerrainX_fff;
	openb3d_openb3dcore_TTerrain_TerrainY_fff_m m_TerrainY_fff;
	openb3d_openb3dcore_TTerrain_TerrainZ_fff_m m_TerrainZ_fff;
	openb3d_openb3dcore_TTerrain_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TTerrain_TerrainDetail_f_m m_TerrainDetail_f;
	openb3d_openb3dcore_TTerrain_TerrainCountVertices_m m_TerrainCountVertices;
	openb3d_openb3dcore_TTerrain_TerrainCountTriangles_m m_TerrainCountTriangles;
	openb3d_openb3dcore_TTerrain_TerrainScaleTexCoords_ffi_m m_TerrainScaleTexCoords_ffi;
	openb3d_openb3dcore_TTerrain_UpdateTerrain_m m_UpdateTerrain;
};

struct openb3d_openb3dcore_TTerrain_obj {
	struct BBClass_openb3d_openb3dcore_TTerrain* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tterrain_triangleindex;
	BBFLOAT* _openb3d_openb3dcore_tterrain_size;
	BBFLOAT* _openb3d_openb3dcore_tterrain_vsize;
	BBFLOAT* _openb3d_openb3dcore_tterrain_level2dzsize;
	BBFLOAT* _openb3d_openb3dcore_tterrain_heightmap;
	struct openb3d_openb3dcore_TCamera_obj* _openb3d_openb3dcore_tterrain_eyepoint;
	struct openb3d_openb3dcore_TShader_obj* _openb3d_openb3dcore_tterrain_shadermat;
	BBFLOAT* _openb3d_openb3dcore_tterrain_normalsmap;
	BBINT* _openb3d_openb3dcore_tterrain_vertexindex;
};
extern struct BBClass_openb3d_openb3dcore_TTerrain openb3d_openb3dcore_TTerrain;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TTerrain_terrain_list;
extern BBFLOAT* openb3d_openb3dcore_TTerrain_Roam_Detail;
extern BBINT openb3d_openb3dcore_TTerrain_terrain_list_id;
void _openb3d_openb3dcore_TShaderObject_New(struct openb3d_openb3dcore_TShaderObject_obj* o);
typedef struct openb3d_openb3dcore_TShaderObject_obj* (*openb3d_openb3dcore_TShaderObject_CreateObject_TTShaderObject_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_TShaderObject_CreateObject_TTShaderObject_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TShaderObject_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TShaderObject_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TShaderObject_obj* (*openb3d_openb3dcore_TShaderObject_GetObject_TTShaderObject_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_TShaderObject_GetObject_TTShaderObject_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TShaderObject_GetInstance_pb_TTShaderObject_f)(struct openb3d_openb3dcore_TShaderObject_obj*);
BBBYTE* openb3d_openb3dcore_TShaderObject_GetInstance_pb_TTShaderObject(struct openb3d_openb3dcore_TShaderObject_obj*);
typedef struct openb3d_openb3dcore_TShaderObject_obj* (*openb3d_openb3dcore_TShaderObject_CreateFragShader_TTShaderObject_TTShaderS_f)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_TShaderObject_CreateFragShader_TTShaderObject_TTShaderS(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TShaderObject_obj* (*openb3d_openb3dcore_TShaderObject_CreateFragShaderString_TTShaderObject_TTShaderS_f)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_TShaderObject_CreateFragShaderString_TTShaderObject_TTShaderS(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TShaderObject_obj* (*openb3d_openb3dcore_TShaderObject_CreateVertShader_TTShaderObject_TTShaderS_f)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_TShaderObject_CreateVertShader_TTShaderObject_TTShaderS(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
typedef struct openb3d_openb3dcore_TShaderObject_obj* (*openb3d_openb3dcore_TShaderObject_CreateVertShaderString_TTShaderObject_TTShaderS_f)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_TShaderObject_CreateVertShaderString_TTShaderObject_TTShaderS(struct openb3d_openb3dcore_TShader_obj*,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TShaderObject_AttachFragShader_TTShader_m)(struct openb3d_openb3dcore_TShaderObject_obj*,struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShaderObject_AttachFragShader_TTShader(struct openb3d_openb3dcore_TShaderObject_obj*,struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TShaderObject_AttachVertShader_TTShader_m)(struct openb3d_openb3dcore_TShaderObject_obj*,struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShaderObject_AttachVertShader_TTShader(struct openb3d_openb3dcore_TShaderObject_obj*,struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TShaderObject_DeleteFragShader_m)(struct openb3d_openb3dcore_TShaderObject_obj*);
BBINT _openb3d_openb3dcore_TShaderObject_DeleteFragShader(struct openb3d_openb3dcore_TShaderObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShaderObject_DeleteVertShader_m)(struct openb3d_openb3dcore_TShaderObject_obj*);
BBINT _openb3d_openb3dcore_TShaderObject_DeleteVertShader(struct openb3d_openb3dcore_TShaderObject_obj*);
struct BBClass_openb3d_openb3dcore_TShaderObject {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TShaderObject_CreateObject_TTShaderObject_pb_f f_CreateObject_TTShaderObject_pb;
	openb3d_openb3dcore_TShaderObject_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TShaderObject_GetObject_TTShaderObject_pb_f f_GetObject_TTShaderObject_pb;
	openb3d_openb3dcore_TShaderObject_GetInstance_pb_TTShaderObject_f f_GetInstance_pb_TTShaderObject;
	openb3d_openb3dcore_TShaderObject_CreateFragShader_TTShaderObject_TTShaderS_f f_CreateFragShader_TTShaderObject_TTShaderS;
	openb3d_openb3dcore_TShaderObject_CreateFragShaderString_TTShaderObject_TTShaderS_f f_CreateFragShaderString_TTShaderObject_TTShaderS;
	openb3d_openb3dcore_TShaderObject_CreateVertShader_TTShaderObject_TTShaderS_f f_CreateVertShader_TTShaderObject_TTShaderS;
	openb3d_openb3dcore_TShaderObject_CreateVertShaderString_TTShaderObject_TTShaderS_f f_CreateVertShaderString_TTShaderObject_TTShaderS;
	openb3d_openb3dcore_TShaderObject_AttachFragShader_TTShader_m m_AttachFragShader_TTShader;
	openb3d_openb3dcore_TShaderObject_AttachVertShader_TTShader_m m_AttachVertShader_TTShader;
	openb3d_openb3dcore_TShaderObject_DeleteFragShader_m m_DeleteFragShader;
	openb3d_openb3dcore_TShaderObject_DeleteVertShader_m m_DeleteVertShader;
};

struct openb3d_openb3dcore_TShaderObject_obj {
	struct BBClass_openb3d_openb3dcore_TShaderObject* clas;
	BBBYTE* _openb3d_openb3dcore_tshaderobject_instance;
};
extern struct BBClass_openb3d_openb3dcore_TShaderObject openb3d_openb3dcore_TShaderObject;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TShaderObject_shaderobject_map;
void _openb3d_openb3dcore_TMaterial_New(struct openb3d_openb3dcore_TMaterial_obj* o);
void _openb3d_openb3dcore_TMaterial_Delete(struct openb3d_openb3dcore_TMaterial_obj* o);
typedef struct openb3d_openb3dcore_TMaterial_obj* (*openb3d_openb3dcore_TMaterial_CreateObject_TTMaterial_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TMaterial_obj* openb3d_openb3dcore_TMaterial_CreateObject_TTMaterial_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TMaterial_obj* (*openb3d_openb3dcore_TMaterial_LoadMaterial_TTMaterial_Siiiii_f)(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT);
struct openb3d_openb3dcore_TMaterial_obj* openb3d_openb3dcore_TMaterial_LoadMaterial_TTMaterial_Siiiii(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT);
struct BBClass_openb3d_openb3dcore_TMaterial {
	struct BBClass_openb3d_openb3dcore_TTexture*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMaterial_CreateObject_TTMaterial_pb_f f_CreateObject_TTMaterial_pb;
	openb3d_openb3dcore_TTexture_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TTexture_GetObject_TTTexture_pb_f f_GetObject_TTTexture_pb;
	openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture_f f_GetInstance_pb_TTTexture;
	openb3d_openb3dcore_TTexture_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TTexture_InitFields_m m_InitFields;
	openb3d_openb3dcore_TTexture_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TTexture_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TTexture_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TTexture_TextureListAdd_TTList_m m_TextureListAdd_TTList;
	openb3d_openb3dcore_TTexture_TextureListRemove_TTList_m m_TextureListRemove_TTList;
	openb3d_openb3dcore_TTexture_NewTexture_TTTexture_f f_NewTexture_TTTexture;
	openb3d_openb3dcore_TTexture_Create_TTTexture_f f_Create_TTTexture;
	openb3d_openb3dcore_TTexture_CountMipmaps_m m_CountMipmaps;
	openb3d_openb3dcore_TTexture_BufferToTex_pbi_m m_BufferToTex_pbi;
	openb3d_openb3dcore_TTexture_TexToBuffer_pbi_m m_TexToBuffer_pbi;
	openb3d_openb3dcore_TTexture_CameraToTex_TTCamerai_m m_CameraToTex_TTCamerai;
	openb3d_openb3dcore_TTexture_DepthBufferToTex_TTCamera_m m_DepthBufferToTex_TTCamera;
	openb3d_openb3dcore_TTexture_AlphaDiscard_f_m m_AlphaDiscard_f;
	openb3d_openb3dcore_TTexture_TextureFlags_i_m m_TextureFlags_i;
	openb3d_openb3dcore_TTexture_TextureGLTexEnvi_iii_m m_TextureGLTexEnvi_iii;
	openb3d_openb3dcore_TTexture_TextureGLTexEnvf_iif_m m_TextureGLTexEnvf_iif;
	openb3d_openb3dcore_TTexture_GlobalAnIsotropic_f_m m_GlobalAnIsotropic_f;
	openb3d_openb3dcore_TTexture_TextureAnIsotropic_f_m m_TextureAnIsotropic_f;
	openb3d_openb3dcore_TTexture_TextureMultitex_f_m m_TextureMultitex_f;
	openb3d_openb3dcore_TTexture_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TTexture_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TTexture_CameraToTexEXT_TTCamerai_m m_CameraToTexEXT_TTCamerai;
	openb3d_openb3dcore_TTexture_DepthBufferToTexEXT_TTCamerai_m m_DepthBufferToTexEXT_TTCamerai;
	openb3d_openb3dcore_TTexture_FreeTexture_m m_FreeTexture;
	openb3d_openb3dcore_TTexture_CreateTexture_TTTexture_iiii_f f_CreateTexture_TTTexture_iiii;
	openb3d_openb3dcore_TTexture_LoadTexture_TTTexture_SiTTTexture_f f_LoadTexture_TTTexture_SiTTTexture;
	openb3d_openb3dcore_TTexture_LoadAnimTexture_TTTexture_SiiiiiTTTexture_f f_LoadAnimTexture_TTTexture_SiiiiiTTTexture;
	openb3d_openb3dcore_TTexture_LoadAnimTextureStream_TTTexture_TObjectiiiiiTTTexture_f f_LoadAnimTextureStream_TTTexture_TObjectiiiiiTTTexture;
	openb3d_openb3dcore_TTexture_LoadCubeMapTextureStream_TTTexture_TObjectiiiiiTTTexture_f f_LoadCubeMapTextureStream_TTTexture_TObjectiiiiiTTTexture;
	openb3d_openb3dcore_TTexture_FileFind_i_vS_f f_FileFind_i_vS;
	openb3d_openb3dcore_TTexture_FileAbs_S_S_f f_FileAbs_S_S;
	openb3d_openb3dcore_TTexture_AdjustPixmap_TTPixmap_TTPixmap_f f_AdjustPixmap_TTPixmap_TTPixmap;
	openb3d_openb3dcore_TTexture_CheckAlpha_i_TTPixmap_f f_CheckAlpha_i_TTPixmap;
	openb3d_openb3dcore_TTexture_ApplyAlpha_TTPixmap_vTTPixmapf_f f_ApplyAlpha_TTPixmap_vTTPixmapf;
	openb3d_openb3dcore_TTexture_ApplyMask_TTPixmap_vTTPixmapiii_f f_ApplyMask_TTPixmap_vTTPixmapiii;
	openb3d_openb3dcore_TTexture_Pow2Size_i_i_f f_Pow2Size_i_i;
	openb3d_openb3dcore_TTexture_TextureBlend_i_m m_TextureBlend_i;
	openb3d_openb3dcore_TTexture_TextureCoords_i_m m_TextureCoords_i;
	openb3d_openb3dcore_TTexture_ScaleTexture_ff_m m_ScaleTexture_ff;
	openb3d_openb3dcore_TTexture_PositionTexture_ff_m m_PositionTexture_ff;
	openb3d_openb3dcore_TTexture_RotateTexture_f_m m_RotateTexture_f;
	openb3d_openb3dcore_TTexture_TextureWidth_m m_TextureWidth;
	openb3d_openb3dcore_TTexture_TextureHeight_m m_TextureHeight;
	openb3d_openb3dcore_TTexture_TextureName_m m_TextureName;
	openb3d_openb3dcore_TTexture_GetBrushTexture_TTTexture_TTBrushi_f f_GetBrushTexture_TTTexture_TTBrushi;
	openb3d_openb3dcore_TTexture_ClearTextureFilters_i_f f_ClearTextureFilters_i;
	openb3d_openb3dcore_TTexture_TextureFilter_i_Si_f f_TextureFilter_i_Si;
	openb3d_openb3dcore_TTexture_SetCubeFace_i_m m_SetCubeFace_i;
	openb3d_openb3dcore_TTexture_SetCubeMode_i_m m_SetCubeMode_i;
	openb3d_openb3dcore_TTexture_BackBufferToTex_iii_m m_BackBufferToTex_iii;
	openb3d_openb3dcore_TTexture_Copy_i_m m_Copy_i;
	openb3d_openb3dcore_TTexture_TexInList_m m_TexInList;
	openb3d_openb3dcore_TTexture_FilterFlags_m m_FilterFlags;
	openb3d_openb3dcore_TMaterial_LoadMaterial_TTMaterial_Siiiii_f f_LoadMaterial_TTMaterial_Siiiii;
};

struct openb3d_openb3dcore_TMaterial_obj {
	struct BBClass_openb3d_openb3dcore_TMaterial* clas;
	BBINT* _openb3d_openb3dcore_ttexture_texture;
	BBBYTE* _openb3d_openb3dcore_ttexture_file;
	BBINT* _openb3d_openb3dcore_ttexture_frames;
	BBINT* _openb3d_openb3dcore_ttexture_flags;
	BBINT* _openb3d_openb3dcore_ttexture_blend;
	BBINT* _openb3d_openb3dcore_ttexture_coords;
	BBFLOAT* _openb3d_openb3dcore_ttexture_u_scale;
	BBFLOAT* _openb3d_openb3dcore_ttexture_v_scale;
	BBFLOAT* _openb3d_openb3dcore_ttexture_u_pos;
	BBFLOAT* _openb3d_openb3dcore_ttexture_v_pos;
	BBFLOAT* _openb3d_openb3dcore_ttexture_angle;
	BBBYTE* _openb3d_openb3dcore_ttexture_file_abs;
	BBINT* _openb3d_openb3dcore_ttexture_width;
	BBINT* _openb3d_openb3dcore_ttexture_height;
	BBINT* _openb3d_openb3dcore_ttexture_no_frames;
	BBINT* _openb3d_openb3dcore_ttexture_framebuffer;
	BBINT* _openb3d_openb3dcore_ttexture_cube_face;
	BBINT* _openb3d_openb3dcore_ttexture_cube_mode;
	struct brl_pixmap_TPixmap_obj* _openb3d_openb3dcore_ttexture_pixmap;
	BBFLOAT _openb3d_openb3dcore_ttexture_discard;
	BBINT* _openb3d_openb3dcore_ttexture_gltex;
	BBARRAY _openb3d_openb3dcore_ttexture_no_mipmaps;
	BBINT* _openb3d_openb3dcore_ttexture_format;
	BBBYTE* _openb3d_openb3dcore_ttexture_instance;
	BBINT _openb3d_openb3dcore_ttexture_exists;
};
extern struct BBClass_openb3d_openb3dcore_TMaterial openb3d_openb3dcore_TMaterial;
void _openb3d_openb3dcore_TShader_New(struct openb3d_openb3dcore_TShader_obj* o);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_CreateObject_TTShader_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_CreateObject_TTShader_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TShader_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TShader_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_GetObject_TTShader_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_GetObject_TTShader_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TShader_GetInstance_pb_TTShader_f)(struct openb3d_openb3dcore_TShader_obj*);
BBBYTE* openb3d_openb3dcore_TShader_GetInstance_pb_TTShader(struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TShader_InitFields_m)(struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShader_InitFields(struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TShader_FreeShader_m)(struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShader_FreeShader(struct openb3d_openb3dcore_TShader_obj*);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_CreateShaderMaterial_TTShader_S_f)(BBSTRING);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_CreateShaderMaterial_TTShader_S(BBSTRING);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_LoadShader_TTShader_SSS_f)(BBSTRING,BBSTRING,BBSTRING);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_LoadShader_TTShader_SSS(BBSTRING,BBSTRING,BBSTRING);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_CreateShader_TTShader_SSS_f)(BBSTRING,BBSTRING,BBSTRING);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_CreateShader_TTShader_SSS(BBSTRING,BBSTRING,BBSTRING);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_LoadShaderVGF_TTShader_SSSS_f)(BBSTRING,BBSTRING,BBSTRING,BBSTRING);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_LoadShaderVGF_TTShader_SSSS(BBSTRING,BBSTRING,BBSTRING,BBSTRING);
typedef struct openb3d_openb3dcore_TShader_obj* (*openb3d_openb3dcore_TShader_CreateShaderVGF_TTShader_SSSS_f)(BBSTRING,BBSTRING,BBSTRING,BBSTRING);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_TShader_CreateShaderVGF_TTShader_SSSS(BBSTRING,BBSTRING,BBSTRING,BBSTRING);
typedef BBINT (*openb3d_openb3dcore_TShader_LinkShader_m)(struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShader_LinkShader(struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TShader_ShadeSurface_TTSurface_m)(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TSurface_obj*);
BBINT _openb3d_openb3dcore_TShader_ShadeSurface_TTSurface(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TSurface_obj*);
typedef BBINT (*openb3d_openb3dcore_TShader_ShadeMesh_TTMesh_m)(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TShader_ShadeMesh_TTMesh(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TShader_ShadeEntity_TTEntity_m)(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TEntity_obj*);
BBINT _openb3d_openb3dcore_TShader_ShadeEntity_TTEntity(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TTexture_obj* (*openb3d_openb3dcore_TShader_ShaderTexture_TTTextureSi_m)(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TTexture_obj*,BBSTRING,BBINT);
struct openb3d_openb3dcore_TTexture_obj* _openb3d_openb3dcore_TShader_ShaderTexture_TTTextureSi(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TTexture_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetFloat_Sf_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT);
BBINT _openb3d_openb3dcore_TShader_SetFloat_Sf(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetFloat2_Sff_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TShader_SetFloat2_Sff(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetFloat3_Sfff_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TShader_SetFloat3_Sfff(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetFloat4_Sffff_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TShader_SetFloat4_Sffff(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TShader_UseFloat_Svf_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*);
BBINT _openb3d_openb3dcore_TShader_UseFloat_Svf(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseFloat2_Svfvf_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dcore_TShader_UseFloat2_Svfvf(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseFloat3_Svfvfvf_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dcore_TShader_UseFloat3_Svfvfvf(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseFloat4_Svfvfvfvf_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dcore_TShader_UseFloat4_Svfvfvfvf(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dcore_TShader_SetInteger_Si_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dcore_TShader_SetInteger_Si(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetInteger2_Sii_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TShader_SetInteger2_Sii(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetInteger3_Siii_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TShader_SetInteger3_Siii(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_SetInteger4_Siiii_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TShader_SetInteger4_Siiii(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_UseInteger_Svi_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*);
BBINT _openb3d_openb3dcore_TShader_UseInteger_Svi(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseInteger2_Svivi_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*,BBINT*);
BBINT _openb3d_openb3dcore_TShader_UseInteger2_Svivi(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*,BBINT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseInteger3_Svivivi_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*);
BBINT _openb3d_openb3dcore_TShader_UseInteger3_Svivivi(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseInteger4_Svivivivi_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*,BBINT*);
BBINT _openb3d_openb3dcore_TShader_UseInteger4_Svivivivi(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*,BBINT*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseSurface_STTSurfacei_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,struct openb3d_openb3dcore_TSurface_obj*,BBINT);
BBINT _openb3d_openb3dcore_TShader_UseSurface_STTSurfacei(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,struct openb3d_openb3dcore_TSurface_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_UseMatrix_Si_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dcore_TShader_UseMatrix_Si(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_ShaderMaterial_TTMaterialSi_m)(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TMaterial_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dcore_TShader_ShaderMaterial_TTMaterialSi(struct openb3d_openb3dcore_TShader_obj*,struct openb3d_openb3dcore_TMaterial_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_AmbientShader_m)(struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShader_AmbientShader(struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TShader_UseEntity_STTEntityi_m)(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dcore_TShader_UseEntity_STTEntityi(struct openb3d_openb3dcore_TShader_obj*,BBSTRING,struct openb3d_openb3dcore_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShader_ShaderFunction_F_i_F_i__m)(struct openb3d_openb3dcore_TShader_obj*,BBINT(* bbt_EnableFunction)(),BBINT(* bbt_DisableFunction)());
BBINT _openb3d_openb3dcore_TShader_ShaderFunction_F_i_F_i_(struct openb3d_openb3dcore_TShader_obj*,BBINT(* bbt_EnableFunction)(),BBINT(* bbt_DisableFunction)());
typedef BBINT (*openb3d_openb3dcore_TShader_GetShaderProgram_m)(struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TShader_GetShaderProgram(struct openb3d_openb3dcore_TShader_obj*);
struct BBClass_openb3d_openb3dcore_TShader {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TShader_CreateObject_TTShader_pb_f f_CreateObject_TTShader_pb;
	openb3d_openb3dcore_TShader_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TShader_GetObject_TTShader_pb_f f_GetObject_TTShader_pb;
	openb3d_openb3dcore_TShader_GetInstance_pb_TTShader_f f_GetInstance_pb_TTShader;
	openb3d_openb3dcore_TShader_InitFields_m m_InitFields;
	openb3d_openb3dcore_TShader_FreeShader_m m_FreeShader;
	openb3d_openb3dcore_TShader_CreateShaderMaterial_TTShader_S_f f_CreateShaderMaterial_TTShader_S;
	openb3d_openb3dcore_TShader_LoadShader_TTShader_SSS_f f_LoadShader_TTShader_SSS;
	openb3d_openb3dcore_TShader_CreateShader_TTShader_SSS_f f_CreateShader_TTShader_SSS;
	openb3d_openb3dcore_TShader_LoadShaderVGF_TTShader_SSSS_f f_LoadShaderVGF_TTShader_SSSS;
	openb3d_openb3dcore_TShader_CreateShaderVGF_TTShader_SSSS_f f_CreateShaderVGF_TTShader_SSSS;
	openb3d_openb3dcore_TShader_LinkShader_m m_LinkShader;
	openb3d_openb3dcore_TShader_ShadeSurface_TTSurface_m m_ShadeSurface_TTSurface;
	openb3d_openb3dcore_TShader_ShadeMesh_TTMesh_m m_ShadeMesh_TTMesh;
	openb3d_openb3dcore_TShader_ShadeEntity_TTEntity_m m_ShadeEntity_TTEntity;
	openb3d_openb3dcore_TShader_ShaderTexture_TTTextureSi_m m_ShaderTexture_TTTextureSi;
	openb3d_openb3dcore_TShader_SetFloat_Sf_m m_SetFloat_Sf;
	openb3d_openb3dcore_TShader_SetFloat2_Sff_m m_SetFloat2_Sff;
	openb3d_openb3dcore_TShader_SetFloat3_Sfff_m m_SetFloat3_Sfff;
	openb3d_openb3dcore_TShader_SetFloat4_Sffff_m m_SetFloat4_Sffff;
	openb3d_openb3dcore_TShader_UseFloat_Svf_m m_UseFloat_Svf;
	openb3d_openb3dcore_TShader_UseFloat2_Svfvf_m m_UseFloat2_Svfvf;
	openb3d_openb3dcore_TShader_UseFloat3_Svfvfvf_m m_UseFloat3_Svfvfvf;
	openb3d_openb3dcore_TShader_UseFloat4_Svfvfvfvf_m m_UseFloat4_Svfvfvfvf;
	openb3d_openb3dcore_TShader_SetInteger_Si_m m_SetInteger_Si;
	openb3d_openb3dcore_TShader_SetInteger2_Sii_m m_SetInteger2_Sii;
	openb3d_openb3dcore_TShader_SetInteger3_Siii_m m_SetInteger3_Siii;
	openb3d_openb3dcore_TShader_SetInteger4_Siiii_m m_SetInteger4_Siiii;
	openb3d_openb3dcore_TShader_UseInteger_Svi_m m_UseInteger_Svi;
	openb3d_openb3dcore_TShader_UseInteger2_Svivi_m m_UseInteger2_Svivi;
	openb3d_openb3dcore_TShader_UseInteger3_Svivivi_m m_UseInteger3_Svivivi;
	openb3d_openb3dcore_TShader_UseInteger4_Svivivivi_m m_UseInteger4_Svivivivi;
	openb3d_openb3dcore_TShader_UseSurface_STTSurfacei_m m_UseSurface_STTSurfacei;
	openb3d_openb3dcore_TShader_UseMatrix_Si_m m_UseMatrix_Si;
	openb3d_openb3dcore_TShader_ShaderMaterial_TTMaterialSi_m m_ShaderMaterial_TTMaterialSi;
	openb3d_openb3dcore_TShader_AmbientShader_m m_AmbientShader;
	openb3d_openb3dcore_TShader_UseEntity_STTEntityi_m m_UseEntity_STTEntityi;
	openb3d_openb3dcore_TShader_ShaderFunction_F_i_F_i__m m_ShaderFunction_F_i_F_i_;
	openb3d_openb3dcore_TShader_GetShaderProgram_m m_GetShaderProgram;
};

struct openb3d_openb3dcore_TShader_obj {
	struct BBClass_openb3d_openb3dcore_TShader* clas;
	BBBYTE* _openb3d_openb3dcore_tshader_instance;
	BBINT _openb3d_openb3dcore_tshader_exists;
};
extern struct BBClass_openb3d_openb3dcore_TShader openb3d_openb3dcore_TShader;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TShader_shader_map;
void _openb3d_openb3dcore_TShadowObject_New(struct openb3d_openb3dcore_TShadowObject_obj* o);
typedef struct openb3d_openb3dcore_TShadowObject_obj* (*openb3d_openb3dcore_TShadowObject_CreateObject_TTShadowObject_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TShadowObject_obj* openb3d_openb3dcore_TShadowObject_CreateObject_TTShadowObject_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TShadowObject_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TShadowObject_obj* (*openb3d_openb3dcore_TShadowObject_GetObject_TTShadowObject_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TShadowObject_obj* openb3d_openb3dcore_TShadowObject_GetObject_TTShadowObject_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TShadowObject_GetInstance_pb_TTShadowObject_f)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBBYTE* openb3d_openb3dcore_TShadowObject_GetInstance_pb_TTShadowObject(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_InitGlobals_i_f)();
BBINT openb3d_openb3dcore_TShadowObject_InitGlobals_i();
typedef BBINT (*openb3d_openb3dcore_TShadowObject_InitFields_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_InitFields(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_DebugGlobals_i_ii_f)(BBINT,BBINT);
BBINT openb3d_openb3dcore_TShadowObject_DebugGlobals_i_ii(BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_DebugFields_ii_m)(struct openb3d_openb3dcore_TShadowObject_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TShadowObject_DebugFields_ii(struct openb3d_openb3dcore_TShadowObject_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TShadowObject_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TShadowObject_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_ResetShadow_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_ResetShadow(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef struct openb3d_openb3dcore_TShadowObject_obj* (*openb3d_openb3dcore_TShadowObject_CreateShadow_TTShadowObject_TTMeshi_f)(struct openb3d_openb3dcore_TMesh_obj*,BBINT);
struct openb3d_openb3dcore_TShadowObject_obj* openb3d_openb3dcore_TShadowObject_CreateShadow_TTShadowObject_TTMeshi(struct openb3d_openb3dcore_TMesh_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_FreeShadow_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_FreeShadow(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_ShadowInit_i_f)();
BBINT openb3d_openb3dcore_TShadowObject_ShadowInit_i();
typedef BBINT (*openb3d_openb3dcore_TShadowObject_RemoveShadowfromMesh_TTMesh_m)(struct openb3d_openb3dcore_TShadowObject_obj*,struct openb3d_openb3dcore_TMesh_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_RemoveShadowfromMesh_TTMesh(struct openb3d_openb3dcore_TShadowObject_obj*,struct openb3d_openb3dcore_TMesh_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_Update_i_TTCamera_f)(struct openb3d_openb3dcore_TCamera_obj*);
BBINT openb3d_openb3dcore_TShadowObject_Update_i_TTCamera(struct openb3d_openb3dcore_TCamera_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_RenderVolume_i_f)();
BBINT openb3d_openb3dcore_TShadowObject_RenderVolume_i();
typedef BBINT (*openb3d_openb3dcore_TShadowObject_UpdateAnim_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_UpdateAnim(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_Init_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_Init(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_InitShadow_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_InitShadow(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_UpdateCaster_m)(struct openb3d_openb3dcore_TShadowObject_obj*);
BBINT _openb3d_openb3dcore_TShadowObject_UpdateCaster(struct openb3d_openb3dcore_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dcore_TShadowObject_ShadowRenderWorldZFail_i_f)();
BBINT openb3d_openb3dcore_TShadowObject_ShadowRenderWorldZFail_i();
struct BBClass_openb3d_openb3dcore_TShadowObject {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TShadowObject_CreateObject_TTShadowObject_pb_f f_CreateObject_TTShadowObject_pb;
	openb3d_openb3dcore_TShadowObject_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TShadowObject_GetObject_TTShadowObject_pb_f f_GetObject_TTShadowObject_pb;
	openb3d_openb3dcore_TShadowObject_GetInstance_pb_TTShadowObject_f f_GetInstance_pb_TTShadowObject;
	openb3d_openb3dcore_TShadowObject_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TShadowObject_InitFields_m m_InitFields;
	openb3d_openb3dcore_TShadowObject_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TShadowObject_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TShadowObject_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TShadowObject_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TShadowObject_ResetShadow_m m_ResetShadow;
	openb3d_openb3dcore_TShadowObject_CreateShadow_TTShadowObject_TTMeshi_f f_CreateShadow_TTShadowObject_TTMeshi;
	openb3d_openb3dcore_TShadowObject_FreeShadow_m m_FreeShadow;
	openb3d_openb3dcore_TShadowObject_ShadowInit_i_f f_ShadowInit_i;
	openb3d_openb3dcore_TShadowObject_RemoveShadowfromMesh_TTMesh_m m_RemoveShadowfromMesh_TTMesh;
	openb3d_openb3dcore_TShadowObject_Update_i_TTCamera_f f_Update_i_TTCamera;
	openb3d_openb3dcore_TShadowObject_RenderVolume_i_f f_RenderVolume_i;
	openb3d_openb3dcore_TShadowObject_UpdateAnim_m m_UpdateAnim;
	openb3d_openb3dcore_TShadowObject_Init_m m_Init;
	openb3d_openb3dcore_TShadowObject_InitShadow_m m_InitShadow;
	openb3d_openb3dcore_TShadowObject_UpdateCaster_m m_UpdateCaster;
	openb3d_openb3dcore_TShadowObject_ShadowRenderWorldZFail_i_f f_ShadowRenderWorldZFail_i;
};

struct openb3d_openb3dcore_TShadowObject_obj {
	struct BBClass_openb3d_openb3dcore_TShadowObject* clas;
	struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_tshadowobject_parent;
	BBINT* _openb3d_openb3dcore_tshadowobject_cnt_tris;
	struct openb3d_openb3dcore_TMesh_obj* _openb3d_openb3dcore_tshadowobject_shadowmesh;
	struct openb3d_openb3dcore_TSurface_obj* _openb3d_openb3dcore_tshadowobject_shadowvolume;
	BBBYTE* _openb3d_openb3dcore_tshadowobject_render;
	BBBYTE* _openb3d_openb3dcore_tshadowobject_static;
	BBBYTE* _openb3d_openb3dcore_tshadowobject_vcreated;
	BBBYTE* _openb3d_openb3dcore_tshadowobject_instance;
	BBINT _openb3d_openb3dcore_tshadowobject_exists;
};
extern struct BBClass_openb3d_openb3dcore_TShadowObject openb3d_openb3dcore_TShadowObject;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TShadowObject_shadow_list;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_VolumeLength;
extern BBBYTE* openb3d_openb3dcore_TShadowObject_top_caps;
extern BBINT* openb3d_openb3dcore_TShadowObject_parallel;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_light_x;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_light_y;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_light_z;
extern BBINT* openb3d_openb3dcore_TShadowObject_midStencilVal;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_ShadowRed;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_ShadowGreen;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_ShadowBlue;
extern BBFLOAT* openb3d_openb3dcore_TShadowObject_ShadowAlpha;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TShadowObject_shad_map;
extern BBINT openb3d_openb3dcore_TShadowObject_shadow_list_id;
void _openb3d_openb3dcore_THardwareInfo_New(struct openb3d_openb3dcore_THardwareInfo_obj* o);
typedef BBINT (*openb3d_openb3dcore_THardwareInfo_GetInfo_i_f)();
BBINT openb3d_openb3dcore_THardwareInfo_GetInfo_i();
typedef BBINT (*openb3d_openb3dcore_THardwareInfo_DisplayInfo_i_i_f)(BBINT);
BBINT openb3d_openb3dcore_THardwareInfo_DisplayInfo_i_i(BBINT);
struct BBClass_openb3d_openb3dcore_THardwareInfo {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_THardwareInfo_GetInfo_i_f f_GetInfo_i;
	openb3d_openb3dcore_THardwareInfo_DisplayInfo_i_i_f f_DisplayInfo_i_i;
};

struct openb3d_openb3dcore_THardwareInfo_obj {
	struct BBClass_openb3d_openb3dcore_THardwareInfo* clas;
};
extern struct BBClass_openb3d_openb3dcore_THardwareInfo openb3d_openb3dcore_THardwareInfo;
extern BBINT openb3d_openb3dcore_THardwareInfo_ScreenWidth;
extern BBINT openb3d_openb3dcore_THardwareInfo_ScreenHeight;
extern BBINT openb3d_openb3dcore_THardwareInfo_ScreenDepth;
extern BBINT openb3d_openb3dcore_THardwareInfo_ScreenHertz;
extern BBSTRING openb3d_openb3dcore_THardwareInfo_Vendor;
extern BBSTRING openb3d_openb3dcore_THardwareInfo_Renderer;
extern BBSTRING openb3d_openb3dcore_THardwareInfo_OGLVersion;
extern BBSTRING openb3d_openb3dcore_THardwareInfo_Extensions;
extern BBINT openb3d_openb3dcore_THardwareInfo_MaxTextures;
extern BBINT openb3d_openb3dcore_THardwareInfo_MaxTexSize;
extern BBINT openb3d_openb3dcore_THardwareInfo_MaxLights;
extern BBINT openb3d_openb3dcore_THardwareInfo_TexBlendSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_AnIsoSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_GLTCSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_S3TCSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_MultiTexSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_CubemapSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_DepthmapSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_VPSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_FPSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_VBOSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_ShaderSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_VSSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_FSSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_SLSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_FBOSupport;
extern BBINT openb3d_openb3dcore_THardwareInfo_DepthStencil;
extern BBINT openb3d_openb3dcore_THardwareInfo_MultisampleSupport;
void _openb3d_openb3dcore_TStencil_New(struct openb3d_openb3dcore_TStencil_obj* o);
typedef struct openb3d_openb3dcore_TStencil_obj* (*openb3d_openb3dcore_TStencil_CreateObject_TTStencil_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TStencil_obj* openb3d_openb3dcore_TStencil_CreateObject_TTStencil_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TStencil_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TStencil_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TStencil_obj* (*openb3d_openb3dcore_TStencil_GetObject_TTStencil_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TStencil_obj* openb3d_openb3dcore_TStencil_GetObject_TTStencil_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TStencil_GetInstance_pb_TTStencil_f)(struct openb3d_openb3dcore_TStencil_obj*);
BBBYTE* openb3d_openb3dcore_TStencil_GetInstance_pb_TTStencil(struct openb3d_openb3dcore_TStencil_obj*);
typedef BBINT (*openb3d_openb3dcore_TStencil_InitFields_m)(struct openb3d_openb3dcore_TStencil_obj*);
BBINT _openb3d_openb3dcore_TStencil_InitFields(struct openb3d_openb3dcore_TStencil_obj*);
typedef struct openb3d_openb3dcore_TStencil_obj* (*openb3d_openb3dcore_TStencil_CreateStencil_TTStencil_f)();
struct openb3d_openb3dcore_TStencil_obj* openb3d_openb3dcore_TStencil_CreateStencil_TTStencil();
typedef BBINT (*openb3d_openb3dcore_TStencil_StencilAlpha_f_m)(struct openb3d_openb3dcore_TStencil_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TStencil_StencilAlpha_f(struct openb3d_openb3dcore_TStencil_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TStencil_StencilClsColor_fff_m)(struct openb3d_openb3dcore_TStencil_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TStencil_StencilClsColor_fff(struct openb3d_openb3dcore_TStencil_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TStencil_StencilClsMode_ii_m)(struct openb3d_openb3dcore_TStencil_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TStencil_StencilClsMode_ii(struct openb3d_openb3dcore_TStencil_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TStencil_StencilMesh_TTMeshi_m)(struct openb3d_openb3dcore_TStencil_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT);
BBINT _openb3d_openb3dcore_TStencil_StencilMesh_TTMeshi(struct openb3d_openb3dcore_TStencil_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TStencil_StencilMode_ii_m)(struct openb3d_openb3dcore_TStencil_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TStencil_StencilMode_ii(struct openb3d_openb3dcore_TStencil_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TStencil_UseStencil_i_TTStencil_f)(struct openb3d_openb3dcore_TStencil_obj*);
BBINT openb3d_openb3dcore_TStencil_UseStencil_i_TTStencil(struct openb3d_openb3dcore_TStencil_obj*);
typedef BBINT (*openb3d_openb3dcore_TStencil_FreeStencil_m)(struct openb3d_openb3dcore_TStencil_obj*);
BBINT _openb3d_openb3dcore_TStencil_FreeStencil(struct openb3d_openb3dcore_TStencil_obj*);
struct BBClass_openb3d_openb3dcore_TStencil {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TStencil_CreateObject_TTStencil_pb_f f_CreateObject_TTStencil_pb;
	openb3d_openb3dcore_TStencil_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TStencil_GetObject_TTStencil_pb_f f_GetObject_TTStencil_pb;
	openb3d_openb3dcore_TStencil_GetInstance_pb_TTStencil_f f_GetInstance_pb_TTStencil;
	openb3d_openb3dcore_TStencil_InitFields_m m_InitFields;
	openb3d_openb3dcore_TStencil_CreateStencil_TTStencil_f f_CreateStencil_TTStencil;
	openb3d_openb3dcore_TStencil_StencilAlpha_f_m m_StencilAlpha_f;
	openb3d_openb3dcore_TStencil_StencilClsColor_fff_m m_StencilClsColor_fff;
	openb3d_openb3dcore_TStencil_StencilClsMode_ii_m m_StencilClsMode_ii;
	openb3d_openb3dcore_TStencil_StencilMesh_TTMeshi_m m_StencilMesh_TTMeshi;
	openb3d_openb3dcore_TStencil_StencilMode_ii_m m_StencilMode_ii;
	openb3d_openb3dcore_TStencil_UseStencil_i_TTStencil_f f_UseStencil_i_TTStencil;
	openb3d_openb3dcore_TStencil_FreeStencil_m m_FreeStencil;
};

struct openb3d_openb3dcore_TStencil_obj {
	struct BBClass_openb3d_openb3dcore_TStencil* clas;
	BBBYTE* _openb3d_openb3dcore_tstencil_instance;
	BBINT _openb3d_openb3dcore_tstencil_exists;
};
extern struct BBClass_openb3d_openb3dcore_TStencil openb3d_openb3dcore_TStencil;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TStencil_stencil_map;
void _openb3d_openb3dcore_TFluid_New(struct openb3d_openb3dcore_TFluid_obj* o);
void _openb3d_openb3dcore_TFluid_Delete(struct openb3d_openb3dcore_TFluid_obj* o);
typedef struct openb3d_openb3dcore_TFluid_obj* (*openb3d_openb3dcore_TFluid_CreateObject_TTFluid_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TFluid_obj* openb3d_openb3dcore_TFluid_CreateObject_TTFluid_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TFluid_InitFields_m)(struct openb3d_openb3dcore_TFluid_obj*);
BBINT _openb3d_openb3dcore_TFluid_InitFields(struct openb3d_openb3dcore_TFluid_obj*);
typedef struct openb3d_openb3dcore_TFluid_obj* (*openb3d_openb3dcore_TFluid_CreateFluid_TTFluid_f)();
struct openb3d_openb3dcore_TFluid_obj* openb3d_openb3dcore_TFluid_CreateFluid_TTFluid();
typedef BBINT (*openb3d_openb3dcore_TFluid_FluidArray_vfiii_m)(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TFluid_FluidArray_vfiii(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TFluid_FluidFunction_F_fff_f__m)(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
BBINT _openb3d_openb3dcore_TFluid_FluidFunction_F_fff_f_(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
typedef BBINT (*openb3d_openb3dcore_TFluid_FluidThreshold_f_m)(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TFluid_FluidThreshold_f(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TFluid {
	struct BBClass_openb3d_openb3dcore_TMesh*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TMesh_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TFluid_InitFields_m m_InitFields;
	openb3d_openb3dcore_TMesh_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TMesh_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TMesh_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TMesh_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TFluid_CreateObject_TTFluid_pb_f f_CreateObject_TTFluid_pb;
	openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject_m m_MeshListAdd_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject_m m_MeshListRemove_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshArrayResize_ii_m m_MeshArrayResize_ii;
	openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject_m m_MeshArraySet_iiTObject;
	openb3d_openb3dcore_TMesh_NewMesh_TTMesh_f f_NewMesh_TTMesh;
	openb3d_openb3dcore_TMesh_Create_TTMesh_f f_Create_TTMesh;
	openb3d_openb3dcore_TMesh_LightMesh_fffffff_m m_LightMesh_fffffff;
	openb3d_openb3dcore_TMesh_CreateAllChildren_m m_CreateAllChildren;
	openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh_f f_UpdatePlane_i_TTMesh;
	openb3d_openb3dcore_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dcore_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dcore_TMesh_PositionAnimMesh_fff_m m_PositionAnimMesh_fff;
	openb3d_openb3dcore_TMesh_RotateAnimMesh_fff_m m_RotateAnimMesh_fff;
	openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff_m m_ScaleAnimMesh_fff;
	openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr_m m_TransformVertices_TTMatPtr;
	openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface_m m_UpdateVerticesNormals_TTSurface;
	openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dcore_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dcore_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dcore_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dcore_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dcore_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dcore_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dcore_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dcore_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dcore_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dcore_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dcore_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dcore_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dcore_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dcore_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dcore_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dcore_TMesh_CollapseAnimMesh_m m_CollapseAnimMesh;
	openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr_m m_TransformMesh_TTMatPtr;
	openb3d_openb3dcore_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dcore_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dcore_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dcore_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dcore_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dcore_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dcore_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dcore_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dcore_TMesh_Render_m m_Render;
	openb3d_openb3dcore_TMesh_UpdateShadow_m m_UpdateShadow;
	openb3d_openb3dcore_TFluid_CreateFluid_TTFluid_f f_CreateFluid_TTFluid;
	openb3d_openb3dcore_TFluid_FluidArray_vfiii_m m_FluidArray_vfiii;
	openb3d_openb3dcore_TFluid_FluidFunction_F_fff_f__m m_FluidFunction_F_fff_f_;
	openb3d_openb3dcore_TFluid_FluidThreshold_f_m m_FluidThreshold_f;
};

struct openb3d_openb3dcore_TFluid_obj {
	struct BBClass_openb3d_openb3dcore_TFluid* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_bones;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tmesh_mat_sp;
	BBINT* _openb3d_openb3dcore_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dcore_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_z;
	BBINT* _openb3d_openb3dcore_tmesh_shared_surf;
	BBINT* _openb3d_openb3dcore_tmesh_shared_anim_surf;
	BBINT _openb3d_openb3dcore_tmesh_plane_divisions;
	BBINT _openb3d_openb3dcore_tmesh_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dcore_TFluid openb3d_openb3dcore_TFluid;
void _openb3d_openb3dcore_TBlob_New(struct openb3d_openb3dcore_TBlob_obj* o);
void _openb3d_openb3dcore_TBlob_Delete(struct openb3d_openb3dcore_TBlob_obj* o);
typedef struct openb3d_openb3dcore_TBlob_obj* (*openb3d_openb3dcore_TBlob_CreateObject_TTBlob_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TBlob_obj* openb3d_openb3dcore_TBlob_CreateObject_TTBlob_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TBlob_InitFields_m)(struct openb3d_openb3dcore_TBlob_obj*);
BBINT _openb3d_openb3dcore_TBlob_InitFields(struct openb3d_openb3dcore_TBlob_obj*);
typedef struct openb3d_openb3dcore_TBlob_obj* (*openb3d_openb3dcore_TBlob_CreateBlob_TTBlob_TTFluidfTTEntity_f)(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBlob_obj* openb3d_openb3dcore_TBlob_CreateBlob_TTBlob_TTFluidfTTEntity(struct openb3d_openb3dcore_TFluid_obj*,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TBlob_obj* (*openb3d_openb3dcore_TBlob_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TBlob_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TBlob_obj* _openb3d_openb3dcore_TBlob_CopyEntity_TTEntity(struct openb3d_openb3dcore_TBlob_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TBlob_Update_m)(struct openb3d_openb3dcore_TBlob_obj*);
BBINT _openb3d_openb3dcore_TBlob_Update(struct openb3d_openb3dcore_TBlob_obj*);
struct BBClass_openb3d_openb3dcore_TBlob {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TBlob_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TBlob_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TBlob_InitFields_m m_InitFields;
	openb3d_openb3dcore_TEntity_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TBlob_CreateObject_TTBlob_pb_f f_CreateObject_TTBlob_pb;
	openb3d_openb3dcore_TBlob_CreateBlob_TTBlob_TTFluidfTTEntity_f f_CreateBlob_TTBlob_TTFluidfTTEntity;
};

struct openb3d_openb3dcore_TBlob_obj {
	struct BBClass_openb3d_openb3dcore_TBlob* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
};
extern struct BBClass_openb3d_openb3dcore_TBlob openb3d_openb3dcore_TBlob;
void _openb3d_openb3dcore_TGeosphere_New(struct openb3d_openb3dcore_TGeosphere_obj* o);
void _openb3d_openb3dcore_TGeosphere_Delete(struct openb3d_openb3dcore_TGeosphere_obj* o);
typedef struct openb3d_openb3dcore_TGeosphere_obj* (*openb3d_openb3dcore_TGeosphere_CreateObject_TTGeosphere_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TGeosphere_obj* openb3d_openb3dcore_TGeosphere_CreateObject_TTGeosphere_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TGeosphere_InitFields_m)(struct openb3d_openb3dcore_TGeosphere_obj*);
BBINT _openb3d_openb3dcore_TGeosphere_InitFields(struct openb3d_openb3dcore_TGeosphere_obj*);
typedef struct openb3d_openb3dcore_TGeosphere_obj* (*openb3d_openb3dcore_TGeosphere_CreateGeosphere_TTGeosphere_iTTEntity_f)(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TGeosphere_obj* openb3d_openb3dcore_TGeosphere_CreateGeosphere_TTGeosphere_iTTEntity(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef struct openb3d_openb3dcore_TGeosphere_obj* (*openb3d_openb3dcore_TGeosphere_LoadGeosphere_TTGeosphere_STTEntity_f)(BBSTRING,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TGeosphere_obj* openb3d_openb3dcore_TGeosphere_LoadGeosphere_TTGeosphere_STTEntity(BBSTRING,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TGeosphere_ModifyGeosphere_iif_m)(struct openb3d_openb3dcore_TGeosphere_obj*,BBINT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TGeosphere_ModifyGeosphere_iif(struct openb3d_openb3dcore_TGeosphere_obj*,BBINT,BBINT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TGeosphere_GeosphereHeight_f_m)(struct openb3d_openb3dcore_TGeosphere_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TGeosphere_GeosphereHeight_f(struct openb3d_openb3dcore_TGeosphere_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TGeosphere_CountVertices_m)(struct openb3d_openb3dcore_TGeosphere_obj*);
BBINT _openb3d_openb3dcore_TGeosphere_CountVertices(struct openb3d_openb3dcore_TGeosphere_obj*);
typedef BBINT (*openb3d_openb3dcore_TGeosphere_CountTriangles_m)(struct openb3d_openb3dcore_TGeosphere_obj*);
BBINT _openb3d_openb3dcore_TGeosphere_CountTriangles(struct openb3d_openb3dcore_TGeosphere_obj*);
struct BBClass_openb3d_openb3dcore_TGeosphere {
	struct BBClass_openb3d_openb3dcore_TTerrain*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TTerrain_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TTerrain_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TTerrain_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TGeosphere_InitFields_m m_InitFields;
	openb3d_openb3dcore_TTerrain_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TTerrain_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TTerrain_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TTerrain_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TGeosphere_CreateObject_TTGeosphere_pb_f f_CreateObject_TTGeosphere_pb;
	openb3d_openb3dcore_TTerrain_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f f_CreateTerrain_TTTerrain_iTTEntity;
	openb3d_openb3dcore_TTerrain_LoadTerrain_TTTerrain_STTEntity_f f_LoadTerrain_TTTerrain_STTEntity;
	openb3d_openb3dcore_TTerrain_ModifyTerrain_iif_m m_ModifyTerrain_iif;
	openb3d_openb3dcore_TTerrain_TerrainHeight_ii_m m_TerrainHeight_ii;
	openb3d_openb3dcore_TTerrain_TerrainX_fff_m m_TerrainX_fff;
	openb3d_openb3dcore_TTerrain_TerrainY_fff_m m_TerrainY_fff;
	openb3d_openb3dcore_TTerrain_TerrainZ_fff_m m_TerrainZ_fff;
	openb3d_openb3dcore_TTerrain_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TTerrain_TerrainDetail_f_m m_TerrainDetail_f;
	openb3d_openb3dcore_TTerrain_TerrainCountVertices_m m_TerrainCountVertices;
	openb3d_openb3dcore_TTerrain_TerrainCountTriangles_m m_TerrainCountTriangles;
	openb3d_openb3dcore_TTerrain_TerrainScaleTexCoords_ffi_m m_TerrainScaleTexCoords_ffi;
	openb3d_openb3dcore_TTerrain_UpdateTerrain_m m_UpdateTerrain;
	openb3d_openb3dcore_TGeosphere_CreateGeosphere_TTGeosphere_iTTEntity_f f_CreateGeosphere_TTGeosphere_iTTEntity;
	openb3d_openb3dcore_TGeosphere_LoadGeosphere_TTGeosphere_STTEntity_f f_LoadGeosphere_TTGeosphere_STTEntity;
	openb3d_openb3dcore_TGeosphere_ModifyGeosphere_iif_m m_ModifyGeosphere_iif;
	openb3d_openb3dcore_TGeosphere_GeosphereHeight_f_m m_GeosphereHeight_f;
	openb3d_openb3dcore_TGeosphere_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TGeosphere_CountTriangles_m m_CountTriangles;
};

struct openb3d_openb3dcore_TGeosphere_obj {
	struct BBClass_openb3d_openb3dcore_TGeosphere* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tterrain_triangleindex;
	BBFLOAT* _openb3d_openb3dcore_tterrain_size;
	BBFLOAT* _openb3d_openb3dcore_tterrain_vsize;
	BBFLOAT* _openb3d_openb3dcore_tterrain_level2dzsize;
	BBFLOAT* _openb3d_openb3dcore_tterrain_heightmap;
	struct openb3d_openb3dcore_TCamera_obj* _openb3d_openb3dcore_tterrain_eyepoint;
	struct openb3d_openb3dcore_TShader_obj* _openb3d_openb3dcore_tterrain_shadermat;
	BBFLOAT* _openb3d_openb3dcore_tterrain_normalsmap;
	BBINT* _openb3d_openb3dcore_tterrain_vertexindex;
};
extern struct BBClass_openb3d_openb3dcore_TGeosphere openb3d_openb3dcore_TGeosphere;
void _openb3d_openb3dcore_TOcTree_New(struct openb3d_openb3dcore_TOcTree_obj* o);
void _openb3d_openb3dcore_TOcTree_Delete(struct openb3d_openb3dcore_TOcTree_obj* o);
typedef struct openb3d_openb3dcore_TOcTree_obj* (*openb3d_openb3dcore_TOcTree_CreateObject_TTOcTree_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TOcTree_obj* openb3d_openb3dcore_TOcTree_CreateObject_TTOcTree_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TOcTree_InitFields_m)(struct openb3d_openb3dcore_TOcTree_obj*);
BBINT _openb3d_openb3dcore_TOcTree_InitFields(struct openb3d_openb3dcore_TOcTree_obj*);
typedef struct openb3d_openb3dcore_TOcTree_obj* (*openb3d_openb3dcore_TOcTree_CreateOcTree_TTOcTree_fffTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TOcTree_obj* openb3d_openb3dcore_TOcTree_CreateOcTree_TTOcTree_fffTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TOcTree_OctreeBlock_TTMeshifffff_m)(struct openb3d_openb3dcore_TOcTree_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TOcTree_OctreeBlock_TTMeshifffff(struct openb3d_openb3dcore_TOcTree_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TOcTree_OctreeMesh_TTMeshifffff_m)(struct openb3d_openb3dcore_TOcTree_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TOcTree_OctreeMesh_TTMeshifffff(struct openb3d_openb3dcore_TOcTree_obj*,struct openb3d_openb3dcore_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TOcTree {
	struct BBClass_openb3d_openb3dcore_TTerrain*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TTerrain_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TTerrain_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TTerrain_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TOcTree_InitFields_m m_InitFields;
	openb3d_openb3dcore_TTerrain_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TTerrain_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TTerrain_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TTerrain_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TOcTree_CreateObject_TTOcTree_pb_f f_CreateObject_TTOcTree_pb;
	openb3d_openb3dcore_TTerrain_DebugGlobals_i_ii_f f_DebugGlobals_i_ii;
	openb3d_openb3dcore_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f f_CreateTerrain_TTTerrain_iTTEntity;
	openb3d_openb3dcore_TTerrain_LoadTerrain_TTTerrain_STTEntity_f f_LoadTerrain_TTTerrain_STTEntity;
	openb3d_openb3dcore_TTerrain_ModifyTerrain_iif_m m_ModifyTerrain_iif;
	openb3d_openb3dcore_TTerrain_TerrainHeight_ii_m m_TerrainHeight_ii;
	openb3d_openb3dcore_TTerrain_TerrainX_fff_m m_TerrainX_fff;
	openb3d_openb3dcore_TTerrain_TerrainY_fff_m m_TerrainY_fff;
	openb3d_openb3dcore_TTerrain_TerrainZ_fff_m m_TerrainZ_fff;
	openb3d_openb3dcore_TTerrain_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TTerrain_TerrainDetail_f_m m_TerrainDetail_f;
	openb3d_openb3dcore_TTerrain_TerrainCountVertices_m m_TerrainCountVertices;
	openb3d_openb3dcore_TTerrain_TerrainCountTriangles_m m_TerrainCountTriangles;
	openb3d_openb3dcore_TTerrain_TerrainScaleTexCoords_ffi_m m_TerrainScaleTexCoords_ffi;
	openb3d_openb3dcore_TTerrain_UpdateTerrain_m m_UpdateTerrain;
	openb3d_openb3dcore_TOcTree_CreateOcTree_TTOcTree_fffTTEntity_f f_CreateOcTree_TTOcTree_fffTTEntity;
	openb3d_openb3dcore_TOcTree_OctreeBlock_TTMeshifffff_m m_OctreeBlock_TTMeshifffff;
	openb3d_openb3dcore_TOcTree_OctreeMesh_TTMeshifffff_m m_OctreeMesh_TTMeshifffff;
};

struct openb3d_openb3dcore_TOcTree_obj {
	struct BBClass_openb3d_openb3dcore_TOcTree* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tterrain_triangleindex;
	BBFLOAT* _openb3d_openb3dcore_tterrain_size;
	BBFLOAT* _openb3d_openb3dcore_tterrain_vsize;
	BBFLOAT* _openb3d_openb3dcore_tterrain_level2dzsize;
	BBFLOAT* _openb3d_openb3dcore_tterrain_heightmap;
	struct openb3d_openb3dcore_TCamera_obj* _openb3d_openb3dcore_tterrain_eyepoint;
	struct openb3d_openb3dcore_TShader_obj* _openb3d_openb3dcore_tterrain_shadermat;
	BBFLOAT* _openb3d_openb3dcore_tterrain_normalsmap;
	BBINT* _openb3d_openb3dcore_tterrain_vertexindex;
};
extern struct BBClass_openb3d_openb3dcore_TOcTree openb3d_openb3dcore_TOcTree;
void _openb3d_openb3dcore_TVoxelSprite_New(struct openb3d_openb3dcore_TVoxelSprite_obj* o);
void _openb3d_openb3dcore_TVoxelSprite_Delete(struct openb3d_openb3dcore_TVoxelSprite_obj* o);
typedef struct openb3d_openb3dcore_TVoxelSprite_obj* (*openb3d_openb3dcore_TVoxelSprite_CreateObject_TTVoxelSprite_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TVoxelSprite_obj* openb3d_openb3dcore_TVoxelSprite_CreateObject_TTVoxelSprite_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TVoxelSprite_InitFields_m)(struct openb3d_openb3dcore_TVoxelSprite_obj*);
BBINT _openb3d_openb3dcore_TVoxelSprite_InitFields(struct openb3d_openb3dcore_TVoxelSprite_obj*);
typedef struct openb3d_openb3dcore_TVoxelSprite_obj* (*openb3d_openb3dcore_TVoxelSprite_CreateVoxelSprite_TTVoxelSprite_iTTEntity_f)(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TVoxelSprite_obj* openb3d_openb3dcore_TVoxelSprite_CreateVoxelSprite_TTVoxelSprite_iTTEntity(BBINT,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TVoxelSprite_VoxelSpriteMaterial_TTMaterial_m)(struct openb3d_openb3dcore_TVoxelSprite_obj*,struct openb3d_openb3dcore_TMaterial_obj*);
BBINT _openb3d_openb3dcore_TVoxelSprite_VoxelSpriteMaterial_TTMaterial(struct openb3d_openb3dcore_TVoxelSprite_obj*,struct openb3d_openb3dcore_TMaterial_obj*);
struct BBClass_openb3d_openb3dcore_TVoxelSprite {
	struct BBClass_openb3d_openb3dcore_TMesh*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TMesh_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TVoxelSprite_InitFields_m m_InitFields;
	openb3d_openb3dcore_TMesh_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TMesh_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TMesh_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TMesh_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TVoxelSprite_CreateObject_TTVoxelSprite_pb_f f_CreateObject_TTVoxelSprite_pb;
	openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject_m m_MeshListAdd_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject_m m_MeshListRemove_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshArrayResize_ii_m m_MeshArrayResize_ii;
	openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject_m m_MeshArraySet_iiTObject;
	openb3d_openb3dcore_TMesh_NewMesh_TTMesh_f f_NewMesh_TTMesh;
	openb3d_openb3dcore_TMesh_Create_TTMesh_f f_Create_TTMesh;
	openb3d_openb3dcore_TMesh_LightMesh_fffffff_m m_LightMesh_fffffff;
	openb3d_openb3dcore_TMesh_CreateAllChildren_m m_CreateAllChildren;
	openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh_f f_UpdatePlane_i_TTMesh;
	openb3d_openb3dcore_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dcore_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dcore_TMesh_PositionAnimMesh_fff_m m_PositionAnimMesh_fff;
	openb3d_openb3dcore_TMesh_RotateAnimMesh_fff_m m_RotateAnimMesh_fff;
	openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff_m m_ScaleAnimMesh_fff;
	openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr_m m_TransformVertices_TTMatPtr;
	openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface_m m_UpdateVerticesNormals_TTSurface;
	openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dcore_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dcore_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dcore_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dcore_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dcore_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dcore_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dcore_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dcore_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dcore_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dcore_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dcore_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dcore_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dcore_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dcore_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dcore_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dcore_TMesh_CollapseAnimMesh_m m_CollapseAnimMesh;
	openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr_m m_TransformMesh_TTMatPtr;
	openb3d_openb3dcore_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dcore_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dcore_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dcore_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dcore_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dcore_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dcore_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dcore_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dcore_TMesh_Render_m m_Render;
	openb3d_openb3dcore_TMesh_UpdateShadow_m m_UpdateShadow;
	openb3d_openb3dcore_TVoxelSprite_CreateVoxelSprite_TTVoxelSprite_iTTEntity_f f_CreateVoxelSprite_TTVoxelSprite_iTTEntity;
	openb3d_openb3dcore_TVoxelSprite_VoxelSpriteMaterial_TTMaterial_m m_VoxelSpriteMaterial_TTMaterial;
};

struct openb3d_openb3dcore_TVoxelSprite_obj {
	struct BBClass_openb3d_openb3dcore_TVoxelSprite* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_bones;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tmesh_mat_sp;
	BBINT* _openb3d_openb3dcore_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dcore_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_z;
	BBINT* _openb3d_openb3dcore_tmesh_shared_surf;
	BBINT* _openb3d_openb3dcore_tmesh_shared_anim_surf;
	BBINT _openb3d_openb3dcore_tmesh_plane_divisions;
	BBINT _openb3d_openb3dcore_tmesh_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dcore_TVoxelSprite openb3d_openb3dcore_TVoxelSprite;
void _openb3d_openb3dcore_TAction_New(struct openb3d_openb3dcore_TAction_obj* o);
typedef struct openb3d_openb3dcore_TAction_obj* (*openb3d_openb3dcore_TAction_CreateObject_TTAction_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_TAction_CreateObject_TTAction_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TAction_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TAction_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TAction_obj* (*openb3d_openb3dcore_TAction_GetObject_TTAction_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_TAction_GetObject_TTAction_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TAction_GetInstance_pb_TTAction_f)(struct openb3d_openb3dcore_TAction_obj*);
BBBYTE* openb3d_openb3dcore_TAction_GetInstance_pb_TTAction(struct openb3d_openb3dcore_TAction_obj*);
typedef BBINT (*openb3d_openb3dcore_TAction_InitFields_m)(struct openb3d_openb3dcore_TAction_obj*);
BBINT _openb3d_openb3dcore_TAction_InitFields(struct openb3d_openb3dcore_TAction_obj*);
typedef BBINT (*openb3d_openb3dcore_TAction_DebugFields_ii_m)(struct openb3d_openb3dcore_TAction_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TAction_DebugFields_ii(struct openb3d_openb3dcore_TAction_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TAction_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TAction_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TAction_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dcore_TAction_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dcore_TAction_AppendAction_TTAction_m)(struct openb3d_openb3dcore_TAction_obj*,struct openb3d_openb3dcore_TAction_obj*);
BBINT _openb3d_openb3dcore_TAction_AppendAction_TTAction(struct openb3d_openb3dcore_TAction_obj*,struct openb3d_openb3dcore_TAction_obj*);
typedef BBINT (*openb3d_openb3dcore_TAction_FreeAction_m)(struct openb3d_openb3dcore_TAction_obj*);
BBINT _openb3d_openb3dcore_TAction_FreeAction(struct openb3d_openb3dcore_TAction_obj*);
typedef BBINT (*openb3d_openb3dcore_TAction_EndAction_m)(struct openb3d_openb3dcore_TAction_obj*);
BBINT _openb3d_openb3dcore_TAction_EndAction(struct openb3d_openb3dcore_TAction_obj*);
struct BBClass_openb3d_openb3dcore_TAction {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TAction_CreateObject_TTAction_pb_f f_CreateObject_TTAction_pb;
	openb3d_openb3dcore_TAction_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TAction_GetObject_TTAction_pb_f f_GetObject_TTAction_pb;
	openb3d_openb3dcore_TAction_GetInstance_pb_TTAction_f f_GetInstance_pb_TTAction;
	openb3d_openb3dcore_TAction_InitFields_m m_InitFields;
	openb3d_openb3dcore_TAction_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TAction_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TAction_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TAction_AppendAction_TTAction_m m_AppendAction_TTAction;
	openb3d_openb3dcore_TAction_FreeAction_m m_FreeAction;
	openb3d_openb3dcore_TAction_EndAction_m m_EndAction;
};

struct openb3d_openb3dcore_TAction_obj {
	struct BBClass_openb3d_openb3dcore_TAction* clas;
	BBINT* _openb3d_openb3dcore_taction_act;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_taction_ent;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_taction_target;
	BBFLOAT* _openb3d_openb3dcore_taction_rate;
	BBFLOAT* _openb3d_openb3dcore_taction_a;
	BBFLOAT* _openb3d_openb3dcore_taction_b;
	BBFLOAT* _openb3d_openb3dcore_taction_c;
	BBINT* _openb3d_openb3dcore_taction_endact;
	BBINT* _openb3d_openb3dcore_taction_lifetime;
	BBBYTE* _openb3d_openb3dcore_taction_instance;
	BBINT _openb3d_openb3dcore_taction_exists;
};
extern struct BBClass_openb3d_openb3dcore_TAction openb3d_openb3dcore_TAction;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dcore_TAction_action_list;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TAction_action_map;
extern BBINT openb3d_openb3dcore_TAction_action_list_id;
void _openb3d_openb3dcore_TConstraint_New(struct openb3d_openb3dcore_TConstraint_obj* o);
typedef struct openb3d_openb3dcore_TConstraint_obj* (*openb3d_openb3dcore_TConstraint_CreateObject_TTConstraint_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TConstraint_obj* openb3d_openb3dcore_TConstraint_CreateObject_TTConstraint_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TConstraint_GetInstance_pb_TTConstraint_f)(struct openb3d_openb3dcore_TConstraint_obj*);
BBBYTE* openb3d_openb3dcore_TConstraint_GetInstance_pb_TTConstraint(struct openb3d_openb3dcore_TConstraint_obj*);
typedef struct openb3d_openb3dcore_TConstraint_obj* (*openb3d_openb3dcore_TConstraint_CreateConstraint_TTConstraint_TTEntityTTEntityf_f)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
struct openb3d_openb3dcore_TConstraint_obj* openb3d_openb3dcore_TConstraint_CreateConstraint_TTConstraint_TTEntityTTEntityf(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dcore_TConstraint {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TConstraint_CreateObject_TTConstraint_pb_f f_CreateObject_TTConstraint_pb;
	openb3d_openb3dcore_TConstraint_GetInstance_pb_TTConstraint_f f_GetInstance_pb_TTConstraint;
	openb3d_openb3dcore_TConstraint_CreateConstraint_TTConstraint_TTEntityTTEntityf_f f_CreateConstraint_TTConstraint_TTEntityTTEntityf;
};

struct openb3d_openb3dcore_TConstraint_obj {
	struct BBClass_openb3d_openb3dcore_TConstraint* clas;
	BBBYTE* _openb3d_openb3dcore_tconstraint_instance;
};
extern struct BBClass_openb3d_openb3dcore_TConstraint openb3d_openb3dcore_TConstraint;
void _openb3d_openb3dcore_TRigidBody_New(struct openb3d_openb3dcore_TRigidBody_obj* o);
typedef struct openb3d_openb3dcore_TRigidBody_obj* (*openb3d_openb3dcore_TRigidBody_CreateObject_TTRigidBody_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TRigidBody_obj* openb3d_openb3dcore_TRigidBody_CreateObject_TTRigidBody_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TRigidBody_GetInstance_pb_TTRigidBody_f)(struct openb3d_openb3dcore_TRigidBody_obj*);
BBBYTE* openb3d_openb3dcore_TRigidBody_GetInstance_pb_TTRigidBody(struct openb3d_openb3dcore_TRigidBody_obj*);
typedef struct openb3d_openb3dcore_TRigidBody_obj* (*openb3d_openb3dcore_TRigidBody_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TRigidBody_obj* openb3d_openb3dcore_TRigidBody_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct BBClass_openb3d_openb3dcore_TRigidBody {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TRigidBody_CreateObject_TTRigidBody_pb_f f_CreateObject_TTRigidBody_pb;
	openb3d_openb3dcore_TRigidBody_GetInstance_pb_TTRigidBody_f f_GetInstance_pb_TTRigidBody;
	openb3d_openb3dcore_TRigidBody_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity_f f_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity;
};

struct openb3d_openb3dcore_TRigidBody_obj {
	struct BBClass_openb3d_openb3dcore_TRigidBody* clas;
	BBBYTE* _openb3d_openb3dcore_trigidbody_instance;
};
extern struct BBClass_openb3d_openb3dcore_TRigidBody openb3d_openb3dcore_TRigidBody;
void _openb3d_openb3dcore_TParticleBatch_New(struct openb3d_openb3dcore_TParticleBatch_obj* o);
void _openb3d_openb3dcore_TParticleBatch_Delete(struct openb3d_openb3dcore_TParticleBatch_obj* o);
typedef struct openb3d_openb3dcore_TParticleBatch_obj* (*openb3d_openb3dcore_TParticleBatch_CreateObject_TTParticleBatch_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TParticleBatch_obj* openb3d_openb3dcore_TParticleBatch_CreateObject_TTParticleBatch_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TParticleBatch_InitFields_m)(struct openb3d_openb3dcore_TParticleBatch_obj*);
BBINT _openb3d_openb3dcore_TParticleBatch_InitFields(struct openb3d_openb3dcore_TParticleBatch_obj*);
struct BBClass_openb3d_openb3dcore_TParticleBatch {
	struct BBClass_openb3d_openb3dcore_TMesh*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TMesh_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TParticleBatch_InitFields_m m_InitFields;
	openb3d_openb3dcore_TMesh_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TMesh_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TMesh_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TMesh_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TParticleBatch_CreateObject_TTParticleBatch_pb_f f_CreateObject_TTParticleBatch_pb;
	openb3d_openb3dcore_TMesh_MeshListAdd_TTListTObject_m m_MeshListAdd_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshListRemove_TTListTObject_m m_MeshListRemove_TTListTObject;
	openb3d_openb3dcore_TMesh_MeshArrayResize_ii_m m_MeshArrayResize_ii;
	openb3d_openb3dcore_TMesh_MeshArraySet_iiTObject_m m_MeshArraySet_iiTObject;
	openb3d_openb3dcore_TMesh_NewMesh_TTMesh_f f_NewMesh_TTMesh;
	openb3d_openb3dcore_TMesh_Create_TTMesh_f f_Create_TTMesh;
	openb3d_openb3dcore_TMesh_LightMesh_fffffff_m m_LightMesh_fffffff;
	openb3d_openb3dcore_TMesh_CreateAllChildren_m m_CreateAllChildren;
	openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_UpdatePlane_i_TTMesh_f f_UpdatePlane_i_TTMesh;
	openb3d_openb3dcore_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dcore_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dcore_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dcore_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dcore_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dcore_TMesh_PositionAnimMesh_fff_m m_PositionAnimMesh_fff;
	openb3d_openb3dcore_TMesh_RotateAnimMesh_fff_m m_RotateAnimMesh_fff;
	openb3d_openb3dcore_TMesh_ScaleAnimMesh_fff_m m_ScaleAnimMesh_fff;
	openb3d_openb3dcore_TMesh_TransformVertices_TTMatPtr_m m_TransformVertices_TTMatPtr;
	openb3d_openb3dcore_TMesh_UpdateVerticesNormals_TTSurface_m m_UpdateVerticesNormals_TTSurface;
	openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dcore_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dcore_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dcore_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dcore_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dcore_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dcore_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dcore_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dcore_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dcore_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dcore_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dcore_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dcore_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dcore_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dcore_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dcore_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dcore_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dcore_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dcore_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dcore_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dcore_TMesh_CollapseAnimMesh_m m_CollapseAnimMesh;
	openb3d_openb3dcore_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dcore_TMesh_TransformMesh_TTMatPtr_m m_TransformMesh_TTMatPtr;
	openb3d_openb3dcore_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dcore_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dcore_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dcore_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dcore_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dcore_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dcore_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dcore_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dcore_TMesh_Render_m m_Render;
	openb3d_openb3dcore_TMesh_UpdateShadow_m m_UpdateShadow;
};

struct openb3d_openb3dcore_TParticleBatch_obj {
	struct BBClass_openb3d_openb3dcore_TParticleBatch* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
	BBINT* _openb3d_openb3dcore_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tmesh_bones;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tmesh_mat_sp;
	BBINT* _openb3d_openb3dcore_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dcore_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dcore_tmesh_max_z;
	BBINT* _openb3d_openb3dcore_tmesh_shared_surf;
	BBINT* _openb3d_openb3dcore_tmesh_shared_anim_surf;
	BBINT _openb3d_openb3dcore_tmesh_plane_divisions;
	BBINT _openb3d_openb3dcore_tmesh_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dcore_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dcore_TParticleBatch openb3d_openb3dcore_TParticleBatch;
void _openb3d_openb3dcore_TParticleEmitter_New(struct openb3d_openb3dcore_TParticleEmitter_obj* o);
void _openb3d_openb3dcore_TParticleEmitter_Delete(struct openb3d_openb3dcore_TParticleEmitter_obj* o);
typedef struct openb3d_openb3dcore_TParticleEmitter_obj* (*openb3d_openb3dcore_TParticleEmitter_CreateObject_TTParticleEmitter_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TParticleEmitter_obj* openb3d_openb3dcore_TParticleEmitter_CreateObject_TTParticleEmitter_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_InitFields_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*);
BBINT _openb3d_openb3dcore_TParticleEmitter_InitFields(struct openb3d_openb3dcore_TParticleEmitter_obj*);
typedef struct openb3d_openb3dcore_TParticleEmitter_obj* (*openb3d_openb3dcore_TParticleEmitter_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity_f)(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TParticleEmitter_obj* openb3d_openb3dcore_TParticleEmitter_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity(struct openb3d_openb3dcore_TEntity_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterVector_ffffff_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterVector_ffffff(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterRate_f_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterRate_f(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleLife_iii_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleLife_iii(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleFunction_F_pbi_i__m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleFunction_F_pbi_i_(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleSpeed_ff_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleSpeed_ff(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterVariance_f_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterVariance_f(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleAlpha_fffi_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleAlpha_fffi(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleScale_ffffffi_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleScale_ffffffi(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleColor_fffffffffi_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleColor_fffffffffi(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_EmitterParticleRotate_fffi_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dcore_TParticleEmitter_EmitterParticleRotate_fffi(struct openb3d_openb3dcore_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef struct openb3d_openb3dcore_TParticleEmitter_obj* (*openb3d_openb3dcore_TParticleEmitter_CopyEntity_TTEntity_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*,struct openb3d_openb3dcore_TEntity_obj*);
struct openb3d_openb3dcore_TParticleEmitter_obj* _openb3d_openb3dcore_TParticleEmitter_CopyEntity_TTEntity(struct openb3d_openb3dcore_TParticleEmitter_obj*,struct openb3d_openb3dcore_TEntity_obj*);
typedef BBINT (*openb3d_openb3dcore_TParticleEmitter_Update_m)(struct openb3d_openb3dcore_TParticleEmitter_obj*);
BBINT _openb3d_openb3dcore_TParticleEmitter_Update(struct openb3d_openb3dcore_TParticleEmitter_obj*);
struct BBClass_openb3d_openb3dcore_TParticleEmitter {
	struct BBClass_openb3d_openb3dcore_TEntity*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TParticleEmitter_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dcore_TParticleEmitter_Update_m m_Update;
	openb3d_openb3dcore_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dcore_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dcore_TParticleEmitter_InitFields_m m_InitFields;
	openb3d_openb3dcore_TEntity_DebugFields_ii_m m_DebugFields_ii;
	openb3d_openb3dcore_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dcore_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dcore_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dcore_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dcore_TEntity_EntityListAdd_TTListTObject_m m_EntityListAdd_TTListTObject;
	openb3d_openb3dcore_TEntity_EntityListRemove_TTListTObject_m m_EntityListRemove_TTListTObject;
	openb3d_openb3dcore_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dcore_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dcore_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dcore_TEntity_GetString_pb_m m_GetString_pb;
	openb3d_openb3dcore_TEntity_SetString_pbS_m m_SetString_pbS;
	openb3d_openb3dcore_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dcore_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dcore_TEntity_SetParent_TTEntity_m m_SetParent_TTEntity;
	openb3d_openb3dcore_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dcore_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dcore_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dcore_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dcore_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dcore_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dcore_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dcore_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dcore_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dcore_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dcore_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dcore_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dcore_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dcore_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dcore_TEntity_Animating_m m_Animating;
	openb3d_openb3dcore_TEntity_EntityColor_fffi_m m_EntityColor_fffi;
	openb3d_openb3dcore_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dcore_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dcore_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dcore_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dcore_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dcore_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dcore_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dcore_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dcore_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dcore_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dcore_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dcore_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dcore_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dcore_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dcore_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dcore_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dcore_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dcore_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dcore_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dcore_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dcore_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dcore_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dcore_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dcore_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dcore_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dcore_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dcore_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dcore_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dcore_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dcore_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dcore_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dcore_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dcore_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dcore_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dcore_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dcore_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dcore_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dcore_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dcore_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dcore_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dcore_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dcore_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dcore_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dcore_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dcore_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dcore_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dcore_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dcore_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dcore_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dcore_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dcore_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dcore_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dcore_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dcore_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dcore_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dcore_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dcore_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dcore_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dcore_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dcore_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dcore_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dcore_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dcore_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dcore_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dcore_TEntity_MQ_GetInvMatrix_TTMatPtr_m m_MQ_GetInvMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetMatrix_TTMatPtr_m m_MQ_GetMatrix_TTMatPtr;
	openb3d_openb3dcore_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dcore_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dcore_TParticleEmitter_CreateObject_TTParticleEmitter_pb_f f_CreateObject_TTParticleEmitter_pb;
	openb3d_openb3dcore_TParticleEmitter_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity_f f_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity;
	openb3d_openb3dcore_TParticleEmitter_EmitterVector_ffffff_m m_EmitterVector_ffffff;
	openb3d_openb3dcore_TParticleEmitter_EmitterRate_f_m m_EmitterRate_f;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleLife_iii_m m_EmitterParticleLife_iii;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleFunction_F_pbi_i__m m_EmitterParticleFunction_F_pbi_i_;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleSpeed_ff_m m_EmitterParticleSpeed_ff;
	openb3d_openb3dcore_TParticleEmitter_EmitterVariance_f_m m_EmitterVariance_f;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleAlpha_fffi_m m_EmitterParticleAlpha_fffi;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleScale_ffffffi_m m_EmitterParticleScale_ffffffi;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleColor_fffffffffi_m m_EmitterParticleColor_fffffffffi;
	openb3d_openb3dcore_TParticleEmitter_EmitterParticleRotate_fffi_m m_EmitterParticleRotate_fffi;
};

struct openb3d_openb3dcore_TParticleEmitter_obj {
	struct BBClass_openb3d_openb3dcore_TParticleEmitter* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dcore_tentity_child_list;
	struct openb3d_openb3dcore_TEntity_obj* _openb3d_openb3dcore_tentity_parent;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_mat;
	struct openb3d_openb3dcore_TMatPtr_obj* _openb3d_openb3dcore_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dcore_tentity_px;
	BBFLOAT* _openb3d_openb3dcore_tentity_py;
	BBFLOAT* _openb3d_openb3dcore_tentity_pz;
	BBFLOAT* _openb3d_openb3dcore_tentity_sx;
	BBFLOAT* _openb3d_openb3dcore_tentity_sy;
	BBFLOAT* _openb3d_openb3dcore_tentity_sz;
	BBFLOAT* _openb3d_openb3dcore_tentity_rx;
	BBFLOAT* _openb3d_openb3dcore_tentity_ry;
	BBFLOAT* _openb3d_openb3dcore_tentity_rz;
	BBFLOAT* _openb3d_openb3dcore_tentity_qw;
	BBFLOAT* _openb3d_openb3dcore_tentity_qx;
	BBFLOAT* _openb3d_openb3dcore_tentity_qy;
	BBFLOAT* _openb3d_openb3dcore_tentity_qz;
	struct openb3d_openb3dcore_TBrush_obj* _openb3d_openb3dcore_tentity_brush;
	BBINT* _openb3d_openb3dcore_tentity_order;
	BBFLOAT* _openb3d_openb3dcore_tentity_alpha_order;
	BBINT* _openb3d_openb3dcore_tentity_hide;
	BBFLOAT* _openb3d_openb3dcore_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dcore_tentity_name;
	BBBYTE* _openb3d_openb3dcore_tentity_class_name;
	BBINT* _openb3d_openb3dcore_tentity_anim;
	BBINT* _openb3d_openb3dcore_tentity_anim_render;
	BBINT* _openb3d_openb3dcore_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dcore_tentity_anim_speed;
	BBINT* _openb3d_openb3dcore_tentity_anim_seq;
	BBINT* _openb3d_openb3dcore_tentity_anim_trans;
	BBINT* _openb3d_openb3dcore_tentity_anim_dir;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dcore_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dcore_tentity_no_seqs;
	BBINT* _openb3d_openb3dcore_tentity_anim_update;
	BBINT* _openb3d_openb3dcore_tentity_anim_list;
	BBINT* _openb3d_openb3dcore_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_x;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_y;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_z;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_w;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_h;
	BBFLOAT* _openb3d_openb3dcore_tentity_box_d;
	BBINT* _openb3d_openb3dcore_tentity_no_collisions;
	BBINT* _openb3d_openb3dcore_tentity_pick_mode;
	BBINT* _openb3d_openb3dcore_tentity_obscurer;
	BBBYTE* _openb3d_openb3dcore_tentity_instance;
	BBINT _openb3d_openb3dcore_tentity_child_list_id;
	BBINT _openb3d_openb3dcore_tentity_exists;
	BBINT _openb3d_openb3dcore_tentity_is_anim;
};
extern struct BBClass_openb3d_openb3dcore_TParticleEmitter openb3d_openb3dcore_TParticleEmitter;
void _openb3d_openb3dcore_TPostFX_New(struct openb3d_openb3dcore_TPostFX_obj* o);
typedef struct openb3d_openb3dcore_TPostFX_obj* (*openb3d_openb3dcore_TPostFX_CreateObject_TTPostFX_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TPostFX_obj* openb3d_openb3dcore_TPostFX_CreateObject_TTPostFX_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dcore_TPostFX_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dcore_TPostFX_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dcore_TPostFX_obj* (*openb3d_openb3dcore_TPostFX_GetObject_TTPostFX_pb_f)(BBBYTE*);
struct openb3d_openb3dcore_TPostFX_obj* openb3d_openb3dcore_TPostFX_GetObject_TTPostFX_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dcore_TPostFX_GetInstance_pb_TTPostFX_f)(struct openb3d_openb3dcore_TPostFX_obj*);
BBBYTE* openb3d_openb3dcore_TPostFX_GetInstance_pb_TTPostFX(struct openb3d_openb3dcore_TPostFX_obj*);
typedef struct openb3d_openb3dcore_TPostFX_obj* (*openb3d_openb3dcore_TPostFX_CreatePostFX_TTPostFX_TTCamerai_f)(struct openb3d_openb3dcore_TCamera_obj*,BBINT);
struct openb3d_openb3dcore_TPostFX_obj* openb3d_openb3dcore_TPostFX_CreatePostFX_TTPostFX_TTCamerai(struct openb3d_openb3dcore_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dcore_TPostFX_AddRenderTarget_iiiif_m)(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBINT,BBINT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dcore_TPostFX_AddRenderTarget_iiiif(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBINT,BBINT,BBINT,BBFLOAT);
typedef BBINT (*openb3d_openb3dcore_TPostFX_PostFXShader_iTTShader_m)(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,struct openb3d_openb3dcore_TShader_obj*);
BBINT _openb3d_openb3dcore_TPostFX_PostFXShader_iTTShader(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,struct openb3d_openb3dcore_TShader_obj*);
typedef BBINT (*openb3d_openb3dcore_TPostFX_PostFXShaderPass_iSi_m)(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBSTRING,BBINT);
BBINT _openb3d_openb3dcore_TPostFX_PostFXShaderPass_iSi(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dcore_TPostFX_PostFXBuffer_iiii_m)(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TPostFX_PostFXBuffer_iiii(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TPostFX_PostFXTexture_iTTTextureii_m)(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dcore_TPostFX_PostFXTexture_iTTTextureii(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,struct openb3d_openb3dcore_TTexture_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dcore_TPostFX_PostFXFunction_iF_i__m)(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBINT(* bbt_PassFunction)());
BBINT _openb3d_openb3dcore_TPostFX_PostFXFunction_iF_i_(struct openb3d_openb3dcore_TPostFX_obj*,BBINT,BBINT(* bbt_PassFunction)());
struct BBClass_openb3d_openb3dcore_TPostFX {
	BBClass*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_openb3dcore_TPostFX_CreateObject_TTPostFX_pb_f f_CreateObject_TTPostFX_pb;
	openb3d_openb3dcore_TPostFX_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dcore_TPostFX_GetObject_TTPostFX_pb_f f_GetObject_TTPostFX_pb;
	openb3d_openb3dcore_TPostFX_GetInstance_pb_TTPostFX_f f_GetInstance_pb_TTPostFX;
	openb3d_openb3dcore_TPostFX_CreatePostFX_TTPostFX_TTCamerai_f f_CreatePostFX_TTPostFX_TTCamerai;
	openb3d_openb3dcore_TPostFX_AddRenderTarget_iiiif_m m_AddRenderTarget_iiiif;
	openb3d_openb3dcore_TPostFX_PostFXShader_iTTShader_m m_PostFXShader_iTTShader;
	openb3d_openb3dcore_TPostFX_PostFXShaderPass_iSi_m m_PostFXShaderPass_iSi;
	openb3d_openb3dcore_TPostFX_PostFXBuffer_iiii_m m_PostFXBuffer_iiii;
	openb3d_openb3dcore_TPostFX_PostFXTexture_iTTTextureii_m m_PostFXTexture_iTTTextureii;
	openb3d_openb3dcore_TPostFX_PostFXFunction_iF_i__m m_PostFXFunction_iF_i_;
};

struct openb3d_openb3dcore_TPostFX_obj {
	struct BBClass_openb3d_openb3dcore_TPostFX* clas;
	BBBYTE* _openb3d_openb3dcore_tpostfx_instance;
};
extern struct BBClass_openb3d_openb3dcore_TPostFX openb3d_openb3dcore_TPostFX;
extern struct brl_map_ptrmap_TPtrMap_obj* openb3d_openb3dcore_TPostFX_postfx_map;
BBINT openb3d_openb3dcore_BeginMax2D(BBINT bbt_version);
BBINT openb3d_openb3dcore_EndMax2D(BBINT bbt_version);
BBINT openb3d_openb3dcore_CopyList(struct brl_linkedlist_TList_obj* bbt_list);
BBINT openb3d_openb3dcore_CountMipmaps(struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
BBINT openb3d_openb3dcore_AddSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_anim_surf);
BBINT openb3d_openb3dcore_BoxFromPoints(BBFLOAT bbt_px1,BBFLOAT bbt_py1,BBFLOAT bbt_pz1,BBFLOAT bbt_px2,BBFLOAT bbt_py2,BBFLOAT bbt_pz2,BBFLOAT* bbt_bx1,BBFLOAT* bbt_by1,BBFLOAT* bbt_bz1,BBFLOAT* bbt_bx2,BBFLOAT* bbt_by2,BBFLOAT* bbt_bz2);
BBINT openb3d_openb3dcore_BoxFromTri(BBFLOAT bbt_tx1,BBFLOAT bbt_ty1,BBFLOAT bbt_tz1,BBFLOAT bbt_tx2,BBFLOAT bbt_ty2,BBFLOAT bbt_tz2,BBFLOAT bbt_tx3,BBFLOAT bbt_ty3,BBFLOAT bbt_tz3,BBFLOAT* bbt_bx1,BBFLOAT* bbt_by1,BBFLOAT* bbt_bz1,BBFLOAT* bbt_bx2,BBFLOAT* bbt_by2,BBFLOAT* bbt_bz2);
BBINT openb3d_openb3dcore_BoxBoxIntersection(BBFLOAT bbt_ax1,BBFLOAT bbt_ay1,BBFLOAT bbt_az1,BBFLOAT bbt_ax2,BBFLOAT bbt_ay2,BBFLOAT bbt_az2,BBFLOAT bbt_bx1,BBFLOAT bbt_by1,BBFLOAT bbt_bz1,BBFLOAT bbt_bx2,BBFLOAT bbt_by2,BBFLOAT bbt_bz2);
BBINT openb3d_openb3dcore_BoxSphereIntersection(BBFLOAT bbt_x1,BBFLOAT bbt_y1,BBFLOAT bbt_z1,BBFLOAT bbt_x2,BBFLOAT bbt_y2,BBFLOAT bbt_z2,BBFLOAT bbt_sx,BBFLOAT bbt_sy,BBFLOAT bbt_sz,BBFLOAT bbt_sr);
struct openb3d_openb3dcore_TMeshLoader_obj* openb3d_openb3dcore_GetMeshLoader(BBSTRING bbt_extension);
BBINT openb3d_openb3dcore_AddMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh1,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh2);
BBINT openb3d_openb3dcore_AddTriangle(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_v0,BBINT bbt_v1,BBINT bbt_v2);
BBINT openb3d_openb3dcore_AddVertex(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w);
BBINT openb3d_openb3dcore_AmbientLight(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dcore_Animate(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_Mode,BBFLOAT bbt_speed,BBINT bbt_seq,BBINT bbt_trans);
BBINT openb3d_openb3dcore_Animating(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_AnimLength(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_AnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBFLOAT openb3d_openb3dcore_AnimTime(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_AntiAlias(BBINT bbt_samples);
BBINT openb3d_openb3dcore_BrushAlpha(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_a);
BBINT openb3d_openb3dcore_BrushBlend(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_blend);
BBINT openb3d_openb3dcore_BrushColor(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dcore_BrushFX(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_fx);
BBINT openb3d_openb3dcore_BrushShininess(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_s);
BBINT openb3d_openb3dcore_BrushTexture(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_frame,BBINT bbt_index);
BBINT openb3d_openb3dcore_CameraClsColor(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dcore_CameraClsMode(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_cls_depth,BBINT bbt_cls_zbuffer);
BBINT openb3d_openb3dcore_CameraFogColor(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dcore_CameraFogMode(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_Mode);
BBINT openb3d_openb3dcore_CameraFogRange(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_CameraPick(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y);
BBINT openb3d_openb3dcore_CameraProject(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dcore_CameraProjMode(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_Mode);
BBINT openb3d_openb3dcore_CameraRange(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar);
BBINT openb3d_openb3dcore_CameraViewport(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_x,BBINT bbt_y,BBINT bbt_width,BBINT bbt_height);
BBINT openb3d_openb3dcore_CameraZoom(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_zoom);
BBINT openb3d_openb3dcore_ClearCollisions();
BBINT openb3d_openb3dcore_ClearSurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_clear_verts,BBINT bbt_clear_tris);
BBINT openb3d_openb3dcore_ClearTextureFilters();
BBINT openb3d_openb3dcore_ClearWorld(BBINT bbt_entities,BBINT bbt_brushes,BBINT bbt_textures);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_CollisionEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionNX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionNY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionNZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBINT openb3d_openb3dcore_Collisions(BBINT bbt_src_no,BBINT bbt_dest_no,BBINT bbt_method_no,BBINT bbt_response_no);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_CollisionSurface(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionTime(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBINT openb3d_openb3dcore_CollisionTriangle(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dcore_CollisionZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_CopyEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CopyMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_CountChildren(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_CountCollisions(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_CountSurfaces(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dcore_CountTriangles(struct openb3d_openb3dcore_TSurface_obj* bbt_surf);
BBINT openb3d_openb3dcore_CountVertices(struct openb3d_openb3dcore_TSurface_obj* bbt_surf);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_CreateBrush(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
struct openb3d_openb3dcore_TCamera_obj* openb3d_openb3dcore_CreateCamera(struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreateCone(BBINT bbt_segments,BBINT bbt_solid,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreateCylinder(BBINT bbt_segments,BBINT bbt_solid,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreateCube(struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreateMesh(struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TLight_obj* openb3d_openb3dcore_CreateLight(BBINT bbt_light_type,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dcore_CreatePivot(struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreateSphere(BBINT bbt_segments,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_CreateSprite(struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_CreateSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_CreateTexture(BBINT bbt_width,BBINT bbt_height,BBINT bbt_flags,BBINT bbt_frames);
BBFLOAT openb3d_openb3dcore_DeltaPitch(struct openb3d_openb3dcore_TEntity_obj* bbt_ent1,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2);
BBFLOAT openb3d_openb3dcore_DeltaYaw(struct openb3d_openb3dcore_TEntity_obj* bbt_ent1,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2);
BBINT openb3d_openb3dcore_EntityAlpha(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_alpha);
BBINT openb3d_openb3dcore_EntityBlend(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_blend);
BBINT openb3d_openb3dcore_EntityBox(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d);
BBSTRING openb3d_openb3dcore_EntityClass(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_EntityCollided(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_type_no);
BBINT openb3d_openb3dcore_EntityColor(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue,BBINT bbt_recursive);
BBFLOAT openb3d_openb3dcore_EntityDistance(struct openb3d_openb3dcore_TEntity_obj* bbt_ent1,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2);
BBINT openb3d_openb3dcore_EntityFX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_fx);
BBINT openb3d_openb3dcore_EntityInView(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TCamera_obj* bbt_cam);
BBSTRING openb3d_openb3dcore_EntityName(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_EntityOrder(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_order);
BBINT openb3d_openb3dcore_EntityParent(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_parent_ent,BBINT bbt_glob);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_EntityPick(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_Range);
BBINT openb3d_openb3dcore_EntityPickMode(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_pick_mode,BBINT bbt_obscurer);
BBFLOAT openb3d_openb3dcore_EntityPitch(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dcore_EntityRadius(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_radius_x,BBFLOAT bbt_radius_y);
BBFLOAT openb3d_openb3dcore_EntityRoll(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dcore_EntityShininess(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_shine);
BBINT openb3d_openb3dcore_EntityTexture(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_frame,BBINT bbt_index);
BBINT openb3d_openb3dcore_EntityType(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_type_no,BBINT bbt_recursive);
BBINT openb3d_openb3dcore_EntityVisible(struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent);
BBFLOAT openb3d_openb3dcore_EntityX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dcore_EntityY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dcore_EntityYaw(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dcore_EntityZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dcore_ExtractAnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_first_frame,BBINT bbt_last_frame,BBINT bbt_seq);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_FindChild(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBSTRING bbt_child_name);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_FindSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dcore_FitMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_width,BBFLOAT bbt_height,BBFLOAT bbt_depth,BBINT bbt_uniform);
BBINT openb3d_openb3dcore_FlipMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dcore_FreeBrush(struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dcore_FreeEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_FreeTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_GetBrushTexture(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_index);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_GetChild(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_child_no);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_GetEntityBrush(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_GetEntityType(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBFLOAT openb3d_openb3dcore_GetMatElement(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_row,BBINT bbt_col);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_GetParent(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_GetSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBINT bbt_surf_no);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_GetSurfaceBrush(struct openb3d_openb3dcore_TSurface_obj* bbt_surf);
BBINT openb3d_openb3dcore_HandleSprite(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_h_x,BBFLOAT bbt_h_y);
BBINT openb3d_openb3dcore_HideEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_LightColor(struct openb3d_openb3dcore_TLight_obj* bbt_light,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue);
BBINT openb3d_openb3dcore_LightConeAngles(struct openb3d_openb3dcore_TLight_obj* bbt_light,BBFLOAT bbt_inner_ang,BBFLOAT bbt_outer_ang);
BBINT openb3d_openb3dcore_LightRange(struct openb3d_openb3dcore_TLight_obj* bbt_light,BBFLOAT bbt_Range);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_LinePick(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_dx,BBFLOAT bbt_dy,BBFLOAT bbt_dz,BBFLOAT bbt_radius);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_LoadAnimTexture(BBSTRING bbt_file,BBINT bbt_flags,BBINT bbt_frame_width,BBINT bbt_frame_height,BBINT bbt_first_frame,BBINT bbt_frame_count,struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_LoadBrush(BBSTRING bbt_file,BBINT bbt_flags,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_LoadTexture(BBSTRING bbt_file,BBINT bbt_flags,struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_LoadSprite(BBSTRING bbt_tex_file,BBINT bbt_tex_flag,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBFLOAT openb3d_openb3dcore_MeshDepth(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh);
BBFLOAT openb3d_openb3dcore_MeshHeight(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh);
BBFLOAT openb3d_openb3dcore_MeshWidth(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dcore_MoveEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dcore_NameEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBSTRING bbt_name);
BBINT openb3d_openb3dcore_PaintEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dcore_PaintMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dcore_PaintSurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dcore_PickedEntity();
BBFLOAT openb3d_openb3dcore_PickedNX();
BBFLOAT openb3d_openb3dcore_PickedNY();
BBFLOAT openb3d_openb3dcore_PickedNZ();
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_PickedSurface();
BBFLOAT openb3d_openb3dcore_PickedTime();
BBINT openb3d_openb3dcore_PickedTriangle();
BBFLOAT openb3d_openb3dcore_PickedX();
BBFLOAT openb3d_openb3dcore_PickedY();
BBFLOAT openb3d_openb3dcore_PickedZ();
BBINT openb3d_openb3dcore_PointEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_target_ent,BBFLOAT bbt_roll);
BBINT openb3d_openb3dcore_PositionEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dcore_PositionMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_px,BBFLOAT bbt_py,BBFLOAT bbt_pz);
BBINT openb3d_openb3dcore_PositionTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_u_pos,BBFLOAT bbt_v_pos);
BBFLOAT openb3d_openb3dcore_ProjectedX();
BBFLOAT openb3d_openb3dcore_ProjectedY();
BBFLOAT openb3d_openb3dcore_ProjectedZ();
BBINT openb3d_openb3dcore_RenderWorld();
BBINT openb3d_openb3dcore_ResetEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_RotateEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dcore_RotateMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_pitch,BBFLOAT bbt_yaw,BBFLOAT bbt_roll);
BBINT openb3d_openb3dcore_RotateSprite(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_ang);
BBINT openb3d_openb3dcore_RotateTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_ang);
BBINT openb3d_openb3dcore_ScaleEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dcore_ScaleMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_sx,BBFLOAT bbt_sy,BBFLOAT bbt_sz);
BBINT openb3d_openb3dcore_ScaleSprite(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_s_x,BBFLOAT bbt_s_y);
BBINT openb3d_openb3dcore_ScaleTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale);
BBINT openb3d_openb3dcore_SetAnimTime(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_time,BBINT bbt_seq);
BBINT openb3d_openb3dcore_SetCubeFace(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_face);
BBINT openb3d_openb3dcore_SetCubeMode(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_Mode);
BBINT openb3d_openb3dcore_ShowEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dcore_SpriteViewMode(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBINT bbt_Mode);
BBINT openb3d_openb3dcore_TextureBlend(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_blend);
BBINT openb3d_openb3dcore_TextureCoords(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_coords);
BBINT openb3d_openb3dcore_TextureHeight(struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
BBINT openb3d_openb3dcore_TextureFilter(BBSTRING bbt_match_text,BBINT bbt_flags);
BBSTRING openb3d_openb3dcore_TextureName(struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
BBINT openb3d_openb3dcore_TextureWidth(struct openb3d_openb3dcore_TTexture_obj* bbt_tex);
BBFLOAT openb3d_openb3dcore_TFormedX();
BBFLOAT openb3d_openb3dcore_TFormedY();
BBFLOAT openb3d_openb3dcore_TFormedZ();
BBINT openb3d_openb3dcore_TFormNormal(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent);
BBINT openb3d_openb3dcore_TFormPoint(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent);
BBINT openb3d_openb3dcore_TFormVector(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent);
BBINT openb3d_openb3dcore_TranslateEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dcore_TriangleVertex(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_tri_no,BBINT bbt_corner);
BBINT openb3d_openb3dcore_TurnEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dcore_UpdateNormals(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dcore_UpdateWorld(BBFLOAT bbt_anim_speed);
BBFLOAT openb3d_openb3dcore_VectorPitch(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz);
BBFLOAT openb3d_openb3dcore_VectorYaw(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz);
BBFLOAT openb3d_openb3dcore_VertexAlpha(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dcore_VertexBlue(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dcore_VertexColor(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
BBINT openb3d_openb3dcore_VertexCoords(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBFLOAT openb3d_openb3dcore_VertexGreen(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dcore_VertexNormal(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_nx,BBFLOAT bbt_ny,BBFLOAT bbt_nz);
BBFLOAT openb3d_openb3dcore_VertexNX(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dcore_VertexNY(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dcore_VertexNZ(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dcore_VertexRed(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dcore_VertexTexCoords(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dcore_VertexU(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dcore_VertexV(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dcore_VertexW(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dcore_VertexX(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dcore_VertexY(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dcore_VertexZ(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dcore_Wireframe(BBINT bbt_enable);
BBINT openb3d_openb3dcore_AddAnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_length);
BBINT openb3d_openb3dcore_AlignToVector(struct openb3d_openb3dcore_TEntity_obj* bbt_entity,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_axis,BBINT bbt_rate);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreatePlane(BBINT bbt_divisions,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dcore_CreateTerrain(BBINT bbt_size,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_LoadAnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBSTRING bbt_file);
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dcore_LoadTerrain(BBSTRING bbt_file,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_MeshesIntersect(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh1,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh2);
BBINT openb3d_openb3dcore_ModifyTerrain(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height);
BBINT openb3d_openb3dcore_SetAnimKey(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_frame,BBINT bbt_pos_key,BBINT bbt_rot_key,BBINT bbt_scale_key);
BBFLOAT openb3d_openb3dcore_TerrainHeight(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBINT bbt_x,BBINT bbt_z);
BBFLOAT openb3d_openb3dcore_TerrainX(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBFLOAT openb3d_openb3dcore_TerrainY(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBFLOAT openb3d_openb3dcore_TerrainZ(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dcore_ManualCollision(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2,BBINT bbt_col_method,BBINT bbt_col_response);
BBINT openb3d_openb3dcore_CheckFramebufferStatus(BBINT bbt_target);
BBINT openb3d_openb3dcore_TerrainCountTriangles(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr);
BBINT openb3d_openb3dcore_TerrainCountVertices(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr);
BBINT openb3d_openb3dcore_TerrainScaleTexCoords(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale,BBINT bbt_coords_set);
BBINT openb3d_openb3dcore_TerrainDetail(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_detail_level);
BBINT openb3d_openb3dcore_MSAntiAlias(BBINT bbt_multisample);
BBINT openb3d_openb3dcore_GlobalResolution(BBINT bbt_width,BBINT bbt_height);
BBINT openb3d_openb3dcore_GlobalWidth();
BBINT openb3d_openb3dcore_GlobalHeight();
BBSTRING openb3d_openb3dcore_StringPtr(BBBYTE* bbt_inst);
BBINT openb3d_openb3dcore_AlphaDiscard(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_alpha);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_LoadMD2(BBOBJECT bbt_url,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_LoadAnimMesh(BBOBJECT bbt_url,struct openb3d_openb3dcore_TEntity_obj* bbt_parent,BBINT bbt_flags);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_LoadMesh(BBOBJECT bbt_url,struct openb3d_openb3dcore_TEntity_obj* bbt_parent,BBINT bbt_flags);
BBINT openb3d_openb3dcore_UseLibraryMeshes(BBINT bbt_flag);
BBINT openb3d_openb3dcore_UseAssimpStreamMeshes(BBINT bbt_flag,BBINT bbt_meshflags);
BBINT openb3d_openb3dcore_UseMeshDebugLog(BBINT bbt_flag);
BBINT openb3d_openb3dcore_UseMeshTransform(BBINT bbt_flag);
BBINT openb3d_openb3dcore_UseMatrix3DS(BBFLOAT bbt_xx,BBFLOAT bbt_xy,BBFLOAT bbt_xz,BBFLOAT bbt_yx,BBFLOAT bbt_yy,BBFLOAT bbt_yz,BBFLOAT bbt_zx,BBFLOAT bbt_zy,BBFLOAT bbt_zz);
BBINT openb3d_openb3dcore_UseMatrixMD2(BBFLOAT bbt_xx,BBFLOAT bbt_xy,BBFLOAT bbt_xz,BBFLOAT bbt_yx,BBFLOAT bbt_yy,BBFLOAT bbt_yz,BBFLOAT bbt_zx,BBFLOAT bbt_zy,BBFLOAT bbt_zz);
BBINT openb3d_openb3dcore_UseLibraryTextures(BBINT bbt_flag);
BBINT openb3d_openb3dcore_UseTextureFrames(BBINT bbt_lf0,BBINT bbt_fr1,BBINT bbt_rt2,BBINT bbt_bk3,BBINT bbt_dn4,BBINT bbt_up5);
BBINT openb3d_openb3dcore_UseTextureFaces(BBINT bbt_lf0,BBINT bbt_fr1,BBINT bbt_rt2,BBINT bbt_bk3,BBINT bbt_dn4,BBINT bbt_up5);
BBINT openb3d_openb3dcore_UseCubemapFlip(BBINT bbt_flag);
BBINT openb3d_openb3dcore_UseMeshTextureFlags(BBINT bbt_texflags);
BBINT openb3d_openb3dcore_FreeBrushTextures(struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dcore_PositionAnimMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_px,BBFLOAT bbt_py,BBFLOAT bbt_pz);
BBINT openb3d_openb3dcore_RotateAnimMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_rx,BBFLOAT bbt_ry,BBFLOAT bbt_rz);
BBINT openb3d_openb3dcore_ScaleAnimMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_sx,BBFLOAT bbt_sy,BBFLOAT bbt_sz);
BBINT openb3d_openb3dcore_CopyRect(BBINT bbt_srcX,BBINT bbt_srcY,BBINT bbt_srcW,BBINT bbt_srcH,BBINT bbt_dstW,BBINT bbt_dstH,BBBYTE* bbt_src,BBBYTE* bbt_dst,BBINT bbt_bPP,BBINT bbt_invert);
BBSTRING openb3d_openb3dcore_GetString(BBOBJECT bbt_obj,BBBYTE* bbt_strPtr);
BBSTRING openb3d_openb3dcore_SetString(BBOBJECT bbt_obj,BBBYTE* bbt_strPtr,BBSTRING bbt_strValue);
BBINT openb3d_openb3dcore_GlobalAnIsotropic(BBFLOAT bbt_f);
BBINT openb3d_openb3dcore_TextureAnIsotropic(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_f);
BBINT openb3d_openb3dcore_TextureMultitex(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_f);
BBINT openb3d_openb3dcore_TrisRendered();
BBINT openb3d_openb3dcore_VertsRendered();
BBINT openb3d_openb3dcore_SurfsRendered();
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dcore_NewSprite();
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_NewTexture();
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_NewMesh();
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_NewSurface();
struct openb3d_openb3dcore_TBone_obj* openb3d_openb3dcore_NewBone();
struct openb3d_openb3dcore_TAnimationKeys_obj* openb3d_openb3dcore_NewAnimationKeys(struct openb3d_openb3dcore_TBone_obj* bbt_bone);
struct openb3d_openb3dcore_TMatPtr_obj* openb3d_openb3dcore_NewMatPtr();
struct openb3d_openb3dcore_TQuatPtr_obj* openb3d_openb3dcore_NewQuatPtr();
struct openb3d_openb3dcore_TVecPtr_obj* openb3d_openb3dcore_NewVecPtr();
BBINT openb3d_openb3dcore_BrushGLColor(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
BBINT openb3d_openb3dcore_BrushGLBlendFunc(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_sfactor,BBINT bbt_dfactor);
BBINT openb3d_openb3dcore_TextureGLTexEnvi(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_target,BBINT bbt_pname,BBINT bbt_param);
BBINT openb3d_openb3dcore_TextureGLTexEnvf(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_target,BBINT bbt_pname,BBFLOAT bbt_param);
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dcore_CopyBrush(struct openb3d_openb3dcore_TBrush_obj* bbt_brush);
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dcore_CopySurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_CopyTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_flags);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_CreateShaderMaterial(BBSTRING bbt_ShaderName);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_CreateFragShader(struct openb3d_openb3dcore_TShader_obj* bbt_shader,BBSTRING bbt_shaderFileName);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_CreateFragShaderString(struct openb3d_openb3dcore_TShader_obj* bbt_shader,BBSTRING bbt_shadercode);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_CreateVertShader(struct openb3d_openb3dcore_TShader_obj* bbt_shader,BBSTRING bbt_shaderFileName);
struct openb3d_openb3dcore_TShaderObject_obj* openb3d_openb3dcore_CreateVertShaderString(struct openb3d_openb3dcore_TShader_obj* bbt_shader,BBSTRING bbt_shadercode);
BBINT openb3d_openb3dcore_LinkShader(struct openb3d_openb3dcore_TShader_obj* bbt_shader);
BBINT openb3d_openb3dcore_AttachFragShader(struct openb3d_openb3dcore_TShader_obj* bbt_shader,struct openb3d_openb3dcore_TShaderObject_obj* bbt_myShader);
BBINT openb3d_openb3dcore_AttachVertShader(struct openb3d_openb3dcore_TShader_obj* bbt_shader,struct openb3d_openb3dcore_TShaderObject_obj* bbt_myShader);
BBINT openb3d_openb3dcore_DeleteFragShader(struct openb3d_openb3dcore_TShaderObject_obj* bbt_myShader);
BBINT openb3d_openb3dcore_DeleteVertShader(struct openb3d_openb3dcore_TShaderObject_obj* bbt_myShader);
BBINT openb3d_openb3dcore_FreeShader(struct openb3d_openb3dcore_TShader_obj* bbt_shader);
BBINT openb3d_openb3dcore_FreeStencil(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil);
BBINT openb3d_openb3dcore_FreeSurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf);
BBINT openb3d_openb3dcore_TextureFlags(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_flags);
BBINT openb3d_openb3dcore_LightMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue,BBFLOAT bbt_range,BBFLOAT bbt_light_x,BBFLOAT bbt_light_y,BBFLOAT bbt_light_z);
BBINT openb3d_openb3dcore_BackBufferToTex(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_mipmap_no,BBINT bbt_frame,BBINT bbt_fastinvert);
BBINT openb3d_openb3dcore_MeshCullRadius(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_radius);
BBFLOAT openb3d_openb3dcore_EntityScaleX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dcore_EntityScaleY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dcore_EntityScaleZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dcore_BufferToTex(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBBYTE* bbt_buffer,BBINT bbt_frame);
BBINT openb3d_openb3dcore_CameraToTex(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_frame);
struct openb3d_openb3dcore_TBone_obj* openb3d_openb3dcore_CreateBone(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TEntity_obj* bbt_parent_ent);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_CreateQuad(struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_DepthBufferToTex(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,struct openb3d_openb3dcore_TCamera_obj* bbt_cam);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_MeshCSG(struct openb3d_openb3dcore_TMesh_obj* bbt_m1,struct openb3d_openb3dcore_TMesh_obj* bbt_m2,BBINT bbt_method_no);
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dcore_RepeatMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_SkinMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBINT bbt_surf_no_get,BBINT bbt_vid,BBINT bbt_bone1,BBFLOAT bbt_weight1,BBINT bbt_bone2,BBFLOAT bbt_weight2,BBINT bbt_bone3,BBFLOAT bbt_weight3,BBINT bbt_bone4,BBFLOAT bbt_weight4);
BBINT openb3d_openb3dcore_SpriteRenderMode(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBINT bbt_Mode);
BBINT openb3d_openb3dcore_TexToBuffer(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBBYTE* bbt_buffer,BBINT bbt_frame);
BBINT openb3d_openb3dcore_UpdateTexCoords(struct openb3d_openb3dcore_TSurface_obj* bbt_surf);
BBFLOAT* openb3d_openb3dcore_CameraProjMatrix(struct openb3d_openb3dcore_TCamera_obj* bbt_cam);
BBFLOAT* openb3d_openb3dcore_EntityMatrix(struct openb3d_openb3dcore_TEntity_obj* bbt_ent);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActMoveBy(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActTurnBy(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActVector(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActMoveTo(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActTurnTo(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActScaleTo(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActFadeTo(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActTintTo(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActTrackByPoint(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_target,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActTrackByDistance(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_target,BBFLOAT bbt_a,BBFLOAT bbt_rate);
struct openb3d_openb3dcore_TAction_obj* openb3d_openb3dcore_ActNewtonian(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_rate);
BBINT openb3d_openb3dcore_AppendAction(struct openb3d_openb3dcore_TAction_obj* bbt_act1,struct openb3d_openb3dcore_TAction_obj* bbt_act2);
BBINT openb3d_openb3dcore_FreeAction(struct openb3d_openb3dcore_TAction_obj* bbt_act);
BBINT openb3d_openb3dcore_EndAction(struct openb3d_openb3dcore_TAction_obj* bbt_act);
struct openb3d_openb3dcore_TConstraint_obj* openb3d_openb3dcore_CreateConstraint(struct openb3d_openb3dcore_TEntity_obj* bbt_p1,struct openb3d_openb3dcore_TEntity_obj* bbt_p2,BBFLOAT bbt_l);
struct openb3d_openb3dcore_TRigidBody_obj* openb3d_openb3dcore_CreateRigidBody(struct openb3d_openb3dcore_TEntity_obj* bbt_body,struct openb3d_openb3dcore_TEntity_obj* bbt_p1,struct openb3d_openb3dcore_TEntity_obj* bbt_p2,struct openb3d_openb3dcore_TEntity_obj* bbt_p3,struct openb3d_openb3dcore_TEntity_obj* bbt_p4);
struct openb3d_openb3dcore_TBlob_obj* openb3d_openb3dcore_CreateBlob(struct openb3d_openb3dcore_TFluid_obj* bbt_fluid,BBFLOAT bbt_radius,struct openb3d_openb3dcore_TEntity_obj* bbt_parent_ent);
struct openb3d_openb3dcore_TFluid_obj* openb3d_openb3dcore_CreateFluid();
BBINT openb3d_openb3dcore_FluidArray(struct openb3d_openb3dcore_TFluid_obj* bbt_fluid,BBFLOAT* bbt_Array,BBINT bbt_w,BBINT bbt_h,BBINT bbt_d);
BBINT openb3d_openb3dcore_FluidFunction(struct openb3d_openb3dcore_TFluid_obj* bbt_fluid,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
BBINT openb3d_openb3dcore_FluidThreshold(struct openb3d_openb3dcore_TFluid_obj* bbt_fluid,BBFLOAT bbt_threshold);
struct openb3d_openb3dcore_TGeosphere_obj* openb3d_openb3dcore_CreateGeosphere(BBINT bbt_size,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_GeosphereHeight(struct openb3d_openb3dcore_TGeosphere_obj* bbt_geo,BBFLOAT bbt_h);
struct openb3d_openb3dcore_TGeosphere_obj* openb3d_openb3dcore_LoadGeosphere(BBSTRING bbt_file,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_ModifyGeosphere(struct openb3d_openb3dcore_TGeosphere_obj* bbt_geo,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height);
struct openb3d_openb3dcore_TOcTree_obj* openb3d_openb3dcore_CreateOcTree(BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d,struct openb3d_openb3dcore_TEntity_obj* bbt_parent_ent);
BBINT openb3d_openb3dcore_OctreeBlock(struct openb3d_openb3dcore_TOcTree_obj* bbt_octree,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBINT bbt_level,BBFLOAT bbt_X,BBFLOAT bbt_Y,BBFLOAT bbt_Z,BBFLOAT bbt_Near,BBFLOAT bbt_Far);
BBINT openb3d_openb3dcore_OctreeMesh(struct openb3d_openb3dcore_TOcTree_obj* bbt_octree,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBINT bbt_level,BBFLOAT bbt_X,BBFLOAT bbt_Y,BBFLOAT bbt_Z,BBFLOAT bbt_Near,BBFLOAT bbt_Far);
struct openb3d_openb3dcore_TParticleEmitter_obj* openb3d_openb3dcore_CreateParticleEmitter(struct openb3d_openb3dcore_TEntity_obj* bbt_particle,struct openb3d_openb3dcore_TEntity_obj* bbt_parent_ent);
BBINT openb3d_openb3dcore_EmitterVector(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_startx,BBFLOAT bbt_starty,BBFLOAT bbt_startz,BBFLOAT bbt_endx,BBFLOAT bbt_endy,BBFLOAT bbt_endz);
BBINT openb3d_openb3dcore_EmitterRate(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_r);
BBINT openb3d_openb3dcore_EmitterParticleLife(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBINT bbt_startl,BBINT bbt_endl,BBINT bbt_randl);
BBINT openb3d_openb3dcore_EmitterParticleFunction(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
BBINT openb3d_openb3dcore_EmitterParticleSpeed(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_starts,BBFLOAT bbt_ends);
BBINT openb3d_openb3dcore_EmitterVariance(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_v);
BBINT openb3d_openb3dcore_EmitterParticleAlpha(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_starta,BBFLOAT bbt_enda,BBFLOAT bbt_mida,BBINT bbt_midlife);
BBINT openb3d_openb3dcore_EmitterParticleScale(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_startx,BBFLOAT bbt_starty,BBFLOAT bbt_endx,BBFLOAT bbt_endy,BBFLOAT bbt_midsx,BBFLOAT bbt_midsy,BBINT bbt_midlife);
BBINT openb3d_openb3dcore_EmitterParticleColor(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_startr,BBFLOAT bbt_startg,BBFLOAT bbt_startb,BBFLOAT bbt_endr,BBFLOAT bbt_endg,BBFLOAT bbt_endb,BBFLOAT bbt_midr,BBFLOAT bbt_midg,BBFLOAT bbt_midb,BBINT bbt_midlife);
BBINT openb3d_openb3dcore_EmitterParticleRotate(struct openb3d_openb3dcore_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_startr,BBFLOAT bbt_endr,BBFLOAT bbt_midr,BBINT bbt_midlife);
BBINT openb3d_openb3dcore_ParticleColor(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
BBINT openb3d_openb3dcore_ParticleVector(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dcore_ParticleTrail(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBINT bbt_length);
struct openb3d_openb3dcore_TPostFX_obj* openb3d_openb3dcore_CreatePostFX(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_passes);
BBINT openb3d_openb3dcore_AddRenderTarget(struct openb3d_openb3dcore_TPostFX_obj* bbt_fx,BBINT bbt_pass_no,BBINT bbt_numColBufs,BBINT bbt_depth,BBINT bbt_format,BBFLOAT bbt_scale);
BBINT openb3d_openb3dcore_PostFXShader(struct openb3d_openb3dcore_TPostFX_obj* bbt_fx,BBINT bbt_pass_no,struct openb3d_openb3dcore_TShader_obj* bbt_shader);
BBINT openb3d_openb3dcore_PostFXShaderPass(struct openb3d_openb3dcore_TPostFX_obj* bbt_fx,BBINT bbt_pass_no,BBSTRING bbt_name,BBINT bbt_v);
BBINT openb3d_openb3dcore_PostFXBuffer(struct openb3d_openb3dcore_TPostFX_obj* bbt_fx,BBINT bbt_pass_no,BBINT bbt_source_pass,BBINT bbt_index,BBINT bbt_slot);
BBINT openb3d_openb3dcore_PostFXTexture(struct openb3d_openb3dcore_TPostFX_obj* bbt_fx,BBINT bbt_pass_no,struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_slot,BBINT bbt_frame);
BBINT openb3d_openb3dcore_PostFXFunction(struct openb3d_openb3dcore_TPostFX_obj* bbt_fx,BBINT bbt_pass_no,BBINT(* bbt_PassFunction)());
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_LoadShader(BBSTRING bbt_ShaderName,BBSTRING bbt_VshaderFileName,BBSTRING bbt_FshaderFileName);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_CreateShader(BBSTRING bbt_ShaderName,BBSTRING bbt_VshaderString,BBSTRING bbt_FshaderString);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_LoadShaderVGF(BBSTRING bbt_ShaderName,BBSTRING bbt_VshaderFileName,BBSTRING bbt_GshaderFileName,BBSTRING bbt_FshaderFileName);
struct openb3d_openb3dcore_TShader_obj* openb3d_openb3dcore_CreateShaderVGF(BBSTRING bbt_ShaderName,BBSTRING bbt_VshaderString,BBSTRING bbt_GshaderString,BBSTRING bbt_FshaderString);
BBINT openb3d_openb3dcore_ShadeSurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,struct openb3d_openb3dcore_TShader_obj* bbt_material);
BBINT openb3d_openb3dcore_ShadeMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TShader_obj* bbt_material);
BBINT openb3d_openb3dcore_ShadeEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TShader_obj* bbt_material);
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dcore_ShaderTexture(struct openb3d_openb3dcore_TShader_obj* bbt_material,struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBSTRING bbt_name,BBINT bbt_index);
BBINT openb3d_openb3dcore_SetFloat(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1);
BBINT openb3d_openb3dcore_SetFloat2(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2);
BBINT openb3d_openb3dcore_SetFloat3(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2,BBFLOAT bbt_v3);
BBINT openb3d_openb3dcore_SetFloat4(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2,BBFLOAT bbt_v3,BBFLOAT bbt_v4);
BBINT openb3d_openb3dcore_UseFloat(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1);
BBINT openb3d_openb3dcore_UseFloat2(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2);
BBINT openb3d_openb3dcore_UseFloat3(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2,BBFLOAT* bbt_v3);
BBINT openb3d_openb3dcore_UseFloat4(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2,BBFLOAT* bbt_v3,BBFLOAT* bbt_v4);
BBINT openb3d_openb3dcore_SetInteger(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1);
BBINT openb3d_openb3dcore_SetInteger2(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1,BBINT bbt_v2);
BBINT openb3d_openb3dcore_SetInteger3(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1,BBINT bbt_v2,BBINT bbt_v3);
BBINT openb3d_openb3dcore_SetInteger4(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1,BBINT bbt_v2,BBINT bbt_v3,BBINT bbt_v4);
BBINT openb3d_openb3dcore_UseInteger(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1);
BBINT openb3d_openb3dcore_UseInteger2(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1,BBINT* bbt_v2);
BBINT openb3d_openb3dcore_UseInteger3(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1,BBINT* bbt_v2,BBINT* bbt_v3);
BBINT openb3d_openb3dcore_UseInteger4(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1,BBINT* bbt_v2,BBINT* bbt_v3,BBINT* bbt_v4);
BBINT openb3d_openb3dcore_UseSurface(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vbo);
BBINT openb3d_openb3dcore_UseMatrix(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_Mode);
struct openb3d_openb3dcore_TMaterial_obj* openb3d_openb3dcore_LoadMaterial(BBSTRING bbt_filename,BBINT bbt_flags,BBINT bbt_frame_width,BBINT bbt_frame_height,BBINT bbt_first_frame,BBINT bbt_frame_count);
BBINT openb3d_openb3dcore_ShaderMaterial(struct openb3d_openb3dcore_TShader_obj* bbt_material,struct openb3d_openb3dcore_TMaterial_obj* bbt_tex,BBSTRING bbt_name,BBINT bbt_index);
BBINT openb3d_openb3dcore_AmbientShader(struct openb3d_openb3dcore_TShader_obj* bbt_material);
BBINT openb3d_openb3dcore_UseEntity(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBSTRING bbt_name,struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_mode);
BBINT openb3d_openb3dcore_ShaderFunction(struct openb3d_openb3dcore_TShader_obj* bbt_material,BBINT(* bbt_EnableFunction)(),BBINT(* bbt_DisableFunction)());
BBINT openb3d_openb3dcore_GetShaderProgram(struct openb3d_openb3dcore_TShader_obj* bbt_material);
struct openb3d_openb3dcore_TShadowObject_obj* openb3d_openb3dcore_CreateShadow(struct openb3d_openb3dcore_TMesh_obj* bbt_parent,BBINT bbt_Static);
BBINT openb3d_openb3dcore_FreeShadow(struct openb3d_openb3dcore_TShadowObject_obj* bbt_shad);
BBINT openb3d_openb3dcore_ResetShadow(struct openb3d_openb3dcore_TShadowObject_obj* bbt_shad);
BBINT openb3d_openb3dcore_SetShadowColor(BBINT bbt_R,BBINT bbt_G,BBINT bbt_B,BBINT bbt_A);
struct openb3d_openb3dcore_TStencil_obj* openb3d_openb3dcore_CreateStencil();
BBINT openb3d_openb3dcore_StencilAlpha(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil,BBFLOAT bbt_a);
BBINT openb3d_openb3dcore_StencilClsColor(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dcore_StencilClsMode(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil,BBINT bbt_cls_color,BBINT bbt_cls_zbuffer);
BBINT openb3d_openb3dcore_StencilMesh(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBINT bbt_Mode);
BBINT openb3d_openb3dcore_StencilMode(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil,BBINT bbt_m,BBINT bbt_o);
BBINT openb3d_openb3dcore_UseStencil(struct openb3d_openb3dcore_TStencil_obj* bbt_stencil);
struct openb3d_openb3dcore_TVoxelSprite_obj* openb3d_openb3dcore_CreateVoxelSprite(BBINT bbt_slices,struct openb3d_openb3dcore_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dcore_VoxelSpriteMaterial(struct openb3d_openb3dcore_TVoxelSprite_obj* bbt_voxelspr,struct openb3d_openb3dcore_TMaterial_obj* bbt_mat);

#endif
