#ifndef OPENB3D_OPENB3DEX_OPENB3DEX_BMX_DEBUG_WIN32_X86_H
#define OPENB3D_OPENB3DEX_OPENB3DEX_BMX_DEBUG_WIN32_X86_H

#include <brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x86.h>
#include <openb3d.mod/openb3dlib.mod/.bmx/openb3dlib.bmx.debug.win32.x86.h>
#include <brl.mod/glmax2d.mod/.bmx/glmax2d.bmx.debug.win32.x86.h>
#include <brl.mod/bmploader.mod/.bmx/bmploader.bmx.debug.win32.x86.h>
#include <brl.mod/pngloader.mod/.bmx/pngloader.bmx.debug.win32.x86.h>
#include <brl.mod/jpgloader.mod/.bmx/jpgloader.bmx.debug.win32.x86.h>
#include <brl.mod/retro.mod/.bmx/retro.bmx.debug.win32.x86.h>
#include <brl.mod/map.mod/.bmx/map.bmx.debug.win32.x86.h>
int __bb_openb3d_openb3dex_openb3dex();
struct openb3d_openb3dex_TGlobal_obj;
struct openb3d_openb3dex_TEntity_obj;
struct openb3d_openb3dex_TCamera_obj;
struct openb3d_openb3dex_TLight_obj;
struct openb3d_openb3dex_TPivot_obj;
struct openb3d_openb3dex_TMesh_obj;
struct openb3d_openb3dex_TSprite_obj;
struct openb3d_openb3dex_TBone_obj;
struct openb3d_openb3dex_TSurface_obj;
struct openb3d_openb3dex_TTexture_obj;
struct openb3d_openb3dex_TTextureFilter_obj;
struct openb3d_openb3dex_TBrush_obj;
struct openb3d_openb3dex_TAnimation_obj;
struct openb3d_openb3dex_TAnimationKeys_obj;
struct openb3d_openb3dex_TPick_obj;
struct openb3d_openb3dex_TVector_obj;
struct openb3d_openb3dex_TMatrix_obj;
struct openb3d_openb3dex_TQuaternion_obj;
struct openb3d_openb3dex_TBlitz2D_obj;
struct openb3d_openb3dex_TUtility_obj;
struct openb3d_openb3dex_TDebug_obj;
struct openb3d_openb3dex_TTerrain_obj;
struct openb3d_openb3dex_TMaterial_obj;
struct openb3d_openb3dex_TShader_obj;
struct openb3d_openb3dex_TShadowObject_obj;
struct openb3d_openb3dex_THardwareInfo_obj;
struct openb3d_openb3dex_TGLShader_obj;
struct openb3d_openb3dex_TStencil_obj;
struct openb3d_openb3dex_TFluid_obj;
struct openb3d_openb3dex_TBlob_obj;
struct openb3d_openb3dex_TGeosphere_obj;
struct openb3d_openb3dex_TOcTree_obj;
struct openb3d_openb3dex_TVoxelSprite_obj;
struct openb3d_openb3dex_TAction_obj;
struct openb3d_openb3dex_TConstraint_obj;
struct openb3d_openb3dex_TRigidBody_obj;
struct openb3d_openb3dex_TParticleBatch_obj;
struct openb3d_openb3dex_TParticleEmitter_obj;
void _openb3d_openb3dex_TGlobal_New(struct openb3d_openb3dex_TGlobal_obj* o);
typedef BBINT (*openb3d_openb3dex_TGlobal_InitGlobals_i_f)();
BBINT openb3d_openb3dex_TGlobal_InitGlobals_i();
typedef BBINT (*openb3d_openb3dex_TGlobal_CopyList_i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TGlobal_CopyList_i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TGlobal_ListPushBack_i_TTListTObjectTTEntity_f)(struct brl_linkedlist_TList_obj*,BBOBJECT,struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TGlobal_ListPushBack_i_TTListTObjectTTEntity(struct brl_linkedlist_TList_obj*,BBOBJECT,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TGlobal_Graphics3D_i_iiiiiii_f)(BBINT,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
BBINT openb3d_openb3dex_TGlobal_Graphics3D_i_iiiiiii(BBINT,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TGlobal_GraphicsInit_i_f)();
BBINT openb3d_openb3dex_TGlobal_GraphicsInit_i();
typedef BBINT (*openb3d_openb3dex_TGlobal_EnableStates_i_f)();
BBINT openb3d_openb3dex_TGlobal_EnableStates_i();
typedef BBINT (*openb3d_openb3dex_TGlobal_Wireframe_i_i_f)(BBINT);
BBINT openb3d_openb3dex_TGlobal_Wireframe_i_i(BBINT);
typedef BBINT (*openb3d_openb3dex_TGlobal_AmbientLight_i_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBINT openb3d_openb3dex_TGlobal_AmbientLight_i_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGlobal_ClearCollisions_i_f)();
BBINT openb3d_openb3dex_TGlobal_ClearCollisions_i();
typedef BBINT (*openb3d_openb3dex_TGlobal_Collisions_i_iiii_f)(BBINT,BBINT,BBINT,BBINT);
BBINT openb3d_openb3dex_TGlobal_Collisions_i_iiii(BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TGlobal_ClearWorld_i_iii_f)(BBINT,BBINT,BBINT);
BBINT openb3d_openb3dex_TGlobal_ClearWorld_i_iii(BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TGlobal_UpdateWorld_i_f_f)(BBFLOAT);
BBINT openb3d_openb3dex_TGlobal_UpdateWorld_i_f(BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGlobal_RenderWorld_i_f)();
BBINT openb3d_openb3dex_TGlobal_RenderWorld_i();
typedef BBINT (*openb3d_openb3dex_TGlobal_RenderCamera_i_TTCamera_f)(struct openb3d_openb3dex_TCamera_obj*);
BBINT openb3d_openb3dex_TGlobal_RenderCamera_i_TTCamera(struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TGlobal_UpdateEntityAnim_i_TTMesh_f)(struct openb3d_openb3dex_TMesh_obj*);
BBINT openb3d_openb3dex_TGlobal_UpdateEntityAnim_i_TTMesh(struct openb3d_openb3dex_TMesh_obj*);
struct BBClass_openb3d_openb3dex_TGlobal {
	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;
	openb3d_openb3dex_TGlobal_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TGlobal_CopyList_i_TTList_f f_CopyList_i_TTList;
	openb3d_openb3dex_TGlobal_ListPushBack_i_TTListTObjectTTEntity_f f_ListPushBack_i_TTListTObjectTTEntity;
	openb3d_openb3dex_TGlobal_Graphics3D_i_iiiiiii_f f_Graphics3D_i_iiiiiii;
	openb3d_openb3dex_TGlobal_GraphicsInit_i_f f_GraphicsInit_i;
	openb3d_openb3dex_TGlobal_EnableStates_i_f f_EnableStates_i;
	openb3d_openb3dex_TGlobal_Wireframe_i_i_f f_Wireframe_i_i;
	openb3d_openb3dex_TGlobal_AmbientLight_i_fff_f f_AmbientLight_i_fff;
	openb3d_openb3dex_TGlobal_ClearCollisions_i_f f_ClearCollisions_i;
	openb3d_openb3dex_TGlobal_Collisions_i_iiii_f f_Collisions_i_iiii;
	openb3d_openb3dex_TGlobal_ClearWorld_i_iii_f f_ClearWorld_i_iii;
	openb3d_openb3dex_TGlobal_UpdateWorld_i_f_f f_UpdateWorld_i_f;
	openb3d_openb3dex_TGlobal_RenderWorld_i_f f_RenderWorld_i;
	openb3d_openb3dex_TGlobal_RenderCamera_i_TTCamera_f f_RenderCamera_i_TTCamera;
	openb3d_openb3dex_TGlobal_UpdateEntityAnim_i_TTMesh_f f_UpdateEntityAnim_i_TTMesh;
};

struct openb3d_openb3dex_TGlobal_obj {
	struct BBClass_openb3d_openb3dex_TGlobal* clas;
};
extern struct BBClass_openb3d_openb3dex_TGlobal openb3d_openb3dex_TGlobal;
extern BBINT* openb3d_openb3dex_TGlobal_width;
extern BBINT* openb3d_openb3dex_TGlobal_height;
extern BBINT* openb3d_openb3dex_TGlobal_Mode;
extern BBINT* openb3d_openb3dex_TGlobal_depth;
extern BBINT* openb3d_openb3dex_TGlobal_rate;
extern BBFLOAT* openb3d_openb3dex_TGlobal_ambient_red;
extern BBFLOAT* openb3d_openb3dex_TGlobal_ambient_green;
extern BBFLOAT* openb3d_openb3dex_TGlobal_ambient_blue;
extern struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_TGlobal_ambient_shader;
extern BBINT* openb3d_openb3dex_TGlobal_vbo_enabled;
extern BBINT* openb3d_openb3dex_TGlobal_vbo_min_tris;
extern BBINT* openb3d_openb3dex_TGlobal_Shadows_enabled;
extern BBFLOAT* openb3d_openb3dex_TGlobal_anim_speed;
extern BBINT* openb3d_openb3dex_TGlobal_fog_enabled;
extern struct openb3d_openb3dex_TPivot_obj* openb3d_openb3dex_TGlobal_root_ent;
extern struct openb3d_openb3dex_TCamera_obj* openb3d_openb3dex_TGlobal_camera_in_use;
extern BBINT* openb3d_openb3dex_TGlobal_alpha_enable;
extern BBINT* openb3d_openb3dex_TGlobal_blend_mode;
extern BBINT* openb3d_openb3dex_TGlobal_fx1;
extern BBINT* openb3d_openb3dex_TGlobal_fx2;
extern struct brl_graphics_TGraphics_obj* openb3d_openb3dex_TGlobal_gfx;
void _openb3d_openb3dex_TEntity_New(struct openb3d_openb3dex_TEntity_obj* o);
void _openb3d_openb3dex_TEntity_Delete(struct openb3d_openb3dex_TEntity_obj* o);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_CopyEntity_TTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_Update_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_Update(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TEntity_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TEntity_GetObject_TTEntity_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
BBBYTE* openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_InitGlobals_i_f)();
BBINT openb3d_openb3dex_TEntity_InitGlobals_i();
typedef BBINT (*openb3d_openb3dex_TEntity_InitFields_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_InitFields(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_AddList_TTList_m)(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TEntity_AddList_TTList(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TEntity_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_CopyList_TTList_m)(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TEntity_CopyList_TTList(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TEntity_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m)(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
BBINT _openb3d_openb3dex_TEntity_ListPushBack_TTListTObject(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
typedef BBINT (*openb3d_openb3dex_TEntity_AddAnimSeq_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dex_TEntity_AddAnimSeq_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_SetAnimKey_fiii_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TEntity_SetAnimKey_fiii(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_AlignToVector_fffif_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_AlignToVector_fffif(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_FreeEntity_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_FreeEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_FreeEntityList_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_FreeEntityList(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_PositionEntity_fffi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_PositionEntity_fffi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_MoveEntity_fff_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_MoveEntity_fff(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_TranslateEntity_fffi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_TranslateEntity_fffi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_ScaleEntity_fffi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_ScaleEntity_fffi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_RotateEntity_fffi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_RotateEntity_fffi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_TurnEntity_fffi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_TurnEntity_fffi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_PointEntity_TTEntityf(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_LoadAnimSeq_S_m)(struct openb3d_openb3dex_TEntity_obj*,BBSTRING);
BBINT _openb3d_openb3dex_TEntity_LoadAnimSeq_S(struct openb3d_openb3dex_TEntity_obj*,BBSTRING);
typedef BBINT (*openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TEntity_ExtractAnimSeq_iii(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_Animate_ifii_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBFLOAT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TEntity_Animate_ifii(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBFLOAT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_SetAnimTime_fi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_SetAnimTime_fi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_AnimSeq_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_AnimSeq(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_AnimLength_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_AnimLength(struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_AnimTime_m)(struct openb3d_openb3dex_TEntity_obj*);
BBFLOAT _openb3d_openb3dex_TEntity_AnimTime(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_Animating_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_Animating(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityColor_fff_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_EntityColor_fff(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityAlpha_f_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_EntityAlpha_f(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityShininess_f_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_EntityShininess_f(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TTexture_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityTexture_TTTextureii(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TTexture_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityBlend_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityBlend_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityFX_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityFX_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TBrush_obj*);
BBINT _openb3d_openb3dex_TEntity_PaintEntity_TTBrush(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TBrush_obj*);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TEntity_GetEntityBrush_m)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_TEntity_GetEntityBrush(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityOrder_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityOrder_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_ShowEntity_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_ShowEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_HideEntity_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_HideEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_NameEntity_S_m)(struct openb3d_openb3dex_TEntity_obj*,BBSTRING);
BBINT _openb3d_openb3dex_TEntity_NameEntity_S(struct openb3d_openb3dex_TEntity_obj*,BBSTRING);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityParent_TTEntityi(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_GetParent_m)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_GetParent(struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityX_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityX_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityY_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityY_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityZ_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityZ_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityPitch_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityPitch_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityYaw_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityYaw_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityRoll_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityRoll_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBSTRING (*openb3d_openb3dex_TEntity_EntityClass_m)(struct openb3d_openb3dex_TEntity_obj*);
BBSTRING _openb3d_openb3dex_TEntity_EntityClass(struct openb3d_openb3dex_TEntity_obj*);
typedef BBSTRING (*openb3d_openb3dex_TEntity_EntityName_m)(struct openb3d_openb3dex_TEntity_obj*);
BBSTRING _openb3d_openb3dex_TEntity_EntityName(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_CountChildren_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_CountChildren(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_GetChild_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_GetChild_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_FindChild_S_m)(struct openb3d_openb3dex_TEntity_obj*,BBSTRING);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_FindChild_S(struct openb3d_openb3dex_TEntity_obj*,BBSTRING);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_EntityPick_f_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_EntityPick_f(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_LinePick_fffffff_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_LinePick_fffffff(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBFLOAT _openb3d_openb3dex_TEntity_EntityDistance_TTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBFLOAT _openb3d_openb3dex_TEntity_DeltaYaw_TTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBFLOAT _openb3d_openb3dex_TEntity_DeltaPitch_TTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_TFormedX_f_f)();
BBFLOAT openb3d_openb3dex_TEntity_TFormedX_f();
typedef BBFLOAT (*openb3d_openb3dex_TEntity_TFormedY_f_f)();
BBFLOAT openb3d_openb3dex_TEntity_TFormedY_f();
typedef BBFLOAT (*openb3d_openb3dex_TEntity_TFormedZ_f_f)();
BBFLOAT openb3d_openb3dex_TEntity_TFormedZ_f();
typedef BBFLOAT (*openb3d_openb3dex_TEntity_GetMatElement_ii_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_GetMatElement_ii(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_ResetEntity_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_ResetEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityRadius_ff_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_EntityRadius_ff(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityBox_ffffff_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_EntityBox_ffffff(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityType_ii_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityType_ii(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_EntityPickMode_ii_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TEntity_EntityPickMode_ii(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_EntityCollided_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_EntityCollided_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_CountCollisions_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_CountCollisions(struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionX_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionX_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionY_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionY_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionZ_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionZ_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionNX_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionNX_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionNY_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionNY_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionNZ_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionNZ_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_CollisionTime_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_CollisionTime_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_CollisionEntity_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_CollisionEntity_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TEntity_CollisionSurface_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
struct openb3d_openb3dex_TSurface_obj* _openb3d_openb3dex_TEntity_CollisionSurface_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_CollisionTriangle_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT _openb3d_openb3dex_TEntity_CollisionTriangle_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_GetEntityType_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_GetEntityType(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_MeshCullRadius_f_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TEntity_MeshCullRadius_f(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityScaleX_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityScaleX_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityScaleY_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityScaleY_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityScaleZ_i_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TEntity_EntityScaleZ_i(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TEntity_Hidden_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_Hidden(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f)(struct openb3d_openb3dex_TEntity_obj*,BBINT);
BBINT openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi(struct openb3d_openb3dex_TEntity_obj*,BBINT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity(struct openb3d_openb3dex_TEntity_obj*,BBINT,BBINT*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_ListParents_TTList_m)(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TEntity_ListParents_TTList(struct openb3d_openb3dex_TEntity_obj*,struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_UpdateMat_b_m)(struct openb3d_openb3dex_TEntity_obj*,BBBYTE);
BBINT _openb3d_openb3dex_TEntity_UpdateMat_b(struct openb3d_openb3dex_TEntity_obj*,BBBYTE);
typedef BBINT (*openb3d_openb3dex_TEntity_AddParent_TTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_AddParent_TTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBFLOAT _openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_Update_m)(struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TEntity_MQ_Update(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT*);
BBINT _openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TEntity_MQ_Turn_ffffi(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TEntity_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
};

struct openb3d_openb3dex_TEntity_obj {
	struct BBClass_openb3d_openb3dex_TEntity* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
};
extern struct BBClass_openb3d_openb3dex_TEntity openb3d_openb3dex_TEntity;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TEntity_entity_list;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TEntity_animate_list;
extern BBFLOAT* openb3d_openb3dex_TEntity_tformed_x;
extern BBFLOAT* openb3d_openb3dex_TEntity_tformed_y;
extern BBFLOAT* openb3d_openb3dex_TEntity_tformed_z;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TEntity_ent_map;
extern BBINT openb3d_openb3dex_TEntity_entity_list_id;
extern BBINT openb3d_openb3dex_TEntity_animate_list_id;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TEntity_child_list_queue;
void _openb3d_openb3dex_TCamera_New(struct openb3d_openb3dex_TCamera_obj* o);
void _openb3d_openb3dex_TCamera_Delete(struct openb3d_openb3dex_TCamera_obj* o);
typedef struct openb3d_openb3dex_TCamera_obj* (*openb3d_openb3dex_TCamera_CreateObject_TTCamera_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TCamera_obj* openb3d_openb3dex_TCamera_CreateObject_TTCamera_pb(BBBYTE*);
BBINT openb3d_openb3dex_TCamera_InitGlobals_i();
BBINT _openb3d_openb3dex_TCamera_InitFields(struct openb3d_openb3dex_TCamera_obj*);
BBINT openb3d_openb3dex_TCamera_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TCamera_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TCamera_FreeEntity(struct openb3d_openb3dex_TCamera_obj*);
typedef struct openb3d_openb3dex_TCamera_obj* (*openb3d_openb3dex_TCamera_CreateCamera_TTCamera_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TCamera_obj* openb3d_openb3dex_TCamera_CreateCamera_TTCamera_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraViewport_iiii_m)(struct openb3d_openb3dex_TCamera_obj*,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TCamera_CameraViewport_iiii(struct openb3d_openb3dex_TCamera_obj*,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraClsColor_fff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_CameraClsColor_fff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraClsMode_ii_m)(struct openb3d_openb3dex_TCamera_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TCamera_CameraClsMode_ii(struct openb3d_openb3dex_TCamera_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraRange_ff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_CameraRange_ff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraZoom_f_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_CameraZoom_f(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraProjMode_i_m)(struct openb3d_openb3dex_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dex_TCamera_CameraProjMode_i(struct openb3d_openb3dex_TCamera_obj*,BBINT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TCamera_CameraPick_ff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_TCamera_CameraPick_ff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraFogMode_i_m)(struct openb3d_openb3dex_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dex_TCamera_CameraFogMode_i(struct openb3d_openb3dex_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraFogColor_fff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_CameraFogColor_fff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraFogRange_ff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_CameraFogRange_ff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_CameraProject_fff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_CameraProject_fff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TCamera_ProjectedX_f_f)();
BBFLOAT openb3d_openb3dex_TCamera_ProjectedX_f();
typedef BBFLOAT (*openb3d_openb3dex_TCamera_ProjectedY_f_f)();
BBFLOAT openb3d_openb3dex_TCamera_ProjectedY_f();
typedef BBFLOAT (*openb3d_openb3dex_TCamera_ProjectedZ_f_f)();
BBFLOAT openb3d_openb3dex_TCamera_ProjectedZ_f();
typedef BBINT (*openb3d_openb3dex_TCamera_EntityInView_TTEntity_m)(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TCamera_EntityInView_TTEntity(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TCamera_obj* (*openb3d_openb3dex_TCamera_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TCamera_obj* _openb3d_openb3dex_TCamera_CopyEntity_TTEntity(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TCamera_Update(struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_Render_m)(struct openb3d_openb3dex_TCamera_obj*);
BBINT _openb3d_openb3dex_TCamera_Render(struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_UpdateSprite_TTSprite_m)(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TSprite_obj*);
BBINT _openb3d_openb3dex_TCamera_UpdateSprite_TTSprite(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TSprite_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_AddTransformedSpriteToSurface_TTSpriteTTSurface_m)(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TSprite_obj*,struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TCamera_AddTransformedSpriteToSurface_TTSpriteTTSurface(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TSprite_obj*,struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_RenderListAdd_TTMesh_m)(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TCamera_RenderListAdd_TTMesh(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_ExtractFrustum_m)(struct openb3d_openb3dex_TCamera_obj*);
BBINT _openb3d_openb3dex_TCamera_ExtractFrustum(struct openb3d_openb3dex_TCamera_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TCamera_EntityInFrustum_TTEntity_m)(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBFLOAT _openb3d_openb3dex_TCamera_EntityInFrustum_TTEntity(struct openb3d_openb3dex_TCamera_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_accPerspective_fffffffff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_accPerspective_fffffffff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_accFrustum_fffffffffff_m)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TCamera_accFrustum_fffffffffff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TCamera_UpdateProjMatrix_m)(struct openb3d_openb3dex_TCamera_obj*);
BBINT _openb3d_openb3dex_TCamera_UpdateProjMatrix(struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_UpdateEntityRender_i_TTEntityTTCamera_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
BBINT openb3d_openb3dex_TCamera_UpdateEntityRender_i_TTEntityTTCamera(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TCamera_UpdateFog_m)(struct openb3d_openb3dex_TCamera_obj*);
BBINT _openb3d_openb3dex_TCamera_UpdateFog(struct openb3d_openb3dex_TCamera_obj*);
struct BBClass_openb3d_openb3dex_TCamera {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TCamera_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TCamera_CreateObject_TTCamera_pb_f f_CreateObject_TTCamera_pb;
	openb3d_openb3dex_TCamera_CreateCamera_TTCamera_TTEntity_f f_CreateCamera_TTCamera_TTEntity;
	openb3d_openb3dex_TCamera_CameraViewport_iiii_m m_CameraViewport_iiii;
	openb3d_openb3dex_TCamera_CameraClsColor_fff_m m_CameraClsColor_fff;
	openb3d_openb3dex_TCamera_CameraClsMode_ii_m m_CameraClsMode_ii;
	openb3d_openb3dex_TCamera_CameraRange_ff_m m_CameraRange_ff;
	openb3d_openb3dex_TCamera_CameraZoom_f_m m_CameraZoom_f;
	openb3d_openb3dex_TCamera_CameraProjMode_i_m m_CameraProjMode_i;
	openb3d_openb3dex_TCamera_CameraPick_ff_m m_CameraPick_ff;
	openb3d_openb3dex_TCamera_CameraFogMode_i_m m_CameraFogMode_i;
	openb3d_openb3dex_TCamera_CameraFogColor_fff_m m_CameraFogColor_fff;
	openb3d_openb3dex_TCamera_CameraFogRange_ff_m m_CameraFogRange_ff;
	openb3d_openb3dex_TCamera_CameraProject_fff_m m_CameraProject_fff;
	openb3d_openb3dex_TCamera_ProjectedX_f_f f_ProjectedX_f;
	openb3d_openb3dex_TCamera_ProjectedY_f_f f_ProjectedY_f;
	openb3d_openb3dex_TCamera_ProjectedZ_f_f f_ProjectedZ_f;
	openb3d_openb3dex_TCamera_EntityInView_TTEntity_m m_EntityInView_TTEntity;
	openb3d_openb3dex_TCamera_Render_m m_Render;
	openb3d_openb3dex_TCamera_UpdateSprite_TTSprite_m m_UpdateSprite_TTSprite;
	openb3d_openb3dex_TCamera_AddTransformedSpriteToSurface_TTSpriteTTSurface_m m_AddTransformedSpriteToSurface_TTSpriteTTSurface;
	openb3d_openb3dex_TCamera_RenderListAdd_TTMesh_m m_RenderListAdd_TTMesh;
	openb3d_openb3dex_TCamera_ExtractFrustum_m m_ExtractFrustum;
	openb3d_openb3dex_TCamera_EntityInFrustum_TTEntity_m m_EntityInFrustum_TTEntity;
	openb3d_openb3dex_TCamera_accPerspective_fffffffff_m m_accPerspective_fffffffff;
	openb3d_openb3dex_TCamera_accFrustum_fffffffffff_m m_accFrustum_fffffffffff;
	openb3d_openb3dex_TCamera_UpdateProjMatrix_m m_UpdateProjMatrix;
	openb3d_openb3dex_TCamera_UpdateEntityRender_i_TTEntityTTCamera_f f_UpdateEntityRender_i_TTEntityTTCamera;
	openb3d_openb3dex_TCamera_UpdateFog_m m_UpdateFog;
};

struct openb3d_openb3dex_TCamera_obj {
	struct BBClass_openb3d_openb3dex_TCamera* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBINT* _openb3d_openb3dex_tcamera_vx;
	BBINT* _openb3d_openb3dex_tcamera_vy;
	BBINT* _openb3d_openb3dex_tcamera_vwidth;
	BBINT* _openb3d_openb3dex_tcamera_vheight;
	BBFLOAT* _openb3d_openb3dex_tcamera_cls_r;
	BBFLOAT* _openb3d_openb3dex_tcamera_cls_g;
	BBFLOAT* _openb3d_openb3dex_tcamera_cls_b;
	BBBYTE* _openb3d_openb3dex_tcamera_cls_color;
	BBBYTE* _openb3d_openb3dex_tcamera_cls_zbuffer;
	BBFLOAT* _openb3d_openb3dex_tcamera_range_near;
	BBFLOAT* _openb3d_openb3dex_tcamera_range_far;
	BBFLOAT* _openb3d_openb3dex_tcamera_zoom;
	BBINT* _openb3d_openb3dex_tcamera_proj_mode;
	BBINT* _openb3d_openb3dex_tcamera_fog_mode;
	BBFLOAT* _openb3d_openb3dex_tcamera_fog_r;
	BBFLOAT* _openb3d_openb3dex_tcamera_fog_g;
	BBFLOAT* _openb3d_openb3dex_tcamera_fog_b;
	BBFLOAT* _openb3d_openb3dex_tcamera_fog_range_near;
	BBFLOAT* _openb3d_openb3dex_tcamera_fog_range_far;
	BBINT* _openb3d_openb3dex_tcamera_project_enabled;
	BBFLOAT* _openb3d_openb3dex_tcamera_mod_mat;
	BBFLOAT* _openb3d_openb3dex_tcamera_proj_mat;
	BBINT* _openb3d_openb3dex_tcamera_viewport;
	BBFLOAT* _openb3d_openb3dex_tcamera_frustum;
};
extern struct BBClass_openb3d_openb3dex_TCamera openb3d_openb3dex_TCamera;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TCamera_cam_list;
extern BBFLOAT* openb3d_openb3dex_TCamera_projected_x;
extern BBFLOAT* openb3d_openb3dex_TCamera_projected_y;
extern BBFLOAT* openb3d_openb3dex_TCamera_projected_z;
extern BBINT openb3d_openb3dex_TCamera_cam_list_id;
void _openb3d_openb3dex_TLight_New(struct openb3d_openb3dex_TLight_obj* o);
void _openb3d_openb3dex_TLight_Delete(struct openb3d_openb3dex_TLight_obj* o);
typedef struct openb3d_openb3dex_TLight_obj* (*openb3d_openb3dex_TLight_CreateObject_TTLight_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TLight_obj* openb3d_openb3dex_TLight_CreateObject_TTLight_pb(BBBYTE*);
BBINT openb3d_openb3dex_TLight_InitGlobals_i();
BBINT _openb3d_openb3dex_TLight_InitFields(struct openb3d_openb3dex_TLight_obj*);
BBINT openb3d_openb3dex_TLight_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TLight_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TLight_FreeEntity(struct openb3d_openb3dex_TLight_obj*);
typedef struct openb3d_openb3dex_TLight_obj* (*openb3d_openb3dex_TLight_CreateLight_TTLight_iTTEntity_f)(BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TLight_obj* openb3d_openb3dex_TLight_CreateLight_TTLight_iTTEntity(BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TLight_LightRange_f_m)(struct openb3d_openb3dex_TLight_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TLight_LightRange_f(struct openb3d_openb3dex_TLight_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TLight_LightColor_fff_m)(struct openb3d_openb3dex_TLight_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TLight_LightColor_fff(struct openb3d_openb3dex_TLight_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TLight_LightConeAngles_ff_m)(struct openb3d_openb3dex_TLight_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TLight_LightConeAngles_ff(struct openb3d_openb3dex_TLight_obj*,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dex_TLight_obj* (*openb3d_openb3dex_TLight_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TLight_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TLight_obj* _openb3d_openb3dex_TLight_CopyEntity_TTEntity(struct openb3d_openb3dex_TLight_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TLight_Update(struct openb3d_openb3dex_TLight_obj*);
typedef BBINT (*openb3d_openb3dex_TLight_GetLightValues_i_f)();
BBINT openb3d_openb3dex_TLight_GetLightValues_i();
typedef BBINT (*openb3d_openb3dex_TLight_SetLightValues_i_f)();
BBINT openb3d_openb3dex_TLight_SetLightValues_i();
struct BBClass_openb3d_openb3dex_TLight {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TLight_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TLight_CreateObject_TTLight_pb_f f_CreateObject_TTLight_pb;
	openb3d_openb3dex_TLight_CreateLight_TTLight_iTTEntity_f f_CreateLight_TTLight_iTTEntity;
	openb3d_openb3dex_TLight_LightRange_f_m m_LightRange_f;
	openb3d_openb3dex_TLight_LightColor_fff_m m_LightColor_fff;
	openb3d_openb3dex_TLight_LightConeAngles_ff_m m_LightConeAngles_ff;
	openb3d_openb3dex_TLight_GetLightValues_i_f f_GetLightValues_i;
	openb3d_openb3dex_TLight_SetLightValues_i_f f_SetLightValues_i;
};

struct openb3d_openb3dex_TLight_obj {
	struct BBClass_openb3d_openb3dex_TLight* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBBYTE* _openb3d_openb3dex_tlight_cast_shadow;
	BBBYTE* _openb3d_openb3dex_tlight_light_type;
	BBFLOAT* _openb3d_openb3dex_tlight_range;
	BBFLOAT* _openb3d_openb3dex_tlight_red;
	BBFLOAT* _openb3d_openb3dex_tlight_green;
	BBFLOAT* _openb3d_openb3dex_tlight_blue;
	BBFLOAT* _openb3d_openb3dex_tlight_inner_ang;
	BBFLOAT* _openb3d_openb3dex_tlight_outer_ang;
};
extern struct BBClass_openb3d_openb3dex_TLight openb3d_openb3dex_TLight;
extern BBINT* openb3d_openb3dex_TLight_light_no;
extern BBINT* openb3d_openb3dex_TLight_no_lights;
extern BBINT* openb3d_openb3dex_TLight_max_lights;
extern BBINT* openb3d_openb3dex_TLight_gl_light;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TLight_light_list;
extern BBARRAY openb3d_openb3dex_TLight_ambient;
extern BBARRAY openb3d_openb3dex_TLight_diffuse;
extern BBARRAY openb3d_openb3dex_TLight_specular;
extern BBARRAY openb3d_openb3dex_TLight_position;
extern BBARRAY openb3d_openb3dex_TLight_spotDirection;
extern BBARRAY openb3d_openb3dex_TLight_spotExponent;
extern BBARRAY openb3d_openb3dex_TLight_spotCutoff;
extern BBARRAY openb3d_openb3dex_TLight_constantAtt;
extern BBARRAY openb3d_openb3dex_TLight_linearAtt;
extern BBARRAY openb3d_openb3dex_TLight_quadraticAtt;
extern BBINT openb3d_openb3dex_TLight_light_list_id;
void _openb3d_openb3dex_TPivot_New(struct openb3d_openb3dex_TPivot_obj* o);
void _openb3d_openb3dex_TPivot_Delete(struct openb3d_openb3dex_TPivot_obj* o);
typedef struct openb3d_openb3dex_TPivot_obj* (*openb3d_openb3dex_TPivot_CreateObject_TTPivot_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TPivot_obj* openb3d_openb3dex_TPivot_CreateObject_TTPivot_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TPivot_InitFields(struct openb3d_openb3dex_TPivot_obj*);
BBINT _openb3d_openb3dex_TPivot_FreeEntity(struct openb3d_openb3dex_TPivot_obj*);
typedef struct openb3d_openb3dex_TPivot_obj* (*openb3d_openb3dex_TPivot_CreatePivot_TTPivot_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TPivot_obj* openb3d_openb3dex_TPivot_CreatePivot_TTPivot_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TPivot_obj* (*openb3d_openb3dex_TPivot_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TPivot_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TPivot_obj* _openb3d_openb3dex_TPivot_CopyEntity_TTEntity(struct openb3d_openb3dex_TPivot_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TPivot_Update(struct openb3d_openb3dex_TPivot_obj*);
struct BBClass_openb3d_openb3dex_TPivot {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TPivot_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TPivot_CreateObject_TTPivot_pb_f f_CreateObject_TTPivot_pb;
	openb3d_openb3dex_TPivot_CreatePivot_TTPivot_TTEntity_f f_CreatePivot_TTPivot_TTEntity;
};

struct openb3d_openb3dex_TPivot_obj {
	struct BBClass_openb3d_openb3dex_TPivot* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
};
extern struct BBClass_openb3d_openb3dex_TPivot openb3d_openb3dex_TPivot;
void _openb3d_openb3dex_TMesh_New(struct openb3d_openb3dex_TMesh_obj* o);
void _openb3d_openb3dex_TMesh_Delete(struct openb3d_openb3dex_TMesh_obj* o);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateObject_TTMesh_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateObject_TTMesh_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TMesh_InitFields(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_AddList_TTList(struct openb3d_openb3dex_TMesh_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TMesh_CopyList_TTList(struct openb3d_openb3dex_TMesh_obj*,struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TMesh_ListPushBack_TTListTObject(struct openb3d_openb3dex_TMesh_obj*,struct brl_linkedlist_TList_obj*,BBOBJECT);
typedef struct openb3d_openb3dex_TBone_obj* (*openb3d_openb3dex_TMesh_CreateBone_TTEntity_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBone_obj* _openb3d_openb3dex_TMesh_CreateBone_TTEntity(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity_f)(BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity(BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_RepeatMesh_TTEntity_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_TMesh_RepeatMesh_TTEntity(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_SkinMesh_iiifififif_m)(struct openb3d_openb3dex_TMesh_obj*,BBINT,BBINT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_SkinMesh_iiifififif(struct openb3d_openb3dex_TMesh_obj*,BBINT,BBINT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_FreeEntity(struct openb3d_openb3dex_TMesh_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity_f)(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity_f)(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity_f)(BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity(BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity_f)(BBINT,BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity(BBINT,BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity_f)(BBINT,BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity(BBINT,BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CopyMesh_TTEntity_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_TMesh_CopyMesh_TTEntity(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_AddMesh_TTMesh_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_AddMesh_TTMesh(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_FlipMesh_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_FlipMesh(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_PaintMesh_TTBrush_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
BBINT _openb3d_openb3dex_TMesh_PaintMesh_TTBrush(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_FitMesh_ffffffi_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TMesh_FitMesh_ffffffi(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBINT (*openb3d_openb3dex_TMesh_ScaleMesh_fff_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_ScaleMesh_fff(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_RotateMesh_fff_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_RotateMesh_fff(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_PositionMesh_fff_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_PositionMesh_fff(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_UpdateNormals_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_UpdateNormals(struct openb3d_openb3dex_TMesh_obj*);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TMesh_CreateSurface_TTBrush_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
struct openb3d_openb3dex_TSurface_obj* _openb3d_openb3dex_TMesh_CreateSurface_TTBrush(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TMesh_MeshWidth_m)(struct openb3d_openb3dex_TMesh_obj*);
BBFLOAT _openb3d_openb3dex_TMesh_MeshWidth(struct openb3d_openb3dex_TMesh_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TMesh_MeshHeight_m)(struct openb3d_openb3dex_TMesh_obj*);
BBFLOAT _openb3d_openb3dex_TMesh_MeshHeight(struct openb3d_openb3dex_TMesh_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TMesh_MeshDepth_m)(struct openb3d_openb3dex_TMesh_obj*);
BBFLOAT _openb3d_openb3dex_TMesh_MeshDepth(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_CountSurfaces_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_CountSurfaces(struct openb3d_openb3dex_TMesh_obj*);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TMesh_GetSurface_i_m)(struct openb3d_openb3dex_TMesh_obj*,BBINT);
struct openb3d_openb3dex_TSurface_obj* _openb3d_openb3dex_TMesh_GetSurface_i(struct openb3d_openb3dex_TMesh_obj*,BBINT);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TMesh_FindSurface_TTBrush_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
struct openb3d_openb3dex_TSurface_obj* _openb3d_openb3dex_TMesh_FindSurface_TTBrush(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_TMesh_CopyEntity_TTEntity(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TMesh_Update(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_CountVertices_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_CountVertices(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_CountTriangles_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_CountTriangles(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*);
struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef struct openb3d_openb3dex_TMesh_obj* (*openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMesh_obj*);
struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_TransformMesh_TTMatrix_m)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMesh_TransformMesh_TTMatrix(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_GetBounds_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_GetBounds(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_Alpha_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_Alpha(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_MeshColor_ffff_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_MeshColor_ffff(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_MeshRed_f_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_MeshRed_f(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_MeshGreen_f_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_MeshGreen_f(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_MeshBlue_f_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_MeshBlue_f(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_MeshAlpha_f_m)(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMesh_MeshAlpha_f(struct openb3d_openb3dex_TMesh_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMesh_TreeCheck_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_TreeCheck(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_Render_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_Render(struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TMesh_UpdateShadow_m)(struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TMesh_UpdateShadow(struct openb3d_openb3dex_TMesh_obj*);
struct BBClass_openb3d_openb3dex_TMesh {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TMesh_CreateObject_TTMesh_pb_f f_CreateObject_TTMesh_pb;
	openb3d_openb3dex_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dex_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dex_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity_f f_LoadMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity_f f_LoadAnimMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dex_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dex_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dex_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dex_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dex_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dex_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dex_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dex_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dex_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dex_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dex_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dex_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dex_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dex_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dex_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dex_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh_m m_CollapseAnimMesh_TTMesh;
	openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dex_TMesh_TransformMesh_TTMatrix_m m_TransformMesh_TTMatrix;
	openb3d_openb3dex_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dex_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dex_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dex_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dex_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dex_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dex_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dex_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dex_TMesh_Render_m m_Render;
	openb3d_openb3dex_TMesh_UpdateShadow_m m_UpdateShadow;
};

struct openb3d_openb3dex_TMesh_obj {
	struct BBClass_openb3d_openb3dex_TMesh* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBINT* _openb3d_openb3dex_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_bones;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tmesh_mat_sp;
	BBINT* _openb3d_openb3dex_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dex_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_z;
	BBINT _openb3d_openb3dex_tmesh_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dex_TMesh openb3d_openb3dex_TMesh;
void _openb3d_openb3dex_TSprite_New(struct openb3d_openb3dex_TSprite_obj* o);
void _openb3d_openb3dex_TSprite_Delete(struct openb3d_openb3dex_TSprite_obj* o);
typedef struct openb3d_openb3dex_TSprite_obj* (*openb3d_openb3dex_TSprite_CreateObject_TTSprite_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TSprite_obj* openb3d_openb3dex_TSprite_CreateObject_TTSprite_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TSprite_InitFields(struct openb3d_openb3dex_TSprite_obj*);
typedef BBINT (*openb3d_openb3dex_TSprite_SpriteRenderMode_i_m)(struct openb3d_openb3dex_TSprite_obj*,BBINT);
BBINT _openb3d_openb3dex_TSprite_SpriteRenderMode_i(struct openb3d_openb3dex_TSprite_obj*,BBINT);
typedef struct openb3d_openb3dex_TSprite_obj* (*openb3d_openb3dex_TSprite_CreateSprite_TTSprite_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TSprite_obj* openb3d_openb3dex_TSprite_CreateSprite_TTSprite_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TSprite_obj* (*openb3d_openb3dex_TSprite_LoadSprite_TTSprite_SiTTEntity_f)(BBSTRING,BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TSprite_obj* openb3d_openb3dex_TSprite_LoadSprite_TTSprite_SiTTEntity(BBSTRING,BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TSprite_RotateSprite_f_m)(struct openb3d_openb3dex_TSprite_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TSprite_RotateSprite_f(struct openb3d_openb3dex_TSprite_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSprite_ScaleSprite_ff_m)(struct openb3d_openb3dex_TSprite_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSprite_ScaleSprite_ff(struct openb3d_openb3dex_TSprite_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSprite_HandleSprite_ff_m)(struct openb3d_openb3dex_TSprite_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSprite_HandleSprite_ff(struct openb3d_openb3dex_TSprite_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSprite_SpriteViewMode_i_m)(struct openb3d_openb3dex_TSprite_obj*,BBINT);
BBINT _openb3d_openb3dex_TSprite_SpriteViewMode_i(struct openb3d_openb3dex_TSprite_obj*,BBINT);
typedef struct openb3d_openb3dex_TSprite_obj* (*openb3d_openb3dex_TSprite_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TSprite_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TSprite_obj* _openb3d_openb3dex_TSprite_CopyEntity_TTEntity(struct openb3d_openb3dex_TSprite_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TSprite_SpriteTexCoords_iiiiiii_m)(struct openb3d_openb3dex_TSprite_obj*,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TSprite_SpriteTexCoords_iiiiiii(struct openb3d_openb3dex_TSprite_obj*,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TSprite_SpriteVertexColor_ifff_m)(struct openb3d_openb3dex_TSprite_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSprite_SpriteVertexColor_ifff(struct openb3d_openb3dex_TSprite_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dex_TSprite {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TSprite_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TSprite_CreateObject_TTSprite_pb_f f_CreateObject_TTSprite_pb;
	openb3d_openb3dex_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dex_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dex_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity_f f_LoadMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity_f f_LoadAnimMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dex_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dex_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dex_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dex_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dex_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dex_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dex_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dex_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dex_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dex_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dex_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dex_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dex_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dex_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dex_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dex_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh_m m_CollapseAnimMesh_TTMesh;
	openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dex_TMesh_TransformMesh_TTMatrix_m m_TransformMesh_TTMatrix;
	openb3d_openb3dex_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dex_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dex_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dex_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dex_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dex_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dex_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dex_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dex_TMesh_Render_m m_Render;
	openb3d_openb3dex_TMesh_UpdateShadow_m m_UpdateShadow;
	openb3d_openb3dex_TSprite_SpriteRenderMode_i_m m_SpriteRenderMode_i;
	openb3d_openb3dex_TSprite_CreateSprite_TTSprite_TTEntity_f f_CreateSprite_TTSprite_TTEntity;
	openb3d_openb3dex_TSprite_LoadSprite_TTSprite_SiTTEntity_f f_LoadSprite_TTSprite_SiTTEntity;
	openb3d_openb3dex_TSprite_RotateSprite_f_m m_RotateSprite_f;
	openb3d_openb3dex_TSprite_ScaleSprite_ff_m m_ScaleSprite_ff;
	openb3d_openb3dex_TSprite_HandleSprite_ff_m m_HandleSprite_ff;
	openb3d_openb3dex_TSprite_SpriteViewMode_i_m m_SpriteViewMode_i;
	openb3d_openb3dex_TSprite_SpriteTexCoords_iiiiiii_m m_SpriteTexCoords_iiiiiii;
	openb3d_openb3dex_TSprite_SpriteVertexColor_ifff_m m_SpriteVertexColor_ifff;
};

struct openb3d_openb3dex_TSprite_obj {
	struct BBClass_openb3d_openb3dex_TSprite* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBINT* _openb3d_openb3dex_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_bones;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tmesh_mat_sp;
	BBINT* _openb3d_openb3dex_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dex_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_z;
	BBINT _openb3d_openb3dex_tmesh_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_bones_id;
	BBFLOAT* _openb3d_openb3dex_tsprite_angle;
	BBFLOAT* _openb3d_openb3dex_tsprite_scale_x;
	BBFLOAT* _openb3d_openb3dex_tsprite_scale_y;
	BBFLOAT* _openb3d_openb3dex_tsprite_handle_x;
	BBFLOAT* _openb3d_openb3dex_tsprite_handle_y;
	BBINT* _openb3d_openb3dex_tsprite_view_mode;
	BBINT* _openb3d_openb3dex_tsprite_render_mode;
};
extern struct BBClass_openb3d_openb3dex_TSprite openb3d_openb3dex_TSprite;
void _openb3d_openb3dex_TBone_New(struct openb3d_openb3dex_TBone_obj* o);
void _openb3d_openb3dex_TBone_Delete(struct openb3d_openb3dex_TBone_obj* o);
typedef struct openb3d_openb3dex_TBone_obj* (*openb3d_openb3dex_TBone_CreateObject_TTBone_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TBone_obj* openb3d_openb3dex_TBone_CreateObject_TTBone_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TBone_InitFields(struct openb3d_openb3dex_TBone_obj*);
typedef struct openb3d_openb3dex_TBone_obj* (*openb3d_openb3dex_TBone_CreateBone_TTBone_TTMeshTTEntity_f)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBone_obj* openb3d_openb3dex_TBone_CreateBone_TTBone_TTMeshTTEntity(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TBone_FreeEntity(struct openb3d_openb3dex_TBone_obj*);
typedef struct openb3d_openb3dex_TBone_obj* (*openb3d_openb3dex_TBone_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TBone_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBone_obj* _openb3d_openb3dex_TBone_CopyEntity_TTEntity(struct openb3d_openb3dex_TBone_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TBone_Update(struct openb3d_openb3dex_TBone_obj*);
struct BBClass_openb3d_openb3dex_TBone {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TBone_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TBone_CreateObject_TTBone_pb_f f_CreateObject_TTBone_pb;
	openb3d_openb3dex_TBone_CreateBone_TTBone_TTMeshTTEntity_f f_CreateBone_TTBone_TTMeshTTEntity;
};

struct openb3d_openb3dex_TBone_obj {
	struct BBClass_openb3d_openb3dex_TBone* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBFLOAT* _openb3d_openb3dex_tbone_n_px;
	BBFLOAT* _openb3d_openb3dex_tbone_n_py;
	BBFLOAT* _openb3d_openb3dex_tbone_n_pz;
	BBFLOAT* _openb3d_openb3dex_tbone_n_sx;
	BBFLOAT* _openb3d_openb3dex_tbone_n_sy;
	BBFLOAT* _openb3d_openb3dex_tbone_n_sz;
	BBFLOAT* _openb3d_openb3dex_tbone_n_rx;
	BBFLOAT* _openb3d_openb3dex_tbone_n_ry;
	BBFLOAT* _openb3d_openb3dex_tbone_n_rz;
	BBFLOAT* _openb3d_openb3dex_tbone_n_qw;
	BBFLOAT* _openb3d_openb3dex_tbone_n_qx;
	BBFLOAT* _openb3d_openb3dex_tbone_n_qy;
	BBFLOAT* _openb3d_openb3dex_tbone_n_qz;
	struct openb3d_openb3dex_TAnimationKeys_obj* _openb3d_openb3dex_tbone_keys;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tbone_mat2;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tbone_inv_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tbone_tform_mat;
	BBFLOAT* _openb3d_openb3dex_tbone_kx;
	BBFLOAT* _openb3d_openb3dex_tbone_ky;
	BBFLOAT* _openb3d_openb3dex_tbone_kz;
	BBFLOAT* _openb3d_openb3dex_tbone_kqw;
	BBFLOAT* _openb3d_openb3dex_tbone_kqx;
	BBFLOAT* _openb3d_openb3dex_tbone_kqy;
	BBFLOAT* _openb3d_openb3dex_tbone_kqz;
};
extern struct BBClass_openb3d_openb3dex_TBone openb3d_openb3dex_TBone;
void _openb3d_openb3dex_TSurface_New(struct openb3d_openb3dex_TSurface_obj* o);
void _openb3d_openb3dex_TSurface_Delete(struct openb3d_openb3dex_TSurface_obj* o);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TSurface_CreateObject_TTSurface_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_TSurface_CreateObject_TTSurface_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TSurface_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TSurface_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TSurface_GetObject_TTSurface_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_TSurface_GetObject_TTSurface_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TSurface_GetInstance_pb_TTSurface_f)(struct openb3d_openb3dex_TSurface_obj*);
BBBYTE* openb3d_openb3dex_TSurface_GetInstance_pb_TTSurface(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_InitFields_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_InitFields(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_UpdateTexCoords_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_UpdateTexCoords(struct openb3d_openb3dex_TSurface_obj*);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TSurface_GetSurfaceBrush_m)(struct openb3d_openb3dex_TSurface_obj*);
struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_TSurface_GetSurfaceBrush(struct openb3d_openb3dex_TSurface_obj*);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TSurface_CreateSurface_TTSurface_TTMeshTTBrush_f)(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_TSurface_CreateSurface_TTSurface_TTMeshTTBrush(struct openb3d_openb3dex_TMesh_obj*,struct openb3d_openb3dex_TBrush_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_PaintSurface_TTBrush_m)(struct openb3d_openb3dex_TSurface_obj*,struct openb3d_openb3dex_TBrush_obj*);
BBINT _openb3d_openb3dex_TSurface_PaintSurface_TTBrush(struct openb3d_openb3dex_TSurface_obj*,struct openb3d_openb3dex_TBrush_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_ClearSurface_ii_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TSurface_ClearSurface_ii(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TSurface_AddVertex_ffffff_m)(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_AddVertex_ffffff(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_AddTriangle_iii_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TSurface_AddTriangle_iii(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TSurface_CountVertices_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_CountVertices(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_CountTriangles_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_CountTriangles(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_VertexCoords_ifff_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_VertexCoords_ifff(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_VertexColor_iffff_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_VertexColor_iffff(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_VertexNormal_ifff_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_VertexNormal_ifff(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_VertexTexCoords_ifffi_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
BBINT _openb3d_openb3dex_TSurface_VertexTexCoords_ifffi(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexX_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexX_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexY_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexY_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexZ_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexZ_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexRed_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexRed_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexGreen_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexGreen_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexBlue_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexBlue_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexAlpha_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexAlpha_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexNX_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexNX_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexNY_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexNY_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexNZ_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexNZ_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexU_ii_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexU_ii(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexV_ii_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexV_ii(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_VertexW_ii_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_VertexW_ii(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TSurface_TriangleVertex_ii_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TSurface_TriangleVertex_ii(struct openb3d_openb3dex_TSurface_obj*,BBINT,BBINT);
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TSurface_Copy_m)(struct openb3d_openb3dex_TSurface_obj*);
struct openb3d_openb3dex_TSurface_obj* _openb3d_openb3dex_TSurface_Copy(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_UpdateNormals_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_UpdateNormals(struct openb3d_openb3dex_TSurface_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_TriangleNX_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_TriangleNX_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_TriangleNY_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_TriangleNY_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TSurface_TriangleNZ_i_m)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBFLOAT _openb3d_openb3dex_TSurface_TriangleNZ_i(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TSurface_UpdateVBO_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_UpdateVBO(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_FreeVBO_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_FreeVBO(struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TSurface_RemoveTri_i_TTSurfacei_f)(struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBINT openb3d_openb3dex_TSurface_RemoveTri_i_TTSurfacei(struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TSurface_SurfaceColor_ffff_m)(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_SurfaceColor_ffff(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_SurfaceRed_f_m)(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_SurfaceRed_f(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_SurfaceGreen_f_m)(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_SurfaceGreen_f(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_SurfaceBlue_f_m)(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_SurfaceBlue_f(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_SurfaceAlpha_f_m)(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TSurface_SurfaceAlpha_f(struct openb3d_openb3dex_TSurface_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TSurface_FreeSurface_m)(struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TSurface_FreeSurface(struct openb3d_openb3dex_TSurface_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TSurface_CreateObject_TTSurface_pb_f f_CreateObject_TTSurface_pb;
	openb3d_openb3dex_TSurface_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TSurface_GetObject_TTSurface_pb_f f_GetObject_TTSurface_pb;
	openb3d_openb3dex_TSurface_GetInstance_pb_TTSurface_f f_GetInstance_pb_TTSurface;
	openb3d_openb3dex_TSurface_InitFields_m m_InitFields;
	openb3d_openb3dex_TSurface_UpdateTexCoords_m m_UpdateTexCoords;
	openb3d_openb3dex_TSurface_GetSurfaceBrush_m m_GetSurfaceBrush;
	openb3d_openb3dex_TSurface_CreateSurface_TTSurface_TTMeshTTBrush_f f_CreateSurface_TTSurface_TTMeshTTBrush;
	openb3d_openb3dex_TSurface_PaintSurface_TTBrush_m m_PaintSurface_TTBrush;
	openb3d_openb3dex_TSurface_ClearSurface_ii_m m_ClearSurface_ii;
	openb3d_openb3dex_TSurface_AddVertex_ffffff_m m_AddVertex_ffffff;
	openb3d_openb3dex_TSurface_AddTriangle_iii_m m_AddTriangle_iii;
	openb3d_openb3dex_TSurface_CountVertices_m m_CountVertices;
	openb3d_openb3dex_TSurface_CountTriangles_m m_CountTriangles;
	openb3d_openb3dex_TSurface_VertexCoords_ifff_m m_VertexCoords_ifff;
	openb3d_openb3dex_TSurface_VertexColor_iffff_m m_VertexColor_iffff;
	openb3d_openb3dex_TSurface_VertexNormal_ifff_m m_VertexNormal_ifff;
	openb3d_openb3dex_TSurface_VertexTexCoords_ifffi_m m_VertexTexCoords_ifffi;
	openb3d_openb3dex_TSurface_VertexX_i_m m_VertexX_i;
	openb3d_openb3dex_TSurface_VertexY_i_m m_VertexY_i;
	openb3d_openb3dex_TSurface_VertexZ_i_m m_VertexZ_i;
	openb3d_openb3dex_TSurface_VertexRed_i_m m_VertexRed_i;
	openb3d_openb3dex_TSurface_VertexGreen_i_m m_VertexGreen_i;
	openb3d_openb3dex_TSurface_VertexBlue_i_m m_VertexBlue_i;
	openb3d_openb3dex_TSurface_VertexAlpha_i_m m_VertexAlpha_i;
	openb3d_openb3dex_TSurface_VertexNX_i_m m_VertexNX_i;
	openb3d_openb3dex_TSurface_VertexNY_i_m m_VertexNY_i;
	openb3d_openb3dex_TSurface_VertexNZ_i_m m_VertexNZ_i;
	openb3d_openb3dex_TSurface_VertexU_ii_m m_VertexU_ii;
	openb3d_openb3dex_TSurface_VertexV_ii_m m_VertexV_ii;
	openb3d_openb3dex_TSurface_VertexW_ii_m m_VertexW_ii;
	openb3d_openb3dex_TSurface_TriangleVertex_ii_m m_TriangleVertex_ii;
	openb3d_openb3dex_TSurface_Copy_m m_Copy;
	openb3d_openb3dex_TSurface_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TSurface_TriangleNX_i_m m_TriangleNX_i;
	openb3d_openb3dex_TSurface_TriangleNY_i_m m_TriangleNY_i;
	openb3d_openb3dex_TSurface_TriangleNZ_i_m m_TriangleNZ_i;
	openb3d_openb3dex_TSurface_UpdateVBO_m m_UpdateVBO;
	openb3d_openb3dex_TSurface_FreeVBO_m m_FreeVBO;
	openb3d_openb3dex_TSurface_RemoveTri_i_TTSurfacei_f f_RemoveTri_i_TTSurfacei;
	openb3d_openb3dex_TSurface_SurfaceColor_ffff_m m_SurfaceColor_ffff;
	openb3d_openb3dex_TSurface_SurfaceRed_f_m m_SurfaceRed_f;
	openb3d_openb3dex_TSurface_SurfaceGreen_f_m m_SurfaceGreen_f;
	openb3d_openb3dex_TSurface_SurfaceBlue_f_m m_SurfaceBlue_f;
	openb3d_openb3dex_TSurface_SurfaceAlpha_f_m m_SurfaceAlpha_f;
	openb3d_openb3dex_TSurface_FreeSurface_m m_FreeSurface;
};

struct openb3d_openb3dex_TSurface_obj {
	struct BBClass_openb3d_openb3dex_TSurface* clas;
	BBINT* _openb3d_openb3dex_tsurface_no_verts;
	BBINT* _openb3d_openb3dex_tsurface_no_tris;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_coords;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_norm;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_tex_coords0;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_tex_coords1;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_col;
	BBSHORT* _openb3d_openb3dex_tsurface_tris;
	BBINT* _openb3d_openb3dex_tsurface_vert_bone1_no;
	BBINT* _openb3d_openb3dex_tsurface_vert_bone2_no;
	BBINT* _openb3d_openb3dex_tsurface_vert_bone3_no;
	BBINT* _openb3d_openb3dex_tsurface_vert_bone4_no;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_weight1;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_weight2;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_weight3;
	BBFLOAT* _openb3d_openb3dex_tsurface_vert_weight4;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tsurface_brush;
	struct openb3d_openb3dex_TShader_obj* _openb3d_openb3dex_tsurface_shadermat;
	BBINT* _openb3d_openb3dex_tsurface_vbo_id;
	BBINT* _openb3d_openb3dex_tsurface_vert_array_size;
	BBINT* _openb3d_openb3dex_tsurface_tri_array_size;
	BBINT* _openb3d_openb3dex_tsurface_vmin;
	BBINT* _openb3d_openb3dex_tsurface_vmax;
	BBINT* _openb3d_openb3dex_tsurface_vbo_enabled;
	BBINT* _openb3d_openb3dex_tsurface_reset_vbo;
	BBINT* _openb3d_openb3dex_tsurface_alpha_enable;
	BBBYTE* _openb3d_openb3dex_tsurface_instance;
};
extern struct BBClass_openb3d_openb3dex_TSurface openb3d_openb3dex_TSurface;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TSurface_surf_map;
void _openb3d_openb3dex_TTexture_New(struct openb3d_openb3dex_TTexture_obj* o);
void _openb3d_openb3dex_TTexture_Delete(struct openb3d_openb3dex_TTexture_obj* o);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_CreateObject_TTTexture_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_CreateObject_TTTexture_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TTexture_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TTexture_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_GetObject_TTTexture_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_GetObject_TTTexture_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TTexture_GetInstance_pb_TTTexture_f)(struct openb3d_openb3dex_TTexture_obj*);
BBBYTE* openb3d_openb3dex_TTexture_GetInstance_pb_TTTexture(struct openb3d_openb3dex_TTexture_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_InitFields_m)(struct openb3d_openb3dex_TTexture_obj*);
BBINT _openb3d_openb3dex_TTexture_InitFields(struct openb3d_openb3dex_TTexture_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TTexture_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TTexture_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_BufferToTex_pbi_m)(struct openb3d_openb3dex_TTexture_obj*,BBBYTE*,BBINT);
BBINT _openb3d_openb3dex_TTexture_BufferToTex_pbi(struct openb3d_openb3dex_TTexture_obj*,BBBYTE*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_TexToBuffer_pbi_m)(struct openb3d_openb3dex_TTexture_obj*,BBBYTE*,BBINT);
BBINT _openb3d_openb3dex_TTexture_TexToBuffer_pbi(struct openb3d_openb3dex_TTexture_obj*,BBBYTE*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_CameraToTex_TTCamerai_m)(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_CameraToTex_TTCamerai(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_DepthBufferToTex_TTCamera_m)(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*);
BBINT _openb3d_openb3dex_TTexture_DepthBufferToTex_TTCamera(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_FreeTexture_m)(struct openb3d_openb3dex_TTexture_obj*);
BBINT _openb3d_openb3dex_TTexture_FreeTexture(struct openb3d_openb3dex_TTexture_obj*);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_CreateTexture_TTTexture_iiii_f)(BBINT,BBINT,BBINT,BBINT);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_CreateTexture_TTTexture_iiii(BBINT,BBINT,BBINT,BBINT);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_LoadTexture_TTTexture_Si_f)(BBSTRING,BBINT);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_LoadTexture_TTTexture_Si(BBSTRING,BBINT);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_LoadAnimTexture_TTTexture_Siiiii_f)(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_LoadAnimTexture_TTTexture_Siiiii(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_TextureBlend_i_m)(struct openb3d_openb3dex_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_TextureBlend_i(struct openb3d_openb3dex_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_TextureCoords_i_m)(struct openb3d_openb3dex_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_TextureCoords_i(struct openb3d_openb3dex_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_ScaleTexture_ff_m)(struct openb3d_openb3dex_TTexture_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TTexture_ScaleTexture_ff(struct openb3d_openb3dex_TTexture_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TTexture_PositionTexture_ff_m)(struct openb3d_openb3dex_TTexture_obj*,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TTexture_PositionTexture_ff(struct openb3d_openb3dex_TTexture_obj*,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TTexture_RotateTexture_f_m)(struct openb3d_openb3dex_TTexture_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TTexture_RotateTexture_f(struct openb3d_openb3dex_TTexture_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TTexture_TextureWidth_m)(struct openb3d_openb3dex_TTexture_obj*);
BBINT _openb3d_openb3dex_TTexture_TextureWidth(struct openb3d_openb3dex_TTexture_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_TextureHeight_m)(struct openb3d_openb3dex_TTexture_obj*);
BBINT _openb3d_openb3dex_TTexture_TextureHeight(struct openb3d_openb3dex_TTexture_obj*);
typedef BBSTRING (*openb3d_openb3dex_TTexture_TextureName_m)(struct openb3d_openb3dex_TTexture_obj*);
BBSTRING _openb3d_openb3dex_TTexture_TextureName(struct openb3d_openb3dex_TTexture_obj*);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_GetBrushTexture_TTTexture_TTBrushi_f)(struct openb3d_openb3dex_TBrush_obj*,BBINT);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_GetBrushTexture_TTTexture_TTBrushi(struct openb3d_openb3dex_TBrush_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_ClearTextureFilters_i_f)();
BBINT openb3d_openb3dex_TTexture_ClearTextureFilters_i();
typedef BBINT (*openb3d_openb3dex_TTexture_TextureFilter_i_Si_f)(BBSTRING,BBINT);
BBINT openb3d_openb3dex_TTexture_TextureFilter_i_Si(BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_SetCubeFace_i_m)(struct openb3d_openb3dex_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_SetCubeFace_i(struct openb3d_openb3dex_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_SetCubeMode_i_m)(struct openb3d_openb3dex_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_SetCubeMode_i(struct openb3d_openb3dex_TTexture_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_BackBufferToTex_i_m)(struct openb3d_openb3dex_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_BackBufferToTex_i(struct openb3d_openb3dex_TTexture_obj*,BBINT);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_Copy_m)(struct openb3d_openb3dex_TTexture_obj*);
struct openb3d_openb3dex_TTexture_obj* _openb3d_openb3dex_TTexture_Copy(struct openb3d_openb3dex_TTexture_obj*);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_TexInList_m)(struct openb3d_openb3dex_TTexture_obj*);
struct openb3d_openb3dex_TTexture_obj* _openb3d_openb3dex_TTexture_TexInList(struct openb3d_openb3dex_TTexture_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_FilterFlags_m)(struct openb3d_openb3dex_TTexture_obj*);
BBINT _openb3d_openb3dex_TTexture_FilterFlags(struct openb3d_openb3dex_TTexture_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_FileFind_i_vS_f)(BBSTRING*);
BBINT openb3d_openb3dex_TTexture_FileFind_i_vS(BBSTRING*);
typedef BBSTRING (*openb3d_openb3dex_TTexture_FileAbs_S_S_f)(BBSTRING);
BBSTRING openb3d_openb3dex_TTexture_FileAbs_S_S(BBSTRING);
typedef struct brl_pixmap_TPixmap_obj* (*openb3d_openb3dex_TTexture_AdjustPixmap_TTPixmap_TTPixmap_f)(struct brl_pixmap_TPixmap_obj*);
struct brl_pixmap_TPixmap_obj* openb3d_openb3dex_TTexture_AdjustPixmap_TTPixmap_TTPixmap(struct brl_pixmap_TPixmap_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_Pow2Size_i_i_f)(BBINT);
BBINT openb3d_openb3dex_TTexture_Pow2Size_i_i(BBINT);
typedef struct brl_pixmap_TPixmap_obj* (*openb3d_openb3dex_TTexture_ApplyAlpha_TTPixmap_TTPixmap_f)(struct brl_pixmap_TPixmap_obj*);
struct brl_pixmap_TPixmap_obj* openb3d_openb3dex_TTexture_ApplyAlpha_TTPixmap_TTPixmap(struct brl_pixmap_TPixmap_obj*);
typedef BBINT (*openb3d_openb3dex_TTexture_CameraToTexEXT_TTCamerai_m)(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_CameraToTexEXT_TTCamerai(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_DepthBufferToTexEXT_TTCamerai_m)(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_DepthBufferToTexEXT_TTCamerai(struct openb3d_openb3dex_TTexture_obj*,struct openb3d_openb3dex_TCamera_obj*,BBINT);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TTexture_LoadTextureAlpha_TTTexture_Sii_f)(BBSTRING,BBINT,BBINT);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_TTexture_LoadTextureAlpha_TTTexture_Sii(BBSTRING,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TTexture_TextureFlags_i_m)(struct openb3d_openb3dex_TTexture_obj*,BBINT);
BBINT _openb3d_openb3dex_TTexture_TextureFlags_i(struct openb3d_openb3dex_TTexture_obj*,BBINT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TTexture_CreateObject_TTTexture_pb_f f_CreateObject_TTTexture_pb;
	openb3d_openb3dex_TTexture_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TTexture_GetObject_TTTexture_pb_f f_GetObject_TTTexture_pb;
	openb3d_openb3dex_TTexture_GetInstance_pb_TTTexture_f f_GetInstance_pb_TTTexture;
	openb3d_openb3dex_TTexture_InitFields_m m_InitFields;
	openb3d_openb3dex_TTexture_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TTexture_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TTexture_BufferToTex_pbi_m m_BufferToTex_pbi;
	openb3d_openb3dex_TTexture_TexToBuffer_pbi_m m_TexToBuffer_pbi;
	openb3d_openb3dex_TTexture_CameraToTex_TTCamerai_m m_CameraToTex_TTCamerai;
	openb3d_openb3dex_TTexture_DepthBufferToTex_TTCamera_m m_DepthBufferToTex_TTCamera;
	openb3d_openb3dex_TTexture_FreeTexture_m m_FreeTexture;
	openb3d_openb3dex_TTexture_CreateTexture_TTTexture_iiii_f f_CreateTexture_TTTexture_iiii;
	openb3d_openb3dex_TTexture_LoadTexture_TTTexture_Si_f f_LoadTexture_TTTexture_Si;
	openb3d_openb3dex_TTexture_LoadAnimTexture_TTTexture_Siiiii_f f_LoadAnimTexture_TTTexture_Siiiii;
	openb3d_openb3dex_TTexture_TextureBlend_i_m m_TextureBlend_i;
	openb3d_openb3dex_TTexture_TextureCoords_i_m m_TextureCoords_i;
	openb3d_openb3dex_TTexture_ScaleTexture_ff_m m_ScaleTexture_ff;
	openb3d_openb3dex_TTexture_PositionTexture_ff_m m_PositionTexture_ff;
	openb3d_openb3dex_TTexture_RotateTexture_f_m m_RotateTexture_f;
	openb3d_openb3dex_TTexture_TextureWidth_m m_TextureWidth;
	openb3d_openb3dex_TTexture_TextureHeight_m m_TextureHeight;
	openb3d_openb3dex_TTexture_TextureName_m m_TextureName;
	openb3d_openb3dex_TTexture_GetBrushTexture_TTTexture_TTBrushi_f f_GetBrushTexture_TTTexture_TTBrushi;
	openb3d_openb3dex_TTexture_ClearTextureFilters_i_f f_ClearTextureFilters_i;
	openb3d_openb3dex_TTexture_TextureFilter_i_Si_f f_TextureFilter_i_Si;
	openb3d_openb3dex_TTexture_SetCubeFace_i_m m_SetCubeFace_i;
	openb3d_openb3dex_TTexture_SetCubeMode_i_m m_SetCubeMode_i;
	openb3d_openb3dex_TTexture_BackBufferToTex_i_m m_BackBufferToTex_i;
	openb3d_openb3dex_TTexture_Copy_m m_Copy;
	openb3d_openb3dex_TTexture_TexInList_m m_TexInList;
	openb3d_openb3dex_TTexture_FilterFlags_m m_FilterFlags;
	openb3d_openb3dex_TTexture_FileFind_i_vS_f f_FileFind_i_vS;
	openb3d_openb3dex_TTexture_FileAbs_S_S_f f_FileAbs_S_S;
	openb3d_openb3dex_TTexture_AdjustPixmap_TTPixmap_TTPixmap_f f_AdjustPixmap_TTPixmap_TTPixmap;
	openb3d_openb3dex_TTexture_Pow2Size_i_i_f f_Pow2Size_i_i;
	openb3d_openb3dex_TTexture_ApplyAlpha_TTPixmap_TTPixmap_f f_ApplyAlpha_TTPixmap_TTPixmap;
	openb3d_openb3dex_TTexture_CameraToTexEXT_TTCamerai_m m_CameraToTexEXT_TTCamerai;
	openb3d_openb3dex_TTexture_DepthBufferToTexEXT_TTCamerai_m m_DepthBufferToTexEXT_TTCamerai;
	openb3d_openb3dex_TTexture_LoadTextureAlpha_TTTexture_Sii_f f_LoadTextureAlpha_TTTexture_Sii;
	openb3d_openb3dex_TTexture_TextureFlags_i_m m_TextureFlags_i;
};

struct openb3d_openb3dex_TTexture_obj {
	struct BBClass_openb3d_openb3dex_TTexture* clas;
	BBINT* _openb3d_openb3dex_ttexture_texture;
	BBBYTE* _openb3d_openb3dex_ttexture_file;
	BBINT* _openb3d_openb3dex_ttexture_frames;
	BBINT* _openb3d_openb3dex_ttexture_flags;
	BBINT* _openb3d_openb3dex_ttexture_blend;
	BBINT* _openb3d_openb3dex_ttexture_coords;
	BBFLOAT* _openb3d_openb3dex_ttexture_u_scale;
	BBFLOAT* _openb3d_openb3dex_ttexture_v_scale;
	BBFLOAT* _openb3d_openb3dex_ttexture_u_pos;
	BBFLOAT* _openb3d_openb3dex_ttexture_v_pos;
	BBFLOAT* _openb3d_openb3dex_ttexture_angle;
	BBBYTE* _openb3d_openb3dex_ttexture_file_abs;
	BBINT* _openb3d_openb3dex_ttexture_width;
	BBINT* _openb3d_openb3dex_ttexture_height;
	BBINT* _openb3d_openb3dex_ttexture_no_frames;
	BBINT* _openb3d_openb3dex_ttexture_framebuffer;
	BBINT* _openb3d_openb3dex_ttexture_cube_face;
	BBINT* _openb3d_openb3dex_ttexture_cube_mode;
	BBBYTE* _openb3d_openb3dex_ttexture_instance;
	BBINT _openb3d_openb3dex_ttexture_exists;
};
extern struct BBClass_openb3d_openb3dex_TTexture openb3d_openb3dex_TTexture;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TTexture_tex_list;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TTexture_tex_map;
extern BBINT openb3d_openb3dex_TTexture_tex_list_id;
void _openb3d_openb3dex_TTextureFilter_New(struct openb3d_openb3dex_TTextureFilter_obj* o);
struct BBClass_openb3d_openb3dex_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;
};

struct openb3d_openb3dex_TTextureFilter_obj {
	struct BBClass_openb3d_openb3dex_TTextureFilter* clas;
	BBSTRING _openb3d_openb3dex_ttexturefilter_text;
	BBINT _openb3d_openb3dex_ttexturefilter_flags;
};
extern struct BBClass_openb3d_openb3dex_TTextureFilter openb3d_openb3dex_TTextureFilter;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TTextureFilter_filter_list;
void _openb3d_openb3dex_TBrush_New(struct openb3d_openb3dex_TBrush_obj* o);
void _openb3d_openb3dex_TBrush_Delete(struct openb3d_openb3dex_TBrush_obj* o);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_CreateObject_TTBrush_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_TBrush_CreateObject_TTBrush_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TBrush_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TBrush_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_GetObject_TTBrush_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_TBrush_GetObject_TTBrush_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TBrush_GetInstance_pb_TTBrush_f)(struct openb3d_openb3dex_TBrush_obj*);
BBBYTE* openb3d_openb3dex_TBrush_GetInstance_pb_TTBrush(struct openb3d_openb3dex_TBrush_obj*);
typedef BBINT (*openb3d_openb3dex_TBrush_InitFields_m)(struct openb3d_openb3dex_TBrush_obj*);
BBINT _openb3d_openb3dex_TBrush_InitFields(struct openb3d_openb3dex_TBrush_obj*);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TBrush_GetBrushTexture_i_m)(struct openb3d_openb3dex_TBrush_obj*,BBINT);
struct openb3d_openb3dex_TTexture_obj* _openb3d_openb3dex_TBrush_GetBrushTexture_i(struct openb3d_openb3dex_TBrush_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TBrush_FreeBrush_m)(struct openb3d_openb3dex_TBrush_obj*);
BBINT _openb3d_openb3dex_TBrush_FreeBrush(struct openb3d_openb3dex_TBrush_obj*);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_CreateBrush_TTBrush_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_TBrush_CreateBrush_TTBrush_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_LoadBrush_TTBrush_Siff_f)(BBSTRING,BBINT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_TBrush_LoadBrush_TTBrush_Siff(BBSTRING,BBINT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TBrush_BrushColor_fff_m)(struct openb3d_openb3dex_TBrush_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TBrush_BrushColor_fff(struct openb3d_openb3dex_TBrush_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TBrush_BrushAlpha_f_m)(struct openb3d_openb3dex_TBrush_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TBrush_BrushAlpha_f(struct openb3d_openb3dex_TBrush_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TBrush_BrushShininess_f_m)(struct openb3d_openb3dex_TBrush_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TBrush_BrushShininess_f(struct openb3d_openb3dex_TBrush_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TBrush_BrushTexture_TTTextureii_m)(struct openb3d_openb3dex_TBrush_obj*,struct openb3d_openb3dex_TTexture_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TBrush_BrushTexture_TTTextureii(struct openb3d_openb3dex_TBrush_obj*,struct openb3d_openb3dex_TTexture_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TBrush_BrushBlend_i_m)(struct openb3d_openb3dex_TBrush_obj*,BBINT);
BBINT _openb3d_openb3dex_TBrush_BrushBlend_i(struct openb3d_openb3dex_TBrush_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TBrush_BrushFX_i_m)(struct openb3d_openb3dex_TBrush_obj*,BBINT);
BBINT _openb3d_openb3dex_TBrush_BrushFX_i(struct openb3d_openb3dex_TBrush_obj*,BBINT);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_GetEntityBrush_TTBrush_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_TBrush_GetEntityBrush_TTBrush_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_GetSurfaceBrush_TTBrush_TTSurface_f)(struct openb3d_openb3dex_TSurface_obj*);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_TBrush_GetSurfaceBrush_TTBrush_TTSurface(struct openb3d_openb3dex_TSurface_obj*);
typedef struct openb3d_openb3dex_TBrush_obj* (*openb3d_openb3dex_TBrush_Copy_m)(struct openb3d_openb3dex_TBrush_obj*);
struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_TBrush_Copy(struct openb3d_openb3dex_TBrush_obj*);
typedef BBINT (*openb3d_openb3dex_TBrush_CompareBrushes_i_TTBrushTTBrush_f)(struct openb3d_openb3dex_TBrush_obj*,struct openb3d_openb3dex_TBrush_obj*);
BBINT openb3d_openb3dex_TBrush_CompareBrushes_i_TTBrushTTBrush(struct openb3d_openb3dex_TBrush_obj*,struct openb3d_openb3dex_TBrush_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TBrush_CreateObject_TTBrush_pb_f f_CreateObject_TTBrush_pb;
	openb3d_openb3dex_TBrush_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TBrush_GetObject_TTBrush_pb_f f_GetObject_TTBrush_pb;
	openb3d_openb3dex_TBrush_GetInstance_pb_TTBrush_f f_GetInstance_pb_TTBrush;
	openb3d_openb3dex_TBrush_InitFields_m m_InitFields;
	openb3d_openb3dex_TBrush_GetBrushTexture_i_m m_GetBrushTexture_i;
	openb3d_openb3dex_TBrush_FreeBrush_m m_FreeBrush;
	openb3d_openb3dex_TBrush_CreateBrush_TTBrush_fff_f f_CreateBrush_TTBrush_fff;
	openb3d_openb3dex_TBrush_LoadBrush_TTBrush_Siff_f f_LoadBrush_TTBrush_Siff;
	openb3d_openb3dex_TBrush_BrushColor_fff_m m_BrushColor_fff;
	openb3d_openb3dex_TBrush_BrushAlpha_f_m m_BrushAlpha_f;
	openb3d_openb3dex_TBrush_BrushShininess_f_m m_BrushShininess_f;
	openb3d_openb3dex_TBrush_BrushTexture_TTTextureii_m m_BrushTexture_TTTextureii;
	openb3d_openb3dex_TBrush_BrushBlend_i_m m_BrushBlend_i;
	openb3d_openb3dex_TBrush_BrushFX_i_m m_BrushFX_i;
	openb3d_openb3dex_TBrush_GetEntityBrush_TTBrush_TTEntity_f f_GetEntityBrush_TTBrush_TTEntity;
	openb3d_openb3dex_TBrush_GetSurfaceBrush_TTBrush_TTSurface_f f_GetSurfaceBrush_TTBrush_TTSurface;
	openb3d_openb3dex_TBrush_Copy_m m_Copy;
	openb3d_openb3dex_TBrush_CompareBrushes_i_TTBrushTTBrush_f f_CompareBrushes_i_TTBrushTTBrush;
};

struct openb3d_openb3dex_TBrush_obj {
	struct BBClass_openb3d_openb3dex_TBrush* clas;
	BBINT* _openb3d_openb3dex_tbrush_no_texs;
	BBBYTE* _openb3d_openb3dex_tbrush_name;
	BBFLOAT* _openb3d_openb3dex_tbrush_red;
	BBFLOAT* _openb3d_openb3dex_tbrush_green;
	BBFLOAT* _openb3d_openb3dex_tbrush_blue;
	BBFLOAT* _openb3d_openb3dex_tbrush_alpha;
	BBFLOAT* _openb3d_openb3dex_tbrush_shine;
	BBINT* _openb3d_openb3dex_tbrush_blend;
	BBINT* _openb3d_openb3dex_tbrush_fx;
	BBINT* _openb3d_openb3dex_tbrush_cache_frame;
	BBARRAY _openb3d_openb3dex_tbrush_tex;
	BBBYTE* _openb3d_openb3dex_tbrush_instance;
	BBINT _openb3d_openb3dex_tbrush_exists;
};
extern struct BBClass_openb3d_openb3dex_TBrush openb3d_openb3dex_TBrush;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TBrush_brush_map;
void _openb3d_openb3dex_TAnimation_New(struct openb3d_openb3dex_TAnimation_obj* o);
typedef BBINT (*openb3d_openb3dex_TAnimation_AnimateMesh3_i_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TAnimation_AnimateMesh3_i_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TAnimation_AnimateMesh_i_TTEntityfii_f)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT,BBINT);
BBINT openb3d_openb3dex_TAnimation_AnimateMesh_i_TTEntityfii(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TAnimation_AnimateMesh2_i_TTEntityfii_f)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT,BBINT);
BBINT openb3d_openb3dex_TAnimation_AnimateMesh2_i_TTEntityfii(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TAnimation_VertexDeform_i_TTMesh_f)(struct openb3d_openb3dex_TMesh_obj*);
BBINT openb3d_openb3dex_TAnimation_VertexDeform_i_TTMesh(struct openb3d_openb3dex_TMesh_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TAnimation_AnimateMesh3_i_TTEntity_f f_AnimateMesh3_i_TTEntity;
	openb3d_openb3dex_TAnimation_AnimateMesh_i_TTEntityfii_f f_AnimateMesh_i_TTEntityfii;
	openb3d_openb3dex_TAnimation_AnimateMesh2_i_TTEntityfii_f f_AnimateMesh2_i_TTEntityfii;
	openb3d_openb3dex_TAnimation_VertexDeform_i_TTMesh_f f_VertexDeform_i_TTMesh;
};

struct openb3d_openb3dex_TAnimation_obj {
	struct BBClass_openb3d_openb3dex_TAnimation* clas;
};
extern struct BBClass_openb3d_openb3dex_TAnimation openb3d_openb3dex_TAnimation;
void _openb3d_openb3dex_TAnimationKeys_New(struct openb3d_openb3dex_TAnimationKeys_obj* o);
void _openb3d_openb3dex_TAnimationKeys_Delete(struct openb3d_openb3dex_TAnimationKeys_obj* o);
typedef struct openb3d_openb3dex_TAnimationKeys_obj* (*openb3d_openb3dex_TAnimationKeys_CreateObject_TTAnimationKeys_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TAnimationKeys_obj* openb3d_openb3dex_TAnimationKeys_CreateObject_TTAnimationKeys_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TAnimationKeys_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TAnimationKeys_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TAnimationKeys_obj* (*openb3d_openb3dex_TAnimationKeys_GetObject_TTAnimationKeys_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TAnimationKeys_obj* openb3d_openb3dex_TAnimationKeys_GetObject_TTAnimationKeys_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TAnimationKeys_GetInstance_pb_TTAnimationKeys_f)(struct openb3d_openb3dex_TAnimationKeys_obj*);
BBBYTE* openb3d_openb3dex_TAnimationKeys_GetInstance_pb_TTAnimationKeys(struct openb3d_openb3dex_TAnimationKeys_obj*);
typedef BBINT (*openb3d_openb3dex_TAnimationKeys_InitFields_m)(struct openb3d_openb3dex_TAnimationKeys_obj*);
BBINT _openb3d_openb3dex_TAnimationKeys_InitFields(struct openb3d_openb3dex_TAnimationKeys_obj*);
typedef struct openb3d_openb3dex_TAnimationKeys_obj* (*openb3d_openb3dex_TAnimationKeys_Copy_m)(struct openb3d_openb3dex_TAnimationKeys_obj*);
struct openb3d_openb3dex_TAnimationKeys_obj* _openb3d_openb3dex_TAnimationKeys_Copy(struct openb3d_openb3dex_TAnimationKeys_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TAnimationKeys_CreateObject_TTAnimationKeys_pb_f f_CreateObject_TTAnimationKeys_pb;
	openb3d_openb3dex_TAnimationKeys_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TAnimationKeys_GetObject_TTAnimationKeys_pb_f f_GetObject_TTAnimationKeys_pb;
	openb3d_openb3dex_TAnimationKeys_GetInstance_pb_TTAnimationKeys_f f_GetInstance_pb_TTAnimationKeys;
	openb3d_openb3dex_TAnimationKeys_InitFields_m m_InitFields;
	openb3d_openb3dex_TAnimationKeys_Copy_m m_Copy;
};

struct openb3d_openb3dex_TAnimationKeys_obj {
	struct BBClass_openb3d_openb3dex_TAnimationKeys* clas;
	BBINT* _openb3d_openb3dex_tanimationkeys_frames;
	BBINT* _openb3d_openb3dex_tanimationkeys_flags;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_px;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_py;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_pz;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_sx;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_sy;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_sz;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_qw;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_qx;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_qy;
	BBFLOAT* _openb3d_openb3dex_tanimationkeys_qz;
	BBBYTE* _openb3d_openb3dex_tanimationkeys_instance;
};
extern struct BBClass_openb3d_openb3dex_TAnimationKeys openb3d_openb3dex_TAnimationKeys;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TAnimationKeys_animkeys_map;
void _openb3d_openb3dex_TPick_New(struct openb3d_openb3dex_TPick_obj* o);
typedef BBINT (*openb3d_openb3dex_TPick_InitGlobals_i_f)();
BBINT openb3d_openb3dex_TPick_InitGlobals_i();
typedef BBINT (*openb3d_openb3dex_TPick_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TPick_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TPick_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TPick_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TPick_CameraPick_TTEntity_TTCameraff_f)(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TPick_CameraPick_TTEntity_TTCameraff(struct openb3d_openb3dex_TCamera_obj*,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TPick_EntityPick_TTEntity_TTEntityf_f)(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TPick_EntityPick_TTEntity_TTEntityf(struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TPick_LinePick_TTEntity_fffffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TPick_LinePick_TTEntity_fffffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TPick_EntityVisible_i_TTEntityTTEntity_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TPick_EntityVisible_i_TTEntityTTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedX_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedX_f();
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedY_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedY_f();
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedZ_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedZ_f();
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedNX_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedNX_f();
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedNY_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedNY_f();
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedNZ_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedNZ_f();
typedef BBFLOAT (*openb3d_openb3dex_TPick_PickedTime_f_f)();
BBFLOAT openb3d_openb3dex_TPick_PickedTime_f();
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TPick_PickedEntity_TTEntity_f)();
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TPick_PickedEntity_TTEntity();
typedef struct openb3d_openb3dex_TSurface_obj* (*openb3d_openb3dex_TPick_PickedSurface_TTSurface_f)();
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_TPick_PickedSurface_TTSurface();
typedef BBINT (*openb3d_openb3dex_TPick_PickedTriangle_i_f)();
BBINT openb3d_openb3dex_TPick_PickedTriangle_i();
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TPick_Pick_TTEntity_fffffff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TPick_Pick_TTEntity_fffffff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TPick_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TPick_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TPick_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TPick_CameraPick_TTEntity_TTCameraff_f f_CameraPick_TTEntity_TTCameraff;
	openb3d_openb3dex_TPick_EntityPick_TTEntity_TTEntityf_f f_EntityPick_TTEntity_TTEntityf;
	openb3d_openb3dex_TPick_LinePick_TTEntity_fffffff_f f_LinePick_TTEntity_fffffff;
	openb3d_openb3dex_TPick_EntityVisible_i_TTEntityTTEntity_f f_EntityVisible_i_TTEntityTTEntity;
	openb3d_openb3dex_TPick_PickedX_f_f f_PickedX_f;
	openb3d_openb3dex_TPick_PickedY_f_f f_PickedY_f;
	openb3d_openb3dex_TPick_PickedZ_f_f f_PickedZ_f;
	openb3d_openb3dex_TPick_PickedNX_f_f f_PickedNX_f;
	openb3d_openb3dex_TPick_PickedNY_f_f f_PickedNY_f;
	openb3d_openb3dex_TPick_PickedNZ_f_f f_PickedNZ_f;
	openb3d_openb3dex_TPick_PickedTime_f_f f_PickedTime_f;
	openb3d_openb3dex_TPick_PickedEntity_TTEntity_f f_PickedEntity_TTEntity;
	openb3d_openb3dex_TPick_PickedSurface_TTSurface_f f_PickedSurface_TTSurface;
	openb3d_openb3dex_TPick_PickedTriangle_i_f f_PickedTriangle_i;
	openb3d_openb3dex_TPick_Pick_TTEntity_fffffff_f f_Pick_TTEntity_fffffff;
};

struct openb3d_openb3dex_TPick_obj {
	struct BBClass_openb3d_openb3dex_TPick* clas;
};
extern struct BBClass_openb3d_openb3dex_TPick openb3d_openb3dex_TPick;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TPick_ent_list;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_x;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_y;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_z;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_nx;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_ny;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_nz;
extern BBFLOAT* openb3d_openb3dex_TPick_picked_time;
extern struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TPick_picked_ent;
extern struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_TPick_picked_surface;
extern BBINT* openb3d_openb3dex_TPick_picked_triangle;
extern BBINT openb3d_openb3dex_TPick_ent_list_id;
void _openb3d_openb3dex_TVector_New(struct openb3d_openb3dex_TVector_obj* o);
void _openb3d_openb3dex_TVector_Delete(struct openb3d_openb3dex_TVector_obj* o);
BBINT _openb3d_openb3dex_TVector_Compare(struct openb3d_openb3dex_TVector_obj* o, BBOBJECT otherObject);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Create_TTVector_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
struct openb3d_openb3dex_TVector_obj* openb3d_openb3dex_TVector_Create_TTVector_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Copy_m)(struct openb3d_openb3dex_TVector_obj*);
struct openb3d_openb3dex_TVector_obj* _openb3d_openb3dex_TVector_Copy(struct openb3d_openb3dex_TVector_obj*);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Add_TTVector_m)(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
struct openb3d_openb3dex_TVector_obj* _openb3d_openb3dex_TVector_Add_TTVector(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Subtract_TTVector_m)(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
struct openb3d_openb3dex_TVector_obj* _openb3d_openb3dex_TVector_Subtract_TTVector(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Multiply_f_m)(struct openb3d_openb3dex_TVector_obj*,BBFLOAT);
struct openb3d_openb3dex_TVector_obj* _openb3d_openb3dex_TVector_Multiply_f(struct openb3d_openb3dex_TVector_obj*,BBFLOAT);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Divide_f_m)(struct openb3d_openb3dex_TVector_obj*,BBFLOAT);
struct openb3d_openb3dex_TVector_obj* _openb3d_openb3dex_TVector_Divide_f(struct openb3d_openb3dex_TVector_obj*,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TVector_Dot_TTVector_m)(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
BBFLOAT _openb3d_openb3dex_TVector_Dot_TTVector(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
typedef struct openb3d_openb3dex_TVector_obj* (*openb3d_openb3dex_TVector_Cross_TTVector_m)(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
struct openb3d_openb3dex_TVector_obj* _openb3d_openb3dex_TVector_Cross_TTVector(struct openb3d_openb3dex_TVector_obj*,struct openb3d_openb3dex_TVector_obj*);
typedef BBINT (*openb3d_openb3dex_TVector_Normalize_m)(struct openb3d_openb3dex_TVector_obj*);
BBINT _openb3d_openb3dex_TVector_Normalize(struct openb3d_openb3dex_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TVector_Length_m)(struct openb3d_openb3dex_TVector_obj*);
BBFLOAT _openb3d_openb3dex_TVector_Length(struct openb3d_openb3dex_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TVector_SquaredLength_m)(struct openb3d_openb3dex_TVector_obj*);
BBFLOAT _openb3d_openb3dex_TVector_SquaredLength(struct openb3d_openb3dex_TVector_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TVector_SetLength_f_m)(struct openb3d_openb3dex_TVector_obj*,BBFLOAT);
BBFLOAT _openb3d_openb3dex_TVector_SetLength_f(struct openb3d_openb3dex_TVector_obj*,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TVector_VectorYaw_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dex_TVector_VectorYaw_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TVector_VectorPitch_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dex_TVector_VectorPitch_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dex_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 );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	openb3d_openb3dex_TVector_Create_TTVector_fff_f f_Create_TTVector_fff;
	openb3d_openb3dex_TVector_Copy_m m_Copy;
	openb3d_openb3dex_TVector_Add_TTVector_m m_Add_TTVector;
	openb3d_openb3dex_TVector_Subtract_TTVector_m m_Subtract_TTVector;
	openb3d_openb3dex_TVector_Multiply_f_m m_Multiply_f;
	openb3d_openb3dex_TVector_Divide_f_m m_Divide_f;
	openb3d_openb3dex_TVector_Dot_TTVector_m m_Dot_TTVector;
	openb3d_openb3dex_TVector_Cross_TTVector_m m_Cross_TTVector;
	openb3d_openb3dex_TVector_Normalize_m m_Normalize;
	openb3d_openb3dex_TVector_Length_m m_Length;
	openb3d_openb3dex_TVector_SquaredLength_m m_SquaredLength;
	openb3d_openb3dex_TVector_SetLength_f_m m_SetLength_f;
	openb3d_openb3dex_TVector_VectorYaw_f_fff_f f_VectorYaw_f_fff;
	openb3d_openb3dex_TVector_VectorPitch_f_fff_f f_VectorPitch_f_fff;
};

struct openb3d_openb3dex_TVector_obj {
	struct BBClass_openb3d_openb3dex_TVector* clas;
	BBFLOAT _openb3d_openb3dex_tvector_x;
	BBFLOAT _openb3d_openb3dex_tvector_y;
	BBFLOAT _openb3d_openb3dex_tvector_z;
};
extern struct BBClass_openb3d_openb3dex_TVector openb3d_openb3dex_TVector;
void _openb3d_openb3dex_TMatrix_New(struct openb3d_openb3dex_TMatrix_obj* o);
void _openb3d_openb3dex_TMatrix_Delete(struct openb3d_openb3dex_TMatrix_obj* o);
typedef struct openb3d_openb3dex_TMatrix_obj* (*openb3d_openb3dex_TMatrix_CreateObject_TTMatrix_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TMatrix_obj* openb3d_openb3dex_TMatrix_CreateObject_TTMatrix_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TMatrix_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TMatrix_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TMatrix_obj* (*openb3d_openb3dex_TMatrix_GetObject_TTMatrix_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TMatrix_obj* openb3d_openb3dex_TMatrix_GetObject_TTMatrix_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TMatrix_GetInstance_pb_TTMatrix_f)(struct openb3d_openb3dex_TMatrix_obj*);
BBBYTE* openb3d_openb3dex_TMatrix_GetInstance_pb_TTMatrix(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_InitFields_m)(struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_InitFields(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_LoadIdentity_m)(struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_LoadIdentity(struct openb3d_openb3dex_TMatrix_obj*);
typedef struct openb3d_openb3dex_TMatrix_obj* (*openb3d_openb3dex_TMatrix_Copy_m)(struct openb3d_openb3dex_TMatrix_obj*);
struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_TMatrix_Copy(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_Overwrite_TTMatrix_m)(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_Overwrite_TTMatrix(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef struct openb3d_openb3dex_TMatrix_obj* (*openb3d_openb3dex_TMatrix_GetInverse_TTMatrix_m)(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_TMatrix_GetInverse_TTMatrix(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef struct openb3d_openb3dex_TMatrix_obj* (*openb3d_openb3dex_TMatrix_Inverse_m)(struct openb3d_openb3dex_TMatrix_obj*);
struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_TMatrix_Inverse(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_Multiply_TTMatrix_m)(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_Multiply_TTMatrix(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_Translate_fff_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_Translate_fff(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_Scale_fff_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_Scale_fff(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_Rotate_fff_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_Rotate_fff(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_RotatePitch_f_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_RotatePitch_f(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_RotateYaw_f_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_RotateYaw_f(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_RotateRoll_f_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_RotateRoll_f(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_FromQuaternion_ffff_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_FromQuaternion_ffff(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_TransformVec_vfvfvfi_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBINT);
BBINT _openb3d_openb3dex_TMatrix_TransformVec_vfvfvfi(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBINT);
typedef BBINT (*openb3d_openb3dex_TMatrix_Transpose_m)(struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_Transpose(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_SetTranslate_fff_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_SetTranslate_fff(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_Multiply2_TTMatrix_m)(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_Multiply2_TTMatrix(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_GetInverse2_TTMatrix_m)(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
BBINT _openb3d_openb3dex_TMatrix_GetInverse2_TTMatrix(struct openb3d_openb3dex_TMatrix_obj*,struct openb3d_openb3dex_TMatrix_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TMatrix_GetPitch_m)(struct openb3d_openb3dex_TMatrix_obj*);
BBFLOAT _openb3d_openb3dex_TMatrix_GetPitch(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TMatrix_GetYaw_m)(struct openb3d_openb3dex_TMatrix_obj*);
BBFLOAT _openb3d_openb3dex_TMatrix_GetYaw(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBFLOAT (*openb3d_openb3dex_TMatrix_GetRoll_m)(struct openb3d_openb3dex_TMatrix_obj*);
BBFLOAT _openb3d_openb3dex_TMatrix_GetRoll(struct openb3d_openb3dex_TMatrix_obj*);
typedef BBINT (*openb3d_openb3dex_TMatrix_FromToRotation_ffffff_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TMatrix_FromToRotation_ffffff(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TMatrix_ToQuat_vfvfvfvf_m)(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dex_TMatrix_ToQuat_vfvfvfvf(struct openb3d_openb3dex_TMatrix_obj*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TMatrix_CreateObject_TTMatrix_pb_f f_CreateObject_TTMatrix_pb;
	openb3d_openb3dex_TMatrix_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TMatrix_GetObject_TTMatrix_pb_f f_GetObject_TTMatrix_pb;
	openb3d_openb3dex_TMatrix_GetInstance_pb_TTMatrix_f f_GetInstance_pb_TTMatrix;
	openb3d_openb3dex_TMatrix_InitFields_m m_InitFields;
	openb3d_openb3dex_TMatrix_LoadIdentity_m m_LoadIdentity;
	openb3d_openb3dex_TMatrix_Copy_m m_Copy;
	openb3d_openb3dex_TMatrix_Overwrite_TTMatrix_m m_Overwrite_TTMatrix;
	openb3d_openb3dex_TMatrix_GetInverse_TTMatrix_m m_GetInverse_TTMatrix;
	openb3d_openb3dex_TMatrix_Inverse_m m_Inverse;
	openb3d_openb3dex_TMatrix_Multiply_TTMatrix_m m_Multiply_TTMatrix;
	openb3d_openb3dex_TMatrix_Translate_fff_m m_Translate_fff;
	openb3d_openb3dex_TMatrix_Scale_fff_m m_Scale_fff;
	openb3d_openb3dex_TMatrix_Rotate_fff_m m_Rotate_fff;
	openb3d_openb3dex_TMatrix_RotatePitch_f_m m_RotatePitch_f;
	openb3d_openb3dex_TMatrix_RotateYaw_f_m m_RotateYaw_f;
	openb3d_openb3dex_TMatrix_RotateRoll_f_m m_RotateRoll_f;
	openb3d_openb3dex_TMatrix_FromQuaternion_ffff_m m_FromQuaternion_ffff;
	openb3d_openb3dex_TMatrix_TransformVec_vfvfvfi_m m_TransformVec_vfvfvfi;
	openb3d_openb3dex_TMatrix_Transpose_m m_Transpose;
	openb3d_openb3dex_TMatrix_SetTranslate_fff_m m_SetTranslate_fff;
	openb3d_openb3dex_TMatrix_Multiply2_TTMatrix_m m_Multiply2_TTMatrix;
	openb3d_openb3dex_TMatrix_GetInverse2_TTMatrix_m m_GetInverse2_TTMatrix;
	openb3d_openb3dex_TMatrix_GetPitch_m m_GetPitch;
	openb3d_openb3dex_TMatrix_GetYaw_m m_GetYaw;
	openb3d_openb3dex_TMatrix_GetRoll_m m_GetRoll;
	openb3d_openb3dex_TMatrix_FromToRotation_ffffff_m m_FromToRotation_ffffff;
	openb3d_openb3dex_TMatrix_ToQuat_vfvfvfvf_m m_ToQuat_vfvfvfvf;
};

struct openb3d_openb3dex_TMatrix_obj {
	struct BBClass_openb3d_openb3dex_TMatrix* clas;
	BBFLOAT* _openb3d_openb3dex_tmatrix_grid;
	BBBYTE* _openb3d_openb3dex_tmatrix_instance;
};
extern struct BBClass_openb3d_openb3dex_TMatrix openb3d_openb3dex_TMatrix;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TMatrix_matrix_map;
void _openb3d_openb3dex_TQuaternion_New(struct openb3d_openb3dex_TQuaternion_obj* o);
void _openb3d_openb3dex_TQuaternion_Delete(struct openb3d_openb3dex_TQuaternion_obj* o);
typedef BBINT (*openb3d_openb3dex_TQuaternion_QuatToMat_i_ffffvTTMatrix_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TMatrix_obj**);
BBINT openb3d_openb3dex_TQuaternion_QuatToMat_i_ffffvTTMatrix(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TMatrix_obj**);
typedef BBINT (*openb3d_openb3dex_TQuaternion_QuatToEuler_i_ffffvfvfvf_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT openb3d_openb3dex_TQuaternion_QuatToEuler_i_ffffvfvfvf(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TQuaternion_Slerp_i_ffffffffvfvfvfvff_f)(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT);
BBINT openb3d_openb3dex_TQuaternion_Slerp_i_ffffffffvfvfvfvff(BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TQuaternion_QuatToMat_i_ffffvTTMatrix_f f_QuatToMat_i_ffffvTTMatrix;
	openb3d_openb3dex_TQuaternion_QuatToEuler_i_ffffvfvfvf_f f_QuatToEuler_i_ffffvfvfvf;
	openb3d_openb3dex_TQuaternion_Slerp_i_ffffffffvfvfvfvff_f f_Slerp_i_ffffffffvfvfvfvff;
};

struct openb3d_openb3dex_TQuaternion_obj {
	struct BBClass_openb3d_openb3dex_TQuaternion* clas;
	BBFLOAT _openb3d_openb3dex_tquaternion_w;
	BBFLOAT _openb3d_openb3dex_tquaternion_x;
	BBFLOAT _openb3d_openb3dex_tquaternion_y;
	BBFLOAT _openb3d_openb3dex_tquaternion_z;
};
extern struct BBClass_openb3d_openb3dex_TQuaternion openb3d_openb3dex_TQuaternion;
void _openb3d_openb3dex_TBlitz2D_New(struct openb3d_openb3dex_TBlitz2D_obj* o);
typedef BBINT (*openb3d_openb3dex_TBlitz2D_Text_i_iiS_f)(BBINT,BBINT,BBSTRING);
BBINT openb3d_openb3dex_TBlitz2D_Text_i_iiS(BBINT,BBINT,BBSTRING);
typedef BBINT (*openb3d_openb3dex_TBlitz2D_BeginMax2D_i_f)();
BBINT openb3d_openb3dex_TBlitz2D_BeginMax2D_i();
typedef BBINT (*openb3d_openb3dex_TBlitz2D_EndMax2D_i_f)();
BBINT openb3d_openb3dex_TBlitz2D_EndMax2D_i();
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TBlitz2D_Text_i_iiS_f f_Text_i_iiS;
	openb3d_openb3dex_TBlitz2D_BeginMax2D_i_f f_BeginMax2D_i;
	openb3d_openb3dex_TBlitz2D_EndMax2D_i_f f_EndMax2D_i;
};

struct openb3d_openb3dex_TBlitz2D_obj {
	struct BBClass_openb3d_openb3dex_TBlitz2D* clas;
};
extern struct BBClass_openb3d_openb3dex_TBlitz2D openb3d_openb3dex_TBlitz2D;
void _openb3d_openb3dex_TUtility_New(struct openb3d_openb3dex_TUtility_obj* o);
typedef BBFLOAT (*openb3d_openb3dex_TUtility_UpdateValue_f_fff_f)(BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT openb3d_openb3dex_TUtility_UpdateValue_f_fff(BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TUtility_UpdateValue_f_fff_f f_UpdateValue_f_fff;
};

struct openb3d_openb3dex_TUtility_obj {
	struct BBClass_openb3d_openb3dex_TUtility* clas;
};
extern struct BBClass_openb3d_openb3dex_TUtility openb3d_openb3dex_TUtility;
void _openb3d_openb3dex_TDebug_New(struct openb3d_openb3dex_TDebug_obj* o);
typedef BBINT (*openb3d_openb3dex_TDebug_DebugWorld_i_f)();
BBINT openb3d_openb3dex_TDebug_DebugWorld_i();
typedef struct openb3d_openb3dex_TEntity_obj* (*openb3d_openb3dex_TDebug_DebugEntity_TTEntity_TTEntityTTCamera_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_TDebug_DebugEntity_TTEntity_TTEntityTTCamera(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_UpdateBoundingSphere_i_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TDebug_UpdateBoundingSphere_i_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_UpdateSurface_i_TTEntityTTSurface_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TSurface_obj*);
BBINT openb3d_openb3dex_TDebug_UpdateSurface_i_TTEntityTTSurface(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_UpdateMarker_i_TTEntityTTCamera_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
BBINT openb3d_openb3dex_TDebug_UpdateMarker_i_TTEntityTTCamera(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_EntityInfo1_i_TTEntity_f)(struct openb3d_openb3dex_TEntity_obj*);
BBINT openb3d_openb3dex_TDebug_EntityInfo1_i_TTEntity(struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_EntityInfo2_i_TTEntityTTSurface_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TSurface_obj*);
BBINT openb3d_openb3dex_TDebug_EntityInfo2_i_TTEntityTTSurface(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_EntityInfo3_i_TTEntityTTSurface_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TSurface_obj*);
BBINT openb3d_openb3dex_TDebug_EntityInfo3_i_TTEntityTTSurface(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TDebug_EntityInfo4_i_TTEntityTTCamera_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
BBINT openb3d_openb3dex_TDebug_EntityInfo4_i_TTEntityTTCamera(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TCamera_obj*);
struct BBClass_openb3d_openb3dex_TDebug {
	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;
	openb3d_openb3dex_TDebug_DebugWorld_i_f f_DebugWorld_i;
	openb3d_openb3dex_TDebug_DebugEntity_TTEntity_TTEntityTTCamera_f f_DebugEntity_TTEntity_TTEntityTTCamera;
	openb3d_openb3dex_TDebug_UpdateBoundingSphere_i_TTEntity_f f_UpdateBoundingSphere_i_TTEntity;
	openb3d_openb3dex_TDebug_UpdateSurface_i_TTEntityTTSurface_f f_UpdateSurface_i_TTEntityTTSurface;
	openb3d_openb3dex_TDebug_UpdateMarker_i_TTEntityTTCamera_f f_UpdateMarker_i_TTEntityTTCamera;
	openb3d_openb3dex_TDebug_EntityInfo1_i_TTEntity_f f_EntityInfo1_i_TTEntity;
	openb3d_openb3dex_TDebug_EntityInfo2_i_TTEntityTTSurface_f f_EntityInfo2_i_TTEntityTTSurface;
	openb3d_openb3dex_TDebug_EntityInfo3_i_TTEntityTTSurface_f f_EntityInfo3_i_TTEntityTTSurface;
	openb3d_openb3dex_TDebug_EntityInfo4_i_TTEntityTTCamera_f f_EntityInfo4_i_TTEntityTTCamera;
};

struct openb3d_openb3dex_TDebug_obj {
	struct BBClass_openb3d_openb3dex_TDebug* clas;
};
extern struct BBClass_openb3d_openb3dex_TDebug openb3d_openb3dex_TDebug;
extern BBINT openb3d_openb3dex_TDebug_cno;
extern BBINT openb3d_openb3dex_TDebug_surf_no;
extern BBINT openb3d_openb3dex_TDebug_info;
extern BBINT openb3d_openb3dex_TDebug_show_ents;
extern struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TDebug_bounding_sphere;
extern struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TDebug_debug_mesh;
extern struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_TDebug_debug_surf;
extern struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_TDebug_marker;
void _openb3d_openb3dex_TTerrain_New(struct openb3d_openb3dex_TTerrain_obj* o);
void _openb3d_openb3dex_TTerrain_Delete(struct openb3d_openb3dex_TTerrain_obj* o);
typedef struct openb3d_openb3dex_TTerrain_obj* (*openb3d_openb3dex_TTerrain_CreateObject_TTTerrain_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TTerrain_obj* openb3d_openb3dex_TTerrain_CreateObject_TTTerrain_pb(BBBYTE*);
BBINT openb3d_openb3dex_TTerrain_InitGlobals_i();
BBINT _openb3d_openb3dex_TTerrain_InitFields(struct openb3d_openb3dex_TTerrain_obj*);
BBINT openb3d_openb3dex_TTerrain_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TTerrain_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
BBINT _openb3d_openb3dex_TTerrain_FreeEntity(struct openb3d_openb3dex_TTerrain_obj*);
typedef struct openb3d_openb3dex_TTerrain_obj* (*openb3d_openb3dex_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f)(BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TTerrain_obj* openb3d_openb3dex_TTerrain_CreateTerrain_TTTerrain_iTTEntity(BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TTerrain_obj* (*openb3d_openb3dex_TTerrain_LoadTerrain_TTTerrain_STTEntity_f)(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TTerrain_obj* openb3d_openb3dex_TTerrain_LoadTerrain_TTTerrain_STTEntity(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TTerrain_ModifyTerrain_iif_m)(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dex_TTerrain_ModifyTerrain_iif(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBINT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TTerrain_TerrainHeight_ii_m)(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBINT);
BBFLOAT _openb3d_openb3dex_TTerrain_TerrainHeight_ii(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBINT);
typedef BBFLOAT (*openb3d_openb3dex_TTerrain_TerrainX_fff_m)(struct openb3d_openb3dex_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT _openb3d_openb3dex_TTerrain_TerrainX_fff(struct openb3d_openb3dex_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TTerrain_TerrainY_fff_m)(struct openb3d_openb3dex_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT _openb3d_openb3dex_TTerrain_TerrainY_fff(struct openb3d_openb3dex_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBFLOAT (*openb3d_openb3dex_TTerrain_TerrainZ_fff_m)(struct openb3d_openb3dex_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBFLOAT _openb3d_openb3dex_TTerrain_TerrainZ_fff(struct openb3d_openb3dex_TTerrain_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef struct openb3d_openb3dex_TTerrain_obj* (*openb3d_openb3dex_TTerrain_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TTerrain_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TTerrain_obj* _openb3d_openb3dex_TTerrain_CopyEntity_TTEntity(struct openb3d_openb3dex_TTerrain_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TTerrain_Update(struct openb3d_openb3dex_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dex_TTerrain_UpdateTerrain_m)(struct openb3d_openb3dex_TTerrain_obj*);
BBINT _openb3d_openb3dex_TTerrain_UpdateTerrain(struct openb3d_openb3dex_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dex_TTerrain_RecreateROAM_m)(struct openb3d_openb3dex_TTerrain_obj*);
BBINT _openb3d_openb3dex_TTerrain_RecreateROAM(struct openb3d_openb3dex_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dex_TTerrain_drawsub_iafafaf_m)(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBARRAY,BBARRAY,BBARRAY);
BBINT _openb3d_openb3dex_TTerrain_drawsub_iafafaf(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBARRAY,BBARRAY,BBARRAY);
typedef BBINT (*openb3d_openb3dex_TTerrain_UpdateNormals_m)(struct openb3d_openb3dex_TTerrain_obj*);
BBINT _openb3d_openb3dex_TTerrain_UpdateNormals(struct openb3d_openb3dex_TTerrain_obj*);
typedef BBINT (*openb3d_openb3dex_TTerrain_col_tree_sub_iafafaf_m)(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBARRAY,BBARRAY,BBARRAY);
BBINT _openb3d_openb3dex_TTerrain_col_tree_sub_iafafaf(struct openb3d_openb3dex_TTerrain_obj*,BBINT,BBARRAY,BBARRAY,BBARRAY);
struct BBClass_openb3d_openb3dex_TTerrain {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TTerrain_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TTerrain_CreateObject_TTTerrain_pb_f f_CreateObject_TTTerrain_pb;
	openb3d_openb3dex_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f f_CreateTerrain_TTTerrain_iTTEntity;
	openb3d_openb3dex_TTerrain_LoadTerrain_TTTerrain_STTEntity_f f_LoadTerrain_TTTerrain_STTEntity;
	openb3d_openb3dex_TTerrain_ModifyTerrain_iif_m m_ModifyTerrain_iif;
	openb3d_openb3dex_TTerrain_TerrainHeight_ii_m m_TerrainHeight_ii;
	openb3d_openb3dex_TTerrain_TerrainX_fff_m m_TerrainX_fff;
	openb3d_openb3dex_TTerrain_TerrainY_fff_m m_TerrainY_fff;
	openb3d_openb3dex_TTerrain_TerrainZ_fff_m m_TerrainZ_fff;
	openb3d_openb3dex_TTerrain_UpdateTerrain_m m_UpdateTerrain;
	openb3d_openb3dex_TTerrain_RecreateROAM_m m_RecreateROAM;
	openb3d_openb3dex_TTerrain_drawsub_iafafaf_m m_drawsub_iafafaf;
	openb3d_openb3dex_TTerrain_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TTerrain_col_tree_sub_iafafaf_m m_col_tree_sub_iafafaf;
};

struct openb3d_openb3dex_TTerrain_obj {
	struct BBClass_openb3d_openb3dex_TTerrain* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBFLOAT* _openb3d_openb3dex_tterrain_size;
	BBFLOAT* _openb3d_openb3dex_tterrain_vsize;
	BBFLOAT* _openb3d_openb3dex_tterrain_level2dzsize;
	BBFLOAT* _openb3d_openb3dex_tterrain_height;
	struct openb3d_openb3dex_TCamera_obj* _openb3d_openb3dex_tterrain_eyepoint;
	struct openb3d_openb3dex_TShader_obj* _openb3d_openb3dex_tterrain_shadermat;
};
extern struct BBClass_openb3d_openb3dex_TTerrain openb3d_openb3dex_TTerrain;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TTerrain_terrain_list;
extern BBINT* openb3d_openb3dex_TTerrain_triangleindex;
extern BBINT openb3d_openb3dex_TTerrain_terrain_list_id;
void _openb3d_openb3dex_TMaterial_New(struct openb3d_openb3dex_TMaterial_obj* o);
void _openb3d_openb3dex_TMaterial_Delete(struct openb3d_openb3dex_TMaterial_obj* o);
typedef struct openb3d_openb3dex_TMaterial_obj* (*openb3d_openb3dex_TMaterial_CreateObject_TTMaterial_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TMaterial_obj* openb3d_openb3dex_TMaterial_CreateObject_TTMaterial_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TMaterial_obj* (*openb3d_openb3dex_TMaterial_LoadMaterial_TTMaterial_Siiiii_f)(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT);
struct openb3d_openb3dex_TMaterial_obj* openb3d_openb3dex_TMaterial_LoadMaterial_TTMaterial_Siiiii(BBSTRING,BBINT,BBINT,BBINT,BBINT,BBINT);
struct BBClass_openb3d_openb3dex_TMaterial {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TMaterial_CreateObject_TTMaterial_pb_f f_CreateObject_TTMaterial_pb;
	openb3d_openb3dex_TTexture_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TTexture_GetObject_TTTexture_pb_f f_GetObject_TTTexture_pb;
	openb3d_openb3dex_TTexture_GetInstance_pb_TTTexture_f f_GetInstance_pb_TTTexture;
	openb3d_openb3dex_TTexture_InitFields_m m_InitFields;
	openb3d_openb3dex_TTexture_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TTexture_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TTexture_BufferToTex_pbi_m m_BufferToTex_pbi;
	openb3d_openb3dex_TTexture_TexToBuffer_pbi_m m_TexToBuffer_pbi;
	openb3d_openb3dex_TTexture_CameraToTex_TTCamerai_m m_CameraToTex_TTCamerai;
	openb3d_openb3dex_TTexture_DepthBufferToTex_TTCamera_m m_DepthBufferToTex_TTCamera;
	openb3d_openb3dex_TTexture_FreeTexture_m m_FreeTexture;
	openb3d_openb3dex_TTexture_CreateTexture_TTTexture_iiii_f f_CreateTexture_TTTexture_iiii;
	openb3d_openb3dex_TTexture_LoadTexture_TTTexture_Si_f f_LoadTexture_TTTexture_Si;
	openb3d_openb3dex_TTexture_LoadAnimTexture_TTTexture_Siiiii_f f_LoadAnimTexture_TTTexture_Siiiii;
	openb3d_openb3dex_TTexture_TextureBlend_i_m m_TextureBlend_i;
	openb3d_openb3dex_TTexture_TextureCoords_i_m m_TextureCoords_i;
	openb3d_openb3dex_TTexture_ScaleTexture_ff_m m_ScaleTexture_ff;
	openb3d_openb3dex_TTexture_PositionTexture_ff_m m_PositionTexture_ff;
	openb3d_openb3dex_TTexture_RotateTexture_f_m m_RotateTexture_f;
	openb3d_openb3dex_TTexture_TextureWidth_m m_TextureWidth;
	openb3d_openb3dex_TTexture_TextureHeight_m m_TextureHeight;
	openb3d_openb3dex_TTexture_TextureName_m m_TextureName;
	openb3d_openb3dex_TTexture_GetBrushTexture_TTTexture_TTBrushi_f f_GetBrushTexture_TTTexture_TTBrushi;
	openb3d_openb3dex_TTexture_ClearTextureFilters_i_f f_ClearTextureFilters_i;
	openb3d_openb3dex_TTexture_TextureFilter_i_Si_f f_TextureFilter_i_Si;
	openb3d_openb3dex_TTexture_SetCubeFace_i_m m_SetCubeFace_i;
	openb3d_openb3dex_TTexture_SetCubeMode_i_m m_SetCubeMode_i;
	openb3d_openb3dex_TTexture_BackBufferToTex_i_m m_BackBufferToTex_i;
	openb3d_openb3dex_TTexture_Copy_m m_Copy;
	openb3d_openb3dex_TTexture_TexInList_m m_TexInList;
	openb3d_openb3dex_TTexture_FilterFlags_m m_FilterFlags;
	openb3d_openb3dex_TTexture_FileFind_i_vS_f f_FileFind_i_vS;
	openb3d_openb3dex_TTexture_FileAbs_S_S_f f_FileAbs_S_S;
	openb3d_openb3dex_TTexture_AdjustPixmap_TTPixmap_TTPixmap_f f_AdjustPixmap_TTPixmap_TTPixmap;
	openb3d_openb3dex_TTexture_Pow2Size_i_i_f f_Pow2Size_i_i;
	openb3d_openb3dex_TTexture_ApplyAlpha_TTPixmap_TTPixmap_f f_ApplyAlpha_TTPixmap_TTPixmap;
	openb3d_openb3dex_TTexture_CameraToTexEXT_TTCamerai_m m_CameraToTexEXT_TTCamerai;
	openb3d_openb3dex_TTexture_DepthBufferToTexEXT_TTCamerai_m m_DepthBufferToTexEXT_TTCamerai;
	openb3d_openb3dex_TTexture_LoadTextureAlpha_TTTexture_Sii_f f_LoadTextureAlpha_TTTexture_Sii;
	openb3d_openb3dex_TTexture_TextureFlags_i_m m_TextureFlags_i;
	openb3d_openb3dex_TMaterial_LoadMaterial_TTMaterial_Siiiii_f f_LoadMaterial_TTMaterial_Siiiii;
};

struct openb3d_openb3dex_TMaterial_obj {
	struct BBClass_openb3d_openb3dex_TMaterial* clas;
	BBINT* _openb3d_openb3dex_ttexture_texture;
	BBBYTE* _openb3d_openb3dex_ttexture_file;
	BBINT* _openb3d_openb3dex_ttexture_frames;
	BBINT* _openb3d_openb3dex_ttexture_flags;
	BBINT* _openb3d_openb3dex_ttexture_blend;
	BBINT* _openb3d_openb3dex_ttexture_coords;
	BBFLOAT* _openb3d_openb3dex_ttexture_u_scale;
	BBFLOAT* _openb3d_openb3dex_ttexture_v_scale;
	BBFLOAT* _openb3d_openb3dex_ttexture_u_pos;
	BBFLOAT* _openb3d_openb3dex_ttexture_v_pos;
	BBFLOAT* _openb3d_openb3dex_ttexture_angle;
	BBBYTE* _openb3d_openb3dex_ttexture_file_abs;
	BBINT* _openb3d_openb3dex_ttexture_width;
	BBINT* _openb3d_openb3dex_ttexture_height;
	BBINT* _openb3d_openb3dex_ttexture_no_frames;
	BBINT* _openb3d_openb3dex_ttexture_framebuffer;
	BBINT* _openb3d_openb3dex_ttexture_cube_face;
	BBINT* _openb3d_openb3dex_ttexture_cube_mode;
	BBBYTE* _openb3d_openb3dex_ttexture_instance;
	BBINT _openb3d_openb3dex_ttexture_exists;
};
extern struct BBClass_openb3d_openb3dex_TMaterial openb3d_openb3dex_TMaterial;
void _openb3d_openb3dex_TShader_New(struct openb3d_openb3dex_TShader_obj* o);
typedef struct openb3d_openb3dex_TShader_obj* (*openb3d_openb3dex_TShader_CreateObject_TTShader_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_TShader_CreateObject_TTShader_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TShader_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TShader_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TShader_obj* (*openb3d_openb3dex_TShader_GetObject_TTShader_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_TShader_GetObject_TTShader_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TShader_GetInstance_pb_TTShader_f)(struct openb3d_openb3dex_TShader_obj*);
BBBYTE* openb3d_openb3dex_TShader_GetInstance_pb_TTShader(struct openb3d_openb3dex_TShader_obj*);
typedef struct openb3d_openb3dex_TShader_obj* (*openb3d_openb3dex_TShader_LoadShader_TTShader_SSS_f)(BBSTRING,BBSTRING,BBSTRING);
struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_TShader_LoadShader_TTShader_SSS(BBSTRING,BBSTRING,BBSTRING);
typedef struct openb3d_openb3dex_TShader_obj* (*openb3d_openb3dex_TShader_CreateShader_TTShader_SSS_f)(BBSTRING,BBSTRING,BBSTRING);
struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_TShader_CreateShader_TTShader_SSS(BBSTRING,BBSTRING,BBSTRING);
typedef BBINT (*openb3d_openb3dex_TShader_ShadeSurface_TTSurface_m)(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TSurface_obj*);
BBINT _openb3d_openb3dex_TShader_ShadeSurface_TTSurface(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TSurface_obj*);
typedef BBINT (*openb3d_openb3dex_TShader_ShadeMesh_TTMesh_m)(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TShader_ShadeMesh_TTMesh(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TShader_ShadeEntity_TTEntity_m)(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TShader_ShadeEntity_TTEntity(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TTexture_obj* (*openb3d_openb3dex_TShader_ShaderTexture_TTTextureSi_m)(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TTexture_obj*,BBSTRING,BBINT);
struct openb3d_openb3dex_TTexture_obj* _openb3d_openb3dex_TShader_ShaderTexture_TTTextureSi(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TTexture_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_SetFloat_Sf_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT);
BBINT _openb3d_openb3dex_TShader_SetFloat_Sf(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TShader_SetFloat2_Sff_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TShader_SetFloat2_Sff(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TShader_SetFloat3_Sfff_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TShader_SetFloat3_Sfff(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TShader_SetFloat4_Sffff_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TShader_SetFloat4_Sffff(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TShader_UseFloat_Svf_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*);
BBINT _openb3d_openb3dex_TShader_UseFloat_Svf(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseFloat2_Svfvf_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dex_TShader_UseFloat2_Svfvf(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseFloat3_Svfvfvf_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dex_TShader_UseFloat3_Svfvfvf(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseFloat4_Svfvfvfvf_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
BBINT _openb3d_openb3dex_TShader_UseFloat4_Svfvfvfvf(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBFLOAT*,BBFLOAT*,BBFLOAT*,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TShader_SetInteger_Si_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dex_TShader_SetInteger_Si(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_SetInteger2_Sii_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT,BBINT);
BBINT _openb3d_openb3dex_TShader_SetInteger2_Sii(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_SetInteger3_Siii_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TShader_SetInteger3_Siii(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_SetInteger4_Siiii_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TShader_SetInteger4_Siiii(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_UseInteger_Svi_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*);
BBINT _openb3d_openb3dex_TShader_UseInteger_Svi(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseInteger2_Svivi_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*,BBINT*);
BBINT _openb3d_openb3dex_TShader_UseInteger2_Svivi(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*,BBINT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseInteger3_Svivivi_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*);
BBINT _openb3d_openb3dex_TShader_UseInteger3_Svivivi(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseInteger4_Svivivivi_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*,BBINT*);
BBINT _openb3d_openb3dex_TShader_UseInteger4_Svivivivi(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT*,BBINT*,BBINT*,BBINT*);
typedef BBINT (*openb3d_openb3dex_TShader_UseSurface_STTSurfacei_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,struct openb3d_openb3dex_TSurface_obj*,BBINT);
BBINT _openb3d_openb3dex_TShader_UseSurface_STTSurfacei(struct openb3d_openb3dex_TShader_obj*,BBSTRING,struct openb3d_openb3dex_TSurface_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_UseMatrix_Si_m)(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dex_TShader_UseMatrix_Si(struct openb3d_openb3dex_TShader_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_ShaderMaterial_TTMaterialSi_m)(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TMaterial_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dex_TShader_ShaderMaterial_TTMaterialSi(struct openb3d_openb3dex_TShader_obj*,struct openb3d_openb3dex_TMaterial_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TShader_AmbientShader_m)(struct openb3d_openb3dex_TShader_obj*);
BBINT _openb3d_openb3dex_TShader_AmbientShader(struct openb3d_openb3dex_TShader_obj*);
typedef BBINT (*openb3d_openb3dex_TShader_FreeShader_m)(struct openb3d_openb3dex_TShader_obj*);
BBINT _openb3d_openb3dex_TShader_FreeShader(struct openb3d_openb3dex_TShader_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TShader_CreateObject_TTShader_pb_f f_CreateObject_TTShader_pb;
	openb3d_openb3dex_TShader_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TShader_GetObject_TTShader_pb_f f_GetObject_TTShader_pb;
	openb3d_openb3dex_TShader_GetInstance_pb_TTShader_f f_GetInstance_pb_TTShader;
	openb3d_openb3dex_TShader_LoadShader_TTShader_SSS_f f_LoadShader_TTShader_SSS;
	openb3d_openb3dex_TShader_CreateShader_TTShader_SSS_f f_CreateShader_TTShader_SSS;
	openb3d_openb3dex_TShader_ShadeSurface_TTSurface_m m_ShadeSurface_TTSurface;
	openb3d_openb3dex_TShader_ShadeMesh_TTMesh_m m_ShadeMesh_TTMesh;
	openb3d_openb3dex_TShader_ShadeEntity_TTEntity_m m_ShadeEntity_TTEntity;
	openb3d_openb3dex_TShader_ShaderTexture_TTTextureSi_m m_ShaderTexture_TTTextureSi;
	openb3d_openb3dex_TShader_SetFloat_Sf_m m_SetFloat_Sf;
	openb3d_openb3dex_TShader_SetFloat2_Sff_m m_SetFloat2_Sff;
	openb3d_openb3dex_TShader_SetFloat3_Sfff_m m_SetFloat3_Sfff;
	openb3d_openb3dex_TShader_SetFloat4_Sffff_m m_SetFloat4_Sffff;
	openb3d_openb3dex_TShader_UseFloat_Svf_m m_UseFloat_Svf;
	openb3d_openb3dex_TShader_UseFloat2_Svfvf_m m_UseFloat2_Svfvf;
	openb3d_openb3dex_TShader_UseFloat3_Svfvfvf_m m_UseFloat3_Svfvfvf;
	openb3d_openb3dex_TShader_UseFloat4_Svfvfvfvf_m m_UseFloat4_Svfvfvfvf;
	openb3d_openb3dex_TShader_SetInteger_Si_m m_SetInteger_Si;
	openb3d_openb3dex_TShader_SetInteger2_Sii_m m_SetInteger2_Sii;
	openb3d_openb3dex_TShader_SetInteger3_Siii_m m_SetInteger3_Siii;
	openb3d_openb3dex_TShader_SetInteger4_Siiii_m m_SetInteger4_Siiii;
	openb3d_openb3dex_TShader_UseInteger_Svi_m m_UseInteger_Svi;
	openb3d_openb3dex_TShader_UseInteger2_Svivi_m m_UseInteger2_Svivi;
	openb3d_openb3dex_TShader_UseInteger3_Svivivi_m m_UseInteger3_Svivivi;
	openb3d_openb3dex_TShader_UseInteger4_Svivivivi_m m_UseInteger4_Svivivivi;
	openb3d_openb3dex_TShader_UseSurface_STTSurfacei_m m_UseSurface_STTSurfacei;
	openb3d_openb3dex_TShader_UseMatrix_Si_m m_UseMatrix_Si;
	openb3d_openb3dex_TShader_ShaderMaterial_TTMaterialSi_m m_ShaderMaterial_TTMaterialSi;
	openb3d_openb3dex_TShader_AmbientShader_m m_AmbientShader;
	openb3d_openb3dex_TShader_FreeShader_m m_FreeShader;
};

struct openb3d_openb3dex_TShader_obj {
	struct BBClass_openb3d_openb3dex_TShader* clas;
	BBBYTE* _openb3d_openb3dex_tshader_instance;
};
extern struct BBClass_openb3d_openb3dex_TShader openb3d_openb3dex_TShader;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TShader_shader_map;
void _openb3d_openb3dex_TShadowObject_New(struct openb3d_openb3dex_TShadowObject_obj* o);
typedef struct openb3d_openb3dex_TShadowObject_obj* (*openb3d_openb3dex_TShadowObject_CreateObject_TTShadowObject_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TShadowObject_obj* openb3d_openb3dex_TShadowObject_CreateObject_TTShadowObject_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TShadowObject_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TShadowObject_obj* (*openb3d_openb3dex_TShadowObject_GetObject_TTShadowObject_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TShadowObject_obj* openb3d_openb3dex_TShadowObject_GetObject_TTShadowObject_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TShadowObject_GetInstance_pb_TTShadowObject_f)(struct openb3d_openb3dex_TShadowObject_obj*);
BBBYTE* openb3d_openb3dex_TShadowObject_GetInstance_pb_TTShadowObject(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_InitGlobals_i_f)();
BBINT openb3d_openb3dex_TShadowObject_InitGlobals_i();
typedef BBINT (*openb3d_openb3dex_TShadowObject_InitFields_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_InitFields(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TShadowObject_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TShadowObject_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef struct openb3d_openb3dex_TShadowObject_obj* (*openb3d_openb3dex_TShadowObject_CreateShadow_TTShadowObject_TTMeshi_f)(struct openb3d_openb3dex_TMesh_obj*,BBINT);
struct openb3d_openb3dex_TShadowObject_obj* openb3d_openb3dex_TShadowObject_CreateShadow_TTShadowObject_TTMeshi(struct openb3d_openb3dex_TMesh_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TShadowObject_FreeShadow_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_FreeShadow(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_ShadowInit_i_f)();
BBINT openb3d_openb3dex_TShadowObject_ShadowInit_i();
typedef BBINT (*openb3d_openb3dex_TShadowObject_RemoveShadowfromMesh_TTMesh_m)(struct openb3d_openb3dex_TShadowObject_obj*,struct openb3d_openb3dex_TMesh_obj*);
BBINT _openb3d_openb3dex_TShadowObject_RemoveShadowfromMesh_TTMesh(struct openb3d_openb3dex_TShadowObject_obj*,struct openb3d_openb3dex_TMesh_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_Update_i_TTCamera_f)(struct openb3d_openb3dex_TCamera_obj*);
BBINT openb3d_openb3dex_TShadowObject_Update_i_TTCamera(struct openb3d_openb3dex_TCamera_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_RenderVolume_i_f)();
BBINT openb3d_openb3dex_TShadowObject_RenderVolume_i();
typedef BBINT (*openb3d_openb3dex_TShadowObject_UpdateAnim_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_UpdateAnim(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_Init_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_Init(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_InitShadow_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_InitShadow(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_UpdateCaster_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_UpdateCaster(struct openb3d_openb3dex_TShadowObject_obj*);
typedef BBINT (*openb3d_openb3dex_TShadowObject_ShadowRenderWorldZFail_i_f)();
BBINT openb3d_openb3dex_TShadowObject_ShadowRenderWorldZFail_i();
typedef BBINT (*openb3d_openb3dex_TShadowObject_ResetShadow_m)(struct openb3d_openb3dex_TShadowObject_obj*);
BBINT _openb3d_openb3dex_TShadowObject_ResetShadow(struct openb3d_openb3dex_TShadowObject_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TShadowObject_CreateObject_TTShadowObject_pb_f f_CreateObject_TTShadowObject_pb;
	openb3d_openb3dex_TShadowObject_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TShadowObject_GetObject_TTShadowObject_pb_f f_GetObject_TTShadowObject_pb;
	openb3d_openb3dex_TShadowObject_GetInstance_pb_TTShadowObject_f f_GetInstance_pb_TTShadowObject;
	openb3d_openb3dex_TShadowObject_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TShadowObject_InitFields_m m_InitFields;
	openb3d_openb3dex_TShadowObject_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TShadowObject_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TShadowObject_CreateShadow_TTShadowObject_TTMeshi_f f_CreateShadow_TTShadowObject_TTMeshi;
	openb3d_openb3dex_TShadowObject_FreeShadow_m m_FreeShadow;
	openb3d_openb3dex_TShadowObject_ShadowInit_i_f f_ShadowInit_i;
	openb3d_openb3dex_TShadowObject_RemoveShadowfromMesh_TTMesh_m m_RemoveShadowfromMesh_TTMesh;
	openb3d_openb3dex_TShadowObject_Update_i_TTCamera_f f_Update_i_TTCamera;
	openb3d_openb3dex_TShadowObject_RenderVolume_i_f f_RenderVolume_i;
	openb3d_openb3dex_TShadowObject_UpdateAnim_m m_UpdateAnim;
	openb3d_openb3dex_TShadowObject_Init_m m_Init;
	openb3d_openb3dex_TShadowObject_InitShadow_m m_InitShadow;
	openb3d_openb3dex_TShadowObject_UpdateCaster_m m_UpdateCaster;
	openb3d_openb3dex_TShadowObject_ShadowRenderWorldZFail_i_f f_ShadowRenderWorldZFail_i;
	openb3d_openb3dex_TShadowObject_ResetShadow_m m_ResetShadow;
};

struct openb3d_openb3dex_TShadowObject_obj {
	struct BBClass_openb3d_openb3dex_TShadowObject* clas;
	struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_tshadowobject_parent;
	BBINT* _openb3d_openb3dex_tshadowobject_cnt_tris;
	struct openb3d_openb3dex_TMesh_obj* _openb3d_openb3dex_tshadowobject_shadowmesh;
	struct openb3d_openb3dex_TSurface_obj* _openb3d_openb3dex_tshadowobject_shadowvolume;
	BBBYTE* _openb3d_openb3dex_tshadowobject_render;
	BBBYTE* _openb3d_openb3dex_tshadowobject_static;
	BBBYTE* _openb3d_openb3dex_tshadowobject_vcreated;
	BBBYTE* _openb3d_openb3dex_tshadowobject_instance;
	BBINT _openb3d_openb3dex_tshadowobject_exists;
};
extern struct BBClass_openb3d_openb3dex_TShadowObject openb3d_openb3dex_TShadowObject;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TShadowObject_shadow_list;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_VolumeLength;
extern BBBYTE* openb3d_openb3dex_TShadowObject_top_caps;
extern BBINT* openb3d_openb3dex_TShadowObject_parallel;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_light_x;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_light_y;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_light_z;
extern BBINT* openb3d_openb3dex_TShadowObject_midStencilVal;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_ShadowRed;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_ShadowGreen;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_ShadowBlue;
extern BBFLOAT* openb3d_openb3dex_TShadowObject_ShadowAlpha;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TShadowObject_shad_map;
extern BBINT openb3d_openb3dex_TShadowObject_shadow_list_id;
void _openb3d_openb3dex_THardwareInfo_New(struct openb3d_openb3dex_THardwareInfo_obj* o);
typedef BBINT (*openb3d_openb3dex_THardwareInfo_GetInfo_i_f)();
BBINT openb3d_openb3dex_THardwareInfo_GetInfo_i();
typedef BBINT (*openb3d_openb3dex_THardwareInfo_DisplayInfo_i_i_f)(BBINT);
BBINT openb3d_openb3dex_THardwareInfo_DisplayInfo_i_i(BBINT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_THardwareInfo_GetInfo_i_f f_GetInfo_i;
	openb3d_openb3dex_THardwareInfo_DisplayInfo_i_i_f f_DisplayInfo_i_i;
};

struct openb3d_openb3dex_THardwareInfo_obj {
	struct BBClass_openb3d_openb3dex_THardwareInfo* clas;
};
extern struct BBClass_openb3d_openb3dex_THardwareInfo openb3d_openb3dex_THardwareInfo;
extern BBINT openb3d_openb3dex_THardwareInfo_ScreenWidth;
extern BBINT openb3d_openb3dex_THardwareInfo_ScreenHeight;
extern BBINT openb3d_openb3dex_THardwareInfo_ScreenDepth;
extern BBINT openb3d_openb3dex_THardwareInfo_ScreenHertz;
extern BBSTRING openb3d_openb3dex_THardwareInfo_Vendor;
extern BBSTRING openb3d_openb3dex_THardwareInfo_Renderer;
extern BBSTRING openb3d_openb3dex_THardwareInfo_OGLVersion;
extern BBSTRING openb3d_openb3dex_THardwareInfo_Extensions;
extern BBINT openb3d_openb3dex_THardwareInfo_GLTCSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_S3TCSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_AnIsoSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_MultiTexSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_TexBlendSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_CubemapSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_DepthmapSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_VBOSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_VPSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_FPSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_ShaderSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_VSSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_FSSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_SLSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_FBOSupport;
extern BBINT openb3d_openb3dex_THardwareInfo_DepthStencil;
extern BBINT openb3d_openb3dex_THardwareInfo_MaxTextures;
extern BBINT openb3d_openb3dex_THardwareInfo_MaxTexSize;
extern BBINT openb3d_openb3dex_THardwareInfo_MaxLights;
void _openb3d_openb3dex_TGLShader_New(struct openb3d_openb3dex_TGLShader_obj* o);
void _openb3d_openb3dex_TGLShader_Delete(struct openb3d_openb3dex_TGLShader_obj* o);
typedef struct openb3d_openb3dex_TGLShader_obj* (*openb3d_openb3dex_TGLShader_Load_SS_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBSTRING);
struct openb3d_openb3dex_TGLShader_obj* _openb3d_openb3dex_TGLShader_Load_SS(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBSTRING);
typedef struct openb3d_openb3dex_TGLShader_obj* (*openb3d_openb3dex_TGLShader_Compile_SS_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBSTRING);
struct openb3d_openb3dex_TGLShader_obj* _openb3d_openb3dex_TGLShader_Compile_SS(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBSTRING);
typedef struct openb3d_openb3dex_TGLShader_obj* (*openb3d_openb3dex_TGLShader_link_m)(struct openb3d_openb3dex_TGLShader_obj*);
struct openb3d_openb3dex_TGLShader_obj* _openb3d_openb3dex_TGLShader_link(struct openb3d_openb3dex_TGLShader_obj*);
typedef BBINT (*openb3d_openb3dex_TGLShader_ErrorReport_m)(struct openb3d_openb3dex_TGLShader_obj*);
BBINT _openb3d_openb3dex_TGLShader_ErrorReport(struct openb3d_openb3dex_TGLShader_obj*);
typedef BBINT (*openb3d_openb3dex_TGLShader_Enable_m)(struct openb3d_openb3dex_TGLShader_obj*);
BBINT _openb3d_openb3dex_TGLShader_Enable(struct openb3d_openb3dex_TGLShader_obj*);
typedef BBINT (*openb3d_openb3dex_TGLShader_Disable_m)(struct openb3d_openb3dex_TGLShader_obj*);
BBINT _openb3d_openb3dex_TGLShader_Disable(struct openb3d_openb3dex_TGLShader_obj*);
typedef BBINT (*openb3d_openb3dex_TGLShader_GetUniformLocation_S_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING);
BBINT _openb3d_openb3dex_TGLShader_GetUniformLocation_S(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformFloatArray1_Sipf_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBFLOAT*);
BBINT _openb3d_openb3dex_TGLShader_setUniformFloatArray1_Sipf(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformMatrix4_Siipf_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT,BBFLOAT*);
BBINT _openb3d_openb3dex_TGLShader_setUniformMatrix4_Siipf(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT,BBFLOAT*);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformFloat1_Sf_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT);
BBINT _openb3d_openb3dex_TGLShader_setUniformFloat1_Sf(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformFloat2_Sff_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TGLShader_setUniformFloat2_Sff(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformFloat3_Sfff_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TGLShader_setUniformFloat3_Sfff(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformFloat4_Sffff_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TGLShader_setUniformFloat4_Sffff(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformInt1_Si_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT);
BBINT _openb3d_openb3dex_TGLShader_setUniformInt1_Si(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformInt2_Sii_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT);
BBINT _openb3d_openb3dex_TGLShader_setUniformInt2_Sii(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformInt3_Siii_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TGLShader_setUniformInt3_Siii(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader_setUniformInt4_Siiii_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TGLShader_setUniformInt4_Siiii(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBINT,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader__LoadShader_i_Si_f)(BBSTRING,BBINT);
BBINT openb3d_openb3dex_TGLShader__LoadShader_i_Si(BBSTRING,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader__CheckForErrors_ivSi_m)(struct openb3d_openb3dex_TGLShader_obj*,BBINT,BBSTRING*,BBINT);
BBINT _openb3d_openb3dex_TGLShader__CheckForErrors_ivSi(struct openb3d_openb3dex_TGLShader_obj*,BBINT,BBSTRING*,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader__CheckForLinkErrors_ivSi_m)(struct openb3d_openb3dex_TGLShader_obj*,BBINT,BBSTRING*,BBINT);
BBINT _openb3d_openb3dex_TGLShader__CheckForLinkErrors_ivSi(struct openb3d_openb3dex_TGLShader_obj*,BBINT,BBSTRING*,BBINT);
typedef BBINT (*openb3d_openb3dex_TGLShader_CheckCompability_i_f)();
BBINT openb3d_openb3dex_TGLShader_CheckCompability_i();
typedef BBINT (*openb3d_openb3dex_TGLShader_InitShaders_SS_m)(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBSTRING);
BBINT _openb3d_openb3dex_TGLShader_InitShaders_SS(struct openb3d_openb3dex_TGLShader_obj*,BBSTRING,BBSTRING);
struct BBClass_openb3d_openb3dex_TGLShader {
	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;
	openb3d_openb3dex_TGLShader_Load_SS_m m_Load_SS;
	openb3d_openb3dex_TGLShader_Compile_SS_m m_Compile_SS;
	openb3d_openb3dex_TGLShader_link_m m_link;
	openb3d_openb3dex_TGLShader_ErrorReport_m m_ErrorReport;
	openb3d_openb3dex_TGLShader_Enable_m m_Enable;
	openb3d_openb3dex_TGLShader_Disable_m m_Disable;
	openb3d_openb3dex_TGLShader_GetUniformLocation_S_m m_GetUniformLocation_S;
	openb3d_openb3dex_TGLShader_setUniformFloatArray1_Sipf_m m_setUniformFloatArray1_Sipf;
	openb3d_openb3dex_TGLShader_setUniformMatrix4_Siipf_m m_setUniformMatrix4_Siipf;
	openb3d_openb3dex_TGLShader_setUniformFloat1_Sf_m m_setUniformFloat1_Sf;
	openb3d_openb3dex_TGLShader_setUniformFloat2_Sff_m m_setUniformFloat2_Sff;
	openb3d_openb3dex_TGLShader_setUniformFloat3_Sfff_m m_setUniformFloat3_Sfff;
	openb3d_openb3dex_TGLShader_setUniformFloat4_Sffff_m m_setUniformFloat4_Sffff;
	openb3d_openb3dex_TGLShader_setUniformInt1_Si_m m_setUniformInt1_Si;
	openb3d_openb3dex_TGLShader_setUniformInt2_Sii_m m_setUniformInt2_Sii;
	openb3d_openb3dex_TGLShader_setUniformInt3_Siii_m m_setUniformInt3_Siii;
	openb3d_openb3dex_TGLShader_setUniformInt4_Siiii_m m_setUniformInt4_Siiii;
	openb3d_openb3dex_TGLShader__LoadShader_i_Si_f f__LoadShader_i_Si;
	openb3d_openb3dex_TGLShader__CheckForErrors_ivSi_m m__CheckForErrors_ivSi;
	openb3d_openb3dex_TGLShader__CheckForLinkErrors_ivSi_m m__CheckForLinkErrors_ivSi;
	openb3d_openb3dex_TGLShader_CheckCompability_i_f f_CheckCompability_i;
	openb3d_openb3dex_TGLShader_InitShaders_SS_m m_InitShaders_SS;
};

struct openb3d_openb3dex_TGLShader_obj {
	struct BBClass_openb3d_openb3dex_TGLShader* clas;
	BBINT _openb3d_openb3dex_tglshader_programobject;
	BBINT _openb3d_openb3dex_tglshader_error;
	BBINT _openb3d_openb3dex_tglshader_errorshader;
	BBINT _openb3d_openb3dex_tglshader_errorline;
	BBSTRING _openb3d_openb3dex_tglshader_errormessage;
};
extern struct BBClass_openb3d_openb3dex_TGLShader openb3d_openb3dex_TGLShader;
void _openb3d_openb3dex_TStencil_New(struct openb3d_openb3dex_TStencil_obj* o);
typedef struct openb3d_openb3dex_TStencil_obj* (*openb3d_openb3dex_TStencil_CreateObject_TTStencil_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TStencil_obj* openb3d_openb3dex_TStencil_CreateObject_TTStencil_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TStencil_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TStencil_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TStencil_obj* (*openb3d_openb3dex_TStencil_GetObject_TTStencil_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TStencil_obj* openb3d_openb3dex_TStencil_GetObject_TTStencil_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TStencil_GetInstance_pb_TTStencil_f)(struct openb3d_openb3dex_TStencil_obj*);
BBBYTE* openb3d_openb3dex_TStencil_GetInstance_pb_TTStencil(struct openb3d_openb3dex_TStencil_obj*);
typedef struct openb3d_openb3dex_TStencil_obj* (*openb3d_openb3dex_TStencil_CreateStencil_TTStencil_f)();
struct openb3d_openb3dex_TStencil_obj* openb3d_openb3dex_TStencil_CreateStencil_TTStencil();
typedef BBINT (*openb3d_openb3dex_TStencil_StencilAlpha_f_m)(struct openb3d_openb3dex_TStencil_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TStencil_StencilAlpha_f(struct openb3d_openb3dex_TStencil_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TStencil_StencilClsColor_fff_m)(struct openb3d_openb3dex_TStencil_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TStencil_StencilClsColor_fff(struct openb3d_openb3dex_TStencil_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TStencil_StencilClsMode_ii_m)(struct openb3d_openb3dex_TStencil_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TStencil_StencilClsMode_ii(struct openb3d_openb3dex_TStencil_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TStencil_StencilMesh_TTMeshi_m)(struct openb3d_openb3dex_TStencil_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT);
BBINT _openb3d_openb3dex_TStencil_StencilMesh_TTMeshi(struct openb3d_openb3dex_TStencil_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TStencil_StencilMode_ii_m)(struct openb3d_openb3dex_TStencil_obj*,BBINT,BBINT);
BBINT _openb3d_openb3dex_TStencil_StencilMode_ii(struct openb3d_openb3dex_TStencil_obj*,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TStencil_UseStencil_i_TTStencil_f)(struct openb3d_openb3dex_TStencil_obj*);
BBINT openb3d_openb3dex_TStencil_UseStencil_i_TTStencil(struct openb3d_openb3dex_TStencil_obj*);
typedef BBINT (*openb3d_openb3dex_TStencil_FreeStencil_m)(struct openb3d_openb3dex_TStencil_obj*);
BBINT _openb3d_openb3dex_TStencil_FreeStencil(struct openb3d_openb3dex_TStencil_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TStencil_CreateObject_TTStencil_pb_f f_CreateObject_TTStencil_pb;
	openb3d_openb3dex_TStencil_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TStencil_GetObject_TTStencil_pb_f f_GetObject_TTStencil_pb;
	openb3d_openb3dex_TStencil_GetInstance_pb_TTStencil_f f_GetInstance_pb_TTStencil;
	openb3d_openb3dex_TStencil_CreateStencil_TTStencil_f f_CreateStencil_TTStencil;
	openb3d_openb3dex_TStencil_StencilAlpha_f_m m_StencilAlpha_f;
	openb3d_openb3dex_TStencil_StencilClsColor_fff_m m_StencilClsColor_fff;
	openb3d_openb3dex_TStencil_StencilClsMode_ii_m m_StencilClsMode_ii;
	openb3d_openb3dex_TStencil_StencilMesh_TTMeshi_m m_StencilMesh_TTMeshi;
	openb3d_openb3dex_TStencil_StencilMode_ii_m m_StencilMode_ii;
	openb3d_openb3dex_TStencil_UseStencil_i_TTStencil_f f_UseStencil_i_TTStencil;
	openb3d_openb3dex_TStencil_FreeStencil_m m_FreeStencil;
};

struct openb3d_openb3dex_TStencil_obj {
	struct BBClass_openb3d_openb3dex_TStencil* clas;
	BBBYTE* _openb3d_openb3dex_tstencil_instance;
};
extern struct BBClass_openb3d_openb3dex_TStencil openb3d_openb3dex_TStencil;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TStencil_stencil_map;
void _openb3d_openb3dex_TFluid_New(struct openb3d_openb3dex_TFluid_obj* o);
void _openb3d_openb3dex_TFluid_Delete(struct openb3d_openb3dex_TFluid_obj* o);
typedef struct openb3d_openb3dex_TFluid_obj* (*openb3d_openb3dex_TFluid_CreateObject_TTFluid_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TFluid_obj* openb3d_openb3dex_TFluid_CreateObject_TTFluid_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TFluid_InitFields(struct openb3d_openb3dex_TFluid_obj*);
typedef struct openb3d_openb3dex_TFluid_obj* (*openb3d_openb3dex_TFluid_CreateFluid_TTFluid_f)();
struct openb3d_openb3dex_TFluid_obj* openb3d_openb3dex_TFluid_CreateFluid_TTFluid();
typedef BBINT (*openb3d_openb3dex_TFluid_FluidArray_vfiii_m)(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT*,BBINT,BBINT,BBINT);
BBINT _openb3d_openb3dex_TFluid_FluidArray_vfiii(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT*,BBINT,BBINT,BBINT);
typedef BBINT (*openb3d_openb3dex_TFluid_FluidFunction_F_fff_f__m)(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
BBINT _openb3d_openb3dex_TFluid_FluidFunction_F_fff_f_(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
typedef BBINT (*openb3d_openb3dex_TFluid_FluidThreshold_f_m)(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TFluid_FluidThreshold_f(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dex_TFluid {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TFluid_CreateObject_TTFluid_pb_f f_CreateObject_TTFluid_pb;
	openb3d_openb3dex_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dex_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dex_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity_f f_LoadMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity_f f_LoadAnimMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dex_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dex_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dex_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dex_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dex_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dex_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dex_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dex_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dex_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dex_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dex_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dex_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dex_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dex_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dex_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dex_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh_m m_CollapseAnimMesh_TTMesh;
	openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dex_TMesh_TransformMesh_TTMatrix_m m_TransformMesh_TTMatrix;
	openb3d_openb3dex_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dex_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dex_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dex_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dex_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dex_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dex_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dex_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dex_TMesh_Render_m m_Render;
	openb3d_openb3dex_TMesh_UpdateShadow_m m_UpdateShadow;
	openb3d_openb3dex_TFluid_CreateFluid_TTFluid_f f_CreateFluid_TTFluid;
	openb3d_openb3dex_TFluid_FluidArray_vfiii_m m_FluidArray_vfiii;
	openb3d_openb3dex_TFluid_FluidFunction_F_fff_f__m m_FluidFunction_F_fff_f_;
	openb3d_openb3dex_TFluid_FluidThreshold_f_m m_FluidThreshold_f;
};

struct openb3d_openb3dex_TFluid_obj {
	struct BBClass_openb3d_openb3dex_TFluid* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBINT* _openb3d_openb3dex_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_bones;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tmesh_mat_sp;
	BBINT* _openb3d_openb3dex_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dex_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_z;
	BBINT _openb3d_openb3dex_tmesh_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dex_TFluid openb3d_openb3dex_TFluid;
void _openb3d_openb3dex_TBlob_New(struct openb3d_openb3dex_TBlob_obj* o);
void _openb3d_openb3dex_TBlob_Delete(struct openb3d_openb3dex_TBlob_obj* o);
typedef struct openb3d_openb3dex_TBlob_obj* (*openb3d_openb3dex_TBlob_CreateObject_TTBlob_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TBlob_obj* openb3d_openb3dex_TBlob_CreateObject_TTBlob_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TBlob_InitFields(struct openb3d_openb3dex_TBlob_obj*);
typedef struct openb3d_openb3dex_TBlob_obj* (*openb3d_openb3dex_TBlob_CreateBlob_TTBlob_TTFluidfTTEntity_f)(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBlob_obj* openb3d_openb3dex_TBlob_CreateBlob_TTBlob_TTFluidfTTEntity(struct openb3d_openb3dex_TFluid_obj*,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TBlob_obj* (*openb3d_openb3dex_TBlob_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TBlob_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TBlob_obj* _openb3d_openb3dex_TBlob_CopyEntity_TTEntity(struct openb3d_openb3dex_TBlob_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TBlob_Update(struct openb3d_openb3dex_TBlob_obj*);
struct BBClass_openb3d_openb3dex_TBlob {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TBlob_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TBlob_CreateObject_TTBlob_pb_f f_CreateObject_TTBlob_pb;
	openb3d_openb3dex_TBlob_CreateBlob_TTBlob_TTFluidfTTEntity_f f_CreateBlob_TTBlob_TTFluidfTTEntity;
};

struct openb3d_openb3dex_TBlob_obj {
	struct BBClass_openb3d_openb3dex_TBlob* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
};
extern struct BBClass_openb3d_openb3dex_TBlob openb3d_openb3dex_TBlob;
void _openb3d_openb3dex_TGeosphere_New(struct openb3d_openb3dex_TGeosphere_obj* o);
void _openb3d_openb3dex_TGeosphere_Delete(struct openb3d_openb3dex_TGeosphere_obj* o);
typedef struct openb3d_openb3dex_TGeosphere_obj* (*openb3d_openb3dex_TGeosphere_CreateObject_TTGeosphere_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TGeosphere_obj* openb3d_openb3dex_TGeosphere_CreateObject_TTGeosphere_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TGeosphere_InitFields(struct openb3d_openb3dex_TGeosphere_obj*);
typedef struct openb3d_openb3dex_TGeosphere_obj* (*openb3d_openb3dex_TGeosphere_CreateGeosphere_TTGeosphere_iTTEntity_f)(BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TGeosphere_obj* openb3d_openb3dex_TGeosphere_CreateGeosphere_TTGeosphere_iTTEntity(BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef struct openb3d_openb3dex_TGeosphere_obj* (*openb3d_openb3dex_TGeosphere_LoadGeosphere_TTGeosphere_STTEntity_f)(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TGeosphere_obj* openb3d_openb3dex_TGeosphere_LoadGeosphere_TTGeosphere_STTEntity(BBSTRING,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TGeosphere_ModifyGeosphere_iif_m)(struct openb3d_openb3dex_TGeosphere_obj*,BBINT,BBINT,BBFLOAT);
BBINT _openb3d_openb3dex_TGeosphere_ModifyGeosphere_iif(struct openb3d_openb3dex_TGeosphere_obj*,BBINT,BBINT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TGeosphere_GeosphereHeight_f_m)(struct openb3d_openb3dex_TGeosphere_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TGeosphere_GeosphereHeight_f(struct openb3d_openb3dex_TGeosphere_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dex_TGeosphere {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TTerrain_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TGeosphere_CreateObject_TTGeosphere_pb_f f_CreateObject_TTGeosphere_pb;
	openb3d_openb3dex_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f f_CreateTerrain_TTTerrain_iTTEntity;
	openb3d_openb3dex_TTerrain_LoadTerrain_TTTerrain_STTEntity_f f_LoadTerrain_TTTerrain_STTEntity;
	openb3d_openb3dex_TTerrain_ModifyTerrain_iif_m m_ModifyTerrain_iif;
	openb3d_openb3dex_TTerrain_TerrainHeight_ii_m m_TerrainHeight_ii;
	openb3d_openb3dex_TTerrain_TerrainX_fff_m m_TerrainX_fff;
	openb3d_openb3dex_TTerrain_TerrainY_fff_m m_TerrainY_fff;
	openb3d_openb3dex_TTerrain_TerrainZ_fff_m m_TerrainZ_fff;
	openb3d_openb3dex_TTerrain_UpdateTerrain_m m_UpdateTerrain;
	openb3d_openb3dex_TTerrain_RecreateROAM_m m_RecreateROAM;
	openb3d_openb3dex_TTerrain_drawsub_iafafaf_m m_drawsub_iafafaf;
	openb3d_openb3dex_TTerrain_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TTerrain_col_tree_sub_iafafaf_m m_col_tree_sub_iafafaf;
	openb3d_openb3dex_TGeosphere_CreateGeosphere_TTGeosphere_iTTEntity_f f_CreateGeosphere_TTGeosphere_iTTEntity;
	openb3d_openb3dex_TGeosphere_LoadGeosphere_TTGeosphere_STTEntity_f f_LoadGeosphere_TTGeosphere_STTEntity;
	openb3d_openb3dex_TGeosphere_ModifyGeosphere_iif_m m_ModifyGeosphere_iif;
	openb3d_openb3dex_TGeosphere_GeosphereHeight_f_m m_GeosphereHeight_f;
};

struct openb3d_openb3dex_TGeosphere_obj {
	struct BBClass_openb3d_openb3dex_TGeosphere* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBFLOAT* _openb3d_openb3dex_tterrain_size;
	BBFLOAT* _openb3d_openb3dex_tterrain_vsize;
	BBFLOAT* _openb3d_openb3dex_tterrain_level2dzsize;
	BBFLOAT* _openb3d_openb3dex_tterrain_height;
	struct openb3d_openb3dex_TCamera_obj* _openb3d_openb3dex_tterrain_eyepoint;
	struct openb3d_openb3dex_TShader_obj* _openb3d_openb3dex_tterrain_shadermat;
};
extern struct BBClass_openb3d_openb3dex_TGeosphere openb3d_openb3dex_TGeosphere;
void _openb3d_openb3dex_TOcTree_New(struct openb3d_openb3dex_TOcTree_obj* o);
void _openb3d_openb3dex_TOcTree_Delete(struct openb3d_openb3dex_TOcTree_obj* o);
typedef struct openb3d_openb3dex_TOcTree_obj* (*openb3d_openb3dex_TOcTree_CreateObject_TTOcTree_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TOcTree_obj* openb3d_openb3dex_TOcTree_CreateObject_TTOcTree_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TOcTree_InitFields(struct openb3d_openb3dex_TOcTree_obj*);
typedef struct openb3d_openb3dex_TOcTree_obj* (*openb3d_openb3dex_TOcTree_CreateOcTree_TTOcTree_fffTTEntity_f)(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TOcTree_obj* openb3d_openb3dex_TOcTree_CreateOcTree_TTOcTree_fffTTEntity(BBFLOAT,BBFLOAT,BBFLOAT,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TOcTree_OctreeBlock_TTMeshifffff_m)(struct openb3d_openb3dex_TOcTree_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TOcTree_OctreeBlock_TTMeshifffff(struct openb3d_openb3dex_TOcTree_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TOcTree_OctreeMesh_TTMeshifffff_m)(struct openb3d_openb3dex_TOcTree_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TOcTree_OctreeMesh_TTMeshifffff(struct openb3d_openb3dex_TOcTree_obj*,struct openb3d_openb3dex_TMesh_obj*,BBINT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT,BBFLOAT);
struct BBClass_openb3d_openb3dex_TOcTree {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TTerrain_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TOcTree_CreateObject_TTOcTree_pb_f f_CreateObject_TTOcTree_pb;
	openb3d_openb3dex_TTerrain_CreateTerrain_TTTerrain_iTTEntity_f f_CreateTerrain_TTTerrain_iTTEntity;
	openb3d_openb3dex_TTerrain_LoadTerrain_TTTerrain_STTEntity_f f_LoadTerrain_TTTerrain_STTEntity;
	openb3d_openb3dex_TTerrain_ModifyTerrain_iif_m m_ModifyTerrain_iif;
	openb3d_openb3dex_TTerrain_TerrainHeight_ii_m m_TerrainHeight_ii;
	openb3d_openb3dex_TTerrain_TerrainX_fff_m m_TerrainX_fff;
	openb3d_openb3dex_TTerrain_TerrainY_fff_m m_TerrainY_fff;
	openb3d_openb3dex_TTerrain_TerrainZ_fff_m m_TerrainZ_fff;
	openb3d_openb3dex_TTerrain_UpdateTerrain_m m_UpdateTerrain;
	openb3d_openb3dex_TTerrain_RecreateROAM_m m_RecreateROAM;
	openb3d_openb3dex_TTerrain_drawsub_iafafaf_m m_drawsub_iafafaf;
	openb3d_openb3dex_TTerrain_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TTerrain_col_tree_sub_iafafaf_m m_col_tree_sub_iafafaf;
	openb3d_openb3dex_TOcTree_CreateOcTree_TTOcTree_fffTTEntity_f f_CreateOcTree_TTOcTree_fffTTEntity;
	openb3d_openb3dex_TOcTree_OctreeBlock_TTMeshifffff_m m_OctreeBlock_TTMeshifffff;
	openb3d_openb3dex_TOcTree_OctreeMesh_TTMeshifffff_m m_OctreeMesh_TTMeshifffff;
};

struct openb3d_openb3dex_TOcTree_obj {
	struct BBClass_openb3d_openb3dex_TOcTree* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBFLOAT* _openb3d_openb3dex_tterrain_size;
	BBFLOAT* _openb3d_openb3dex_tterrain_vsize;
	BBFLOAT* _openb3d_openb3dex_tterrain_level2dzsize;
	BBFLOAT* _openb3d_openb3dex_tterrain_height;
	struct openb3d_openb3dex_TCamera_obj* _openb3d_openb3dex_tterrain_eyepoint;
	struct openb3d_openb3dex_TShader_obj* _openb3d_openb3dex_tterrain_shadermat;
};
extern struct BBClass_openb3d_openb3dex_TOcTree openb3d_openb3dex_TOcTree;
void _openb3d_openb3dex_TVoxelSprite_New(struct openb3d_openb3dex_TVoxelSprite_obj* o);
void _openb3d_openb3dex_TVoxelSprite_Delete(struct openb3d_openb3dex_TVoxelSprite_obj* o);
typedef struct openb3d_openb3dex_TVoxelSprite_obj* (*openb3d_openb3dex_TVoxelSprite_CreateObject_TTVoxelSprite_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TVoxelSprite_obj* openb3d_openb3dex_TVoxelSprite_CreateObject_TTVoxelSprite_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TVoxelSprite_InitFields(struct openb3d_openb3dex_TVoxelSprite_obj*);
typedef struct openb3d_openb3dex_TVoxelSprite_obj* (*openb3d_openb3dex_TVoxelSprite_CreateVoxelSprite_TTVoxelSprite_iTTEntity_f)(BBINT,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TVoxelSprite_obj* openb3d_openb3dex_TVoxelSprite_CreateVoxelSprite_TTVoxelSprite_iTTEntity(BBINT,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TVoxelSprite_VoxelSpriteMaterial_TTMaterial_m)(struct openb3d_openb3dex_TVoxelSprite_obj*,struct openb3d_openb3dex_TMaterial_obj*);
BBINT _openb3d_openb3dex_TVoxelSprite_VoxelSpriteMaterial_TTMaterial(struct openb3d_openb3dex_TVoxelSprite_obj*,struct openb3d_openb3dex_TMaterial_obj*);
struct BBClass_openb3d_openb3dex_TVoxelSprite {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TVoxelSprite_CreateObject_TTVoxelSprite_pb_f f_CreateObject_TTVoxelSprite_pb;
	openb3d_openb3dex_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dex_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dex_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity_f f_LoadMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity_f f_LoadAnimMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dex_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dex_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dex_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dex_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dex_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dex_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dex_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dex_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dex_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dex_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dex_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dex_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dex_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dex_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dex_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dex_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh_m m_CollapseAnimMesh_TTMesh;
	openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dex_TMesh_TransformMesh_TTMatrix_m m_TransformMesh_TTMatrix;
	openb3d_openb3dex_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dex_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dex_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dex_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dex_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dex_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dex_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dex_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dex_TMesh_Render_m m_Render;
	openb3d_openb3dex_TMesh_UpdateShadow_m m_UpdateShadow;
	openb3d_openb3dex_TVoxelSprite_CreateVoxelSprite_TTVoxelSprite_iTTEntity_f f_CreateVoxelSprite_TTVoxelSprite_iTTEntity;
	openb3d_openb3dex_TVoxelSprite_VoxelSpriteMaterial_TTMaterial_m m_VoxelSpriteMaterial_TTMaterial;
};

struct openb3d_openb3dex_TVoxelSprite_obj {
	struct BBClass_openb3d_openb3dex_TVoxelSprite* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBINT* _openb3d_openb3dex_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_bones;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tmesh_mat_sp;
	BBINT* _openb3d_openb3dex_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dex_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_z;
	BBINT _openb3d_openb3dex_tmesh_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dex_TVoxelSprite openb3d_openb3dex_TVoxelSprite;
void _openb3d_openb3dex_TAction_New(struct openb3d_openb3dex_TAction_obj* o);
typedef struct openb3d_openb3dex_TAction_obj* (*openb3d_openb3dex_TAction_CreateObject_TTAction_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_TAction_CreateObject_TTAction_pb(BBBYTE*);
typedef BBINT (*openb3d_openb3dex_TAction_FreeObject_i_pb_f)(BBBYTE*);
BBINT openb3d_openb3dex_TAction_FreeObject_i_pb(BBBYTE*);
typedef struct openb3d_openb3dex_TAction_obj* (*openb3d_openb3dex_TAction_GetObject_TTAction_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_TAction_GetObject_TTAction_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TAction_GetInstance_pb_TTAction_f)(struct openb3d_openb3dex_TAction_obj*);
BBBYTE* openb3d_openb3dex_TAction_GetInstance_pb_TTAction(struct openb3d_openb3dex_TAction_obj*);
typedef BBINT (*openb3d_openb3dex_TAction_InitFields_m)(struct openb3d_openb3dex_TAction_obj*);
BBINT _openb3d_openb3dex_TAction_InitFields(struct openb3d_openb3dex_TAction_obj*);
typedef BBINT (*openb3d_openb3dex_TAction_AddList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TAction_AddList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TAction_CopyList__i_TTList_f)(struct brl_linkedlist_TList_obj*);
BBINT openb3d_openb3dex_TAction_CopyList__i_TTList(struct brl_linkedlist_TList_obj*);
typedef BBINT (*openb3d_openb3dex_TAction_AppendAction_TTAction_m)(struct openb3d_openb3dex_TAction_obj*,struct openb3d_openb3dex_TAction_obj*);
BBINT _openb3d_openb3dex_TAction_AppendAction_TTAction(struct openb3d_openb3dex_TAction_obj*,struct openb3d_openb3dex_TAction_obj*);
typedef BBINT (*openb3d_openb3dex_TAction_FreeAction_m)(struct openb3d_openb3dex_TAction_obj*);
BBINT _openb3d_openb3dex_TAction_FreeAction(struct openb3d_openb3dex_TAction_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TAction_CreateObject_TTAction_pb_f f_CreateObject_TTAction_pb;
	openb3d_openb3dex_TAction_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TAction_GetObject_TTAction_pb_f f_GetObject_TTAction_pb;
	openb3d_openb3dex_TAction_GetInstance_pb_TTAction_f f_GetInstance_pb_TTAction;
	openb3d_openb3dex_TAction_InitFields_m m_InitFields;
	openb3d_openb3dex_TAction_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TAction_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TAction_AppendAction_TTAction_m m_AppendAction_TTAction;
	openb3d_openb3dex_TAction_FreeAction_m m_FreeAction;
};

struct openb3d_openb3dex_TAction_obj {
	struct BBClass_openb3d_openb3dex_TAction* clas;
	BBINT* _openb3d_openb3dex_taction_act;
	BBBYTE* _openb3d_openb3dex_taction_instance;
	BBINT _openb3d_openb3dex_taction_exists;
};
extern struct BBClass_openb3d_openb3dex_TAction openb3d_openb3dex_TAction;
extern struct brl_linkedlist_TList_obj* openb3d_openb3dex_TAction_action_list;
extern struct brl_map_TMap_obj* openb3d_openb3dex_TAction_action_map;
extern BBINT openb3d_openb3dex_TAction_action_list_id;
void _openb3d_openb3dex_TConstraint_New(struct openb3d_openb3dex_TConstraint_obj* o);
typedef struct openb3d_openb3dex_TConstraint_obj* (*openb3d_openb3dex_TConstraint_CreateObject_TTConstraint_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TConstraint_obj* openb3d_openb3dex_TConstraint_CreateObject_TTConstraint_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TConstraint_GetInstance_pb_TTConstraint_f)(struct openb3d_openb3dex_TConstraint_obj*);
BBBYTE* openb3d_openb3dex_TConstraint_GetInstance_pb_TTConstraint(struct openb3d_openb3dex_TConstraint_obj*);
typedef struct openb3d_openb3dex_TConstraint_obj* (*openb3d_openb3dex_TConstraint_CreateConstraint_TTConstraint_TTEntityTTEntityf_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
struct openb3d_openb3dex_TConstraint_obj* openb3d_openb3dex_TConstraint_CreateConstraint_TTConstraint_TTEntityTTEntityf(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,BBFLOAT);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TConstraint_CreateObject_TTConstraint_pb_f f_CreateObject_TTConstraint_pb;
	openb3d_openb3dex_TConstraint_GetInstance_pb_TTConstraint_f f_GetInstance_pb_TTConstraint;
	openb3d_openb3dex_TConstraint_CreateConstraint_TTConstraint_TTEntityTTEntityf_f f_CreateConstraint_TTConstraint_TTEntityTTEntityf;
};

struct openb3d_openb3dex_TConstraint_obj {
	struct BBClass_openb3d_openb3dex_TConstraint* clas;
	BBBYTE* _openb3d_openb3dex_tconstraint_instance;
};
extern struct BBClass_openb3d_openb3dex_TConstraint openb3d_openb3dex_TConstraint;
void _openb3d_openb3dex_TRigidBody_New(struct openb3d_openb3dex_TRigidBody_obj* o);
typedef struct openb3d_openb3dex_TRigidBody_obj* (*openb3d_openb3dex_TRigidBody_CreateObject_TTRigidBody_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TRigidBody_obj* openb3d_openb3dex_TRigidBody_CreateObject_TTRigidBody_pb(BBBYTE*);
typedef BBBYTE* (*openb3d_openb3dex_TRigidBody_GetInstance_pb_TTRigidBody_f)(struct openb3d_openb3dex_TRigidBody_obj*);
BBBYTE* openb3d_openb3dex_TRigidBody_GetInstance_pb_TTRigidBody(struct openb3d_openb3dex_TRigidBody_obj*);
typedef struct openb3d_openb3dex_TRigidBody_obj* (*openb3d_openb3dex_TRigidBody_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TRigidBody_obj* openb3d_openb3dex_TRigidBody_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TRigidBody_CreateObject_TTRigidBody_pb_f f_CreateObject_TTRigidBody_pb;
	openb3d_openb3dex_TRigidBody_GetInstance_pb_TTRigidBody_f f_GetInstance_pb_TTRigidBody;
	openb3d_openb3dex_TRigidBody_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity_f f_CreateRigidBody_TTRigidBody_TTEntityTTEntityTTEntityTTEntityTTEntity;
};

struct openb3d_openb3dex_TRigidBody_obj {
	struct BBClass_openb3d_openb3dex_TRigidBody* clas;
	BBBYTE* _openb3d_openb3dex_trigidbody_instance;
};
extern struct BBClass_openb3d_openb3dex_TRigidBody openb3d_openb3dex_TRigidBody;
void _openb3d_openb3dex_TParticleBatch_New(struct openb3d_openb3dex_TParticleBatch_obj* o);
void _openb3d_openb3dex_TParticleBatch_Delete(struct openb3d_openb3dex_TParticleBatch_obj* o);
typedef struct openb3d_openb3dex_TParticleBatch_obj* (*openb3d_openb3dex_TParticleBatch_CreateObject_TTParticleBatch_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TParticleBatch_obj* openb3d_openb3dex_TParticleBatch_CreateObject_TTParticleBatch_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TParticleBatch_InitFields(struct openb3d_openb3dex_TParticleBatch_obj*);
struct BBClass_openb3d_openb3dex_TParticleBatch {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TMesh_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TParticleBatch_CreateObject_TTParticleBatch_pb_f f_CreateObject_TTParticleBatch_pb;
	openb3d_openb3dex_TMesh_CreateBone_TTEntity_m m_CreateBone_TTEntity;
	openb3d_openb3dex_TMesh_CreatePlane_TTMesh_iTTEntity_f f_CreatePlane_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateQuad_TTMesh_TTEntity_f f_CreateQuad_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_MeshCSG_TTMesh_TTMeshTTMeshi_f f_MeshCSG_TTMesh_TTMeshTTMeshi;
	openb3d_openb3dex_TMesh_MeshesIntersect_TTMesh_m m_MeshesIntersect_TTMesh;
	openb3d_openb3dex_TMesh_RepeatMesh_TTEntity_m m_RepeatMesh_TTEntity;
	openb3d_openb3dex_TMesh_SkinMesh_iiifififif_m m_SkinMesh_iiifififif;
	openb3d_openb3dex_TMesh_CreateMesh_TTMesh_TTEntity_f f_CreateMesh_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_LoadMesh_TTMesh_STTEntity_f f_LoadMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_LoadAnimMesh_TTMesh_STTEntity_f f_LoadAnimMesh_TTMesh_STTEntity;
	openb3d_openb3dex_TMesh_CreateCube_TTMesh_TTEntity_f f_CreateCube_TTMesh_TTEntity;
	openb3d_openb3dex_TMesh_CreateSphere_TTMesh_iTTEntity_f f_CreateSphere_TTMesh_iTTEntity;
	openb3d_openb3dex_TMesh_CreateCylinder_TTMesh_iiTTEntity_f f_CreateCylinder_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CreateCone_TTMesh_iiTTEntity_f f_CreateCone_TTMesh_iiTTEntity;
	openb3d_openb3dex_TMesh_CopyMesh_TTEntity_m m_CopyMesh_TTEntity;
	openb3d_openb3dex_TMesh_AddMesh_TTMesh_m m_AddMesh_TTMesh;
	openb3d_openb3dex_TMesh_FlipMesh_m m_FlipMesh;
	openb3d_openb3dex_TMesh_PaintMesh_TTBrush_m m_PaintMesh_TTBrush;
	openb3d_openb3dex_TMesh_FitMesh_ffffffi_m m_FitMesh_ffffffi;
	openb3d_openb3dex_TMesh_ScaleMesh_fff_m m_ScaleMesh_fff;
	openb3d_openb3dex_TMesh_RotateMesh_fff_m m_RotateMesh_fff;
	openb3d_openb3dex_TMesh_PositionMesh_fff_m m_PositionMesh_fff;
	openb3d_openb3dex_TMesh_UpdateNormals_m m_UpdateNormals;
	openb3d_openb3dex_TMesh_CreateSurface_TTBrush_m m_CreateSurface_TTBrush;
	openb3d_openb3dex_TMesh_MeshWidth_m m_MeshWidth;
	openb3d_openb3dex_TMesh_MeshHeight_m m_MeshHeight;
	openb3d_openb3dex_TMesh_MeshDepth_m m_MeshDepth;
	openb3d_openb3dex_TMesh_CountSurfaces_m m_CountSurfaces;
	openb3d_openb3dex_TMesh_GetSurface_i_m m_GetSurface_i;
	openb3d_openb3dex_TMesh_FindSurface_TTBrush_m m_FindSurface_TTBrush;
	openb3d_openb3dex_TMesh_CountVertices_m m_CountVertices;
	openb3d_openb3dex_TMesh_CountTriangles_m m_CountTriangles;
	openb3d_openb3dex_TMesh_CopyBonesList_i_TTEntity_f f_CopyBonesList_i_TTEntity;
	openb3d_openb3dex_TMesh_CollapseAnimMesh_TTMesh_m m_CollapseAnimMesh_TTMesh;
	openb3d_openb3dex_TMesh_CollapseChildren_TTEntityTTMesh_m m_CollapseChildren_TTEntityTTMesh;
	openb3d_openb3dex_TMesh_TransformMesh_TTMatrix_m m_TransformMesh_TTMatrix;
	openb3d_openb3dex_TMesh_GetBounds_m m_GetBounds;
	openb3d_openb3dex_TMesh_Alpha_m m_Alpha;
	openb3d_openb3dex_TMesh_MeshColor_ffff_m m_MeshColor_ffff;
	openb3d_openb3dex_TMesh_MeshRed_f_m m_MeshRed_f;
	openb3d_openb3dex_TMesh_MeshGreen_f_m m_MeshGreen_f;
	openb3d_openb3dex_TMesh_MeshBlue_f_m m_MeshBlue_f;
	openb3d_openb3dex_TMesh_MeshAlpha_f_m m_MeshAlpha_f;
	openb3d_openb3dex_TMesh_TreeCheck_m m_TreeCheck;
	openb3d_openb3dex_TMesh_Render_m m_Render;
	openb3d_openb3dex_TMesh_UpdateShadow_m m_UpdateShadow;
};

struct openb3d_openb3dex_TParticleBatch_obj {
	struct BBClass_openb3d_openb3dex_TParticleBatch* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
	BBINT* _openb3d_openb3dex_tmesh_no_surfs;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_anim_surf_list;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tmesh_bones;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tmesh_mat_sp;
	BBINT* _openb3d_openb3dex_tmesh_reset_col_tree;
	BBINT* _openb3d_openb3dex_tmesh_reset_bounds;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_min_z;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_x;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_y;
	BBFLOAT* _openb3d_openb3dex_tmesh_max_z;
	BBINT _openb3d_openb3dex_tmesh_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_anim_surf_list_id;
	BBINT _openb3d_openb3dex_tmesh_bones_id;
};
extern struct BBClass_openb3d_openb3dex_TParticleBatch openb3d_openb3dex_TParticleBatch;
void _openb3d_openb3dex_TParticleEmitter_New(struct openb3d_openb3dex_TParticleEmitter_obj* o);
void _openb3d_openb3dex_TParticleEmitter_Delete(struct openb3d_openb3dex_TParticleEmitter_obj* o);
typedef struct openb3d_openb3dex_TParticleEmitter_obj* (*openb3d_openb3dex_TParticleEmitter_CreateObject_TTParticleEmitter_pb_f)(BBBYTE*);
struct openb3d_openb3dex_TParticleEmitter_obj* openb3d_openb3dex_TParticleEmitter_CreateObject_TTParticleEmitter_pb(BBBYTE*);
BBINT _openb3d_openb3dex_TParticleEmitter_InitFields(struct openb3d_openb3dex_TParticleEmitter_obj*);
typedef struct openb3d_openb3dex_TParticleEmitter_obj* (*openb3d_openb3dex_TParticleEmitter_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity_f)(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TParticleEmitter_obj* openb3d_openb3dex_TParticleEmitter_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity(struct openb3d_openb3dex_TEntity_obj*,struct openb3d_openb3dex_TEntity_obj*);
typedef BBINT (*openb3d_openb3dex_TParticleEmitter_EmitterVector_fff_m)(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
BBINT _openb3d_openb3dex_TParticleEmitter_EmitterVector_fff(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT,BBFLOAT,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TParticleEmitter_EmitterRate_f_m)(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TParticleEmitter_EmitterRate_f(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TParticleEmitter_EmitterParticleLife_i_m)(struct openb3d_openb3dex_TParticleEmitter_obj*,BBINT);
BBINT _openb3d_openb3dex_TParticleEmitter_EmitterParticleLife_i(struct openb3d_openb3dex_TParticleEmitter_obj*,BBINT);
typedef BBINT (*openb3d_openb3dex_TParticleEmitter_EmitterParticleFunction_F_pbi_i__m)(struct openb3d_openb3dex_TParticleEmitter_obj*,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
BBINT _openb3d_openb3dex_TParticleEmitter_EmitterParticleFunction_F_pbi_i_(struct openb3d_openb3dex_TParticleEmitter_obj*,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
typedef BBINT (*openb3d_openb3dex_TParticleEmitter_EmitterParticleSpeed_f_m)(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TParticleEmitter_EmitterParticleSpeed_f(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT);
typedef BBINT (*openb3d_openb3dex_TParticleEmitter_EmitterVariance_f_m)(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT);
BBINT _openb3d_openb3dex_TParticleEmitter_EmitterVariance_f(struct openb3d_openb3dex_TParticleEmitter_obj*,BBFLOAT);
typedef struct openb3d_openb3dex_TParticleEmitter_obj* (*openb3d_openb3dex_TParticleEmitter_CopyEntity_TTEntity_m)(struct openb3d_openb3dex_TParticleEmitter_obj*,struct openb3d_openb3dex_TEntity_obj*);
struct openb3d_openb3dex_TParticleEmitter_obj* _openb3d_openb3dex_TParticleEmitter_CopyEntity_TTEntity(struct openb3d_openb3dex_TParticleEmitter_obj*,struct openb3d_openb3dex_TEntity_obj*);
BBINT _openb3d_openb3dex_TParticleEmitter_Update(struct openb3d_openb3dex_TParticleEmitter_obj*);
struct BBClass_openb3d_openb3dex_TParticleEmitter {
	struct BBClass_openb3d_openb3dex_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;
	openb3d_openb3dex_TParticleEmitter_CopyEntity_TTEntity_m m_CopyEntity_TTEntity;
	openb3d_openb3dex_TEntity_Update_m m_Update;
	openb3d_openb3dex_TEntity_FreeObject_i_pb_f f_FreeObject_i_pb;
	openb3d_openb3dex_TEntity_GetObject_TTEntity_pb_f f_GetObject_TTEntity_pb;
	openb3d_openb3dex_TEntity_GetInstance_pb_TTEntity_f f_GetInstance_pb_TTEntity;
	openb3d_openb3dex_TEntity_InitGlobals_i_f f_InitGlobals_i;
	openb3d_openb3dex_TEntity_InitFields_m m_InitFields;
	openb3d_openb3dex_TEntity_AddList_TTList_m m_AddList_TTList;
	openb3d_openb3dex_TEntity_AddList__i_TTList_f f_AddList__i_TTList;
	openb3d_openb3dex_TEntity_CopyList_TTList_m m_CopyList_TTList;
	openb3d_openb3dex_TEntity_CopyList__i_TTList_f f_CopyList__i_TTList;
	openb3d_openb3dex_TEntity_ListPushBack_TTListTObject_m m_ListPushBack_TTListTObject;
	openb3d_openb3dex_TEntity_AddAnimSeq_i_m m_AddAnimSeq_i;
	openb3d_openb3dex_TEntity_SetAnimKey_fiii_m m_SetAnimKey_fiii;
	openb3d_openb3dex_TEntity_AlignToVector_fffif_m m_AlignToVector_fffif;
	openb3d_openb3dex_TEntity_FreeEntity_m m_FreeEntity;
	openb3d_openb3dex_TEntity_FreeEntityList_m m_FreeEntityList;
	openb3d_openb3dex_TEntity_PositionEntity_fffi_m m_PositionEntity_fffi;
	openb3d_openb3dex_TEntity_MoveEntity_fff_m m_MoveEntity_fff;
	openb3d_openb3dex_TEntity_TranslateEntity_fffi_m m_TranslateEntity_fffi;
	openb3d_openb3dex_TEntity_ScaleEntity_fffi_m m_ScaleEntity_fffi;
	openb3d_openb3dex_TEntity_RotateEntity_fffi_m m_RotateEntity_fffi;
	openb3d_openb3dex_TEntity_TurnEntity_fffi_m m_TurnEntity_fffi;
	openb3d_openb3dex_TEntity_PointEntity_TTEntityf_m m_PointEntity_TTEntityf;
	openb3d_openb3dex_TEntity_LoadAnimSeq_S_m m_LoadAnimSeq_S;
	openb3d_openb3dex_TEntity_ExtractAnimSeq_iii_m m_ExtractAnimSeq_iii;
	openb3d_openb3dex_TEntity_Animate_ifii_m m_Animate_ifii;
	openb3d_openb3dex_TEntity_SetAnimTime_fi_m m_SetAnimTime_fi;
	openb3d_openb3dex_TEntity_AnimSeq_m m_AnimSeq;
	openb3d_openb3dex_TEntity_AnimLength_m m_AnimLength;
	openb3d_openb3dex_TEntity_AnimTime_m m_AnimTime;
	openb3d_openb3dex_TEntity_Animating_m m_Animating;
	openb3d_openb3dex_TEntity_EntityColor_fff_m m_EntityColor_fff;
	openb3d_openb3dex_TEntity_EntityAlpha_f_m m_EntityAlpha_f;
	openb3d_openb3dex_TEntity_EntityShininess_f_m m_EntityShininess_f;
	openb3d_openb3dex_TEntity_EntityTexture_TTTextureii_m m_EntityTexture_TTTextureii;
	openb3d_openb3dex_TEntity_EntityBlend_i_m m_EntityBlend_i;
	openb3d_openb3dex_TEntity_EntityFX_i_m m_EntityFX_i;
	openb3d_openb3dex_TEntity_PaintEntity_TTBrush_m m_PaintEntity_TTBrush;
	openb3d_openb3dex_TEntity_GetEntityBrush_m m_GetEntityBrush;
	openb3d_openb3dex_TEntity_EntityOrder_i_m m_EntityOrder_i;
	openb3d_openb3dex_TEntity_ShowEntity_m m_ShowEntity;
	openb3d_openb3dex_TEntity_HideEntity_m m_HideEntity;
	openb3d_openb3dex_TEntity_NameEntity_S_m m_NameEntity_S;
	openb3d_openb3dex_TEntity_EntityParent_TTEntityi_m m_EntityParent_TTEntityi;
	openb3d_openb3dex_TEntity_GetParent_m m_GetParent;
	openb3d_openb3dex_TEntity_EntityX_i_m m_EntityX_i;
	openb3d_openb3dex_TEntity_EntityY_i_m m_EntityY_i;
	openb3d_openb3dex_TEntity_EntityZ_i_m m_EntityZ_i;
	openb3d_openb3dex_TEntity_EntityPitch_i_m m_EntityPitch_i;
	openb3d_openb3dex_TEntity_EntityYaw_i_m m_EntityYaw_i;
	openb3d_openb3dex_TEntity_EntityRoll_i_m m_EntityRoll_i;
	openb3d_openb3dex_TEntity_EntityClass_m m_EntityClass;
	openb3d_openb3dex_TEntity_EntityName_m m_EntityName;
	openb3d_openb3dex_TEntity_CountChildren_m m_CountChildren;
	openb3d_openb3dex_TEntity_GetChild_i_m m_GetChild_i;
	openb3d_openb3dex_TEntity_FindChild_S_m m_FindChild_S;
	openb3d_openb3dex_TEntity_EntityPick_f_m m_EntityPick_f;
	openb3d_openb3dex_TEntity_LinePick_fffffff_m m_LinePick_fffffff;
	openb3d_openb3dex_TEntity_EntityVisible_TTEntityTTEntity_m m_EntityVisible_TTEntityTTEntity;
	openb3d_openb3dex_TEntity_EntityDistance_TTEntity_m m_EntityDistance_TTEntity;
	openb3d_openb3dex_TEntity_DeltaYaw_TTEntity_m m_DeltaYaw_TTEntity;
	openb3d_openb3dex_TEntity_DeltaPitch_TTEntity_m m_DeltaPitch_TTEntity;
	openb3d_openb3dex_TEntity_TFormPoint_i_fffTTEntityTTEntity_f f_TFormPoint_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormVector_i_fffTTEntityTTEntity_f f_TFormVector_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormNormal_i_fffTTEntityTTEntity_f f_TFormNormal_i_fffTTEntityTTEntity;
	openb3d_openb3dex_TEntity_TFormedX_f_f f_TFormedX_f;
	openb3d_openb3dex_TEntity_TFormedY_f_f f_TFormedY_f;
	openb3d_openb3dex_TEntity_TFormedZ_f_f f_TFormedZ_f;
	openb3d_openb3dex_TEntity_GetMatElement_ii_m m_GetMatElement_ii;
	openb3d_openb3dex_TEntity_ResetEntity_m m_ResetEntity;
	openb3d_openb3dex_TEntity_EntityRadius_ff_m m_EntityRadius_ff;
	openb3d_openb3dex_TEntity_EntityBox_ffffff_m m_EntityBox_ffffff;
	openb3d_openb3dex_TEntity_EntityType_ii_m m_EntityType_ii;
	openb3d_openb3dex_TEntity_EntityPickMode_ii_m m_EntityPickMode_ii;
	openb3d_openb3dex_TEntity_EntityCollided_i_m m_EntityCollided_i;
	openb3d_openb3dex_TEntity_CountCollisions_m m_CountCollisions;
	openb3d_openb3dex_TEntity_CollisionX_i_m m_CollisionX_i;
	openb3d_openb3dex_TEntity_CollisionY_i_m m_CollisionY_i;
	openb3d_openb3dex_TEntity_CollisionZ_i_m m_CollisionZ_i;
	openb3d_openb3dex_TEntity_CollisionNX_i_m m_CollisionNX_i;
	openb3d_openb3dex_TEntity_CollisionNY_i_m m_CollisionNY_i;
	openb3d_openb3dex_TEntity_CollisionNZ_i_m m_CollisionNZ_i;
	openb3d_openb3dex_TEntity_CollisionTime_i_m m_CollisionTime_i;
	openb3d_openb3dex_TEntity_CollisionEntity_i_m m_CollisionEntity_i;
	openb3d_openb3dex_TEntity_CollisionSurface_i_m m_CollisionSurface_i;
	openb3d_openb3dex_TEntity_CollisionTriangle_i_m m_CollisionTriangle_i;
	openb3d_openb3dex_TEntity_GetEntityType_m m_GetEntityType;
	openb3d_openb3dex_TEntity_MeshCullRadius_f_m m_MeshCullRadius_f;
	openb3d_openb3dex_TEntity_EntityScaleX_i_m m_EntityScaleX_i;
	openb3d_openb3dex_TEntity_EntityScaleY_i_m m_EntityScaleY_i;
	openb3d_openb3dex_TEntity_EntityScaleZ_i_m m_EntityScaleZ_i;
	openb3d_openb3dex_TEntity_Hidden_m m_Hidden;
	openb3d_openb3dex_TEntity_CountAllChildren_i_TTEntityi_f f_CountAllChildren_i_TTEntityi;
	openb3d_openb3dex_TEntity_GetChildFromAll_iviTTEntity_m m_GetChildFromAll_iviTTEntity;
	openb3d_openb3dex_TEntity_ListParents_TTList_m m_ListParents_TTList;
	openb3d_openb3dex_TEntity_UpdateMat_b_m m_UpdateMat_b;
	openb3d_openb3dex_TEntity_AddParent_TTEntity_m m_AddParent_TTEntity;
	openb3d_openb3dex_TEntity_UpdateChildren_i_TTEntity_f f_UpdateChildren_i_TTEntity;
	openb3d_openb3dex_TEntity_EntityDistanceSquared_TTEntity_m m_EntityDistanceSquared_TTEntity;
	openb3d_openb3dex_TEntity_MQ_Update_m m_MQ_Update;
	openb3d_openb3dex_TEntity_MQ_GetInvMatrix_TTMatrix_m m_MQ_GetInvMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetMatrix_TTMatrix_m m_MQ_GetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_ApplyNewtonTransform_pf_m m_MQ_ApplyNewtonTransform_pf;
	openb3d_openb3dex_TEntity_MQ_SetMatrix_TTMatrix_m m_MQ_SetMatrix_TTMatrix;
	openb3d_openb3dex_TEntity_MQ_GetScaleXYZ_vfvfvf_m m_MQ_GetScaleXYZ_vfvfvf;
	openb3d_openb3dex_TEntity_MQ_Turn_ffffi_m m_MQ_Turn_ffffi;
	openb3d_openb3dex_TParticleEmitter_CreateObject_TTParticleEmitter_pb_f f_CreateObject_TTParticleEmitter_pb;
	openb3d_openb3dex_TParticleEmitter_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity_f f_CreateParticleEmitter_TTParticleEmitter_TTEntityTTEntity;
	openb3d_openb3dex_TParticleEmitter_EmitterVector_fff_m m_EmitterVector_fff;
	openb3d_openb3dex_TParticleEmitter_EmitterRate_f_m m_EmitterRate_f;
	openb3d_openb3dex_TParticleEmitter_EmitterParticleLife_i_m m_EmitterParticleLife_i;
	openb3d_openb3dex_TParticleEmitter_EmitterParticleFunction_F_pbi_i__m m_EmitterParticleFunction_F_pbi_i_;
	openb3d_openb3dex_TParticleEmitter_EmitterParticleSpeed_f_m m_EmitterParticleSpeed_f;
	openb3d_openb3dex_TParticleEmitter_EmitterVariance_f_m m_EmitterVariance_f;
};

struct openb3d_openb3dex_TParticleEmitter_obj {
	struct BBClass_openb3d_openb3dex_TParticleEmitter* clas;
	struct brl_linkedlist_TList_obj* _openb3d_openb3dex_tentity_child_list;
	struct openb3d_openb3dex_TEntity_obj* _openb3d_openb3dex_tentity_parent;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_mat;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_rotmat;
	BBFLOAT* _openb3d_openb3dex_tentity_px;
	BBFLOAT* _openb3d_openb3dex_tentity_py;
	BBFLOAT* _openb3d_openb3dex_tentity_pz;
	BBFLOAT* _openb3d_openb3dex_tentity_sx;
	BBFLOAT* _openb3d_openb3dex_tentity_sy;
	BBFLOAT* _openb3d_openb3dex_tentity_sz;
	BBFLOAT* _openb3d_openb3dex_tentity_rx;
	BBFLOAT* _openb3d_openb3dex_tentity_ry;
	BBFLOAT* _openb3d_openb3dex_tentity_rz;
	BBFLOAT* _openb3d_openb3dex_tentity_qw;
	BBFLOAT* _openb3d_openb3dex_tentity_qx;
	BBFLOAT* _openb3d_openb3dex_tentity_qy;
	BBFLOAT* _openb3d_openb3dex_tentity_qz;
	struct openb3d_openb3dex_TBrush_obj* _openb3d_openb3dex_tentity_brush;
	BBINT* _openb3d_openb3dex_tentity_order;
	BBFLOAT* _openb3d_openb3dex_tentity_alpha_order;
	BBINT* _openb3d_openb3dex_tentity_hide;
	BBFLOAT* _openb3d_openb3dex_tentity_cull_radius;
	BBBYTE* _openb3d_openb3dex_tentity_name;
	BBBYTE* _openb3d_openb3dex_tentity_class_name;
	BBINT* _openb3d_openb3dex_tentity_anim;
	BBINT* _openb3d_openb3dex_tentity_anim_render;
	BBINT* _openb3d_openb3dex_tentity_anim_mode;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_time;
	BBFLOAT* _openb3d_openb3dex_tentity_anim_speed;
	BBINT* _openb3d_openb3dex_tentity_anim_seq;
	BBINT* _openb3d_openb3dex_tentity_anim_trans;
	BBINT* _openb3d_openb3dex_tentity_anim_dir;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_first;
	BBINT* _openb3d_openb3dex_tentity_anim_seqs_last;
	BBINT* _openb3d_openb3dex_tentity_no_seqs;
	BBINT* _openb3d_openb3dex_tentity_anim_update;
	BBINT* _openb3d_openb3dex_tentity_anim_list;
	BBINT* _openb3d_openb3dex_tentity_collision_type;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_x;
	BBFLOAT* _openb3d_openb3dex_tentity_radius_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_x;
	BBFLOAT* _openb3d_openb3dex_tentity_box_y;
	BBFLOAT* _openb3d_openb3dex_tentity_box_z;
	BBFLOAT* _openb3d_openb3dex_tentity_box_w;
	BBFLOAT* _openb3d_openb3dex_tentity_box_h;
	BBFLOAT* _openb3d_openb3dex_tentity_box_d;
	BBINT* _openb3d_openb3dex_tentity_no_collisions;
	BBFLOAT* _openb3d_openb3dex_tentity_old_x;
	BBFLOAT* _openb3d_openb3dex_tentity_old_y;
	BBFLOAT* _openb3d_openb3dex_tentity_old_z;
	BBFLOAT* _openb3d_openb3dex_tentity_old_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_old_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_old_roll;
	BBFLOAT* _openb3d_openb3dex_tentity_new_x;
	BBFLOAT* _openb3d_openb3dex_tentity_new_y;
	BBFLOAT* _openb3d_openb3dex_tentity_new_z;
	BBINT* _openb3d_openb3dex_tentity_new_no;
	struct openb3d_openb3dex_TMatrix_obj* _openb3d_openb3dex_tentity_old_mat;
	BBINT* _openb3d_openb3dex_tentity_dynamic;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_x;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_y;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_z;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_yaw;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_pitch;
	BBFLOAT* _openb3d_openb3dex_tentity_dynamic_roll;
	BBINT* _openb3d_openb3dex_tentity_pick_mode;
	BBINT* _openb3d_openb3dex_tentity_obscurer;
	BBBYTE* _openb3d_openb3dex_tentity_instance;
	BBINT _openb3d_openb3dex_tentity_child_list_id;
	BBINT _openb3d_openb3dex_tentity_exists;
};
extern struct BBClass_openb3d_openb3dex_TParticleEmitter openb3d_openb3dex_TParticleEmitter;
extern BBINT FreeShader(BBBYTE* bbt_shader);
extern BBINT FreeStencil(BBBYTE* bbt_stencil);
extern BBINT TextureFlags(BBBYTE* bbt_tex,BBINT bbt_flags);
extern BBINT FreeSurface(BBBYTE* bbt_surf);
extern BBINT TextureGLTexEnv(BBBYTE* bbt_tex,BBINT bbt_target,BBINT bbt_pname,BBINT bbt_param);
extern BBINT BrushGLColor(BBBYTE* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
extern BBINT BrushGLBlendFunc(BBBYTE* bbt_brush,BBINT bbt_sfactor,BBINT bbt_dfactor);
extern BBINT BackBufferToTex(BBBYTE* bbt_tex,BBINT bbt_frame);
extern BBINT MeshCullRadius(BBBYTE* bbt_ent,BBFLOAT bbt_radius);
extern BBFLOAT EntityScaleX(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBFLOAT EntityScaleY(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBFLOAT EntityScaleZ(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBINT AddMesh(BBBYTE* bbt_mesh1,BBBYTE* bbt_mesh2);
extern BBINT AddTriangle(BBBYTE* bbt_surf,BBINT bbt_v0,BBINT bbt_v1,BBINT bbt_v2);
extern BBINT AddVertex(BBBYTE* bbt_surf,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w);
extern BBINT AmbientLight(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
extern BBINT Animate(BBBYTE* bbt_ent,BBINT bbt_Mode,BBFLOAT bbt_speed,BBINT bbt_seq,BBINT bbt_trans);
extern BBINT Animating(BBBYTE* bbt_ent);
extern BBINT AnimLength(BBBYTE* bbt_ent);
extern BBINT AnimSeq(BBBYTE* bbt_ent);
extern BBFLOAT AnimTime(BBBYTE* bbt_ent);
extern BBINT BrushAlpha(BBBYTE* bbt_brush,BBFLOAT bbt_a);
extern BBINT BrushBlend(BBBYTE* bbt_brush,BBINT bbt_blend);
extern BBINT BrushColor(BBBYTE* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
extern BBINT BrushFX(BBBYTE* bbt_brush,BBINT bbt_fx);
extern BBINT BrushShininess(BBBYTE* bbt_brush,BBFLOAT bbt_s);
extern BBINT BrushTexture(BBBYTE* bbt_brush,BBBYTE* bbt_tex,BBINT bbt_frame,BBINT bbt_index);
extern BBINT CameraClsColor(BBBYTE* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
extern BBINT CameraClsMode(BBBYTE* bbt_cam,BBINT bbt_cls_depth,BBINT bbt_cls_zbuffer);
extern BBINT CameraFogColor(BBBYTE* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
extern BBINT CameraFogMode(BBBYTE* bbt_cam,BBINT bbt_Mode);
extern BBINT CameraFogRange(BBBYTE* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar);
extern BBBYTE* CameraPick(BBBYTE* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y);
extern BBINT CameraProject(BBBYTE* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBINT CameraProjMode(BBBYTE* bbt_cam,BBINT bbt_Mode);
extern BBINT CameraRange(BBBYTE* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar);
extern BBINT CameraViewport(BBBYTE* bbt_cam,BBINT bbt_x,BBINT bbt_y,BBINT bbt_width,BBINT bbt_height);
extern BBINT CameraZoom(BBBYTE* bbt_cam,BBFLOAT bbt_zoom);
extern BBINT ClearCollisions();
extern BBINT ClearSurface(BBBYTE* bbt_surf,BBINT bbt_clear_verts,BBINT bbt_clear_tris);
extern BBINT ClearTextureFilters();
extern BBINT ClearWorld(BBINT bbt_entities,BBINT bbt_brushes,BBINT bbt_textures);
extern BBBYTE* CollisionEntity(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionNX(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionNY(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionNZ(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBINT Collisions(BBINT bbt_src_no,BBINT bbt_dest_no,BBINT bbt_method_no,BBINT bbt_response_no);
extern BBBYTE* CollisionSurface(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionTime(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBINT CollisionTriangle(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionX(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionY(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBFLOAT CollisionZ(BBBYTE* bbt_ent,BBINT bbt_index);
extern BBBYTE* CopyEntity(BBBYTE* bbt_ent,BBBYTE* bbt_parent);
extern BBBYTE* CopyMesh(BBBYTE* bbt_mesh,BBBYTE* bbt_parent);
extern BBINT CountChildren(BBBYTE* bbt_ent);
extern BBINT CountCollisions(BBBYTE* bbt_ent);
extern BBINT CountSurfaces(BBBYTE* bbt_mesh);
extern BBINT CountTriangles(BBBYTE* bbt_surf);
extern BBINT CountVertices(BBBYTE* bbt_surf);
extern BBBYTE* CreateBrush(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
extern BBBYTE* CreateCamera(BBBYTE* bbt_parent);
extern BBBYTE* CreateCone(BBINT bbt_segments,BBINT bbt_solid,BBBYTE* bbt_parent);
extern BBBYTE* CreateCylinder(BBINT bbt_segments,BBINT bbt_solid,BBBYTE* bbt_parent);
extern BBBYTE* CreateCube(BBBYTE* bbt_parent);
extern BBBYTE* CreateMesh(BBBYTE* bbt_parent);
extern BBBYTE* CreateLight(BBINT bbt_light_type,BBBYTE* bbt_parent);
extern BBBYTE* CreatePivot(BBBYTE* bbt_parent);
extern BBBYTE* CreateSphere(BBINT bbt_segments,BBBYTE* bbt_parent);
extern BBBYTE* CreateSprite(BBBYTE* bbt_parent);
extern BBBYTE* CreateSurface(BBBYTE* bbt_mesh,BBBYTE* bbt_brush);
extern BBBYTE* CreateTexture(BBINT bbt_width,BBINT bbt_height,BBINT bbt_flags,BBINT bbt_frames);
extern BBFLOAT DeltaPitch(BBBYTE* bbt_ent1,BBBYTE* bbt_ent2);
extern BBFLOAT DeltaYaw(BBBYTE* bbt_ent1,BBBYTE* bbt_ent2);
extern BBINT EntityAlpha(BBBYTE* bbt_ent,BBFLOAT bbt_alpha);
extern BBINT EntityBlend(BBBYTE* bbt_ent,BBINT bbt_blend);
extern BBINT EntityBox(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d);
extern BBBYTE* EntityClass(BBBYTE* bbt_ent);
extern BBBYTE* EntityCollided(BBBYTE* bbt_ent,BBINT bbt_type_no);
extern BBINT EntityColor(BBBYTE* bbt_ent,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue);
extern BBFLOAT EntityDistance(BBBYTE* bbt_ent1,BBBYTE* bbt_ent2);
extern BBINT EntityFX(BBBYTE* bbt_ent,BBINT bbt_fx);
extern BBINT EntityInView(BBBYTE* bbt_ent,BBBYTE* bbt_cam);
extern BBBYTE* EntityName(BBBYTE* bbt_ent);
extern BBINT EntityOrder(BBBYTE* bbt_ent,BBINT bbt_order);
extern BBINT EntityParent(BBBYTE* bbt_ent,BBBYTE* bbt_parent_ent,BBINT bbt_glob);
extern BBBYTE* EntityPick(BBBYTE* bbt_ent,BBFLOAT bbt_Range);
extern BBINT EntityPickMode(BBBYTE* bbt_ent,BBINT bbt_pick_mode,BBINT bbt_obscurer);
extern BBFLOAT EntityPitch(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBINT EntityRadius(BBBYTE* bbt_ent,BBFLOAT bbt_radius_x,BBFLOAT bbt_radius_y);
extern BBFLOAT EntityRoll(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBINT EntityShininess(BBBYTE* bbt_ent,BBFLOAT bbt_shine);
extern BBINT EntityTexture(BBBYTE* bbt_ent,BBBYTE* bbt_tex,BBINT bbt_frame,BBINT bbt_index);
extern BBINT EntityType(BBBYTE* bbt_ent,BBINT bbt_type_no,BBINT bbt_recursive);
extern BBINT EntityVisible(BBBYTE* bbt_src_ent,BBBYTE* bbt_dest_ent);
extern BBFLOAT EntityX(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBFLOAT EntityY(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBFLOAT EntityYaw(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBFLOAT EntityZ(BBBYTE* bbt_ent,BBINT bbt_glob);
extern BBINT ExtractAnimSeq(BBBYTE* bbt_ent,BBINT bbt_first_frame,BBINT bbt_last_frame,BBINT bbt_seq);
extern BBBYTE* FindChild(BBBYTE* bbt_ent,BBBYTE* bbt_child_name);
extern BBBYTE* FindSurface(BBBYTE* bbt_mesh,BBBYTE* bbt_brush);
extern BBINT FitMesh(BBBYTE* bbt_mesh,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_width,BBFLOAT bbt_height,BBFLOAT bbt_depth,BBINT bbt_uniform);
extern BBINT FlipMesh(BBBYTE* bbt_mesh);
extern BBINT FreeBrush(BBBYTE* bbt_brush);
extern BBINT FreeEntity(BBBYTE* bbt_ent);
extern BBINT FreeTexture(BBBYTE* bbt_tex);
extern BBBYTE* GetBrushTexture(BBBYTE* bbt_brush,BBINT bbt_index);
extern BBBYTE* GetChild(BBBYTE* bbt_ent,BBINT bbt_child_no);
extern BBBYTE* GetEntityBrush(BBBYTE* bbt_ent);
extern BBINT GetEntityType(BBBYTE* bbt_ent);
extern BBBYTE* GetParentEntity(BBBYTE* bbt_ent);
extern BBBYTE* GetSurface(BBBYTE* bbt_mesh,BBINT bbt_surf_no);
extern BBBYTE* GetSurfaceBrush(BBBYTE* bbt_surf);
extern BBINT Graphics3D(BBINT bbt_width,BBINT bbt_height,BBINT bbt_depth,BBINT bbt_Mode,BBINT bbt_rate);
extern BBINT HandleSprite(BBBYTE* bbt_sprite,BBFLOAT bbt_h_x,BBFLOAT bbt_h_y);
extern BBINT HideEntity(BBBYTE* bbt_ent);
extern BBINT LightColor(BBBYTE* bbt_light,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue);
extern BBINT LightConeAngles(BBBYTE* bbt_light,BBFLOAT bbt_inner_ang,BBFLOAT bbt_outer_ang);
extern BBINT LightRange(BBBYTE* bbt_light,BBFLOAT bbt_Range);
extern BBBYTE* LinePick(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_dx,BBFLOAT bbt_dy,BBFLOAT bbt_dz,BBFLOAT bbt_radius);
extern BBBYTE* LoadAnimMesh(BBBYTE* bbt_file,BBBYTE* bbt_parent);
extern BBBYTE* LoadAnimTexture(BBBYTE* bbt_file,BBINT bbt_flags,BBINT bbt_frame_width,BBINT bbt_frame_height,BBINT bbt_first_frame,BBINT bbt_frame_count);
extern BBBYTE* LoadBrush(BBBYTE* bbt_file,BBINT bbt_flags,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale);
extern BBBYTE* LoadMesh(BBBYTE* bbt_file,BBBYTE* bbt_parent);
extern BBBYTE* LoadTexture(BBBYTE* bbt_file,BBINT bbt_flags);
extern BBBYTE* LoadSprite(BBBYTE* bbt_tex_file,BBINT bbt_tex_flag,BBBYTE* bbt_parent);
extern BBFLOAT MeshDepth(BBBYTE* bbt_mesh);
extern BBFLOAT MeshHeight(BBBYTE* bbt_mesh);
extern BBFLOAT MeshWidth(BBBYTE* bbt_mesh);
extern BBINT MoveEntity(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBINT NameEntity(BBBYTE* bbt_ent,BBBYTE* bbt_name);
extern BBINT PaintEntity(BBBYTE* bbt_ent,BBBYTE* bbt_brush);
extern BBINT PaintMesh(BBBYTE* bbt_mesh,BBBYTE* bbt_brush);
extern BBINT PaintSurface(BBBYTE* bbt_surf,BBBYTE* bbt_brush);
extern BBBYTE* PickedEntity();
extern BBFLOAT PickedNX();
extern BBFLOAT PickedNY();
extern BBFLOAT PickedNZ();
extern BBBYTE* PickedSurface();
extern BBFLOAT PickedTime();
extern BBINT PickedTriangle();
extern BBFLOAT PickedX();
extern BBFLOAT PickedY();
extern BBFLOAT PickedZ();
extern BBINT PointEntity(BBBYTE* bbt_ent,BBBYTE* bbt_target_ent,BBFLOAT bbt_roll);
extern BBINT PositionEntity(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
extern BBINT PositionMesh(BBBYTE* bbt_mesh,BBFLOAT bbt_px,BBFLOAT bbt_py,BBFLOAT bbt_pz);
extern BBINT PositionTexture(BBBYTE* bbt_tex,BBFLOAT bbt_u_pos,BBFLOAT bbt_v_pos);
extern BBFLOAT ProjectedX();
extern BBFLOAT ProjectedY();
extern BBFLOAT ProjectedZ();
extern BBINT RenderWorld();
extern BBINT ResetEntity(BBBYTE* bbt_ent);
extern BBINT RotateEntity(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
extern BBINT RotateMesh(BBBYTE* bbt_mesh,BBFLOAT bbt_pitch,BBFLOAT bbt_yaw,BBFLOAT bbt_roll);
extern BBINT RotateSprite(BBBYTE* bbt_sprite,BBFLOAT bbt_ang);
extern BBINT RotateTexture(BBBYTE* bbt_tex,BBFLOAT bbt_ang);
extern BBINT ScaleEntity(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
extern BBINT ScaleMesh(BBBYTE* bbt_mesh,BBFLOAT bbt_sx,BBFLOAT bbt_sy,BBFLOAT bbt_sz);
extern BBINT ScaleSprite(BBBYTE* bbt_sprite,BBFLOAT bbt_s_x,BBFLOAT bbt_s_y);
extern BBINT ScaleTexture(BBBYTE* bbt_tex,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale);
extern BBINT SetAnimTime(BBBYTE* bbt_ent,BBFLOAT bbt_time,BBINT bbt_seq);
extern BBINT SetCubeFace(BBBYTE* bbt_tex,BBINT bbt_face);
extern BBINT SetCubeMode(BBBYTE* bbt_tex,BBINT bbt_Mode);
extern BBINT ShowEntity(BBBYTE* bbt_ent);
extern BBINT SpriteViewMode(BBBYTE* bbt_sprite,BBINT bbt_Mode);
extern BBINT TextureBlend(BBBYTE* bbt_tex,BBINT bbt_blend);
extern BBINT TextureCoords(BBBYTE* bbt_tex,BBINT bbt_coords);
extern BBINT TextureHeight(BBBYTE* bbt_tex);
extern BBINT TextureFilter(BBBYTE* bbt_match_text,BBINT bbt_flags);
extern BBBYTE* TextureName(BBBYTE* bbt_tex);
extern BBINT TextureWidth(BBBYTE* bbt_tex);
extern BBFLOAT TFormedX();
extern BBFLOAT TFormedY();
extern BBFLOAT TFormedZ();
extern BBINT TFormNormal(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBBYTE* bbt_src_ent,BBBYTE* bbt_dest_ent);
extern BBINT TFormPoint(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBBYTE* bbt_src_ent,BBBYTE* bbt_dest_ent);
extern BBINT TFormVector(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBBYTE* bbt_src_ent,BBBYTE* bbt_dest_ent);
extern BBINT TranslateEntity(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
extern BBINT TriangleVertex(BBBYTE* bbt_surf,BBINT bbt_tri_no,BBINT bbt_corner);
extern BBINT TurnEntity(BBBYTE* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
extern BBINT UpdateNormals(BBBYTE* bbt_mesh);
extern BBINT UpdateWorld(BBFLOAT bbt_anim_speed);
extern BBFLOAT VectorPitch(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz);
extern BBFLOAT VectorYaw(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz);
extern BBFLOAT VertexAlpha(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBFLOAT VertexBlue(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBINT VertexColor(BBBYTE* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
extern BBINT VertexCoords(BBBYTE* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBFLOAT VertexGreen(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBINT VertexNormal(BBBYTE* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_nx,BBFLOAT bbt_ny,BBFLOAT bbt_nz);
extern BBFLOAT VertexNX(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBFLOAT VertexNY(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBFLOAT VertexNZ(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBFLOAT VertexRed(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBINT VertexTexCoords(BBBYTE* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w,BBINT bbt_coord_set);
extern BBFLOAT VertexU(BBBYTE* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
extern BBFLOAT VertexV(BBBYTE* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
extern BBFLOAT VertexW(BBBYTE* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
extern BBFLOAT VertexX(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBFLOAT VertexY(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBFLOAT VertexZ(BBBYTE* bbt_surf,BBINT bbt_vid);
extern BBINT Wireframe(BBINT bbt_enable);
extern BBINT AddAnimSeq(BBBYTE* bbt_ent,BBINT bbt_length);
extern BBBYTE* CreatePlane(BBINT bbt_divisions,BBBYTE* bbt_parent);
extern BBBYTE* CreateTerrain(BBINT bbt_size,BBBYTE* bbt_parent);
extern BBINT LoadAnimSeq(BBBYTE* bbt_ent,BBBYTE* bbt_file);
extern BBBYTE* LoadTerrain(BBBYTE* bbt_file,BBBYTE* bbt_parent);
extern BBINT MeshesIntersect(BBBYTE* bbt_mesh1,BBBYTE* bbt_mesh2);
extern BBINT ModifyTerrain(BBBYTE* bbt_terr,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height);
extern BBINT SetAnimKey(BBBYTE* bbt_ent,BBFLOAT bbt_frame,BBINT bbt_pos_key,BBINT bbt_rot_key,BBINT bbt_scale_key);
extern BBFLOAT TerrainHeight(BBBYTE* bbt_terr,BBINT bbt_x,BBINT bbt_z);
extern BBFLOAT TerrainX(BBBYTE* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBFLOAT TerrainY(BBBYTE* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBFLOAT TerrainZ(BBBYTE* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBINT BufferToTex(BBBYTE* bbt_tex,BBBYTE* bbt_buffer,BBINT bbt_frame);
extern BBINT CameraToTex(BBBYTE* bbt_tex,BBBYTE* bbt_cam,BBINT bbt_frame);
extern BBBYTE* CreateBone(BBBYTE* bbt_mesh,BBBYTE* bbt_parent_ent);
extern BBBYTE* CreateQuad(BBBYTE* bbt_parent);
extern BBINT DepthBufferToTex(BBBYTE* bbt_tex,BBBYTE* bbt_cam);
extern BBBYTE* MeshCSG(BBBYTE* bbt_m1,BBBYTE* bbt_m2,BBINT bbt_method_no);
extern BBBYTE* RepeatMesh(BBBYTE* bbt_mesh,BBBYTE* bbt_parent);
extern BBINT SkinMesh(BBBYTE* 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);
extern BBINT SpriteRenderMode(BBBYTE* bbt_sprite,BBINT bbt_Mode);
extern BBINT TexToBuffer(BBBYTE* bbt_tex,BBBYTE* bbt_buffer,BBINT bbt_frame);
extern BBINT UpdateTexCoords(BBBYTE* bbt_surf);
extern BBBYTE* ActMoveBy(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActTurnBy(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActVector(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c);
extern BBBYTE* ActMoveTo(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActTurnTo(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActScaleTo(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActFadeTo(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_rate);
extern BBBYTE* ActTintTo(BBBYTE* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActTrackByPoint(BBBYTE* bbt_ent,BBBYTE* bbt_target,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
extern BBBYTE* ActTrackByDistance(BBBYTE* bbt_ent,BBBYTE* bbt_target,BBFLOAT bbt_a,BBFLOAT bbt_rate);
extern BBBYTE* ActNewtonian(BBBYTE* bbt_ent,BBFLOAT bbt_rate);
extern BBINT AppendAction(BBBYTE* bbt_act1,BBBYTE* bbt_act2);
extern BBINT FreeAction(BBBYTE* bbt_act);
extern BBBYTE* CreateConstraint(BBBYTE* bbt_p1,BBBYTE* bbt_p2,BBFLOAT bbt_l);
extern BBBYTE* CreateRigidBody(BBBYTE* bbt_body,BBBYTE* bbt_p1,BBBYTE* bbt_p2,BBBYTE* bbt_p3,BBBYTE* bbt_p4);
extern BBBYTE* CreateBlob(BBBYTE* bbt_fluid,BBFLOAT bbt_radius,BBBYTE* bbt_parent_ent);
extern BBBYTE* CreateFluid();
extern BBINT FluidArray(BBBYTE* bbt_fluid,BBFLOAT* bbt_Array,BBINT bbt_w,BBINT bbt_h,BBINT bbt_d);
extern BBINT FluidFunction(BBBYTE* bbt_fluid,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
extern BBINT FluidThreshold(BBBYTE* bbt_fluid,BBFLOAT bbt_threshold);
extern BBBYTE* CreateGeosphere(BBINT bbt_size,BBBYTE* bbt_parent);
extern BBINT GeosphereHeight(BBBYTE* bbt_geo,BBFLOAT bbt_h);
extern BBBYTE* LoadGeosphere(BBBYTE* bbt_file,BBBYTE* bbt_parent);
extern BBINT ModifyGeosphere(BBBYTE* bbt_geo,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height);
extern BBBYTE* CreateOcTree(BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d,BBBYTE* bbt_parent_ent);
extern BBINT OctreeBlock(BBBYTE* bbt_octree,BBBYTE* bbt_mesh,BBINT bbt_level,BBFLOAT bbt_X,BBFLOAT bbt_Y,BBFLOAT bbt_Z,BBFLOAT bbt_Near,BBFLOAT bbt_Far);
extern BBINT OctreeMesh(BBBYTE* bbt_octree,BBBYTE* bbt_mesh,BBINT bbt_level,BBFLOAT bbt_X,BBFLOAT bbt_Y,BBFLOAT bbt_Z,BBFLOAT bbt_Near,BBFLOAT bbt_Far);
extern BBBYTE* CreateParticleEmitter(BBBYTE* bbt_particle,BBBYTE* bbt_parent_ent);
extern BBINT EmitterVector(BBBYTE* bbt_emit,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBINT EmitterRate(BBBYTE* bbt_emit,BBFLOAT bbt_r);
extern BBINT EmitterParticleLife(BBBYTE* bbt_emit,BBINT bbt_l);
extern BBINT EmitterParticleFunction(BBBYTE* bbt_emit,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
extern BBINT EmitterParticleSpeed(BBBYTE* bbt_emit,BBFLOAT bbt_s);
extern BBINT EmitterVariance(BBBYTE* bbt_emit,BBFLOAT bbt_v);
extern BBINT ParticleColor(BBBYTE* bbt_sprite,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
extern BBINT ParticleVector(BBBYTE* bbt_sprite,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
extern BBINT ParticleTrail(BBBYTE* bbt_sprite,BBINT bbt_length);
extern BBBYTE* LoadShader(BBBYTE* bbt_ShaderName,BBBYTE* bbt_VshaderFileName,BBBYTE* bbt_FshaderFileName);
extern BBBYTE* CreateShader(BBBYTE* bbt_ShaderName,BBBYTE* bbt_VshaderString,BBBYTE* bbt_FshaderString);
extern BBINT ShadeSurface(BBBYTE* bbt_surf,BBBYTE* bbt_material);
extern BBINT ShadeMesh(BBBYTE* bbt_mesh,BBBYTE* bbt_material);
extern BBINT ShadeEntity(BBBYTE* bbt_ent,BBBYTE* bbt_material);
extern BBBYTE* ShaderTexture(BBBYTE* bbt_material,BBBYTE* bbt_tex,BBBYTE* bbt_name,BBINT bbt_index);
extern BBINT SetFloat(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT bbt_v1);
extern BBINT SetFloat2(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2);
extern BBINT SetFloat3(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2,BBFLOAT bbt_v3);
extern BBINT SetFloat4(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2,BBFLOAT bbt_v3,BBFLOAT bbt_v4);
extern BBINT UseFloat(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT* bbt_v1);
extern BBINT UseFloat2(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2);
extern BBINT UseFloat3(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2,BBFLOAT* bbt_v3);
extern BBINT UseFloat4(BBBYTE* bbt_material,BBBYTE* bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2,BBFLOAT* bbt_v3,BBFLOAT* bbt_v4);
extern BBINT SetInteger(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT bbt_v1);
extern BBINT SetInteger2(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT bbt_v1,BBINT bbt_v2);
extern BBINT SetInteger3(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT bbt_v1,BBINT bbt_v2,BBINT bbt_v3);
extern BBINT SetInteger4(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT bbt_v1,BBINT bbt_v2,BBINT bbt_v3,BBINT bbt_v4);
extern BBINT UseInteger(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT* bbt_v1);
extern BBINT UseInteger2(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT* bbt_v1,BBINT* bbt_v2);
extern BBINT UseInteger3(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT* bbt_v1,BBINT* bbt_v2,BBINT* bbt_v3);
extern BBINT UseInteger4(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT* bbt_v1,BBINT* bbt_v2,BBINT* bbt_v3,BBINT* bbt_v4);
extern BBINT UseSurface(BBBYTE* bbt_material,BBBYTE* bbt_name,BBBYTE* bbt_surf,BBINT bbt_vbo);
extern BBINT UseMatrix(BBBYTE* bbt_material,BBBYTE* bbt_name,BBINT bbt_Mode);
extern BBBYTE* LoadMaterial(BBBYTE* bbt_filename,BBINT bbt_flags,BBINT bbt_frame_width,BBINT bbt_frame_height,BBINT bbt_first_frame,BBINT bbt_frame_count);
extern BBINT ShaderMaterial(BBBYTE* bbt_material,BBBYTE* bbt_tex,BBBYTE* bbt_name,BBINT bbt_index);
extern BBINT AmbientShader(BBBYTE* bbt_material);
extern BBBYTE* CreateShadow(BBBYTE* bbt_parent,BBINT bbt_Static);
extern BBINT FreeShadow(BBBYTE* bbt_shad);
extern BBBYTE* CreateStencil();
extern BBINT StencilAlpha(BBBYTE* bbt_stencil,BBFLOAT bbt_a);
extern BBINT StencilClsColor(BBBYTE* bbt_stencil,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
extern BBINT StencilClsMode(BBBYTE* bbt_stencil,BBINT bbt_cls_color,BBINT bbt_cls_zbuffer);
extern BBINT StencilMesh(BBBYTE* bbt_stencil,BBBYTE* bbt_mesh,BBINT bbt_Mode);
extern BBINT StencilMode(BBBYTE* bbt_stencil,BBINT bbt_m,BBINT bbt_o);
extern BBINT UseStencil(BBBYTE* bbt_stencil);
extern BBBYTE* CreateVoxelSprite(BBINT bbt_slices,BBBYTE* bbt_parent);
extern BBINT VoxelSpriteMaterial(BBBYTE* bbt_voxelspr,BBBYTE* bbt_mat);
BBINT openb3d_openb3dex_BeginMax2D();
BBINT openb3d_openb3dex_EndMax2D();
BBINT openb3d_openb3dex_CopyList(struct brl_linkedlist_TList_obj* bbt_list);
BBINT openb3d_openb3dex_ListPushBack(struct brl_linkedlist_TList_obj* bbt_list,BBOBJECT bbt_value,struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_AddSurface(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_anim_surf);
BBINT openb3d_openb3dex_Quaternion_FromAngleAxis(BBFLOAT bbt_angle,BBFLOAT bbt_ax,BBFLOAT bbt_ay,BBFLOAT bbt_az,BBFLOAT* bbt_rx,BBFLOAT* bbt_ry,BBFLOAT* bbt_rz,BBFLOAT* bbt_rw);
BBINT openb3d_openb3dex_Quaternion_MultiplyQuat(BBFLOAT bbt_x1,BBFLOAT bbt_y1,BBFLOAT bbt_z1,BBFLOAT bbt_w1,BBFLOAT bbt_x2,BBFLOAT bbt_y2,BBFLOAT bbt_z2,BBFLOAT bbt_w2,BBFLOAT* bbt_rx,BBFLOAT* bbt_ry,BBFLOAT* bbt_rz,BBFLOAT* bbt_rw);
BBINT openb3d_openb3dex_InterpolateMatrix(struct openb3d_openb3dex_TMatrix_obj* bbt_m,struct openb3d_openb3dex_TMatrix_obj* bbt_a,BBFLOAT bbt_alpha);
BBINT openb3d_openb3dex_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_openb3dex_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_openb3dex_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_openb3dex_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);
BBINT openb3d_openb3dex_FreeShader(struct openb3d_openb3dex_TShader_obj* bbt_shader);
BBINT openb3d_openb3dex_FreeStencil(struct openb3d_openb3dex_TStencil_obj* bbt_stencil);
BBINT openb3d_openb3dex_BrushGLColor(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
BBINT openb3d_openb3dex_BrushGLBlendFunc(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBINT bbt_sfactor,BBINT bbt_dfactor);
BBINT openb3d_openb3dex_TextureGLTexEnv(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_target,BBINT bbt_pname,BBINT bbt_param);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_CreateTexture(BBINT bbt_width,BBINT bbt_height,BBINT bbt_flags,BBINT bbt_frames);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_LoadTextureAlpha(BBSTRING bbt_file,BBINT bbt_flags,BBINT bbt_alphamask);
BBINT openb3d_openb3dex_TextureFlags(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_flags);
BBINT openb3d_openb3dex_FreeSurface(struct openb3d_openb3dex_TSurface_obj* bbt_surf);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_CopyBrush(struct openb3d_openb3dex_TBrush_obj* bbt_brush);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_CopySurface(struct openb3d_openb3dex_TSurface_obj* bbt_surf);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_CopyTexture(struct openb3d_openb3dex_TTexture_obj* bbt_tex);
BBINT openb3d_openb3dex_BackBufferToTex(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_frame);
BBINT openb3d_openb3dex_MeshCullRadius(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_radius);
BBFLOAT openb3d_openb3dex_EntityScaleX(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dex_EntityScaleY(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dex_EntityScaleZ(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dex_BufferToTex(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBBYTE* bbt_buffer,BBINT bbt_frame);
BBINT openb3d_openb3dex_CameraToTex(struct openb3d_openb3dex_TTexture_obj* bbt_tex,struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBINT bbt_frame);
struct openb3d_openb3dex_TBone_obj* openb3d_openb3dex_CreateBone(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TEntity_obj* bbt_parent_ent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreateQuad(struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_DepthBufferToTex(struct openb3d_openb3dex_TTexture_obj* bbt_tex,struct openb3d_openb3dex_TCamera_obj* bbt_cam);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_MeshCSG(struct openb3d_openb3dex_TMesh_obj* bbt_m1,struct openb3d_openb3dex_TMesh_obj* bbt_m2,BBINT bbt_method_no);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_RepeatMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_SkinMesh(struct openb3d_openb3dex_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_openb3dex_SpriteRenderMode(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBINT bbt_Mode);
BBINT openb3d_openb3dex_TexToBuffer(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBBYTE* bbt_buffer,BBINT bbt_frame);
BBINT openb3d_openb3dex_UpdateTexCoords(struct openb3d_openb3dex_TSurface_obj* bbt_surf);
BBINT openb3d_openb3dex_AddMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh1,struct openb3d_openb3dex_TMesh_obj* bbt_mesh2);
BBINT openb3d_openb3dex_AddTriangle(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_v0,BBINT bbt_v1,BBINT bbt_v2);
BBINT openb3d_openb3dex_AddVertex(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w);
BBINT openb3d_openb3dex_AmbientLight(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dex_Animate(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_Mode,BBFLOAT bbt_speed,BBINT bbt_seq,BBINT bbt_trans);
BBINT openb3d_openb3dex_Animating(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_AnimLength(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_AnimSeq(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBFLOAT openb3d_openb3dex_AnimTime(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_BrushAlpha(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBFLOAT bbt_a);
BBINT openb3d_openb3dex_BrushBlend(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBINT bbt_blend);
BBINT openb3d_openb3dex_BrushColor(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dex_BrushFX(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBINT bbt_fx);
BBINT openb3d_openb3dex_BrushShininess(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBFLOAT bbt_s);
BBINT openb3d_openb3dex_BrushTexture(struct openb3d_openb3dex_TBrush_obj* bbt_brush,struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_frame,BBINT bbt_index);
BBINT openb3d_openb3dex_CameraClsColor(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dex_CameraClsMode(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBINT bbt_cls_depth,BBINT bbt_cls_zbuffer);
BBINT openb3d_openb3dex_CameraFogColor(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dex_CameraFogMode(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBINT bbt_Mode);
BBINT openb3d_openb3dex_CameraFogRange(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_CameraPick(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y);
BBINT openb3d_openb3dex_CameraProject(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dex_CameraProjMode(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBINT bbt_Mode);
BBINT openb3d_openb3dex_CameraRange(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar);
BBINT openb3d_openb3dex_CameraViewport(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBINT bbt_x,BBINT bbt_y,BBINT bbt_width,BBINT bbt_height);
BBINT openb3d_openb3dex_CameraZoom(struct openb3d_openb3dex_TCamera_obj* bbt_cam,BBFLOAT bbt_zoom);
BBINT openb3d_openb3dex_ClearCollisions();
BBINT openb3d_openb3dex_ClearSurface(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_clear_verts,BBINT bbt_clear_tris);
BBINT openb3d_openb3dex_ClearTextureFilters();
BBINT openb3d_openb3dex_ClearWorld(BBINT bbt_entities,BBINT bbt_brushes,BBINT bbt_textures);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_CollisionEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionNX(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionNY(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionNZ(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBINT openb3d_openb3dex_Collisions(BBINT bbt_src_no,BBINT bbt_dest_no,BBINT bbt_method_no,BBINT bbt_response_no);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_CollisionSurface(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionTime(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBINT openb3d_openb3dex_CollisionTriangle(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionX(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionY(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
BBFLOAT openb3d_openb3dex_CollisionZ(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_index);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_CopyEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CopyMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_CountChildren(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_CountCollisions(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_CountSurfaces(struct openb3d_openb3dex_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dex_CountTriangles(struct openb3d_openb3dex_TSurface_obj* bbt_surf);
BBINT openb3d_openb3dex_CountVertices(struct openb3d_openb3dex_TSurface_obj* bbt_surf);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_CreateBrush(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
struct openb3d_openb3dex_TCamera_obj* openb3d_openb3dex_CreateCamera(struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreateCone(BBINT bbt_segments,BBINT bbt_solid,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreateCylinder(BBINT bbt_segments,BBINT bbt_solid,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreateCube(struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreateMesh(struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TLight_obj* openb3d_openb3dex_CreateLight(BBINT bbt_light_type,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TPivot_obj* openb3d_openb3dex_CreatePivot(struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreateSphere(BBINT bbt_segments,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TSprite_obj* openb3d_openb3dex_CreateSprite(struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_CreateSurface(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TBrush_obj* bbt_brush);
BBFLOAT openb3d_openb3dex_DeltaPitch(struct openb3d_openb3dex_TEntity_obj* bbt_ent1,struct openb3d_openb3dex_TEntity_obj* bbt_ent2);
BBFLOAT openb3d_openb3dex_DeltaYaw(struct openb3d_openb3dex_TEntity_obj* bbt_ent1,struct openb3d_openb3dex_TEntity_obj* bbt_ent2);
BBINT openb3d_openb3dex_EntityAlpha(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_alpha);
BBINT openb3d_openb3dex_EntityBlend(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_blend);
BBINT openb3d_openb3dex_EntityBox(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d);
BBSTRING openb3d_openb3dex_EntityClass(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_EntityCollided(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_type_no);
BBINT openb3d_openb3dex_EntityColor(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue);
BBFLOAT openb3d_openb3dex_EntityDistance(struct openb3d_openb3dex_TEntity_obj* bbt_ent1,struct openb3d_openb3dex_TEntity_obj* bbt_ent2);
BBINT openb3d_openb3dex_EntityFX(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_fx);
BBINT openb3d_openb3dex_EntityInView(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TCamera_obj* bbt_cam);
BBSTRING openb3d_openb3dex_EntityName(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_EntityOrder(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_order);
BBINT openb3d_openb3dex_EntityParent(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TEntity_obj* bbt_parent_ent,BBINT bbt_glob);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_EntityPick(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_Range);
BBINT openb3d_openb3dex_EntityPickMode(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_pick_mode,BBINT bbt_obscurer);
BBFLOAT openb3d_openb3dex_EntityPitch(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dex_EntityRadius(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_radius_x,BBFLOAT bbt_radius_y);
BBFLOAT openb3d_openb3dex_EntityRoll(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dex_EntityShininess(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_shine);
BBINT openb3d_openb3dex_EntityTexture(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_frame,BBINT bbt_index);
BBINT openb3d_openb3dex_EntityType(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_type_no,BBINT bbt_recursive);
BBINT openb3d_openb3dex_EntityVisible(struct openb3d_openb3dex_TEntity_obj* bbt_src_ent,struct openb3d_openb3dex_TEntity_obj* bbt_dest_ent);
BBFLOAT openb3d_openb3dex_EntityX(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dex_EntityY(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dex_EntityYaw(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBFLOAT openb3d_openb3dex_EntityZ(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_glob);
BBINT openb3d_openb3dex_ExtractAnimSeq(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_first_frame,BBINT bbt_last_frame,BBINT bbt_seq);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_FindChild(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBSTRING bbt_child_name);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_FindSurface(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dex_FitMesh(struct openb3d_openb3dex_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_openb3dex_FlipMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dex_FreeBrush(struct openb3d_openb3dex_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dex_FreeEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_FreeTexture(struct openb3d_openb3dex_TTexture_obj* bbt_tex);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_GetBrushTexture(struct openb3d_openb3dex_TBrush_obj* bbt_brush,BBINT bbt_index);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_GetChild(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_child_no);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_GetEntityBrush(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_GetEntityType(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBFLOAT openb3d_openb3dex_GetMatElement(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_row,BBINT bbt_col);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_GetParent(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_GetSurface(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBINT bbt_surf_no);
struct openb3d_openb3dex_TBrush_obj* openb3d_openb3dex_GetSurfaceBrush(struct openb3d_openb3dex_TSurface_obj* bbt_surf);
BBINT openb3d_openb3dex_HandleSprite(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBFLOAT bbt_h_x,BBFLOAT bbt_h_y);
BBINT openb3d_openb3dex_HideEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_LightColor(struct openb3d_openb3dex_TLight_obj* bbt_light,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue);
BBINT openb3d_openb3dex_LightConeAngles(struct openb3d_openb3dex_TLight_obj* bbt_light,BBFLOAT bbt_inner_ang,BBFLOAT bbt_outer_ang);
BBINT openb3d_openb3dex_LightRange(struct openb3d_openb3dex_TLight_obj* bbt_light,BBFLOAT bbt_Range);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_LinePick(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_dx,BBFLOAT bbt_dy,BBFLOAT bbt_dz,BBFLOAT bbt_radius);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_LoadAnimMesh(BBSTRING bbt_file,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_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_openb3dex_TBrush_obj* openb3d_openb3dex_LoadBrush(BBSTRING bbt_file,BBINT bbt_flags,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_LoadMesh(BBSTRING bbt_file,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_LoadTexture(BBSTRING bbt_file,BBINT bbt_flags);
struct openb3d_openb3dex_TSprite_obj* openb3d_openb3dex_LoadSprite(BBSTRING bbt_tex_file,BBINT bbt_tex_flag,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBFLOAT openb3d_openb3dex_MeshDepth(struct openb3d_openb3dex_TMesh_obj* bbt_mesh);
BBFLOAT openb3d_openb3dex_MeshHeight(struct openb3d_openb3dex_TMesh_obj* bbt_mesh);
BBFLOAT openb3d_openb3dex_MeshWidth(struct openb3d_openb3dex_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dex_MoveEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dex_NameEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBSTRING bbt_name);
BBINT openb3d_openb3dex_PaintEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dex_PaintMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TBrush_obj* bbt_brush);
BBINT openb3d_openb3dex_PaintSurface(struct openb3d_openb3dex_TSurface_obj* bbt_surf,struct openb3d_openb3dex_TBrush_obj* bbt_brush);
struct openb3d_openb3dex_TEntity_obj* openb3d_openb3dex_PickedEntity();
BBFLOAT openb3d_openb3dex_PickedNX();
BBFLOAT openb3d_openb3dex_PickedNY();
BBFLOAT openb3d_openb3dex_PickedNZ();
struct openb3d_openb3dex_TSurface_obj* openb3d_openb3dex_PickedSurface();
BBFLOAT openb3d_openb3dex_PickedTime();
BBINT openb3d_openb3dex_PickedTriangle();
BBFLOAT openb3d_openb3dex_PickedX();
BBFLOAT openb3d_openb3dex_PickedY();
BBFLOAT openb3d_openb3dex_PickedZ();
BBINT openb3d_openb3dex_PointEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TEntity_obj* bbt_target_ent,BBFLOAT bbt_roll);
BBINT openb3d_openb3dex_PositionEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dex_PositionMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBFLOAT bbt_px,BBFLOAT bbt_py,BBFLOAT bbt_pz);
BBINT openb3d_openb3dex_PositionTexture(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBFLOAT bbt_u_pos,BBFLOAT bbt_v_pos);
BBFLOAT openb3d_openb3dex_ProjectedX();
BBFLOAT openb3d_openb3dex_ProjectedY();
BBFLOAT openb3d_openb3dex_ProjectedZ();
BBINT openb3d_openb3dex_RenderWorld();
BBINT openb3d_openb3dex_ResetEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_RotateEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dex_RotateMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBFLOAT bbt_pitch,BBFLOAT bbt_yaw,BBFLOAT bbt_roll);
BBINT openb3d_openb3dex_RotateSprite(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBFLOAT bbt_ang);
BBINT openb3d_openb3dex_RotateTexture(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBFLOAT bbt_ang);
BBINT openb3d_openb3dex_ScaleEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dex_ScaleMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBFLOAT bbt_sx,BBFLOAT bbt_sy,BBFLOAT bbt_sz);
BBINT openb3d_openb3dex_ScaleSprite(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBFLOAT bbt_s_x,BBFLOAT bbt_s_y);
BBINT openb3d_openb3dex_ScaleTexture(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale);
BBINT openb3d_openb3dex_SetAnimTime(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_time,BBINT bbt_seq);
BBINT openb3d_openb3dex_SetCubeFace(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_face);
BBINT openb3d_openb3dex_SetCubeMode(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_Mode);
BBINT openb3d_openb3dex_ShowEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent);
BBINT openb3d_openb3dex_SpriteViewMode(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBINT bbt_Mode);
BBINT openb3d_openb3dex_TextureBlend(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_blend);
BBINT openb3d_openb3dex_TextureCoords(struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBINT bbt_coords);
BBINT openb3d_openb3dex_TextureHeight(struct openb3d_openb3dex_TTexture_obj* bbt_tex);
BBINT openb3d_openb3dex_TextureFilter(BBSTRING bbt_match_text,BBINT bbt_flags);
BBSTRING openb3d_openb3dex_TextureName(struct openb3d_openb3dex_TTexture_obj* bbt_tex);
BBINT openb3d_openb3dex_TextureWidth(struct openb3d_openb3dex_TTexture_obj* bbt_tex);
BBFLOAT openb3d_openb3dex_TFormedX();
BBFLOAT openb3d_openb3dex_TFormedY();
BBFLOAT openb3d_openb3dex_TFormedZ();
BBINT openb3d_openb3dex_TFormNormal(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dex_TEntity_obj* bbt_src_ent,struct openb3d_openb3dex_TEntity_obj* bbt_dest_ent);
BBINT openb3d_openb3dex_TFormPoint(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dex_TEntity_obj* bbt_src_ent,struct openb3d_openb3dex_TEntity_obj* bbt_dest_ent);
BBINT openb3d_openb3dex_TFormVector(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dex_TEntity_obj* bbt_src_ent,struct openb3d_openb3dex_TEntity_obj* bbt_dest_ent);
BBINT openb3d_openb3dex_TranslateEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dex_TriangleVertex(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_tri_no,BBINT bbt_corner);
BBINT openb3d_openb3dex_TurnEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob);
BBINT openb3d_openb3dex_UpdateNormals(struct openb3d_openb3dex_TMesh_obj* bbt_mesh);
BBINT openb3d_openb3dex_UpdateWorld(BBFLOAT bbt_anim_speed);
BBFLOAT openb3d_openb3dex_VectorPitch(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz);
BBFLOAT openb3d_openb3dex_VectorYaw(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz);
BBFLOAT openb3d_openb3dex_VertexAlpha(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dex_VertexBlue(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dex_VertexColor(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
BBINT openb3d_openb3dex_VertexCoords(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBFLOAT openb3d_openb3dex_VertexGreen(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dex_VertexNormal(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_nx,BBFLOAT bbt_ny,BBFLOAT bbt_nz);
BBFLOAT openb3d_openb3dex_VertexNX(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dex_VertexNY(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dex_VertexNZ(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dex_VertexRed(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dex_VertexTexCoords(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dex_VertexU(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dex_VertexV(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dex_VertexW(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set);
BBFLOAT openb3d_openb3dex_VertexX(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dex_VertexY(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBFLOAT openb3d_openb3dex_VertexZ(struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vid);
BBINT openb3d_openb3dex_Wireframe(BBINT bbt_enable);
BBINT openb3d_openb3dex_AddAnimSeq(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBINT bbt_length);
BBINT openb3d_openb3dex_AlignToVector(struct openb3d_openb3dex_TEntity_obj* bbt_entity,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_axis,BBINT bbt_rate);
struct openb3d_openb3dex_TMesh_obj* openb3d_openb3dex_CreatePlane(BBINT bbt_divisions,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
struct openb3d_openb3dex_TTerrain_obj* openb3d_openb3dex_CreateTerrain(BBINT bbt_size,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_LoadAnimSeq(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBSTRING bbt_file);
struct openb3d_openb3dex_TTerrain_obj* openb3d_openb3dex_LoadTerrain(BBSTRING bbt_file,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_MeshesIntersect(struct openb3d_openb3dex_TMesh_obj* bbt_mesh1,struct openb3d_openb3dex_TMesh_obj* bbt_mesh2);
BBINT openb3d_openb3dex_ModifyTerrain(struct openb3d_openb3dex_TTerrain_obj* bbt_terr,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height);
BBINT openb3d_openb3dex_SetAnimKey(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_frame,BBINT bbt_pos_key,BBINT bbt_rot_key,BBINT bbt_scale_key);
BBFLOAT openb3d_openb3dex_TerrainHeight(struct openb3d_openb3dex_TTerrain_obj* bbt_terr,BBINT bbt_x,BBINT bbt_z);
BBFLOAT openb3d_openb3dex_TerrainX(struct openb3d_openb3dex_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBFLOAT openb3d_openb3dex_TerrainY(struct openb3d_openb3dex_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBFLOAT openb3d_openb3dex_TerrainZ(struct openb3d_openb3dex_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActMoveBy(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActTurnBy(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActVector(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActMoveTo(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActTurnTo(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActScaleTo(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActFadeTo(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActTintTo(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActTrackByPoint(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TEntity_obj* bbt_target,BBFLOAT bbt_a,BBFLOAT bbt_b,BBFLOAT bbt_c,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActTrackByDistance(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TEntity_obj* bbt_target,BBFLOAT bbt_a,BBFLOAT bbt_rate);
struct openb3d_openb3dex_TAction_obj* openb3d_openb3dex_ActNewtonian(struct openb3d_openb3dex_TEntity_obj* bbt_ent,BBFLOAT bbt_rate);
BBINT openb3d_openb3dex_AppendAction(struct openb3d_openb3dex_TAction_obj* bbt_act1,struct openb3d_openb3dex_TAction_obj* bbt_act2);
BBINT openb3d_openb3dex_FreeAction(struct openb3d_openb3dex_TAction_obj* bbt_act);
struct openb3d_openb3dex_TConstraint_obj* openb3d_openb3dex_CreateConstraint(struct openb3d_openb3dex_TEntity_obj* bbt_p1,struct openb3d_openb3dex_TEntity_obj* bbt_p2,BBFLOAT bbt_l);
struct openb3d_openb3dex_TRigidBody_obj* openb3d_openb3dex_CreateRigidBody(struct openb3d_openb3dex_TEntity_obj* bbt_body,struct openb3d_openb3dex_TEntity_obj* bbt_p1,struct openb3d_openb3dex_TEntity_obj* bbt_p2,struct openb3d_openb3dex_TEntity_obj* bbt_p3,struct openb3d_openb3dex_TEntity_obj* bbt_p4);
struct openb3d_openb3dex_TBlob_obj* openb3d_openb3dex_CreateBlob(struct openb3d_openb3dex_TFluid_obj* bbt_fluid,BBFLOAT bbt_radius,struct openb3d_openb3dex_TEntity_obj* bbt_parent_ent);
struct openb3d_openb3dex_TFluid_obj* openb3d_openb3dex_CreateFluid();
BBINT openb3d_openb3dex_FluidArray(struct openb3d_openb3dex_TFluid_obj* bbt_fluid,BBFLOAT* bbt_Array,BBINT bbt_w,BBINT bbt_h,BBINT bbt_d);
BBINT openb3d_openb3dex_FluidFunction(struct openb3d_openb3dex_TFluid_obj* bbt_fluid,BBFLOAT(* bbt_FieldFunction)(BBFLOAT,BBFLOAT,BBFLOAT));
BBINT openb3d_openb3dex_FluidThreshold(struct openb3d_openb3dex_TFluid_obj* bbt_fluid,BBFLOAT bbt_threshold);
struct openb3d_openb3dex_TGeosphere_obj* openb3d_openb3dex_CreateGeosphere(BBINT bbt_size,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_GeosphereHeight(struct openb3d_openb3dex_TGeosphere_obj* bbt_geo,BBFLOAT bbt_h);
struct openb3d_openb3dex_TGeosphere_obj* openb3d_openb3dex_LoadGeosphere(BBSTRING bbt_file,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_ModifyGeosphere(struct openb3d_openb3dex_TGeosphere_obj* bbt_geo,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height);
struct openb3d_openb3dex_TOcTree_obj* openb3d_openb3dex_CreateOcTree(BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d,struct openb3d_openb3dex_TEntity_obj* bbt_parent_ent);
BBINT openb3d_openb3dex_OctreeBlock(struct openb3d_openb3dex_TOcTree_obj* bbt_octree,struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBINT bbt_level,BBFLOAT bbt_X,BBFLOAT bbt_Y,BBFLOAT bbt_Z,BBFLOAT bbt_Near,BBFLOAT bbt_Far);
BBINT openb3d_openb3dex_OctreeMesh(struct openb3d_openb3dex_TOcTree_obj* bbt_octree,struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBINT bbt_level,BBFLOAT bbt_X,BBFLOAT bbt_Y,BBFLOAT bbt_Z,BBFLOAT bbt_Near,BBFLOAT bbt_Far);
struct openb3d_openb3dex_TParticleEmitter_obj* openb3d_openb3dex_CreateParticleEmitter(struct openb3d_openb3dex_TEntity_obj* bbt_particle,struct openb3d_openb3dex_TEntity_obj* bbt_parent_ent);
BBINT openb3d_openb3dex_EmitterVector(struct openb3d_openb3dex_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dex_EmitterRate(struct openb3d_openb3dex_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_r);
BBINT openb3d_openb3dex_EmitterParticleLife(struct openb3d_openb3dex_TParticleEmitter_obj* bbt_emit,BBINT bbt_l);
BBINT openb3d_openb3dex_EmitterParticleFunction(struct openb3d_openb3dex_TParticleEmitter_obj* bbt_emit,BBINT(* bbt_EmitterFunction)(BBBYTE*,BBINT));
BBINT openb3d_openb3dex_EmitterParticleSpeed(struct openb3d_openb3dex_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_s);
BBINT openb3d_openb3dex_EmitterVariance(struct openb3d_openb3dex_TParticleEmitter_obj* bbt_emit,BBFLOAT bbt_v);
BBINT openb3d_openb3dex_ParticleColor(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a);
BBINT openb3d_openb3dex_ParticleVector(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z);
BBINT openb3d_openb3dex_ParticleTrail(struct openb3d_openb3dex_TSprite_obj* bbt_sprite,BBINT bbt_length);
struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_LoadShader(BBSTRING bbt_ShaderName,BBSTRING bbt_VshaderFileName,BBSTRING bbt_FshaderFileName);
struct openb3d_openb3dex_TShader_obj* openb3d_openb3dex_CreateShader(BBSTRING bbt_ShaderName,BBSTRING bbt_VshaderString,BBSTRING bbt_FshaderString);
BBINT openb3d_openb3dex_ShadeSurface(struct openb3d_openb3dex_TSurface_obj* bbt_surf,struct openb3d_openb3dex_TShader_obj* bbt_material);
BBINT openb3d_openb3dex_ShadeMesh(struct openb3d_openb3dex_TMesh_obj* bbt_mesh,struct openb3d_openb3dex_TShader_obj* bbt_material);
BBINT openb3d_openb3dex_ShadeEntity(struct openb3d_openb3dex_TEntity_obj* bbt_ent,struct openb3d_openb3dex_TShader_obj* bbt_material);
struct openb3d_openb3dex_TTexture_obj* openb3d_openb3dex_ShaderTexture(struct openb3d_openb3dex_TShader_obj* bbt_material,struct openb3d_openb3dex_TTexture_obj* bbt_tex,BBSTRING bbt_name,BBINT bbt_index);
BBINT openb3d_openb3dex_SetFloat(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1);
BBINT openb3d_openb3dex_SetFloat2(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2);
BBINT openb3d_openb3dex_SetFloat3(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2,BBFLOAT bbt_v3);
BBINT openb3d_openb3dex_SetFloat4(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT bbt_v1,BBFLOAT bbt_v2,BBFLOAT bbt_v3,BBFLOAT bbt_v4);
BBINT openb3d_openb3dex_UseFloat(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1);
BBINT openb3d_openb3dex_UseFloat2(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2);
BBINT openb3d_openb3dex_UseFloat3(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2,BBFLOAT* bbt_v3);
BBINT openb3d_openb3dex_UseFloat4(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBFLOAT* bbt_v1,BBFLOAT* bbt_v2,BBFLOAT* bbt_v3,BBFLOAT* bbt_v4);
BBINT openb3d_openb3dex_SetInteger(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1);
BBINT openb3d_openb3dex_SetInteger2(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1,BBINT bbt_v2);
BBINT openb3d_openb3dex_SetInteger3(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1,BBINT bbt_v2,BBINT bbt_v3);
BBINT openb3d_openb3dex_SetInteger4(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_v1,BBINT bbt_v2,BBINT bbt_v3,BBINT bbt_v4);
BBINT openb3d_openb3dex_UseInteger(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1);
BBINT openb3d_openb3dex_UseInteger2(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1,BBINT* bbt_v2);
BBINT openb3d_openb3dex_UseInteger3(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1,BBINT* bbt_v2,BBINT* bbt_v3);
BBINT openb3d_openb3dex_UseInteger4(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT* bbt_v1,BBINT* bbt_v2,BBINT* bbt_v3,BBINT* bbt_v4);
BBINT openb3d_openb3dex_UseSurface(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,struct openb3d_openb3dex_TSurface_obj* bbt_surf,BBINT bbt_vbo);
BBINT openb3d_openb3dex_UseMatrix(struct openb3d_openb3dex_TShader_obj* bbt_material,BBSTRING bbt_name,BBINT bbt_Mode);
struct openb3d_openb3dex_TMaterial_obj* openb3d_openb3dex_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_openb3dex_ShaderMaterial(struct openb3d_openb3dex_TShader_obj* bbt_material,struct openb3d_openb3dex_TMaterial_obj* bbt_tex,BBSTRING bbt_name,BBINT bbt_index);
BBINT openb3d_openb3dex_AmbientShader(struct openb3d_openb3dex_TShader_obj* bbt_material);
struct openb3d_openb3dex_TShadowObject_obj* openb3d_openb3dex_CreateShadow(struct openb3d_openb3dex_TMesh_obj* bbt_parent,BBINT bbt_Static);
BBINT openb3d_openb3dex_FreeShadow(struct openb3d_openb3dex_TShadowObject_obj* bbt_shad);
BBINT openb3d_openb3dex_ResetShadow(struct openb3d_openb3dex_TShadowObject_obj* bbt_shad);
BBINT openb3d_openb3dex_SetShadowColor(BBINT bbt_R,BBINT bbt_G,BBINT bbt_B,BBINT bbt_A);
struct openb3d_openb3dex_TStencil_obj* openb3d_openb3dex_CreateStencil();
BBINT openb3d_openb3dex_StencilAlpha(struct openb3d_openb3dex_TStencil_obj* bbt_stencil,BBFLOAT bbt_a);
BBINT openb3d_openb3dex_StencilClsColor(struct openb3d_openb3dex_TStencil_obj* bbt_stencil,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b);
BBINT openb3d_openb3dex_StencilClsMode(struct openb3d_openb3dex_TStencil_obj* bbt_stencil,BBINT bbt_cls_color,BBINT bbt_cls_zbuffer);
BBINT openb3d_openb3dex_StencilMesh(struct openb3d_openb3dex_TStencil_obj* bbt_stencil,struct openb3d_openb3dex_TMesh_obj* bbt_mesh,BBINT bbt_Mode);
BBINT openb3d_openb3dex_StencilMode(struct openb3d_openb3dex_TStencil_obj* bbt_stencil,BBINT bbt_m,BBINT bbt_o);
BBINT openb3d_openb3dex_UseStencil(struct openb3d_openb3dex_TStencil_obj* bbt_stencil);
struct openb3d_openb3dex_TVoxelSprite_obj* openb3d_openb3dex_CreateVoxelSprite(BBINT bbt_slices,struct openb3d_openb3dex_TEntity_obj* bbt_parent);
BBINT openb3d_openb3dex_VoxelSpriteMaterial(struct openb3d_openb3dex_TVoxelSprite_obj* bbt_voxelspr,struct openb3d_openb3dex_TMaterial_obj* bbt_mat);

#endif
