	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_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_oggloader_oggloader
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_wavloader_wavloader
	extrn	___bb_win32_win32
	extrn	_bbCos
	extrn	_bbHandleFromObject
	extrn	_bbHandleToObject
	extrn	_bbObjectDowncast
	extrn	_bbSin
	extrn	_bbStringClass
	extrn	_brl_max2d_AutoMidHandle
	extrn	_brl_max2d_Cls
	extrn	_brl_max2d_DrawImage
	extrn	_brl_max2d_Flip
	extrn	_brl_max2d_Graphics
	extrn	_brl_max2d_ImageWidth
	extrn	_brl_max2d_LoadImage
	extrn	_brl_max2d_SetBlend
	extrn	_brl_max2d_SetColor
	extrn	_brl_max2d_SetOrigin
	extrn	_brl_max2d_SetTransform
	extrn	_brl_max2d_TImage
	extrn	_brl_max2d_TileImage
	extrn	_brl_system_KeyHit
	public	__bb_main
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	cmp	dword [_16],0
	je	_17
	mov	eax,0
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_17:
	mov	dword [_16],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_font_font
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_glmax2d_glmax2d
	call	___bb_jpgloader_jpgloader
	call	___bb_map_map
	call	___bb_oggloader_oggloader
	call	___bb_pngloader_pngloader
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_wavloader_wavloader
	call	___bb_freejoy_freejoy
	call	___bb_glew_glew
	call	___bb_lua_lua
	call	___bb_luascript_luascript
	call	___bb_win32_win32
	mov	edi,800
	mov	esi,600
	push	60
	push	16
	push	esi
	push	edi
	call	_brl_max2d_Graphics
	add	esp,16
	push	1
	call	_brl_max2d_AutoMidHandle
	add	esp,4
	push	-1
	push	_3
	call	_brl_max2d_LoadImage
	add	esp,8
	push	eax
	call	_bbHandleFromObject
	add	esp,4
	mov	ebx,eax
	push	_brl_max2d_TImage
	push	ebx
	call	_bbHandleToObject
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_brl_max2d_ImageWidth
	add	esp,4
	push	_brl_max2d_TImage
	push	ebx
	call	_bbHandleToObject
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_brl_max2d_ImageWidth
	add	esp,4
	fld	dword [_20]
	fstp	dword [ebp-8]
	fld	dword [_21]
	fstp	dword [ebp-4]
	jmp	_4
_6:
	call	_brl_max2d_Cls
	fld	dword [ebp-8]
	fadd	dword [_22]
	fstp	dword [ebp-8]
	mov	eax,esi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-44],eax
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-44],eax
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	2
	call	_brl_max2d_SetBlend
	add	esp,4
	push	0
	push	dword [ebp-8]
	push	dword [ebp-8]
	push	_brl_max2d_TImage
	push	ebx
	call	_bbHandleToObject
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_brl_max2d_TileImage
	add	esp,16
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	fld	qword [_23]
	fstp	qword [ebp-16]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_24]
	fstp	qword [ebp-24]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	call	_brl_max2d_SetTransform
	add	esp,12
	push	5
	call	_brl_max2d_SetBlend
	add	esp,4
	push	0
	push	0
	push	0
	push	_brl_max2d_TImage
	push	ebx
	call	_bbHandleToObject
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_brl_max2d_DrawImage
	add	esp,16
	fld	qword [_25]
	fstp	qword [ebp-32]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_26]
	fstp	qword [ebp-40]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-40]
	fmulp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	call	_brl_max2d_SetTransform
	add	esp,12
	push	0
	push	0
	push	0
	push	_brl_max2d_TImage
	push	ebx
	call	_bbHandleToObject
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_brl_max2d_DrawImage
	add	esp,16
	fld	dword [ebp-4]
	fadd	dword [_27]
	fstp	dword [ebp-4]
	call	_brl_max2d_Flip
_4:
	push	27
	call	_brl_system_KeyHit
	add	esp,4
	cmp	eax,0
	je	_6
_5:
	mov	eax,0
	jmp	_7
_7:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable
_16:
	dd	0
_3:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	74,58,92,109,105,114,114,111
	dw	114,92,87,111,109,101,110,92
	dw	66,114,105,116,110,101,121,92
	dw	49,49,53,46,106,112,103
_20:
	dd	0x0
_21:
	dd	0x0
_22:
	dd	0x3f800000
_23:
	dd	0x0,0x3fe00000
_24:
	dd	0x0,0x3fe00000
_25:
	dd	0x0,0x3fd00000
_26:
	dd	0x0,0x3fd00000
_27:
	dd	0x3f800000
