##############################################################################
#
# This is the Infernal Contractor II configuration file, and may be edited to
# control game options.  If damaged, a backup can be found in the same
# directory, named start_backup.txt.
#
##############################################################################

##############################################################################
#
# This file contains original work by Andy Southgate.  Contact details can be
# found at http://www.mushware.co.uk.  This file was placed in the Public
# Domain by Andy Southgate and Mushware Limited in 2002.
#
# This software carries NO WARRANTY of any kind.
#
##############################################################################
#
# $Id: start.txt,v 1.21 2002/09/07 09:54:01 southa Exp $
# $Log: start.txt,v $
# Revision 1.21  2002/09/07 09:54:01  southa
# Tweaks to Mandrake RPM
#
# Revision 1.20  2002/09/03 10:34:38  southa
# Converted save path to Unix
#
# Revision 1.19  2002/09/01 22:00:38  southa
# Moved to real install paths
#
# Revision 1.18  2002/09/01 16:29:18  southa
# Support Redhat paths for include files
#
# Revision 1.17  2002/08/26 17:54:06  southa
# Reduce display to 640x480 medium ready for release
#
# Revision 1.16  2002/08/24 15:02:44  southa
# Removed dodgy line endings
#
# Revision 1.15  2002/08/22 10:33:05  southa
# Added GLOBAL_SAVE_PATH
#
# Revision 1.14  2002/08/09 17:09:02  southa
# GameDialogue added
#
# Revision 1.13  2002/08/07 11:48:23  southa
# Preparation for release 0.0.3
#
# Revision 1.12  2002/07/31 16:27:15  southa
# Collision checking work
#
# Revision 1.11  2002/07/19 18:35:02  southa
# More texture tweaks
#
# Revision 1.10  2002/07/19 15:44:39  southa
# Graphic optimisations
#
# Revision 1.9  2002/07/16 17:48:06  southa
# Collision and optimisation work
#
# Revision 1.8  2002/07/10 18:17:58  southa
# Prelude to release 0_0_2
#
# Revision 1.7  2002/07/08 16:02:24  southa
# Contract design
#
# Revision 1.6  2002/07/08 14:22:02  southa
# Rotated desks
#
# Revision 1.5  2002/07/08 11:18:06  southa
# Graphic handling for desks
#
# Revision 1.4  2002/07/07 13:44:18  southa
# Screen size config variables
#
# Revision 1.3  2002/07/07 13:25:56  southa
# Template designer
#
# Revision 1.2  2002/07/02 15:48:29  southa
# Floor map designer
#

# Change the paths here if you detach the application from its data directory

# On entry APPLPATH is set to the directory above the one the executable is in
# configset("APPLPATH","/usr/local/bin/ic2")

configset("CONTRACT_ROOT",$APPLPATH+"/contracts")
configset("CONTRACT_PATH",$CONTRACT_ROOT+"/first-day") 
configset("GLOBAL_SPACES_PATH",$APPLPATH+"/spaces") 
configset("GLOBAL_PIXELS_PATH",$APPLPATH+"/pixels") 
configset("GLOBAL_WAVES_PATH",$APPLPATH+"/waves") 
configset("GLOBAL_SAVE_PATH",$HOME+"/.ic2") 
configset("SYSTEM_PATH",$APPLPATH+"/system") 

# Set DISPLAYTYPE to "window" for windowed operation, or "fullscreen"
# Display size can be changed here

# configset("DISPLAY_TYPE", "window")
configset("DISPLAY_TYPE", "fullscreen")

configset("FULLSCREEN_DISPLAY_WIDTH", 640)
configset("FULLSCREEN_DISPLAY_HEIGHT", 480)
configset("FULLSCREEN_DISPLAY_BPP", 32)
configset("FULLSCREEN_DISPLAY_SHOW_CURSOR", 0)

configset("WINDOW_DISPLAY_WIDTH", 640)
configset("WINDOW_DISPLAY_HEIGHT", 480)
configset("WINDOW_DISPLAY_BPP", 32)
configset("WINDOW_DISPLAY_SHOW_CURSOR", 1)

# Options for DISPLAY_QUALITY are low, medium or high
configset("DISPLAY_QUALITY", "medium")

# Mutate the application into a game
game
# Load user's start file if present
load($HOME+"/.ic2/start.txt")
# load up the first script
loadcontract("contract1",$CONTRACT_PATH+"/contract.xml")
