;...................................
;: (c) 1993 Rebellion Software Ltd :
;: Hand coded by R.C.Dibley - 1993 :
;:.................................:

; this file contains just a set of pointers to run length encoded data blocks
; such as background bitmaps.

.include '\\incfiles\\datatype.inc'
.if !(^^defined RLEmark)
.include '\\check\\incfiles\\datatype.inc'
.endif

;==================================================================

.text
	dc.b	"Copyright (C) Rebellion Software 1993 ",13,10
.even

RLE::	dc.l	0
	dc.l	intro
	dc.l	tree
	dc.l	pause
	dc.l	sparkback
	dc.l	smokeback
	dc.l	grassback
;	dc.l	config1
;	dc.l	config2
;	dc.l	config3
	dc.l	map0
	dcb.l	8,0	; spares
;16
	dc.l	map0		; top view map
	dc.l	map1
	dc.l	map2
	dc.l	map3
	dc.l	map4
	dc.l	map5
	dc.l	map6
	dc.l	map7
	dc.l	map8
	dc.l	map9
	dc.l	logo128
	dc.l	race_h
	dcb.l	4,0	; spares
;32
	dc.l	race_h
	dc.l	tourn_h
	dc.l	hall_h
	dc.l	top_h
	dc.l	title
	dcb.l	11,0	; spares
;48
	dc.l	title
	dc.l	options
	dc.l	configs
	dc.l	butuk
	dc.l	0
	dc.l	0
	dc.l	0
	dc.l	0		; spares
;56
	dc.l	0
	dc.l	butuk
	dc.l	butus
	dc.l	butrest
	dc.l	logo		; end marker
	dc.l	0
	dc.l	0
	dc.l	0		; spares

	dc.l	logo		; 64
	dc.l	cartclear
	dc.l	wintour
	dc.l	smallcars
	dc.l	crash
	dcb.l	11,0

	dc.l	crash
	dc.l	crashx



intro:		putmark	RLE
		.incbin 'title1.rle' 	;'flagbw2.rle'
tree:		putmark	RLE
		.incbin 'tree.rle'
pause:		putmark	RLE
		.incbin 'pause4.rle'
sparkback:	putmark RLE
		.incbin 'spark5.rle'
smokeback:	putmark RLE
		.incbin 'smoke3.rle'
grassback:	putmark RLE
		.incbin 'grass3.rle'
;config1:	putmark	RLE
;		.incbin	'config1.rle'
;config2:	putmark	RLE
;		.incbin	'config2.rle'
;config3:	putmark	RLE
;		.incbin	'conabc.rle'
map0:		putmark	RLE
		.incbin	'map0.rle'
map1:		putmark	RLE
		.incbin	'map1.rle'
map2:		putmark	RLE
		.incbin	'map2.rle'
map3:		putmark	RLE
		.incbin	'map3.rle'
map4:		putmark	RLE
		.incbin	'map4.rle'
map5:		putmark	RLE
		.incbin	'map5.rle'
map6:		putmark	RLE
		.incbin	'map6.rle'
map7:		putmark	RLE
		.incbin	'map7.rle'
map8:		putmark	RLE
		.incbin	'map8.rle'
map9:		putmark	RLE
		.incbin	'map9.rle'

logo128:	putmark	RLE
		.incbin 'logo128t.rle'

race_h:		putmark	RLE
		.incbin	'race.rle'
tourn_h:	putmark	RLE
		.incbin	'tourn.rle'
hall_h:		putmark	RLE
		.incbin	'hall.rle'
top_h:		putmark	RLE
		.incbin	'top.rle'

title:		putmark	RLE
		.incbin	'cftop2.rle'

options:	putmark	RLE
		.incbin	'cfside2.rle'
configs:	putmark	RLE
		.incbin 'configs.rle'
butuk::		putmark	RLP
		.incbin	'newgb.rlp'	;cfengb.rlp
		.even
