	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_graphics_graphics
	extrn	___bb_pixmap_pixmap
	extrn	__brl_graphics_TGraphicsDriver_Delete
	extrn	__brl_graphics_TGraphicsDriver_New
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectFree
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_brl_blitz_NullMethodError
	extrn	_brl_graphics_TGraphicsDriver
	public	___bb_max2d_driver
	public	__brl_max2d_TImageFrame_Delete
	public	__brl_max2d_TImageFrame_New
	public	__brl_max2d_TMax2DDriver_Delete
	public	__brl_max2d_TMax2DDriver_New
	public	_brl_max2d_TImageFrame
	public	_brl_max2d_TMax2DDriver
	public	_brl_max2d__max2dDriver
	section	"code" code
___bb_max2d_driver:
	push	ebp
	mov	ebp,esp
	cmp	dword [_54],0
	je	_55
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_55:
	mov	dword [_54],1
	call	___bb_blitz_blitz
	call	___bb_pixmap_pixmap
	call	___bb_graphics_graphics
	push	_brl_max2d_TImageFrame
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_max2d_TMax2DDriver
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,0
	jmp	_40
_40:
	mov	esp,ebp
	pop	ebp
	ret
__brl_max2d_TImageFrame_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_brl_max2d_TImageFrame
	mov	eax,0
	jmp	_43
_43:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_max2d_TImageFrame_Delete:
	push	ebp
	mov	ebp,esp
_46:
	mov	eax,0
	jmp	_56
_56:
	mov	esp,ebp
	pop	ebp
	ret
__brl_max2d_TMax2DDriver_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_graphics_TGraphicsDriver_New
	add	esp,4
	mov	dword [ebx],_brl_max2d_TMax2DDriver
	mov	eax,0
	jmp	_49
_49:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_max2d_TMax2DDriver_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_52:
	mov	dword [eax],_brl_graphics_TGraphicsDriver
	push	eax
	call	__brl_graphics_TGraphicsDriver_Delete
	add	esp,4
	mov	eax,0
	jmp	_57
_57:
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_54:
	dd	0
_4:
	db	"TImageFrame",0
_5:
	db	"New",0
_6:
	db	"()i",0
_7:
	db	"Delete",0
_8:
	db	"Draw",0
_9:
	db	"(f,f,f,f,f,f,f,f,f,f)i",0
	align	4
_3:
	dd	2
	dd	_4
	dd	6
	dd	_5
	dd	_6
	dd	16
	dd	6
	dd	_7
	dd	_6
	dd	20
	dd	6
	dd	_8
	dd	_9
	dd	48
	dd	0
	align	4
_brl_max2d_TImageFrame:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_3
	dd	8
	dd	__brl_max2d_TImageFrame_New
	dd	__brl_max2d_TImageFrame_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_brl_blitz_NullMethodError
_11:
	db	"TMax2DDriver",0
_12:
	db	"CreateFrameFromPixmap",0
_13:
	db	"(:TPixmap,i):TImageFrame",0
_14:
	db	"SetBlend",0
_15:
	db	"(i)i",0
_16:
	db	"SetAlpha",0
_17:
	db	"(f)i",0
_18:
	db	"SetColor",0
_19:
	db	"(i,i,i)i",0
_20:
	db	"SetClsColor",0
_21:
	db	"SetViewport",0
_22:
	db	"(i,i,i,i)i",0
_23:
	db	"SetTransform",0
_24:
	db	"(f,f,f,f)i",0
_25:
	db	"SetLineWidth",0
_26:
	db	"Cls",0
_27:
	db	"Plot",0
_28:
	db	"(f,f)i",0
_29:
	db	"DrawLine",0
_30:
	db	"(f,f,f,f,f,f)i",0
_31:
	db	"DrawRect",0
_32:
	db	"DrawOval",0
_33:
	db	"DrawPoly",0
_34:
	db	"([]f,f,f,f,f)i",0
_35:
	db	"DrawPixmap",0
_36:
	db	"(:TPixmap,i,i)i",0
_37:
	db	"GrabPixmap",0
_38:
	db	"(i,i,i,i):TPixmap",0
_39:
	db	"SetResolution",0
	align	4
_10:
	dd	2
	dd	_11
	dd	6
	dd	_5
	dd	_6
	dd	16
	dd	6
	dd	_7
	dd	_6
	dd	20
	dd	6
	dd	_12
	dd	_13
	dd	68
	dd	6
	dd	_14
	dd	_15
	dd	72
	dd	6
	dd	_16
	dd	_17
	dd	76
	dd	6
	dd	_18
	dd	_19
	dd	80
	dd	6
	dd	_20
	dd	_19
	dd	84
	dd	6
	dd	_21
	dd	_22
	dd	88
	dd	6
	dd	_23
	dd	_24
	dd	92
	dd	6
	dd	_25
	dd	_17
	dd	96
	dd	6
	dd	_26
	dd	_6
	dd	100
	dd	6
	dd	_27
	dd	_28
	dd	104
	dd	6
	dd	_29
	dd	_30
	dd	108
	dd	6
	dd	_31
	dd	_30
	dd	112
	dd	6
	dd	_32
	dd	_30
	dd	116
	dd	6
	dd	_33
	dd	_34
	dd	120
	dd	6
	dd	_35
	dd	_36
	dd	124
	dd	6
	dd	_37
	dd	_38
	dd	128
	dd	6
	dd	_39
	dd	_28
	dd	132
	dd	0
	align	4
_brl_max2d_TMax2DDriver:
	dd	_brl_graphics_TGraphicsDriver
	dd	_bbObjectFree
	dd	_10
	dd	8
	dd	__brl_max2d_TMax2DDriver_New
	dd	__brl_max2d_TMax2DDriver_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	align	4
_brl_max2d__max2dDriver:
	dd	_bbNullObject
