	format	MS COFF
	extrn	___bb_appstub_appstub
	extrn	___bb_audio_audio
	extrn	___bb_bank_bank
	extrn	___bb_bankstream_bankstream
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_blitzgl_blitzgl
	extrn	___bb_bmploader_bmploader
	extrn	___bb_directx_directx
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_font_font
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_glew_glew
	extrn	___bb_glmax2d_glmax2d
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_lua_lua
	extrn	___bb_luascript_luascript
	extrn	___bb_map_map
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_wavloader_wavloader
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bglCreateContext
	extrn	_bglSwapBuffers
	extrn	_brl_blitz_NullObjectError
	extrn	_brl_linkedlist_TList
	extrn	_brl_random_RndFloat
	extrn	_brl_system_KeyDown
	extrn	_glBegin@4
	extrn	_glClear@4
	extrn	_glClearColor@16
	extrn	_glColor3f@12
	extrn	_glEnable@4
	extrn	_glEnd@0
	extrn	_glLoadIdentity@0
	extrn	_glMatrixMode@4
	extrn	_glPopMatrix@0
	extrn	_glPushMatrix@0
	extrn	_glTranslatef@12
	extrn	_glVertex3f@12
	extrn	_gluPerspective@32
	public	__bb_Pos_Delete
	public	__bb_Pos_New
	public	__bb_main
	public	_bb_Pos
	public	_bb_Quad
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	cmp	dword [_99],0
	je	_100
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_100:
	mov	dword [_99],1
	mov	dword [ebp-4],_bbNullObject
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],0
	push	ebp
	push	_93
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_appstub_appstub
	call	___bb_audio_audio
	call	___bb_bank_bank
	call	___bb_bankstream_bankstream
	call	___bb_basic_basic
	call	___bb_blitzgl_blitzgl
	call	___bb_bmploader_bmploader
	call	___bb_eventqueue_eventqueue
	call	___bb_font_font
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_glmax2d_glmax2d
	call	___bb_jpgloader_jpgloader
	call	___bb_map_map
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_pngloader_pngloader
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_wavloader_wavloader
	call	___bb_directx_directx
	call	___bb_freejoy_freejoy
	call	___bb_glew_glew
	call	___bb_lua_lua
	call	___bb_luascript_luascript
	push	_33
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	0
	push	32
	push	600
	push	800
	call	_bglCreateContext
	add	esp,20
	push	_35
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	0
	push	0
	call	_glClearColor@16
	push	_36
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	5889
	call	_glMatrixMode@4
	push	_37
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_glLoadIdentity@0
	push	_38
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	qword [_152]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_153]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_154]
	sub	esp,8
	fstp	qword [esp]
	call	_gluPerspective@32
	push	_39
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2929
	call	_glEnable@4
	push	_40
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	5888
	call	_glMatrixMode@4
	push	_41
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	push	_43
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],_bbNullObject
	push	_45
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],1
	jmp	_47
_6:
	push	ebp
	push	_76
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_48
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Pos
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	push	_49
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_51
	call	_brl_blitz_NullObjectError
_51:
	call	_brl_random_RndFloat
	fstp	dword [ebx+8]
	push	_53
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_55
	call	_brl_blitz_NullObjectError
_55:
	call	_brl_random_RndFloat
	fstp	dword [ebx+12]
	push	_57
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_59
	call	_brl_blitz_NullObjectError
_59:
	call	_brl_random_RndFloat
	fstp	dword [ebx+16]
	push	_61
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_63
	call	_brl_blitz_NullObjectError
_63:
	fldz
	fstp	dword [ebx+20]
	push	_65
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_67
	call	_brl_blitz_NullObjectError
_67:
	fld	dword [_155]
	fstp	dword [ebx+24]
	push	_69
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_71
	call	_brl_blitz_NullObjectError
_71:
	mov	eax,dword [ebp-12]
	neg	eax
	imul	eax,5
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fstp	dword [ebx+28]
	push	_73
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_75
	call	_brl_blitz_NullObjectError
