	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_bmploader_bmploader
	extrn	___bb_cocoamaxgui_cocoamaxgui
	extrn	___bb_d3d7max2d_d3d7max2d
	extrn	___bb_directsoundaudio_directsoundaudio
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_fltkmaxgui_fltkmaxgui
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freeprocess_freeprocess
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_glew_glew
	extrn	___bb_gnet_gnet
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_macos_macos
	extrn	___bb_maxgui_maxgui
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_openalaudio_openalaudio
	extrn	___bb_pngloader_pngloader
	extrn	___bb_reflection_reflection
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	___bb_win32maxgui_win32maxgui
	extrn	_bbEnd
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbStringClass
	extrn	_brl_glgraphics_GLGraphics
	extrn	_brl_graphics_Flip
	extrn	_brl_linkedlist_TList
	extrn	_brl_polledinput_KeyDown
	extrn	_brl_random_Rand
	extrn	_brl_random_RndFloat
	extrn	_glBegin@4
	extrn	_glBlendFunc@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	_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 [_69],0
	je	_70
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_70:
	mov	dword [_69],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_bmploader_bmploader
	call	___bb_cocoamaxgui_cocoamaxgui
	call	___bb_d3d7max2d_d3d7max2d
	call	___bb_directsoundaudio_directsoundaudio
	call	___bb_eventqueue_eventqueue
	call	___bb_fltkmaxgui_fltkmaxgui
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_gnet_gnet
	call	___bb_jpgloader_jpgloader
	call	___bb_maxgui_maxgui
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_openalaudio_openalaudio
	call	___bb_pngloader_pngloader
	call	___bb_reflection_reflection
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_win32maxgui_win32maxgui
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_glew_glew
	call	___bb_macos_macos
	push	_bb_Star
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_67]
	and	eax,1
	cmp	eax,0
	jne	_68
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_slist],eax
	or	dword [_67],1
_68:
	push	10
	push	0
	push	32
	push	600
	push	800
	call	_brl_glgraphics_GLGraphics
	add	esp,20
	call	_bb_Init
	jmp	_18
_20:
	call	_bb_Display
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
_18:
	push	27
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_20
_19:
	call	_bbEnd
	mov	eax,0
_49:
	mov	esp,ebp
	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
_52:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Star_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_55:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_71:
	mov	esp,ebp
	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 [_93]
	fstp	dword [ebx+16]
	fld	dword [ebx+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_72
	fld	dword [ebx+16]
	fsub	dword [_94]
	fstp	dword [ebx+16]
_72:
	mov	eax,0
_58:
	pop	ebx
	mov	esp,ebp
	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
_60:
	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 [_101]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_102]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_103]
	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	3042
	call	_glEnable@4
	push	771
	push	770
	call	_glBlendFunc@8
	push	5888
	call	_glMatrixMode@4
	mov	ebx,1
	jmp	_76
_23:
	call	dword [_bb_Star+52]
	mov	edx,dword [_bb_slist]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+68]
	add	esp,8
_21:
	add	ebx,1
_76:
	cmp	ebx,10000
	jle	_23
_22:
	mov	eax,0
_62:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Display:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	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 [_106]
	fstp	dword [_bb_ang]
	push	0
	call	_glBegin@4
	mov	esi,dword [_bb_slist]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_24
_26:
	push	_bb_Star
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_24
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
_24:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_26
_25:
	call	_glEnd@0
	mov	eax,0
_64:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_69:
	dd	0
_28:
	db	"Star",0
_29:
	db	"MAXZ",0
_30:
	db	"i",0
	align	4
_31:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,48,48,48,48
_32:
	db	"MAXXY",0
	align	4
_33:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	53,48,48,48
_34:
	db	"SPEED",0
	align	4
_35:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	49,48
_36:
	db	"x",0
_37:
	db	"f",0
_38:
	db	"y",0
_39:
	db	"z",0
_40:
	db	"r",0
_41:
	db	"g",0
_42:
	db	"b",0
_43:
	db	"New",0
_44:
	db	"()i",0
_45:
	db	"Delete",0
_46:
	db	"Update",0
_47:
	db	"Create",0
_48:
	db	"():Star",0
	align	4
_27:
	dd	2
	dd	_28
	dd	1
	dd	_29
	dd	_30
	dd	_31
	dd	1
	dd	_32
	dd	_30
	dd	_33
	dd	1
	dd	_34
	dd	_30
	dd	_35
	dd	3
	dd	_36
	dd	_37
	dd	8
	dd	3
	dd	_38
	dd	_37
	dd	12
	dd	3
	dd	_39
	dd	_37
	dd	16
	dd	3
	dd	_40
	dd	_37
	dd	20
	dd	3
	dd	_41
	dd	_37
	dd	24
	dd	3
	dd	_42
	dd	_37
	dd	28
	dd	6
	dd	_43
	dd	_44
	dd	16
	dd	6
	dd	_45
	dd	_44
	dd	20
	dd	6
	dd	_46
	dd	_44
	dd	48
	dd	7
	dd	_47
	dd	_48
	dd	52
	dd	0
	align	4
_bb_Star:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_27
	dd	32
	dd	__bb_Star_New
	dd	__bb_Star_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Star_Update
	dd	__bb_Star_Create
	align	4
_67:
	dd	0
	align	4
_bb_slist:
	dd	_bbNullObject
	align	4
_bb_ang:
	dd	0x0
	align	4
_93:
	dd	0x41200000
	align	4
_94:
	dd	0x461c4000
	align	8
_101:
	dd	0x0,0x40c38800
	align	8
_102:
	dd	0xa0000000,0x3fb99999
	align	8
_103:
	dd	0x0,0x40468000
	align	4
_106:
	dd	0x3dcccccd
