############################################################
#
# XR7: EarthStrike
# www.xandis.com
# original configuration data.
#
# Data for things that don't have a better home.
#
# Review the userinput-spec.txt for fine tuning
# input control during game play.
#
############################################################

# 'main' must be used otherwise the system won't find the block
#
# Probably not a good idea to change the width/height settings unless
# you also take the time to alter the positions of the transformed
# sprites in the level data files...
#
# It is best to have log = n unless you are encountering problems and
# need to troubleshoot. Otherwise, during the game, the system may periodically
# write errors or warnings to the log file thus slowing things down a bit.
#
# ***
# *** IF YOU ARE TESTING OUT NEW/EDITED DATA FILES THEN CONSIDER ALWAYS
# *** SETTING 'log = y' __AND__ USING THE xr7-debug.exe instead of xr7.eve.
# *** The debug executable does additional error checking and logging and
# *** while it may not prevent bad data from crashing the system it should
# *** log the reason or at least provide some clues for troubleshooting.
# ***
# ***
#
# This config.txt file is checked each time the XR7Game object is created
# (which happens right after selecting Play... from the windowed drop-down menu)
#
# Windowed mode not tested on screens with less than 1027x768 since the client rect
# in the window itself is 800x600 so larger screens necessary.
#
# Note that the volumes do not reflect the overall system volume but rather the
# volumes that are set within DirectX. So, if the volumes are too low even though
# they both are at 100 then consider increasing your system volume. XR7 does not
# adjust any system settings nor store data in registries or in any directory
# other than its own.
#
def config main
	width				= 800		# screen width
	height				= 600		# screen height
	colorbits			= 16		# bits/color
	fps				= 30		# target fps for gameplay (-1 for no target)
	fxvol				= 85		# default FX Volume % (not sys volume)
	musicvol			= 100		# default Music Volume % (not sys volume)
	numplayers			= 1		# default # of players in game (4 is max)
	input				= KEYBOARD	# KEYBOARD | JOYSTICK | MOUSE	
	fullscreen			= y		# Windowed mode not well tested
	cheat				= n		# Allow use of magick key to move to next level
	particlebatch			= 256		# number of particles to render each DrawPrimitive call in XR7ParticleSystem
	spritebatch			= 64		# number of quads to render each DrawPrimitive call for similar XR7Sprite objects
	tilebatch			= 64		# number of tiles (quads) to render each DrawPrimitive call in XR7TileMap
	coldet				= SIMPLE	# SIMPLE | TREE (tree uses LOTS more memory but could be faster with high poly models)
	log				= n		# whether to log game errors/warning in log.txt
	lives				= 3		# starting number of lives
	numlevels			= 5		# number of gaming levels
	deathdelay			= 90		# number of frames to delay transition after death
	loadingpos			= 272.0 140.0 0.0	# loading img w/o player # img
	loadingwplayerpos		= 272.0 172.0 0.0	# loading img when have player # image
	playerpos			= 360.0 0.0 0.0		# player # image
end


### END OF CONFIG DATA
