

#############
# PRE-CONFIGURATION
# This config file is meant to be loaded into another config before that
# config is useful; it defines the monsters that may be popped into those
# worlds, defines and loads fonts, and other things the level designers
# don't really want to care about
#

# associate images to symbolic name
image-list start
bluebrick   blbrick.pcx	# basic 16x16 blue floor tile
brownbrick  brbrick.pcx
skeefont    fontaa.pcx
shot1	    shot1.pcx
exit	    exit2x.pcx
yellowguy   yellowg.pcx
image-list end

font		fpsfont
offset_x	1
offset_y	1
char_offset_x	10
kern_offset_x   9
kern_offset_y   11
image		skeefont
charmap		"! #$%&'[]*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz(|)~"
font		end


sprite		arrow	    # don't need 4/8 arrows.. use states!
name		arrow
option		airborne
option		impassable
ai		mob_arrow	    # the AI to use
speed		10
width		8
height		8
image_width	8
image_height	8
order		2	    # order is 1..3 (start at 1, 3 is drawn last)
anim_statedef	still	    # animation state 1; 1..n (start at 1)
anim_steps	1	    # 7 artworks in pcx file
anim_image	shot1       # use this image for animating this state
sprite		end



sprite		player
name		player
ai		player
speed		2	    # player moves twice as often as everything else!
option		impassable
#option		velocity
#option		angles
# render order (1 is first, 3 is last)
order		1
leaving		60
# location of body within sprite
width		16
height		12
offset_y	9
# artwork for sprite
image_width	24          # 16
image_height	24          # 21
# while standing still
anim_statedef	still
anim_steps	1
anim_image	yellowguy   # 16x21px
#
sprite		end



#############
# CONFIG
# This configuration defines a level or group of related levels; it depends
# on the preconfig config file being loaded; this config only populates the
# world with already defined objects.. those objects should be defined in the
# preconfig if they are generic. If they belong only in this level, perhaps
# they should be defined here..
#

# post intro messages
post-message    "BombZ Level"

# which floor are we starting on in this level?
startmap        mainfloor

# define the tiles for use on floors in this config
#
tile	   	.
name		floor
image		bluebrick
tile		end

tile	   	@
name		floorstart
image		bluebrick
option		starthere
tile		end

# make up a floor based on all those tiles
#

tilemap		mainfloor
width		30
height		10
row		..............................
row		..............................
row		..............................
row		..............................
row		..............................
row		..............................
row		..............................
row		...@..........................
row		..............................
row		..............................
tilemap		end