_75:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_4:
	add	dword [ebp-12],1
_47:
	cmp	dword [ebp-12],10
	jle	_6
_5:
	push	_78
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_7
_9:
	push	ebp
	push	_92
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_79
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	16640
	call	_glClear@4
	push	_80
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_glLoadIdentity@0
	push	_81
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_83
	call	_brl_blitz_NullObjectError
_83:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+136]
	add	esp,4
	mov	ebx,eax
	jmp	_10
_12:
	cmp	ebx,_bbNullObject
	jne	_88
	call	_brl_blitz_NullObjectError
_88:
	push	_bb_Pos
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-8],eax
	cmp	dword [ebp-8],_bbNullObject
	je	_10
	push	ebp
	push	_90
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_89
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_bb_Quad
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_10:
	cmp	ebx,_bbNullObject
	jne	_86
	call	_brl_blitz_NullObjectError
_86:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_12
_11:
	push	_91
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bglSwapBuffers
	call	dword [_bbOnDebugLeaveScope]
_7:
	push	27
	call	_brl_system_KeyDown
	add	esp,4
	cmp	eax,0
	je	_9
_8:
	mov	ebx,0
	jmp	_22
_22:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Pos_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_121
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Pos
	push	ebp
	push	_119
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_102
	call	_brl_blitz_NullObjectError
_102:
	fldz
	fstp	dword [ebx+8]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_105
	call	_brl_blitz_NullObjectError