butus::		putmark	RLP
		.incbin 'newus.rlp'	;cfusb.rlp
		.even
butrest::	putmark	RLP
		.incbin 'conset4.rlp'	;cfrest.rlp'
		.even


logo::		putmark	RLE
		.incbin	'reb1d.rle'
cartclear::	putmark RLE
		.incbin	'cart.rle'
wintour::	putmark	RLE
		.incbin 'win2.rle'
smallcars::	putmark	RLE
		.incbin	'cars.rle'

crash:		;.incbin	'crash2.rle'
crashx:

; paletised rle images - must be decoded with explicit addresses (for now)
butpal::	.incbin	'conset.pal'	;cftotal.pal'

gf::		putmark	RLP
		.incbin	'gfx4.rlp'
		.even
gf1::		.incbin 'gfx5-6.pal'
hz::		putmark	RLP
		.incbin	'sky2.rlp'
		.even
hz1::		.incbin 'sky2new.pal'
hz2::		.incbin 'sky2rain.pal'
hz3::		.incbin 'sky2fog.pal'
hz4::		.incbin	'sky2dark.pal'	; was nite

;sunset::	putmark	RLP
;		.incbin 'sun4.rlp'
;		.even
;sunpal::	.incbin 'sun4.pal'

;fluffy::	putmark	RLP
;		.incbin 'sky2q.rlp'
;		.even
;flufpal::	.incbin 'sky2q.pal'

stars::		putmark	RLP
		.incbin 'stars.rlp'
		.even
starpal::	.incbin 'stars.pal'

credits::	putmark	RLP
		.incbin 'credataq.rlp'
		.even
credit2::	putmark	RLP
		.incbin 'credreb.rlp'
		.even
credpal::	.incbin 'credall2.pal'	; 

winrace::	putmark	RLP
		.incbin 'racewin.rlp'
		.even
winpal::	.incbin 'racewin.pal'

fontaz::	putmark	RLP
		.incbin 'fontaz!.rlp'
		.even
fontpal::	incbin 'fontaz00.pal'

;intro0::	putmark	RLP
;		.incbin 'flagbw1.rlp'
;		.even
;intro0p::	.incbin 'flagbw1.pal'

introanim::	putmark	FDE		; FDE is 16 bit differential encoded
		.incbin 'ca01.fde'
		putmark	FDE
		.incbin 'ca02.fde'
		putmark	FDE
		.incbin 'ca03.fde'
		putmark	FDE
		.incbin 'ca04.fde'
		putmark	FDE
		.incbin 'ca05.fde'
		putmark	FDE
		.incbin 'ca06.fde'
		putmark	FDE
		.incbin 'ca07.fde'
		putmark	FDE
		.incbin 'ca08.fde'
		putmark	FDE
		.incbin 'ca09.fde'
		putmark	FDE
		.incbin 'ca10.fde'
		putmark	FDE
		.incbin 'ca11.fde'
		putmark	FDE
		.incbin 'ca12.fde'
		putmark	FDE
		.incbin 'ca13.fde'
		putmark	FDE
		.incbin 'ca14.fde'
		putmark	FDE
		.incbin 'ca15.fde'

; cry graphics not worth compressing, but not wanted during game

cffont::	.incbin 'cry\\cffont.cry'	; just contains 0-9
copyrt::	.incbin 'cry\\copyrt.cry'	; this really should be rlp'd as its quite big and half empty
copyrte::

; lzss graphics - skies which don't rle very well !

.long
Skylz1::	.incbin 'sky1y.lzj'
.long
Skylz2::	.incbin 'sky2z.lzj'
.long
Skylz3::	.incbin 'sky3bx.lzj'
.long
Skylz4::	.incbin 'sky4x.lzj'
.long
Skylz5::	.incbin 'sky5x.lzj'
.long
Skylz6::	.incbin 'sky6y.lzj'
.long
Vol_pic::	.incbin 'sound.lzj'

