	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	_bbEnd
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectToString
	extrn	_bglCreateContext
	extrn	_bglSwapBuffers
	extrn	_brl_linkedlist_TList
	extrn	_brl_random_Rand
	extrn	_brl_random_RndFloat
	extrn	_brl_system_KeyDown
	extrn	_glBegin@4
	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	_glPointSize@4
	extrn	_glRotatef@16
	extrn	_glShadeModel@4
	extrn	_glVertex3f@12
	extrn	_gluPerspective@32
	public	__bb_Star_Create
	public	__bb_Star_Delete
	public	__bb_Star_New
	public	__bb_Star_Update
	public	__bb_main
	public	_bb_Display
	public	_bb_Init
	public	_bb_Star
	public	_bb_ang
	public	_bb_slist
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	cmp	dword [_32],0
	je	_33
	mov	eax,0
	pop	ebp
	ret
_33:
	mov	dword [_32],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	eax,dword [_30]
	and	eax,1
	cmp	eax,0
	jne	_31
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	add	dword [eax+4],1
	mov	dword [_bb_slist],eax
	or	dword [_30],1
_31:
	push	11
	push	0
	push	32
	push	600
	push	800
	call	_bglCreateContext
	add	esp,20
	call	_bb_Init
	jmp	_3
_5:
	call	_bb_Display
	call	_bglSwapBuffers
_3:
	push	27
	call	_brl_system_KeyDown
	add	esp,4
	cmp	eax,0
	je	_5
_4:
	call	_bbEnd
	mov	eax,0
	jmp	_12
_12:
	pop	ebp
	ret
__bb_Star_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_Star
	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	_15
_15:
	pop	ebx
	pop	ebp
	ret
__bb_Star_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_18:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_34
_34:
	pop	ebp
	ret
__bb_Star_Update:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	dword [ebx+28]
	push	dword [ebx+24]
	push	dword [ebx+20]
	call	_glColor3f@12
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	call	_glVertex3f@12
	fld	dword [ebx+16]
	fadd	dword [_55]
	fstp	dword [ebx+16]
	fld	dword [ebx+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_35
	fld	dword [ebx+16]
	fsub	dword [_56]
	fstp	dword [ebx+16]
_35:
	mov	eax,0
	jmp	_21
_21:
	pop	ebx
	pop	ebp
	ret
__bb_Star_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	_bb_Star
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	5000
	push	-5000
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+8]
	push	5000
	push	-5000
	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]
	call	_brl_random_RndFloat
	fstp	dword [ebx+20]
	call	_brl_random_RndFloat
	fstp	dword [ebx+24]
	call	_brl_random_RndFloat
	fstp	dword [ebx+28]
	mov	eax,ebx
	jmp	_23
_23:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Init:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	0
	push	0
	push	0
	push	0
	call	_glClearColor@16
	push	5889
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	fld	qword [_63]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_64]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_65]
	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	2832
	call	_glEnable@4
	push	2848
	call	_glEnable@4
	push	1073741824
	call	_glPointSize@4
	push	5888
	call	_glMatrixMode@4
	mov	ebx,1
	jmp	_39
_8:
	call	dword [_bb_Star+36]
	mov	edx,dword [_bb_slist]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
_6:
	add	ebx,1
_39:
	cmp	ebx,10000
	jle	_8
_7:
	mov	eax,0
	jmp	_25
_25:
	pop	ebx
	pop	ebp
	ret
_bb_Display:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	16640
	call	_glClear@4
	call	_glLoadIdentity@0
	push	-1082130432
	push	0
	push	0
	push	dword [_bb_ang]
	call	_glRotatef@16
	fld	dword [_bb_ang]
	fadd	dword [_68]
	fstp	dword [_bb_ang]
	push	0
	call	_glBegin@4
	mov	eax,dword [_bb_slist]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,4
	mov	ebx,eax
	jmp	_9
_11:
	push	_bb_Star
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+36]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+32]
	add	esp,4
_9:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+32]
	add	esp,4
	cmp	eax,0
	jne	_11
_10:
	call	_glEnd@0
	mov	eax,0
	jmp	_27
_27:
	pop	ebx
	pop	ebp
	ret
	section	"data" data writeable
_32:
	dd	0
_30:
	dd	0
_bb_slist:
	dd	_bbNullObject
_bb_ang:
	dd	0x0
_bb_Star:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	0
	dd	32
	dd	__bb_Star_New
	dd	__bb_Star_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	__bb_Star_Update
	dd	__bb_Star_Create
_55:
	dd	0x41200000
_56:
	dd	0x461c4000
_63:
	dd	0x0,0x40c38800
_64:
	dd	0xa0000000,0x3fb99999
_65:
	dd	0x0,0x40468000
_68:
	dd	0x3dcccccd
