#include <openb3d.mod/openb3dstd.mod/.bmx/openb3dstd.bmx.debug.win32.x86.h>
struct BBDebugScope_1{int kind; const char *name; BBDebugDecl decls[2]; };
struct BBDebugScope_2{int kind; const char *name; BBDebugDecl decls[3]; };
struct BBDebugScope_3{int kind; const char *name; BBDebugDecl decls[4]; };
struct BBDebugScope_4{int kind; const char *name; BBDebugDecl decls[5]; };
struct BBDebugScope_5{int kind; const char *name; BBDebugDecl decls[6]; };
struct BBDebugScope_6{int kind; const char *name; BBDebugDecl decls[7]; };
struct BBDebugScope_7{int kind; const char *name; BBDebugDecl decls[8]; };
struct BBDebugScope_8{int kind; const char *name; BBDebugDecl decls[9]; };
BBINT openb3d_openb3dstd_AddMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh1,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh2){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AddMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh1",
				":TMesh",
				.var_address=&bbt_mesh1
			},
			{
				BBDEBUGDECL_LOCAL,
				"mesh2",
				":TMesh",
				.var_address=&bbt_mesh2
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 161, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh1))->clas->m_AddMesh_TTMesh((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh1,(struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh2);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_AddTriangle(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_v0,BBINT bbt_v1,BBINT bbt_v2){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AddTriangle",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"v0",
				"i",
				.var_address=&bbt_v0
			},
			{
				BBDEBUGDECL_LOCAL,
				"v1",
				"i",
				.var_address=&bbt_v1
			},
			{
				BBDEBUGDECL_LOCAL,
				"v2",
				"i",
				.var_address=&bbt_v2
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 189, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_AddTriangle_iii((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_v0,bbt_v1,bbt_v2);
}
BBINT openb3d_openb3dstd_AddVertex(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w){
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AddVertex",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"u",
				"f",
				.var_address=&bbt_u
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"f",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_LOCAL,
				"w",
				"f",
				.var_address=&bbt_w
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 234, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_AddVertex_ffffff((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_x,bbt_y,bbt_z,bbt_u,bbt_v,bbt_w);
}
BBINT openb3d_openb3dstd_AmbientLight(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AmbientLight",
		{
			{
				BBDEBUGDECL_LOCAL,
				"r",
				"f",
				.var_address=&bbt_r
			},
			{
				BBDEBUGDECL_LOCAL,
				"g",
				"f",
				.var_address=&bbt_g
			},
			{
				BBDEBUGDECL_LOCAL,
				"b",
				"f",
				.var_address=&bbt_b
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 265, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_AmbientLight_i_fff(bbt_r,bbt_g,bbt_b);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_Animate(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_Mode,BBFLOAT bbt_speed,BBINT bbt_seq,BBINT bbt_trans){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Animate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"Mode",
				"i",
				.var_address=&bbt_Mode
			},
			{
				BBDEBUGDECL_LOCAL,
				"speed",
				"f",
				.var_address=&bbt_speed
			},
			{
				BBDEBUGDECL_LOCAL,
				"seq",
				"i",
				.var_address=&bbt_seq
			},
			{
				BBDEBUGDECL_LOCAL,
				"trans",
				"i",
				.var_address=&bbt_trans
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 307, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_Animate_ifii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_Mode,bbt_speed,bbt_seq,bbt_trans);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_Animating(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Animating",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 323, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return Animating_(openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent));
}
BBINT openb3d_openb3dstd_AnimLength(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AnimLength",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 339, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_AnimLength((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBINT openb3d_openb3dstd_AnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AnimSeq",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 355, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return AnimSeq_(openb3d_openb3dcore_TEntity_GetInstance_pb_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent));
}
BBFLOAT openb3d_openb3dstd_AnimTime(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AnimTime",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 371, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_AnimTime((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBINT openb3d_openb3dstd_AntiAlias(BBINT bbt_samples){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AntiAlias",
		{
			{
				BBDEBUGDECL_LOCAL,
				"samples",
				"i",
				.var_address=&bbt_samples
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 394, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_AntiAlias_i_i(bbt_samples);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_BrushAlpha(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_a){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"BrushAlpha",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"a",
				"f",
				.var_address=&bbt_a
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 418, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_BrushAlpha_f((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,bbt_a);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_BrushBlend(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_blend){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"BrushBlend",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"blend",
				"i",
				.var_address=&bbt_blend
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 442, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_BrushBlend_i((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,bbt_blend);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_BrushColor(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"BrushColor",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"r",
				"f",
				.var_address=&bbt_r
			},
			{
				BBDEBUGDECL_LOCAL,
				"g",
				"f",
				.var_address=&bbt_g
			},
			{
				BBDEBUGDECL_LOCAL,
				"b",
				"f",
				.var_address=&bbt_b
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 468, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_BrushColor_fff((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,bbt_r,bbt_g,bbt_b);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_BrushFX(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_fx){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"BrushFX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"fx",
				"i",
				.var_address=&bbt_fx
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 501, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_BrushFX_i((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,bbt_fx);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_BrushShininess(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBFLOAT bbt_s){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"BrushShininess",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"s",
				"f",
				.var_address=&bbt_s
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 525, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_BrushShininess_f((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,bbt_s);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_BrushTexture(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_frame,BBINT bbt_index){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"BrushTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"frame",
				"i",
				.var_address=&bbt_frame
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 551, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_BrushTexture_TTTextureii((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,(struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_frame,bbt_index);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraClsColor(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraClsColor",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"r",
				"f",
				.var_address=&bbt_r
			},
			{
				BBDEBUGDECL_LOCAL,
				"g",
				"f",
				.var_address=&bbt_g
			},
			{
				BBDEBUGDECL_LOCAL,
				"b",
				"f",
				.var_address=&bbt_b
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 573, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraClsColor_fff((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_r,bbt_g,bbt_b);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraClsMode(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_cls_depth,BBINT bbt_cls_zbuffer){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraClsMode",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"cls_depth",
				"i",
				.var_address=&bbt_cls_depth
			},
			{
				BBDEBUGDECL_LOCAL,
				"cls_zbuffer",
				"i",
				.var_address=&bbt_cls_zbuffer
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 593, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraClsMode_ii((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_cls_depth,bbt_cls_zbuffer);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraFogColor(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraFogColor",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"r",
				"f",
				.var_address=&bbt_r
			},
			{
				BBDEBUGDECL_LOCAL,
				"g",
				"f",
				.var_address=&bbt_g
			},
			{
				BBDEBUGDECL_LOCAL,
				"b",
				"f",
				.var_address=&bbt_b
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 615, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraFogColor_fff((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_r,bbt_g,bbt_b);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraFogMode(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_Mode){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraFogMode",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"Mode",
				"i",
				.var_address=&bbt_Mode
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 644, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraFogMode_i((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_Mode);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraFogRange(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraFogRange",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"nnear",
				"f",
				.var_address=&bbt_nnear
			},
			{
				BBDEBUGDECL_LOCAL,
				"nfar",
				"f",
				.var_address=&bbt_nfar
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 668, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraFogRange_ff((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_nnear,bbt_nfar);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_CameraPick(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraPick",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 694, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraPick_ff((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_x,bbt_y);
}
BBINT openb3d_openb3dstd_CameraProject(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraProject",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 716, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraProject_fff((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_x,bbt_y,bbt_z);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraProjMode(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_Mode){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraProjMode",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"Mode",
				"i",
				.var_address=&bbt_Mode
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 746, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraProjMode_i((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_Mode);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraRange(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_nnear,BBFLOAT bbt_nfar){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraRange",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"nnear",
				"f",
				.var_address=&bbt_nnear
			},
			{
				BBDEBUGDECL_LOCAL,
				"nfar",
				"f",
				.var_address=&bbt_nfar
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 768, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraRange_ff((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_nnear,bbt_nfar);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraViewport(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBINT bbt_x,BBINT bbt_y,BBINT bbt_width,BBINT bbt_height){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraViewport",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"i",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"i",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"width",
				"i",
				.var_address=&bbt_width
			},
			{
				BBDEBUGDECL_LOCAL,
				"height",
				"i",
				.var_address=&bbt_height
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 796, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraViewport_iiii((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_x,bbt_y,bbt_width,bbt_height);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_CameraZoom(struct openb3d_openb3dcore_TCamera_obj* bbt_cam,BBFLOAT bbt_zoom){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CameraZoom",
		{
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_LOCAL,
				"zoom",
				"f",
				.var_address=&bbt_zoom
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 814, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_CameraZoom_f((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,bbt_zoom);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ClearCollisions(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ClearCollisions",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 834, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_ClearCollisions_i();
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ClearSurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_clear_verts,BBINT bbt_clear_tris){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ClearSurface",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"clear_verts",
				"i",
				.var_address=&bbt_clear_verts
			},
			{
				BBDEBUGDECL_LOCAL,
				"clear_tris",
				"i",
				.var_address=&bbt_clear_tris
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 858, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_ClearSurface_ii((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_clear_verts,bbt_clear_tris);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ClearTextureFilters(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ClearTextureFilters",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 874, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TTexture_ClearTextureFilters_i();
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ClearWorld(BBINT bbt_entities,BBINT bbt_brushes,BBINT bbt_textures){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ClearWorld",
		{
			{
				BBDEBUGDECL_LOCAL,
				"entities",
				"i",
				.var_address=&bbt_entities
			},
			{
				BBDEBUGDECL_LOCAL,
				"brushes",
				"i",
				.var_address=&bbt_brushes
			},
			{
				BBDEBUGDECL_LOCAL,
				"textures",
				"i",
				.var_address=&bbt_textures
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 898, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_ClearWorld_i_iii(bbt_entities,bbt_brushes,bbt_textures);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_CollisionEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 918, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionEntity_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionNX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionNX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 940, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionNX_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionNY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionNY",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 962, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionNY_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionNZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionNZ",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 984, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionNZ_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBINT openb3d_openb3dstd_Collisions(BBINT bbt_src_no,BBINT bbt_dest_no,BBINT bbt_method_no,BBINT bbt_response_no){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Collisions",
		{
			{
				BBDEBUGDECL_LOCAL,
				"src_no",
				"i",
				.var_address=&bbt_src_no
			},
			{
				BBDEBUGDECL_LOCAL,
				"dest_no",
				"i",
				.var_address=&bbt_dest_no
			},
			{
				BBDEBUGDECL_LOCAL,
				"method_no",
				"i",
				.var_address=&bbt_method_no
			},
			{
				BBDEBUGDECL_LOCAL,
				"response_no",
				"i",
				.var_address=&bbt_response_no
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1036, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_Collisions_i_iiii(bbt_src_no,bbt_dest_no,bbt_method_no,bbt_response_no);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dstd_CollisionSurface(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionSurface",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1058, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSurface_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionSurface_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionTime(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionTime",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1080, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionTime_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBINT openb3d_openb3dstd_CollisionTriangle(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionTriangle",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1102, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionTriangle_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1124, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionX_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionY",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1146, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionY_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
BBFLOAT openb3d_openb3dstd_CollisionZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CollisionZ",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1168, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CollisionZ_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_index);
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_CopyEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CopyEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1188, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CopyEntity_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CopyMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CopyMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1210, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_CopyMesh_TTEntity((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
BBINT openb3d_openb3dstd_CountChildren(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CountChildren",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1226, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CountChildren((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBINT openb3d_openb3dstd_CountCollisions(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CountCollisions",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1244, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_CountCollisions((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBINT openb3d_openb3dstd_CountSurfaces(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CountSurfaces",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1264, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_CountSurfaces((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh);
}
BBINT openb3d_openb3dstd_CountTriangles(struct openb3d_openb3dcore_TSurface_obj* bbt_surf){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CountTriangles",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1280, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_CountTriangles((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf);
}
BBINT openb3d_openb3dstd_CountVertices(struct openb3d_openb3dcore_TSurface_obj* bbt_surf){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CountVertices",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1296, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_CountVertices((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf);
}
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dstd_CreateBrush(BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateBrush",
		{
			{
				BBDEBUGDECL_LOCAL,
				"r",
				"f",
				.var_address=&bbt_r
			},
			{
				BBDEBUGDECL_LOCAL,
				"g",
				"f",
				.var_address=&bbt_g
			},
			{
				BBDEBUGDECL_LOCAL,
				"b",
				"f",
				.var_address=&bbt_b
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1324, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TBrush_obj*)openb3d_openb3dcore_TBrush_CreateBrush_TTBrush_fff(bbt_r,bbt_g,bbt_b);
}
struct openb3d_openb3dcore_TCamera_obj* openb3d_openb3dstd_CreateCamera(struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateCamera",
		{
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1348, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TCamera_obj*)openb3d_openb3dcore_TCamera_CreateCamera_TTCamera_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CreateCone(BBINT bbt_segments,BBINT bbt_solid,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateCone",
		{
			{
				BBDEBUGDECL_LOCAL,
				"segments",
				"i",
				.var_address=&bbt_segments
			},
			{
				BBDEBUGDECL_LOCAL,
				"solid",
				"i",
				.var_address=&bbt_solid
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1384, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)openb3d_openb3dcore_TMesh_CreateCone_TTMesh_iiTTEntity(bbt_segments,bbt_solid,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CreateCylinder(BBINT bbt_segments,BBINT bbt_solid,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateCylinder",
		{
			{
				BBDEBUGDECL_LOCAL,
				"segments",
				"i",
				.var_address=&bbt_segments
			},
			{
				BBDEBUGDECL_LOCAL,
				"solid",
				"i",
				.var_address=&bbt_solid
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1420, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)openb3d_openb3dcore_TMesh_CreateCylinder_TTMesh_iiTTEntity(bbt_segments,bbt_solid,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CreateCube(struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateCube",
		{
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1446, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)openb3d_openb3dcore_TMesh_CreateCube_TTMesh_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CreateMesh(struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1470, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)openb3d_openb3dcore_TMesh_CreateMesh_TTMesh_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TLight_obj* openb3d_openb3dstd_CreateLight(BBINT bbt_light_type,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateLight",
		{
			{
				BBDEBUGDECL_LOCAL,
				"light_type",
				"i",
				.var_address=&bbt_light_type
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1521, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TLight_obj*)openb3d_openb3dcore_TLight_CreateLight_TTLight_iTTEntity(bbt_light_type,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TPivot_obj* openb3d_openb3dstd_CreatePivot(struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreatePivot",
		{
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1543, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TPivot_obj*)openb3d_openb3dcore_TPivot_CreatePivot_TTPivot_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CreateSphere(BBINT bbt_segments,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateSphere",
		{
			{
				BBDEBUGDECL_LOCAL,
				"segments",
				"i",
				.var_address=&bbt_segments
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1576, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)openb3d_openb3dcore_TMesh_CreateSphere_TTMesh_iTTEntity(bbt_segments,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dstd_CreateSprite(struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateSprite",
		{
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1606, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSprite_obj*)openb3d_openb3dcore_TSprite_CreateSprite_TTSprite_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dstd_CreateSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TBrush_obj* bbt_brush){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateSurface",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1626, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSurface_obj*)openb3d_openb3dcore_TSurface_CreateSurface_TTSurface_TTMeshTTBrush((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,(struct openb3d_openb3dcore_TBrush_obj*)bbt_brush);
}
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dstd_CreateTexture(BBINT bbt_width,BBINT bbt_height,BBINT bbt_flags,BBINT bbt_frames){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"width",
				"i",
				.var_address=&bbt_width
			},
			{
				BBDEBUGDECL_LOCAL,
				"height",
				"i",
				.var_address=&bbt_height
			},
			{
				BBDEBUGDECL_LOCAL,
				"flags",
				"i",
				.var_address=&bbt_flags
			},
			{
				BBDEBUGDECL_LOCAL,
				"frames",
				"i",
				.var_address=&bbt_frames
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1706, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TTexture_obj*)openb3d_openb3dcore_TTexture_CreateTexture_TTTexture_iiii(bbt_width,bbt_height,bbt_flags,bbt_frames);
}
BBFLOAT openb3d_openb3dstd_DeltaPitch(struct openb3d_openb3dcore_TEntity_obj* bbt_ent1,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"DeltaPitch",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent1",
				":TEntity",
				.var_address=&bbt_ent1
			},
			{
				BBDEBUGDECL_LOCAL,
				"ent2",
				":TEntity",
				.var_address=&bbt_ent2
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1728, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent1))->clas->m_DeltaPitch_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent1,(struct openb3d_openb3dcore_TEntity_obj*)bbt_ent2);
}
BBFLOAT openb3d_openb3dstd_DeltaYaw(struct openb3d_openb3dcore_TEntity_obj* bbt_ent1,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"DeltaYaw",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent1",
				":TEntity",
				.var_address=&bbt_ent1
			},
			{
				BBDEBUGDECL_LOCAL,
				"ent2",
				":TEntity",
				.var_address=&bbt_ent2
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1750, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent1))->clas->m_DeltaYaw_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent1,(struct openb3d_openb3dcore_TEntity_obj*)bbt_ent2);
}
BBINT openb3d_openb3dstd_EntityAlpha(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_alpha){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityAlpha",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"alpha",
				"f",
				.var_address=&bbt_alpha
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1774, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityAlpha_f((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_alpha);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityBlend(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_blend){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityBlend",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"blend",
				"i",
				.var_address=&bbt_blend
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1846, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityBlend_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_blend);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityBox(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_w,BBFLOAT bbt_h,BBFLOAT bbt_d){
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityBox",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"w",
				"f",
				.var_address=&bbt_w
			},
			{
				BBDEBUGDECL_LOCAL,
				"h",
				"f",
				.var_address=&bbt_h
			},
			{
				BBDEBUGDECL_LOCAL,
				"d",
				"f",
				.var_address=&bbt_d
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1876, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityBox_ffffff((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z,bbt_w,bbt_h,bbt_d);
	bbOnDebugLeaveScope();
	return 0;
}
BBSTRING openb3d_openb3dstd_EntityClass(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityClass",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1908, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityClass((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_EntityCollided(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_type_no){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityCollided",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"type_no",
				"i",
				.var_address=&bbt_type_no
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1928, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityCollided_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_type_no);
}
BBINT openb3d_openb3dstd_EntityColor(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue,BBINT bbt_recursive){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityColor",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"red",
				"f",
				.var_address=&bbt_red
			},
			{
				BBDEBUGDECL_LOCAL,
				"green",
				"f",
				.var_address=&bbt_green
			},
			{
				BBDEBUGDECL_LOCAL,
				"blue",
				"f",
				.var_address=&bbt_blue
			},
			{
				BBDEBUGDECL_LOCAL,
				"recursive",
				"i",
				.var_address=&bbt_recursive
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1952, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityColor_fffi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_red,bbt_green,bbt_blue,bbt_recursive);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_EntityDistance(struct openb3d_openb3dcore_TEntity_obj* bbt_ent1,struct openb3d_openb3dcore_TEntity_obj* bbt_ent2){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityDistance",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent1",
				":TEntity",
				.var_address=&bbt_ent1
			},
			{
				BBDEBUGDECL_LOCAL,
				"ent2",
				":TEntity",
				.var_address=&bbt_ent2
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 1970, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent1))->clas->m_EntityDistance_TTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent1,(struct openb3d_openb3dcore_TEntity_obj*)bbt_ent2);
}
BBINT openb3d_openb3dstd_EntityFX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_fx){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityFX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"fx",
				"i",
				.var_address=&bbt_fx
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2009, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityFX_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_fx);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityInView(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TCamera_obj* bbt_cam){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityInView",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"cam",
				":TCamera",
				.var_address=&bbt_cam
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2031, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TCamera_obj*)bbNullObjectTest((BBObject*)bbt_cam))->clas->m_EntityInView_TTEntity((struct openb3d_openb3dcore_TCamera_obj*)bbt_cam,(struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBSTRING openb3d_openb3dstd_EntityName(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityName",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2049, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityName((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBINT openb3d_openb3dstd_EntityOrder(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_order){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityOrder",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"order",
				"i",
				.var_address=&bbt_order
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2073, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityOrder_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_order);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityParent(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_parent_ent,BBINT bbt_glob){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityParent",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent_ent",
				":TEntity",
				.var_address=&bbt_parent_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2095, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityParent_TTEntityi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent_ent,bbt_glob);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_EntityPick(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_Range){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityPick",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"Range",
				"f",
				.var_address=&bbt_Range
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2115, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityPick_f((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_Range);
}
BBINT openb3d_openb3dstd_EntityPickMode(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_pick_mode,BBINT bbt_obscurer){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityPickMode",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"pick_mode",
				"i",
				.var_address=&bbt_pick_mode
			},
			{
				BBDEBUGDECL_LOCAL,
				"obscurer",
				"i",
				.var_address=&bbt_obscurer
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2151, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityPickMode_ii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_pick_mode,bbt_obscurer);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_EntityPitch(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityPitch",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2171, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityPitch_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_glob);
}
BBINT openb3d_openb3dstd_EntityRadius(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_radius_x,BBFLOAT bbt_radius_y){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityRadius",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"radius_x",
				"f",
				.var_address=&bbt_radius_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"radius_y",
				"f",
				.var_address=&bbt_radius_y
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2195, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityRadius_ff((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_radius_x,bbt_radius_y);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_EntityRoll(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityRoll",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2215, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityRoll_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_glob);
}
BBINT openb3d_openb3dstd_EntityShininess(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_shine){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityShininess",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"shine",
				"f",
				.var_address=&bbt_shine
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2239, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityShininess_f((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_shine);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityTexture(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_frame,BBINT bbt_index){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"frame",
				"i",
				.var_address=&bbt_frame
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2267, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityTexture_TTTextureii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,(struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_frame,bbt_index);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityType(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_type_no,BBINT bbt_recursive){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityType",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"type_no",
				"i",
				.var_address=&bbt_type_no
			},
			{
				BBDEBUGDECL_LOCAL,
				"recursive",
				"i",
				.var_address=&bbt_recursive
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2291, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityType_ii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_type_no,bbt_recursive);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_EntityVisible(struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityVisible",
		{
			{
				BBDEBUGDECL_LOCAL,
				"src_ent",
				":TEntity",
				.var_address=&bbt_src_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"dest_ent",
				":TEntity",
				.var_address=&bbt_dest_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2309, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_EntityVisible_i_TTEntityTTEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_src_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_dest_ent);
}
BBFLOAT openb3d_openb3dstd_EntityX(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2348, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityX_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_glob);
}
BBFLOAT openb3d_openb3dstd_EntityY(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityY",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2369, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityY_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_glob);
}
BBFLOAT openb3d_openb3dstd_EntityYaw(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityYaw",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2389, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityYaw_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_glob);
}
BBFLOAT openb3d_openb3dstd_EntityZ(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_glob){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"EntityZ",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2410, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_EntityZ_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_glob);
}
BBINT openb3d_openb3dstd_ExtractAnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_first_frame,BBINT bbt_last_frame,BBINT bbt_seq){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ExtractAnimSeq",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"first_frame",
				"i",
				.var_address=&bbt_first_frame
			},
			{
				BBDEBUGDECL_LOCAL,
				"last_frame",
				"i",
				.var_address=&bbt_last_frame
			},
			{
				BBDEBUGDECL_LOCAL,
				"seq",
				"i",
				.var_address=&bbt_seq
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2432, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_ExtractAnimSeq_iii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_first_frame,bbt_last_frame,bbt_seq);
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_FindChild(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBSTRING bbt_child_name){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FindChild",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"child_name",
				"$",
				.var_address=&bbt_child_name
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2450, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_FindChild_S((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_child_name);
}
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dstd_FindSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TBrush_obj* bbt_brush){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FindSurface",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2470, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSurface_obj*)((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_FindSurface_TTBrush((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,(struct openb3d_openb3dcore_TBrush_obj*)bbt_brush);
}
BBINT openb3d_openb3dstd_FitMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_width,BBFLOAT bbt_height,BBFLOAT bbt_depth,BBINT bbt_uniform){
	struct BBDebugScope_8 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FitMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"width",
				"f",
				.var_address=&bbt_width
			},
			{
				BBDEBUGDECL_LOCAL,
				"height",
				"f",
				.var_address=&bbt_height
			},
			{
				BBDEBUGDECL_LOCAL,
				"depth",
				"f",
				.var_address=&bbt_depth
			},
			{
				BBDEBUGDECL_LOCAL,
				"uniform",
				"i",
				.var_address=&bbt_uniform
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2504, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_FitMesh_ffffffi((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,bbt_x,bbt_y,bbt_z,bbt_width,bbt_height,bbt_depth,bbt_uniform);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_FlipMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FlipMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2528, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_FlipMesh((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_FreeBrush(struct openb3d_openb3dcore_TBrush_obj* bbt_brush){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FreeBrush",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2544, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_FreeBrush((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_FreeEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FreeEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2564, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_FreeEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_FreeTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"FreeTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2582, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_FreeTexture((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dstd_GetBrushTexture(struct openb3d_openb3dcore_TBrush_obj* bbt_brush,BBINT bbt_index){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetBrushTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_LOCAL,
				"index",
				"i",
				.var_address=&bbt_index
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2608, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TTexture_obj*)((struct openb3d_openb3dcore_TBrush_obj*)bbNullObjectTest((BBObject*)bbt_brush))->clas->m_GetBrushTexture_i((struct openb3d_openb3dcore_TBrush_obj*)bbt_brush,bbt_index);
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_GetChild(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_child_no){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetChild",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"child_no",
				"i",
				.var_address=&bbt_child_no
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2626, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_GetChild_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_child_no);
}
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dstd_GetEntityBrush(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetEntityBrush",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2650, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TBrush_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_GetEntityBrush((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBINT openb3d_openb3dstd_GetEntityType(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetEntityType",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2668, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_GetEntityType((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
BBFLOAT openb3d_openb3dstd_GetMatElement(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_row,BBINT bbt_col){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetMatElement",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"row",
				"i",
				.var_address=&bbt_row
			},
			{
				BBDEBUGDECL_LOCAL,
				"col",
				"i",
				.var_address=&bbt_col
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2692, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_GetMatElement_ii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_row,bbt_col);
	bbOnDebugLeaveScope();
	return .00000000f;
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_GetParent(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetParent",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2708, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_GetParent((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
}
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dstd_GetSurface(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBINT bbt_surf_no){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetSurface",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"surf_no",
				"i",
				.var_address=&bbt_surf_no
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2732, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSurface_obj*)((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_GetSurface_i((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,bbt_surf_no);
}
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dstd_GetSurfaceBrush(struct openb3d_openb3dcore_TSurface_obj* bbt_surf){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"GetSurfaceBrush",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2756, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TBrush_obj*)((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_GetSurfaceBrush((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf);
}
BBINT openb3d_openb3dstd_HandleSprite(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_h_x,BBFLOAT bbt_h_y){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"HandleSprite",
		{
			{
				BBDEBUGDECL_LOCAL,
				"sprite",
				":TSprite",
				.var_address=&bbt_sprite
			},
			{
				BBDEBUGDECL_LOCAL,
				"h_x",
				"f",
				.var_address=&bbt_h_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"h_y",
				"f",
				.var_address=&bbt_h_y
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2778, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSprite_obj*)bbNullObjectTest((BBObject*)bbt_sprite))->clas->m_HandleSprite_ff((struct openb3d_openb3dcore_TSprite_obj*)bbt_sprite,bbt_h_x,bbt_h_y);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_HideEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"HideEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2800, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_HideEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_LightColor(struct openb3d_openb3dcore_TLight_obj* bbt_light,BBFLOAT bbt_red,BBFLOAT bbt_green,BBFLOAT bbt_blue){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LightColor",
		{
			{
				BBDEBUGDECL_LOCAL,
				"light",
				":TLight",
				.var_address=&bbt_light
			},
			{
				BBDEBUGDECL_LOCAL,
				"red",
				"f",
				.var_address=&bbt_red
			},
			{
				BBDEBUGDECL_LOCAL,
				"green",
				"f",
				.var_address=&bbt_green
			},
			{
				BBDEBUGDECL_LOCAL,
				"blue",
				"f",
				.var_address=&bbt_blue
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2830, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TLight_obj*)bbNullObjectTest((BBObject*)bbt_light))->clas->m_LightColor_fff((struct openb3d_openb3dcore_TLight_obj*)bbt_light,bbt_red,bbt_green,bbt_blue);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_LightConeAngles(struct openb3d_openb3dcore_TLight_obj* bbt_light,BBFLOAT bbt_inner_ang,BBFLOAT bbt_outer_ang){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LightConeAngles",
		{
			{
				BBDEBUGDECL_LOCAL,
				"light",
				":TLight",
				.var_address=&bbt_light
			},
			{
				BBDEBUGDECL_LOCAL,
				"inner_ang",
				"f",
				.var_address=&bbt_inner_ang
			},
			{
				BBDEBUGDECL_LOCAL,
				"outer_ang",
				"f",
				.var_address=&bbt_outer_ang
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2854, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TLight_obj*)bbNullObjectTest((BBObject*)bbt_light))->clas->m_LightConeAngles_ff((struct openb3d_openb3dcore_TLight_obj*)bbt_light,bbt_inner_ang,bbt_outer_ang);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_LightRange(struct openb3d_openb3dcore_TLight_obj* bbt_light,BBFLOAT bbt_Range){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LightRange",
		{
			{
				BBDEBUGDECL_LOCAL,
				"light",
				":TLight",
				.var_address=&bbt_light
			},
			{
				BBDEBUGDECL_LOCAL,
				"Range",
				"f",
				.var_address=&bbt_Range
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2878, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TLight_obj*)bbNullObjectTest((BBObject*)bbt_light))->clas->m_LightRange_f((struct openb3d_openb3dcore_TLight_obj*)bbt_light,bbt_Range);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_LinePick(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBFLOAT bbt_dx,BBFLOAT bbt_dy,BBFLOAT bbt_dz,BBFLOAT bbt_radius){
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LinePick",
		{
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"dx",
				"f",
				.var_address=&bbt_dx
			},
			{
				BBDEBUGDECL_LOCAL,
				"dy",
				"f",
				.var_address=&bbt_dy
			},
			{
				BBDEBUGDECL_LOCAL,
				"dz",
				"f",
				.var_address=&bbt_dz
			},
			{
				BBDEBUGDECL_LOCAL,
				"radius",
				"f",
				.var_address=&bbt_radius
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2908, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)openb3d_openb3dcore_TPick_LinePick_TTEntity_fffffff(bbt_x,bbt_y,bbt_z,bbt_dx,bbt_dy,bbt_dz,bbt_radius);
}
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dstd_LoadAnimTexture(BBSTRING bbt_file,BBINT bbt_flags,BBINT bbt_frame_width,BBINT bbt_frame_height,BBINT bbt_first_frame,BBINT bbt_frame_count,struct openb3d_openb3dcore_TTexture_obj* bbt_tex){
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadAnimTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"file",
				"$",
				.var_address=&bbt_file
			},
			{
				BBDEBUGDECL_LOCAL,
				"flags",
				"i",
				.var_address=&bbt_flags
			},
			{
				BBDEBUGDECL_LOCAL,
				"frame_width",
				"i",
				.var_address=&bbt_frame_width
			},
			{
				BBDEBUGDECL_LOCAL,
				"frame_height",
				"i",
				.var_address=&bbt_frame_height
			},
			{
				BBDEBUGDECL_LOCAL,
				"first_frame",
				"i",
				.var_address=&bbt_first_frame
			},
			{
				BBDEBUGDECL_LOCAL,
				"frame_count",
				"i",
				.var_address=&bbt_frame_count
			},
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 2967, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TTexture_obj*)openb3d_openb3dcore_TTexture_LoadAnimTexture_TTTexture_SiiiiiTTTexture(bbt_file,bbt_flags,bbt_frame_width,bbt_frame_height,bbt_first_frame,bbt_frame_count,(struct openb3d_openb3dcore_TTexture_obj*)bbt_tex);
}
struct openb3d_openb3dcore_TBrush_obj* openb3d_openb3dstd_LoadBrush(BBSTRING bbt_file,BBINT bbt_flags,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadBrush",
		{
			{
				BBDEBUGDECL_LOCAL,
				"file",
				"$",
				.var_address=&bbt_file
			},
			{
				BBDEBUGDECL_LOCAL,
				"flags",
				"i",
				.var_address=&bbt_flags
			},
			{
				BBDEBUGDECL_LOCAL,
				"u_scale",
				"f",
				.var_address=&bbt_u_scale
			},
			{
				BBDEBUGDECL_LOCAL,
				"v_scale",
				"f",
				.var_address=&bbt_v_scale
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3007, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TBrush_obj*)openb3d_openb3dcore_TBrush_LoadBrush_TTBrush_Siff(bbt_file,bbt_flags,bbt_u_scale,bbt_v_scale);
}
struct openb3d_openb3dcore_TTexture_obj* openb3d_openb3dstd_LoadTexture(BBSTRING bbt_file,BBINT bbt_flags,struct openb3d_openb3dcore_TTexture_obj* bbt_tex){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"file",
				"$",
				.var_address=&bbt_file
			},
			{
				BBDEBUGDECL_LOCAL,
				"flags",
				"i",
				.var_address=&bbt_flags
			},
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3061, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TTexture_obj*)openb3d_openb3dcore_TTexture_LoadTexture_TTTexture_SiTTTexture(bbt_file,bbt_flags,(struct openb3d_openb3dcore_TTexture_obj*)bbt_tex);
}
struct openb3d_openb3dcore_TSprite_obj* openb3d_openb3dstd_LoadSprite(BBSTRING bbt_tex_file,BBINT bbt_tex_flag,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadSprite",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex_file",
				"$",
				.var_address=&bbt_tex_file
			},
			{
				BBDEBUGDECL_LOCAL,
				"tex_flag",
				"i",
				.var_address=&bbt_tex_flag
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3099, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSprite_obj*)openb3d_openb3dcore_TSprite_LoadSprite_TTSprite_SiTTEntity(bbt_tex_file,bbt_tex_flag,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
BBFLOAT openb3d_openb3dstd_MeshDepth(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"MeshDepth",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3117, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_MeshDepth((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh);
}
BBFLOAT openb3d_openb3dstd_MeshHeight(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"MeshHeight",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3135, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_MeshHeight((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh);
}
BBFLOAT openb3d_openb3dstd_MeshWidth(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"MeshWidth",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3153, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_MeshWidth((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh);
}
BBINT openb3d_openb3dstd_MoveEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"MoveEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3179, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_MoveEntity_fff((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_NameEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBSTRING bbt_name){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"NameEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"name",
				"$",
				.var_address=&bbt_name
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3199, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_NameEntity_S((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_name);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_PaintEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TBrush_obj* bbt_brush){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PaintEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3219, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_PaintEntity_TTBrush((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,(struct openb3d_openb3dcore_TBrush_obj*)bbt_brush);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_PaintMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,struct openb3d_openb3dcore_TBrush_obj* bbt_brush){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PaintMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3243, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_PaintMesh_TTBrush((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,(struct openb3d_openb3dcore_TBrush_obj*)bbt_brush);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_PaintSurface(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,struct openb3d_openb3dcore_TBrush_obj* bbt_brush){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PaintSurface",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"brush",
				":TBrush",
				.var_address=&bbt_brush
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3265, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_PaintSurface_TTBrush((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,(struct openb3d_openb3dcore_TBrush_obj*)bbt_brush);
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TEntity_obj* openb3d_openb3dstd_PickedEntity(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedEntity",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3283, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TEntity_obj*)openb3d_openb3dcore_TPick_PickedEntity_TTEntity();
}
BBFLOAT openb3d_openb3dstd_PickedNX(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedNX",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3299, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedNX_f();
}
BBFLOAT openb3d_openb3dstd_PickedNY(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedNY",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3315, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedNY_f();
}
BBFLOAT openb3d_openb3dstd_PickedNZ(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedNZ",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3331, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedNZ_f();
}
struct openb3d_openb3dcore_TSurface_obj* openb3d_openb3dstd_PickedSurface(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedSurface",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3347, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TSurface_obj*)openb3d_openb3dcore_TPick_PickedSurface_TTSurface();
}
BBFLOAT openb3d_openb3dstd_PickedTime(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedTime",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3363, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedTime_f();
}
BBINT openb3d_openb3dstd_PickedTriangle(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedTriangle",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3379, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedTriangle_i();
}
BBFLOAT openb3d_openb3dstd_PickedX(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedX",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3399, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedX_f();
}
BBFLOAT openb3d_openb3dstd_PickedY(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedY",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3419, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedY_f();
}
BBFLOAT openb3d_openb3dstd_PickedZ(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PickedZ",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3439, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TPick_PickedZ_f();
}
BBINT openb3d_openb3dstd_PointEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_target_ent,BBFLOAT bbt_roll){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PointEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"target_ent",
				":TEntity",
				.var_address=&bbt_target_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"roll",
				"f",
				.var_address=&bbt_roll
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3463, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_PointEntity_TTEntityf((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_target_ent,bbt_roll);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_PositionEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PositionEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3493, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_PositionEntity_fffi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z,bbt_glob);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_PositionMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_px,BBFLOAT bbt_py,BBFLOAT bbt_pz){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PositionMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"px",
				"f",
				.var_address=&bbt_px
			},
			{
				BBDEBUGDECL_LOCAL,
				"py",
				"f",
				.var_address=&bbt_py
			},
			{
				BBDEBUGDECL_LOCAL,
				"pz",
				"f",
				.var_address=&bbt_pz
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3517, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_PositionMesh_fff((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,bbt_px,bbt_py,bbt_pz);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_PositionTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_u_pos,BBFLOAT bbt_v_pos){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"PositionTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"u_pos",
				"f",
				.var_address=&bbt_u_pos
			},
			{
				BBDEBUGDECL_LOCAL,
				"v_pos",
				"f",
				.var_address=&bbt_v_pos
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3541, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_PositionTexture_ff((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_u_pos,bbt_v_pos);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_ProjectedX(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ProjectedX",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3557, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ProjectedX_();
}
BBFLOAT openb3d_openb3dstd_ProjectedY(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ProjectedY",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3573, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ProjectedY_();
}
BBFLOAT openb3d_openb3dstd_ProjectedZ(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ProjectedZ",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3589, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ProjectedZ_();
}
BBINT openb3d_openb3dstd_RenderWorld(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"RenderWorld",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3613, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_RenderWorld_i();
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ResetEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ResetEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3631, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_ResetEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_RotateEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"RotateEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3663, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_RotateEntity_fffi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z,bbt_glob);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_RotateMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_pitch,BBFLOAT bbt_yaw,BBFLOAT bbt_roll){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"RotateMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"pitch",
				"f",
				.var_address=&bbt_pitch
			},
			{
				BBDEBUGDECL_LOCAL,
				"yaw",
				"f",
				.var_address=&bbt_yaw
			},
			{
				BBDEBUGDECL_LOCAL,
				"roll",
				"f",
				.var_address=&bbt_roll
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3687, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_RotateMesh_fff((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,bbt_pitch,bbt_yaw,bbt_roll);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_RotateSprite(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_ang){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"RotateSprite",
		{
			{
				BBDEBUGDECL_LOCAL,
				"sprite",
				":TSprite",
				.var_address=&bbt_sprite
			},
			{
				BBDEBUGDECL_LOCAL,
				"ang",
				"f",
				.var_address=&bbt_ang
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3707, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSprite_obj*)bbNullObjectTest((BBObject*)bbt_sprite))->clas->m_RotateSprite_f((struct openb3d_openb3dcore_TSprite_obj*)bbt_sprite,bbt_ang);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_RotateTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_ang){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"RotateTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"ang",
				"f",
				.var_address=&bbt_ang
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3729, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_RotateTexture_f((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_ang);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ScaleEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ScaleEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3763, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_ScaleEntity_fffi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z,bbt_glob);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ScaleMesh(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh,BBFLOAT bbt_sx,BBFLOAT bbt_sy,BBFLOAT bbt_sz){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ScaleMesh",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_LOCAL,
				"sx",
				"f",
				.var_address=&bbt_sx
			},
			{
				BBDEBUGDECL_LOCAL,
				"sy",
				"f",
				.var_address=&bbt_sy
			},
			{
				BBDEBUGDECL_LOCAL,
				"sz",
				"f",
				.var_address=&bbt_sz
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3787, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_ScaleMesh_fff((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh,bbt_sx,bbt_sy,bbt_sz);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ScaleSprite(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBFLOAT bbt_s_x,BBFLOAT bbt_s_y){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ScaleSprite",
		{
			{
				BBDEBUGDECL_LOCAL,
				"sprite",
				":TSprite",
				.var_address=&bbt_sprite
			},
			{
				BBDEBUGDECL_LOCAL,
				"s_x",
				"f",
				.var_address=&bbt_s_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"s_y",
				"f",
				.var_address=&bbt_s_y
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3809, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSprite_obj*)bbNullObjectTest((BBObject*)bbt_sprite))->clas->m_ScaleSprite_ff((struct openb3d_openb3dcore_TSprite_obj*)bbt_sprite,bbt_s_x,bbt_s_y);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ScaleTexture(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBFLOAT bbt_u_scale,BBFLOAT bbt_v_scale){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ScaleTexture",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"u_scale",
				"f",
				.var_address=&bbt_u_scale
			},
			{
				BBDEBUGDECL_LOCAL,
				"v_scale",
				"f",
				.var_address=&bbt_v_scale
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3831, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_ScaleTexture_ff((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_u_scale,bbt_v_scale);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_SetAnimTime(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_time,BBINT bbt_seq){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetAnimTime",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"time",
				"f",
				.var_address=&bbt_time
			},
			{
				BBDEBUGDECL_LOCAL,
				"seq",
				"i",
				.var_address=&bbt_seq
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3851, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_SetAnimTime_fi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_time,bbt_seq);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_SetCubeFace(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_face){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetCubeFace",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"face",
				"i",
				.var_address=&bbt_face
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3949, 0};
	bbOnDebugEnterStm(&__stmt_0);
	SetCubeFace_(openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex),bbt_face);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_SetCubeMode(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_Mode){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetCubeMode",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"Mode",
				"i",
				.var_address=&bbt_Mode
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 3985, 0};
	bbOnDebugEnterStm(&__stmt_0);
	SetCubeMode_(openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex),bbt_Mode);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_ShowEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ShowEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4007, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_ShowEntity((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_SpriteViewMode(struct openb3d_openb3dcore_TSprite_obj* bbt_sprite,BBINT bbt_Mode){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SpriteViewMode",
		{
			{
				BBDEBUGDECL_LOCAL,
				"sprite",
				":TSprite",
				.var_address=&bbt_sprite
			},
			{
				BBDEBUGDECL_LOCAL,
				"Mode",
				"i",
				.var_address=&bbt_Mode
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4047, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSprite_obj*)bbNullObjectTest((BBObject*)bbt_sprite))->clas->m_SpriteViewMode_i((struct openb3d_openb3dcore_TSprite_obj*)bbt_sprite,bbt_Mode);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TextureBlend(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_blend){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TextureBlend",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"blend",
				"i",
				.var_address=&bbt_blend
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4091, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_TextureBlend_i((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_blend);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TextureCoords(struct openb3d_openb3dcore_TTexture_obj* bbt_tex,BBINT bbt_coords){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TextureCoords",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_LOCAL,
				"coords",
				"i",
				.var_address=&bbt_coords
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4115, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_TextureCoords_i((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex,bbt_coords);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TextureHeight(struct openb3d_openb3dcore_TTexture_obj* bbt_tex){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TextureHeight",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4131, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return TextureHeight_(openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex));
}
BBINT openb3d_openb3dstd_TextureFilter(BBSTRING bbt_match_text,BBINT bbt_flags){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TextureFilter",
		{
			{
				BBDEBUGDECL_LOCAL,
				"match_text",
				"$",
				.var_address=&bbt_match_text
			},
			{
				BBDEBUGDECL_LOCAL,
				"flags",
				"i",
				.var_address=&bbt_flags
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4178, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TTexture_TextureFilter_i_Si(bbt_match_text,bbt_flags);
	bbOnDebugLeaveScope();
	return 0;
}
BBSTRING openb3d_openb3dstd_TextureName(struct openb3d_openb3dcore_TTexture_obj* bbt_tex){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TextureName",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4217, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TTexture_obj*)bbNullObjectTest((BBObject*)bbt_tex))->clas->m_TextureName((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex);
}
BBINT openb3d_openb3dstd_TextureWidth(struct openb3d_openb3dcore_TTexture_obj* bbt_tex){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TextureWidth",
		{
			{
				BBDEBUGDECL_LOCAL,
				"tex",
				":TTexture",
				.var_address=&bbt_tex
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4233, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return TextureWidth_(openb3d_openb3dcore_TTexture_GetInstance_pb_TTTexture((struct openb3d_openb3dcore_TTexture_obj*)bbt_tex));
}
BBFLOAT openb3d_openb3dstd_TFormedX(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TFormedX",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4251, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TEntity_TFormedX_f();
}
BBFLOAT openb3d_openb3dstd_TFormedY(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TFormedY",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4269, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TEntity_TFormedY_f();
}
BBFLOAT openb3d_openb3dstd_TFormedZ(){
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TFormedZ",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4287, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return openb3d_openb3dcore_TEntity_TFormedZ_f();
}
BBINT openb3d_openb3dstd_TFormNormal(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TFormNormal",
		{
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"src_ent",
				":TEntity",
				.var_address=&bbt_src_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"dest_ent",
				":TEntity",
				.var_address=&bbt_dest_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4318, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TEntity_TFormNormal_i_fffTTEntityTTEntity(bbt_x,bbt_y,bbt_z,(struct openb3d_openb3dcore_TEntity_obj*)bbt_src_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_dest_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TFormPoint(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TFormPoint",
		{
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"src_ent",
				":TEntity",
				.var_address=&bbt_src_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"dest_ent",
				":TEntity",
				.var_address=&bbt_dest_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4349, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TEntity_TFormPoint_i_fffTTEntityTTEntity(bbt_x,bbt_y,bbt_z,(struct openb3d_openb3dcore_TEntity_obj*)bbt_src_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_dest_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TFormVector(BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,struct openb3d_openb3dcore_TEntity_obj* bbt_src_ent,struct openb3d_openb3dcore_TEntity_obj* bbt_dest_ent){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TFormVector",
		{
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"src_ent",
				":TEntity",
				.var_address=&bbt_src_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"dest_ent",
				":TEntity",
				.var_address=&bbt_dest_ent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4387, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TEntity_TFormVector_i_fffTTEntityTTEntity(bbt_x,bbt_y,bbt_z,(struct openb3d_openb3dcore_TEntity_obj*)bbt_src_ent,(struct openb3d_openb3dcore_TEntity_obj*)bbt_dest_ent);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TranslateEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TranslateEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4415, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_TranslateEntity_fffi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z,bbt_glob);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_TriangleVertex(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_tri_no,BBINT bbt_corner){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TriangleVertex",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"tri_no",
				"i",
				.var_address=&bbt_tri_no
			},
			{
				BBDEBUGDECL_LOCAL,
				"corner",
				"i",
				.var_address=&bbt_corner
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4435, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_TriangleVertex_ii((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_tri_no,bbt_corner);
}
BBINT openb3d_openb3dstd_TurnEntity(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_glob){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TurnEntity",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"glob",
				"i",
				.var_address=&bbt_glob
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4467, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_TurnEntity_fffi((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_x,bbt_y,bbt_z,bbt_glob);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_UpdateNormals(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"UpdateNormals",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh",
				":TMesh",
				.var_address=&bbt_mesh
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4483, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh))->clas->m_UpdateNormals((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_UpdateWorld(BBFLOAT bbt_anim_speed){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"UpdateWorld",
		{
			{
				BBDEBUGDECL_LOCAL,
				"anim_speed",
				"f",
				.var_address=&bbt_anim_speed
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4503, 0};
	bbOnDebugEnterStm(&__stmt_0);
	openb3d_openb3dcore_TGlobal3D_UpdateWorld_i_f(bbt_anim_speed);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_VectorPitch(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VectorPitch",
		{
			{
				BBDEBUGDECL_LOCAL,
				"vx",
				"f",
				.var_address=&bbt_vx
			},
			{
				BBDEBUGDECL_LOCAL,
				"vy",
				"f",
				.var_address=&bbt_vy
			},
			{
				BBDEBUGDECL_LOCAL,
				"vz",
				"f",
				.var_address=&bbt_vz
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4527, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return -VectorPitch_(bbt_vx,bbt_vy,bbt_vz);
}
BBFLOAT openb3d_openb3dstd_VectorYaw(BBFLOAT bbt_vx,BBFLOAT bbt_vy,BBFLOAT bbt_vz){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VectorYaw",
		{
			{
				BBDEBUGDECL_LOCAL,
				"vx",
				"f",
				.var_address=&bbt_vx
			},
			{
				BBDEBUGDECL_LOCAL,
				"vy",
				"f",
				.var_address=&bbt_vy
			},
			{
				BBDEBUGDECL_LOCAL,
				"vz",
				"f",
				.var_address=&bbt_vz
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4551, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return VectorYaw_(bbt_vx,bbt_vy,bbt_vz);
}
BBFLOAT openb3d_openb3dstd_VertexAlpha(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexAlpha",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4571, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexAlpha_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBFLOAT openb3d_openb3dstd_VertexBlue(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexBlue",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4589, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexBlue_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBINT openb3d_openb3dstd_VertexColor(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_r,BBFLOAT bbt_g,BBFLOAT bbt_b,BBFLOAT bbt_a){
	struct BBDebugScope_6 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexColor",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"r",
				"f",
				.var_address=&bbt_r
			},
			{
				BBDEBUGDECL_LOCAL,
				"g",
				"f",
				.var_address=&bbt_g
			},
			{
				BBDEBUGDECL_LOCAL,
				"b",
				"f",
				.var_address=&bbt_b
			},
			{
				BBDEBUGDECL_LOCAL,
				"a",
				"f",
				.var_address=&bbt_a
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4619, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexColor_iffff((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_r,bbt_g,bbt_b,bbt_a);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_VertexCoords(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexCoords",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4645, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexCoords_ifff((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_x,bbt_y,bbt_z);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_VertexGreen(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexGreen",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4663, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexGreen_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBINT openb3d_openb3dstd_VertexNormal(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_nx,BBFLOAT bbt_ny,BBFLOAT bbt_nz){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexNormal",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"nx",
				"f",
				.var_address=&bbt_nx
			},
			{
				BBDEBUGDECL_LOCAL,
				"ny",
				"f",
				.var_address=&bbt_ny
			},
			{
				BBDEBUGDECL_LOCAL,
				"nz",
				"f",
				.var_address=&bbt_nz
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4687, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexNormal_ifff((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_nx,bbt_ny,bbt_nz);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_VertexNX(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexNX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4705, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexNX_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBFLOAT openb3d_openb3dstd_VertexNY(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexNY",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4723, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexNY_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBFLOAT openb3d_openb3dstd_VertexNZ(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexNZ",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4741, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexNZ_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBFLOAT openb3d_openb3dstd_VertexRed(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexRed",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4759, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexRed_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBINT openb3d_openb3dstd_VertexTexCoords(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBFLOAT bbt_u,BBFLOAT bbt_v,BBFLOAT bbt_w,BBINT bbt_coord_set){
	struct BBDebugScope_6 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexTexCoords",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"u",
				"f",
				.var_address=&bbt_u
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"f",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_LOCAL,
				"w",
				"f",
				.var_address=&bbt_w
			},
			{
				BBDEBUGDECL_LOCAL,
				"coord_set",
				"i",
				.var_address=&bbt_coord_set
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4785, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexTexCoords_ifffi((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_u,bbt_v,bbt_w,bbt_coord_set);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_VertexU(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexU",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"coord_set",
				"i",
				.var_address=&bbt_coord_set
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4807, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexU_ii((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_coord_set);
}
BBFLOAT openb3d_openb3dstd_VertexV(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexV",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"coord_set",
				"i",
				.var_address=&bbt_coord_set
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4829, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexV_ii((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_coord_set);
}
BBFLOAT openb3d_openb3dstd_VertexW(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid,BBINT bbt_coord_set){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexW",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_LOCAL,
				"coord_set",
				"i",
				.var_address=&bbt_coord_set
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4847, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexW_ii((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid,bbt_coord_set);
}
BBFLOAT openb3d_openb3dstd_VertexX(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4865, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexX_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBFLOAT openb3d_openb3dstd_VertexY(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexY",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4883, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexY_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBFLOAT openb3d_openb3dstd_VertexZ(struct openb3d_openb3dcore_TSurface_obj* bbt_surf,BBINT bbt_vid){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"VertexZ",
		{
			{
				BBDEBUGDECL_LOCAL,
				"surf",
				":TSurface",
				.var_address=&bbt_surf
			},
			{
				BBDEBUGDECL_LOCAL,
				"vid",
				"i",
				.var_address=&bbt_vid
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4901, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TSurface_obj*)bbNullObjectTest((BBObject*)bbt_surf))->clas->m_VertexZ_i((struct openb3d_openb3dcore_TSurface_obj*)bbt_surf,bbt_vid);
}
BBINT openb3d_openb3dstd_Wireframe(BBINT bbt_enable){
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Wireframe",
		{
			{
				BBDEBUGDECL_LOCAL,
				"enable",
				"i",
				.var_address=&bbt_enable
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4924, 0};
	bbOnDebugEnterStm(&__stmt_0);
	Wireframe_(bbt_enable);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_AddAnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBINT bbt_length){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AddAnimSeq",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"length",
				"i",
				.var_address=&bbt_length
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4946, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_AddAnimSeq_i((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_length);
}
BBINT openb3d_openb3dstd_AlignToVector(struct openb3d_openb3dcore_TEntity_obj* bbt_entity,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z,BBINT bbt_axis,BBINT bbt_rate){
	struct BBDebugScope_6 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"AlignToVector",
		{
			{
				BBDEBUGDECL_LOCAL,
				"entity",
				":TEntity",
				.var_address=&bbt_entity
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"axis",
				"i",
				.var_address=&bbt_axis
			},
			{
				BBDEBUGDECL_LOCAL,
				"rate",
				"i",
				.var_address=&bbt_rate
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 4980, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_entity))->clas->m_AlignToVector_fffif((struct openb3d_openb3dcore_TEntity_obj*)bbt_entity,bbt_x,bbt_y,bbt_z,bbt_axis,((BBFLOAT)bbt_rate));
	bbOnDebugLeaveScope();
	return 0;
}
struct openb3d_openb3dcore_TMesh_obj* openb3d_openb3dstd_CreatePlane(BBINT bbt_divisions,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreatePlane",
		{
			{
				BBDEBUGDECL_LOCAL,
				"divisions",
				"i",
				.var_address=&bbt_divisions
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5008, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TMesh_obj*)openb3d_openb3dcore_TMesh_CreatePlane_TTMesh_iTTEntity(bbt_divisions,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dstd_CreateTerrain(BBINT bbt_size,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"CreateTerrain",
		{
			{
				BBDEBUGDECL_LOCAL,
				"size",
				"i",
				.var_address=&bbt_size
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5038, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TTerrain_obj*)openb3d_openb3dcore_TTerrain_CreateTerrain_TTTerrain_iTTEntity(bbt_size,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
BBINT openb3d_openb3dstd_LoadAnimSeq(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBSTRING bbt_file){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadAnimSeq",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"file",
				"$",
				.var_address=&bbt_file
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5058, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_LoadAnimSeq_S((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_file);
}
struct openb3d_openb3dcore_TTerrain_obj* openb3d_openb3dstd_LoadTerrain(BBSTRING bbt_file,struct openb3d_openb3dcore_TEntity_obj* bbt_parent){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadTerrain",
		{
			{
				BBDEBUGDECL_LOCAL,
				"file",
				"$",
				.var_address=&bbt_file
			},
			{
				BBDEBUGDECL_LOCAL,
				"parent",
				":TEntity",
				.var_address=&bbt_parent
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5095, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct openb3d_openb3dcore_TTerrain_obj*)openb3d_openb3dcore_TTerrain_LoadTerrain_TTTerrain_STTEntity(bbt_file,(struct openb3d_openb3dcore_TEntity_obj*)bbt_parent);
}
BBINT openb3d_openb3dstd_MeshesIntersect(struct openb3d_openb3dcore_TMesh_obj* bbt_mesh1,struct openb3d_openb3dcore_TMesh_obj* bbt_mesh2){
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"MeshesIntersect",
		{
			{
				BBDEBUGDECL_LOCAL,
				"mesh1",
				":TMesh",
				.var_address=&bbt_mesh1
			},
			{
				BBDEBUGDECL_LOCAL,
				"mesh2",
				":TMesh",
				.var_address=&bbt_mesh2
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5117, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TMesh_obj*)bbNullObjectTest((BBObject*)bbt_mesh1))->clas->m_MeshesIntersect_TTMesh((struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh1,(struct openb3d_openb3dcore_TMesh_obj*)bbt_mesh2);
}
BBINT openb3d_openb3dstd_ModifyTerrain(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBINT bbt_x,BBINT bbt_z,BBFLOAT bbt_new_height){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"ModifyTerrain",
		{
			{
				BBDEBUGDECL_LOCAL,
				"terr",
				":TTerrain",
				.var_address=&bbt_terr
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"i",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"i",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_LOCAL,
				"new_height",
				"f",
				.var_address=&bbt_new_height
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5141, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TTerrain_obj*)bbNullObjectTest((BBObject*)bbt_terr))->clas->m_ModifyTerrain_iif((struct openb3d_openb3dcore_TTerrain_obj*)bbt_terr,bbt_x,bbt_z,bbt_new_height);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT openb3d_openb3dstd_SetAnimKey(struct openb3d_openb3dcore_TEntity_obj* bbt_ent,BBFLOAT bbt_frame,BBINT bbt_pos_key,BBINT bbt_rot_key,BBINT bbt_scale_key){
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetAnimKey",
		{
			{
				BBDEBUGDECL_LOCAL,
				"ent",
				":TEntity",
				.var_address=&bbt_ent
			},
			{
				BBDEBUGDECL_LOCAL,
				"frame",
				"f",
				.var_address=&bbt_frame
			},
			{
				BBDEBUGDECL_LOCAL,
				"pos_key",
				"i",
				.var_address=&bbt_pos_key
			},
			{
				BBDEBUGDECL_LOCAL,
				"rot_key",
				"i",
				.var_address=&bbt_rot_key
			},
			{
				BBDEBUGDECL_LOCAL,
				"scale_key",
				"i",
				.var_address=&bbt_scale_key
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5167, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct openb3d_openb3dcore_TEntity_obj*)bbNullObjectTest((BBObject*)bbt_ent))->clas->m_SetAnimKey_fiii((struct openb3d_openb3dcore_TEntity_obj*)bbt_ent,bbt_frame,bbt_pos_key,bbt_rot_key,bbt_scale_key);
	bbOnDebugLeaveScope();
	return 0;
}
BBFLOAT openb3d_openb3dstd_TerrainHeight(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBINT bbt_x,BBINT bbt_z){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TerrainHeight",
		{
			{
				BBDEBUGDECL_LOCAL,
				"terr",
				":TTerrain",
				.var_address=&bbt_terr
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"i",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"i",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5189, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TTerrain_obj*)bbNullObjectTest((BBObject*)bbt_terr))->clas->m_TerrainHeight_ii((struct openb3d_openb3dcore_TTerrain_obj*)bbt_terr,bbt_x,bbt_z);
}
BBFLOAT openb3d_openb3dstd_TerrainX(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TerrainX",
		{
			{
				BBDEBUGDECL_LOCAL,
				"terr",
				":TTerrain",
				.var_address=&bbt_terr
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5213, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TTerrain_obj*)bbNullObjectTest((BBObject*)bbt_terr))->clas->m_TerrainX_fff((struct openb3d_openb3dcore_TTerrain_obj*)bbt_terr,bbt_x,bbt_y,bbt_z);
}
BBFLOAT openb3d_openb3dstd_TerrainY(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TerrainY",
		{
			{
				BBDEBUGDECL_LOCAL,
				"terr",
				":TTerrain",
				.var_address=&bbt_terr
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5239, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TTerrain_obj*)bbNullObjectTest((BBObject*)bbt_terr))->clas->m_TerrainY_fff((struct openb3d_openb3dcore_TTerrain_obj*)bbt_terr,bbt_x,bbt_y,bbt_z);
}
BBFLOAT openb3d_openb3dstd_TerrainZ(struct openb3d_openb3dcore_TTerrain_obj* bbt_terr,BBFLOAT bbt_x,BBFLOAT bbt_y,BBFLOAT bbt_z){
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"TerrainZ",
		{
			{
				BBDEBUGDECL_LOCAL,
				"terr",
				":TTerrain",
				.var_address=&bbt_terr
			},
			{
				BBDEBUGDECL_LOCAL,
				"x",
				"f",
				.var_address=&bbt_x
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"f",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"z",
				"f",
				.var_address=&bbt_z
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x434a25ba8f78f1b4, 5263, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct openb3d_openb3dcore_TTerrain_obj*)bbNullObjectTest((BBObject*)bbt_terr))->clas->m_TerrainZ_fff((struct openb3d_openb3dcore_TTerrain_obj*)bbt_terr,bbt_x,bbt_y,bbt_z);
}
static int __bb_openb3d_openb3dstd_openb3dstd_inited = 0;
int __bb_openb3d_openb3dstd_openb3dstd(){
	if (!__bb_openb3d_openb3dstd_openb3dstd_inited) {
		__bb_openb3d_openb3dstd_openb3dstd_inited = 1;
		__bb_brl_blitz_blitz();
		__bb_openb3d_openb3dcore_openb3dcore();
		bbRegisterSource(0x434a25ba8f78f1b4, "c:/BlitzmaxNG/mod/openb3d.mod/openb3dstd.mod/functions_std.bmx");
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_FUNCTION,
			"openb3dstd",
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		bbOnDebugLeaveScope();
		return 0;
	}
	return 0;
}