	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	_bbEnd
	extrn	_bbGCFree
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbStringClass
	extrn	_bbStringConcat
	extrn	_bbStringFromInt
	extrn	_bglCreateContext
	extrn	_bglSwapBuffers
	extrn	_brl_blitz_DebugLog
	extrn	_brl_blitzgl_bglTexFromPixmap
	extrn	_brl_linkedlist_TList
	extrn	_brl_pixmap_LoadPixmap
	extrn	_brl_random_Rand
	extrn	_brl_system_KeyDown
	extrn	_glBegin@4
	extrn	_glBindTexture@8
	extrn	_glClear@4
	extrn	_glClearColor@16
	extrn	_glColor3f@12
	extrn	_glDisable@4
	extrn	_glEnable@4
	extrn	_glEnd@0
	extrn	_glLoadIdentity@0
	extrn	_glMatrixMode@4
	extrn	_glPopMatrix@0
	extrn	_glPushMatrix@0
	extrn	_glRotatef@16
	extrn	_glShadeModel@4
	extrn	_glTexCoord2f@8
	extrn	_glTranslatef@12
	extrn	_glVertex3f@12
	extrn	_gluPerspective@32
	public	__bb_Test_Create
	public	__bb_Test_Delete
	public	__bb_Test_New
	public	__bb_Test_Render
	public	__bb_main
	public	_bb_Display
	public	_bb_Init
	public	_bb_Test
	public	_bb_pm
	public	_bb_slist
	public	_bb_tid
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	cmp	dword [_35],0
	je	_36
	mov	eax,0
	pop	ebp
	ret
_36:
	mov	dword [_35],1
	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
	mov	eax,dword [_33]
	and	eax,1
	cmp	eax,0
	jne	_34
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	add	dword [eax+4],1
	mov	dword [_bb_slist],eax
	or	dword [_33],1
_34:
	push	10
	push	0
	push	32
	push	600
	push	800
	call	_bglCreateContext
	add	esp,20
	call	_bb_Init
	jmp	_4
_6:
	call	_bb_Display
_4:
	push	27
	call	_brl_system_KeyDown
	add	esp,4
	cmp	eax,0
	je	_6
_5:
	call	_bbEnd
	mov	eax,0
	jmp	_14
_14:
	pop	ebp
	ret
__bb_Test_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_Test
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	mov	eax,0
	jmp	_17
_17:
	pop	ebx
	pop	ebp
	ret
__bb_Test_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_20:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_37
_37:
	pop	ebp
	ret
__bb_Test_Create:
	push	ebp
	mov	ebp,esp
	push	_bb_Test
	call	_bbObjectNew
	add	esp,4
	fldz
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	fldz
	fstp	dword [eax+20]
	fldz
	fstp	dword [eax+24]
	fldz
	fstp	dword [eax+28]
	jmp	_22
_22:
	pop	ebp
	ret
__bb_Test_Render:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	call	_glPushMatrix@0
	call	_glLoadIdentity@0
	push	dword [esi+16]
	push	dword [esi+12]
	push	dword [esi+8]
	call	_glTranslatef@12
	push	0
	push	0
	push	1065353216
	push	dword [esi+20]
	call	_glRotatef@16
	push	0
	push	1065353216
	push	0
	push	dword [esi+24]
	call	_glRotatef@16
	push	1065353216
	push	0
	push	0
	push	dword [esi+28]
	call	_glRotatef@16
	push	4
	call	_glBegin@4
	push	ebx
	push	3553
	call	_glBindTexture@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	1101070336
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1017118586
	push	1049231352
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1047789551
	push	1049231352
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1017118586
	push	1056440320
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1047789551
	push	1049231352
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1047789551
	push	1056440320
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1017118586
	push	1056440320
	call	_glTexCoord2f@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	1101070336
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1048576000
	push	1056571384
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1056833544
	push	1056571384
	call	_glTexCoord2f@8
	push	-1046413312
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1048576000
	push	1048051746
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1056833544
	push	1056571384
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1056833544
	push	1048051746
	call	_glTexCoord2f@8
	push	-1046413312
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1048576000
	push	1048051746
	call	_glTexCoord2f@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	-1046413312
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1056833544
	push	1048313873
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1061289992
	push	1048313873
	call	_glTexCoord2f@8
	push	-1046413312
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1056833544
	push	1056833544
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1061289992
	push	1048313873
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1061289992
	push	1056833544
	call	_glTexCoord2f@8
	push	-1046413312
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1056833544
	push	1056833544
	call	_glTexCoord2f@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	-1046413312
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1061421056
	push	1048576000
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1065287684
	push	1048576000
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1061421056
	push	1056178193
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1065287684
	push	1048576000
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1065287684
	push	1056178193
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1061421056
	push	1056178193
	call	_glTexCoord2f@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	-1046413312
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1048313873
	push	1010827532
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1057030140
	push	1010827532
	call	_glTexCoord2f@8
	push	-1046413312
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1048313873
	push	1048576000
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	-1046413312
	call	_glVertex3f@12
	push	1057030140
	push	1010827532
	call	_glTexCoord2f@8
	push	1101070336
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1057030140
	push	1048576000
	call	_glTexCoord2f@8
	push	-1046413312
	push	1100939264
	push	1101070336
	call	_glVertex3f@12
	push	1048313873
	push	1048576000
	call	_glTexCoord2f@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	1101070336
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1057226752
	push	1056702481
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1047527424
	push	1056702481
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1057226752
	push	1060765704
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	-1046413312
	call	_glVertex3f@12
	push	1047527424
	push	1056702481
	call	_glTexCoord2f@8
	push	-1046413312
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1047527424
	push	1060765704
	call	_glTexCoord2f@8
	push	1101070336
	push	-1046544384
	push	1101070336
	call	_glVertex3f@12
	push	1057226752
	push	1060765704
	call	_glTexCoord2f@8
	call	_glEnd@0
	call	_glPopMatrix@0
	mov	eax,0
	jmp	_26