_105:
	fldz
	fstp	dword [ebx+12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_108
	call	_brl_blitz_NullObjectError
_108:
	fldz
	fstp	dword [ebx+16]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_111
	call	_brl_blitz_NullObjectError
_111:
	fldz
	fstp	dword [ebx+20]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_114
	call	_brl_blitz_NullObjectError
_114:
	fldz
	fstp	dword [ebx+24]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_117
	call	_brl_blitz_NullObjectError
_117:
	fldz
	fstp	dword [ebx+28]
	call	dword [_bbOnDebugLeaveScope]
	push	ebp
	push	_120
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_25
_25:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Pos_Delete:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_126
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	ebp
	push	_124
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_28:
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bbObjectClass
	push	dword [ebp-4]
	call	_bbObjectDtor
	add	esp,4
	mov	ebx,0
	jmp	_125
_125:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Quad:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,ebp
	push	eax
	push	_150
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_128
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_glPushMatrix@0
	push	_129
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_131
	call	_brl_blitz_NullObjectError
_131:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_133
	call	_brl_blitz_NullObjectError
_133:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_135
	call	_brl_blitz_NullObjectError
_135:
	push	dword [ebx+28]
	push	dword [esi+24]
	push	dword [edi+20]
	call	_glTranslatef@12
	push	_136
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	7
	call	_glBegin@4
	push	_137
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_139
	call	_brl_blitz_NullObjectError
_139:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_141
	call	_brl_blitz_NullObjectError
_141:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_143
	call	_brl_blitz_NullObjectError
_143:
	push	dword [ebx+16]
	push	dword [esi+12]
	push	dword [edi+8]
	call	_glColor3f@12
	push	_144
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	1065353216
	push	1065353216
	call	_glVertex3f@12
	push	_145
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	1065353216
	push	-1082130432
	call	_glVertex3f@12
	push	_146
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	-1082130432
	push	-1082130432
	call	_glVertex3f@12
	push	_147
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	-1082130432
	push	1065353216
	call	_glVertex3f@12
	push	_148
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_glEnd@0
	push	_149
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_glPopMatrix@0
	mov	ebx,0
	jmp	_31
_31:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable
_99:
	dd	0
_94:
	db	"glmess2",0
_95:
	db	"list",0
_96:
	db	":TList",0
_97:
	db	"p",0
_98:
	db	":Pos",0
_93:
	dd	1
	dd	_94
	dd	2
	dd	_95
	dd	_96
	dd	-4
	dd	2
	dd	_97
	dd	_98
	dd	-8
	dd	0
_34:
	db	"E:/Src/BlitzMAX/glmess1/glmess2.bmx",0
_33:
	dd	_34
	dd	3
	dd	1
_35:
	dd	_34
	dd	4
	dd	1
_36:
	dd	_34
	dd	5
	dd	1
_37:
	dd	_34
	dd	6
	dd	1
_38:
	dd	_34
	dd	7
	dd	1
_152:
	dd	0x0,0x40f86a00
_153:
	dd	0xe0000000,0x3f1a36e2
_154:
	dd	0x0,0x40468000
_39:
	dd	_34
	dd	9
	dd	1
_40:
	dd	_34
	dd	10
	dd	1
_41:
	dd	_34
	dd	23
	dd	1
_43:
	dd	_34
	dd	24
	dd	1
_45:
	dd	_34
	dd	26
	dd	1
_16:
	db	"f",0
_77:
	db	"i",0
_76:
	dd	3
	dd	0
	dd	2
	dd	_16
	dd	_77
	dd	-12
	dd	0
_48:
	dd	_34
	dd	27
	dd	2
_14:
	db	"Pos",0
_15:
	db	"r",0
_17:
	db	"g",0
_18:
	db	"b",0
_19:
	db	"x",0
_20:
	db	"y",0
_21:
	db	"z",0
_13:
	dd	2
	dd	_14
	dd	3
	dd	_15
	dd	_16
	dd	8
	dd	3
	dd	_17
	dd	_16
	dd	12
	dd	3
	dd	_18
	dd	_16
	dd	16
	dd	3
	dd	_19
	dd	_16
	dd	20
	dd	3
	dd	_20
	dd	_16
	dd	24
	dd	3
	dd	_21
	dd	_16
	dd	28
	dd	0
_bb_Pos:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_13
	dd	32
	dd	__bb_Pos_New
	dd	__bb_Pos_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_49:
	dd	_34
	dd	28
	dd	2
_53:
	dd	_34
	dd	29
	dd	2
_57:
	dd	_34
	dd	30
	dd	2
_61:
	dd	_34
	dd	31
	dd	2
_65:
	dd	_34
	dd	32
	dd	2
_155:
	dd	0xc0400000
_69:
	dd	_34
	dd	33
	dd	2
_73:
	dd	_34
	dd	34
	dd	2
_78:
	dd	_34
	dd	37
	dd	1
_92:
	dd	3
	dd	0
	dd	0
_79:
	dd	_34
	dd	39
	dd	2
_80:
	dd	_34
	dd	40
	dd	2
_81:
	dd	_34
	dd	42
	dd	2
_90:
	dd	3
	dd	0
	dd	0
_89:
	dd	_34
	dd	43
	dd	3
_91:
	dd	_34
	dd	46
	dd	2
_122:
	db	"New",0
_123:
	db	"Self",0
_121:
	dd	1
	dd	_122
	dd	2
	dd	_123
	dd	_98
	dd	-4
	dd	0
_119:
	dd	3
	dd	0
	dd	0
_120:
	dd	3
	dd	0
	dd	0
_127:
	db	"Delete",0
_126:
	dd	1
	dd	_127
	dd	2
	dd	_123
	dd	_98
	dd	-4
	dd	0
_124:
	dd	3
	dd	0
	dd	0
_151:
	db	"Quad",0
_150:
	dd	1
	dd	_151
	dd	2
	dd	_97
	dd	_98
	dd	-4
	dd	0
_128:
	dd	_34
	dd	50
	dd	2
_129:
	dd	_34
	dd	51
	dd	2
_136:
	dd	_34
	dd	52
	dd	2
_137:
	dd	_34
	dd	53
	dd	2
_144:
	dd	_34
	dd	54
	dd	2
_145:
	dd	_34
	dd	55
	dd	2
_146:
	dd	_34
	dd	56
	dd	2
_147:
	dd	_34
	dd	57
	dd	2
_148:
	dd	_34
	dd	58
	dd	2
_149:
	dd	_34
	dd	59
	dd	2