_26:
	pop	esi
	pop	ebx
	pop	ebp
	ret
_bb_Init:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	0
	push	0
	push	0
	push	0
	call	_glClearColor@16
	push	5889
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	fld	qword [_61]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_62]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_63]
	sub	esp,8
	fstp	qword [esp]
	call	_gluPerspective@32
	push	2896
	call	_glDisable@4
	push	7425
	call	_glShadeModel@4
	push	2929
	call	_glEnable@4
	push	2903
	call	_glEnable@4
	push	3553
	call	_glEnable@4
	push	5888
	call	_glMatrixMode@4
	mov	esi,1
	jmp	_41
_9:
	call	dword [_bb_Test+48]
	mov	ebx,eax
	push	1000
	push	-1000
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+8]
	push	1000
	push	-1000
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+12]
	push	-1000
	push	-10000
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+16]
	mov	eax,dword [_bb_slist]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
_7:
	add	esi,1
_41:
	cmp	esi,100
	jle	_9
_8:
	mov	ebx,dword [_bb_pm]
	push	_10
	call	_brl_pixmap_LoadPixmap
	add	esp,4
	add	dword [eax+4],1
	mov	dword [_bb_pm],eax
	sub	dword [ebx+4],1
	cmp	dword [ebx+4],0
	jne	_46
	push	ebx
	call	_bbGCFree
	add	esp,4
_46:
	push	0
	push	dword [_bb_pm]
	call	_brl_blitzgl_bglTexFromPixmap
	add	esp,8
	mov	dword [_bb_tid],eax
	mov	eax,dword [_bb_pm]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_11
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,dword [_bb_pm]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_12
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	dword [_bb_tid]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_13
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_28
_28:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Display:
	push	ebp
	mov	ebp,esp
	push	16640
	call	_glClear@4
	call	_glLoadIdentity@0
	push	7
	call	_glBegin@4
	push	dword [_bb_tid]
	push	3553
	call	_glBindTexture@8
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	-1027080192
	push	1092616192
	push	-1054867456
	call	_glVertex3f@12
	push	0
	push	0
	call	_glTexCoord2f@8
	push	-1027080192
	push	1092616192
	push	1092616192
	call	_glVertex3f@12
	push	0
	push	1065353216
	call	_glTexCoord2f@8
	push	-1027080192
	push	-1054867456
	push	1092616192
	call	_glVertex3f@12
	push	1065353216
	push	1065353216
	call	_glTexCoord2f@8
	push	-1027080192
	push	-1054867456
	push	-1054867456
	call	_glVertex3f@12
	push	1065353216
	push	0
	call	_glTexCoord2f@8
	call	_glEnd@0
	call	_bglSwapBuffers
	mov	eax,0
	jmp	_30
_30:
	pop	ebp
	ret
	section	"data" data writeable
_35:
	dd	0
_33:
	dd	0
_bb_slist:
	dd	_bbNullObject
_bb_pm:
	dd	_bbNullObject
_bb_tid:
	dd	0
_bb_Test:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	0
	dd	32
	dd	__bb_Test_New
	dd	__bb_Test_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Test_Create
	dd	__bb_Test_Render
_61:
	dd	0x0,0x40c38800
_62:
	dd	0xa0000000,0x3fb99999
_63:
	dd	0x0,0x40468000
_10:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	116,101,120,116,117,114,101,46
	dw	112,110,103
_11:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	112,109,46,119,105,100,116,104
	dw	61
_12:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	112,109,46,104,101,105,103,104
	dw	116,61
_13:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	116,105,100,61
