/////////////////////////////////////////////////////////////////////
// ICE / FLEXINE - (C) 2000-2003 Pierre Terdiman
// Visit: www.codercorner.com
/////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////
//
// Command: Path <filepath>
//
// Registers a global path in the kernel. All further files will be
// searched through those paths in case they can't be found in the
// root directory.
//
/////////////////////////////////////////////////////////////////////

	Path	.\Media
	Path	.\Streamed

/////////////////////////////////////////////////////////////////////
//
// Command: Archive <filename>
//
// Registers an archive in which files will be looked for. An archive
// is a compressed ZIP file.
//
/////////////////////////////////////////////////////////////////////
//	Archive	KP_Data.zip

/////////////////////////////////////////////////////////////////////
//
// Command: Decimal <string> <integer value>
//
// Declares an integer value to the kernel.
//
/////////////////////////////////////////////////////////////////////

//	decimal	HintHAL	1
//	decimal	HintRGB	1
//	#define	Device		"NVIDIA GeForce2 MX/MX 400"

//	decimal	Direct3D		1
//	decimal	OpenGL			1

//	#define	Renderer	"IceOpenGLRenderer"
//	#define	Renderer	"IceDX7Renderer"
	#define	Renderer	"IceDX9Renderer"

//	decimal	RUAGSound	1

/////////////////////////////////////////////////////////////////////
//
// Command: Float <string> <float value>
//
// Declares a float value to the kernel.
//
/////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////
//
// Command: #define <string> <string>
//
// Declares a string to the kernel.
//
/////////////////////////////////////////////////////////////////////

// Screen settings
//	decimal	Width		452
//	decimal	Height		382

//	decimal	Width		1600		// Screen width
//	decimal	Height		1200		// Screen height
	decimal	Width		1024		// Screen width
	decimal	Height		768		// Screen height
//	decimal	Width		640		// Screen width
//	decimal	Height		480		// Screen height
//	decimal	Width		1280		// Screen width
//	decimal	Height		1024		// Screen height

	decimal	Depth		32		// Screen depth
//	decimal	Fullscreen	0		// Fullscreen or window mode
	decimal	Stencil		1		// Wants a stencil buffer ? (make sure you run the program in 32bits)
	decimal	Antialiasing	0		// FSAA
	decimal	VSYNC		1		// Use VSync or not in fullscreen
	decimal	StretchOnResize	1

// FPS lock
//	decimal FPSLimit	80
//	decimal FPSLimit	30

// Animation settings
	decimal	DeltaT		60		// Framerate (Hz)
//	decimal	DeltaT		30		// Framerate (Hz)
//	decimal	DeltaT		10		// Framerate (Hz)

// Rendering settings
	decimal	UseSharedVBs	1		// Use shared vertex buffers or not
//	decimal	SharedVBSize	1024		// Vertex buffers (in Ko) - Default is 128
	decimal	SharedVBSize	128		// Vertex buffers (in Ko) - Default is 128
	decimal	HardwareMipmaps	1		// Enable/disable hardware mipmaps

// Mouse settings
	decimal	MouseFilter			1		// Use a mouse filter or not
	decimal	MouseFilterHistoryLength	20
	float	MouseFilterWeightModifier	0.9f
	float	MouseSensibility		0.002f

// Camera settings
	decimal	FreeCameraCollisions		1
	decimal	NbCameraIter			10
//	float	FreeCameraRadius		0.4f
//	float	FreeCameraRadius		1.0f
//	float	FreeCameraRadius		40.0f	// Archipelago
//	float	FreeCameraRadius		400.0f
//	float	FreeCameraRadius		4.0f	// Louvre
//	float	FreeCameraRadius		0.2f	// Eden
//	float	FreeCameraRadius		2.0f	// Loire
//	float	FreeCameraRadius		1.2f	// Snook
//	float	FreeCameraRadius		1.2f	// RUAG
	float	FreeCameraRadius		2.0f	// ONI

//	float	FreeCameraSpeed			0.0001f	// Archipelago
//	float	FreeCameraSpeed			0.01f	// Archipelago
//	float	FreeCameraSpeed			0.1f	// Gallery
//	float	FreeCameraSpeed			0.001f
//	float	FreeCameraSpeed			0.005f	// Louvre
//	float	FreeCameraSpeed			0.1f	// Gallery / big terrain
//	float	FreeCameraSpeed			0.0001f	// Eden
//	float	FreeCameraSpeed			0.03f	// Colliers
//	float	FreeCameraSpeed			1.0f	// Sweep test debug!
//	float	FreeCameraSpeed			0.004f	// Loire
//	float	FreeCameraSpeed			0.01f	// Snook
//	float	FreeCameraSpeed			0.03f	// RUAG
//	float	FreeCameraSpeed			0.003f	// ONI
	float	FreeCameraSpeed			0.05f	// ONI test camera box

	float	FreeCameraRotationSpeed		1.2f

	float	CameraMotionThreshold		0.00000001f

// Gravity
	float	Gravity		9.81f
	
// Grid settings
//	float	GridAltitude	-100.0f
	float	GridAltitude	0.0f
//	float	GridCoeff	0.1f

// Alpha-sort settings
	float	AlphaSortLimitAngle	0.01f	// 0 = always sort, 1 = never sort
//	float	AlphaSortLimitAngle	0
	decimal	UseSharedSorter		1

	#define	DynamicLightingMode	DLM_COARSE
	#define	SceneFogMode		SFM_DISABLE
	#define	DebugRenderMode		DBR_DISABLE
	#define	BatchingMode		SORT_TRANSFORMS_VERTICES_SHADERS
	#define	TriangleSortKey		TSK_CLOSESTPOINT
	#define	TextureFormat		TF_CHOOSE_BEST

	#define	CacheDirectory		".\Cache\"

/////////////////////////////////////////////////////////////////////
//
// Command: Accelerator <key> <method>
//
// Binds a key to a method.
//
/////////////////////////////////////////////////////////////////////

UnbindAll

// Help accelerators
	Accelerator	F		ChangeShowFPS
	Accelerator	I		ChangeShowInfo
	Accelerator	R		ChangeProfiling
	Accelerator	E		ChangeShowCoords
	Accelerator	F10		Dump

// Animation accelerators
	Accelerator	P		ChangePause
	Accelerator	O		ChangeOneFrame

// Scene accelerators
	Accelerator	F1		SetTextureControl
	Accelerator	F2		SetCameraControl
	Accelerator	F3		SetMeshControl
	Accelerator	F4		SetMaterialControl
	Accelerator	F5		SetSceneControl
	Accelerator	F6		SetLightControl
	Accelerator	F7		SetHelperControl
	Accelerator	F8		SetShapeControl
	Accelerator	F9		SetControllerControl
	Accelerator	F12		SetCharacterControl
	Accelerator	F11		SetParticleControl

//	Accelerator	B		ChangeBBoxMode
	Accelerator	T		ChangeTexturing
//	Accelerator	A		ChangeAntialiasing
	Accelerator	W		ChangeFillMode
	Accelerator	G		ChangeShading

//	Accelerator	N		ChangeAutoNormalize
//	Accelerator	C		ChangeComputeNormals

	Accelerator	K		PrintDecal

// Mesh accelerators
	Accelerator	M		MakeManifold
	Accelerator	U		Unfold
//	Accelerator	S		ChangeAutoSpin
//	Accelerator	X		Chaos
	Accelerator	Y		Butterfly
	Accelerator	L		LockedSmooth
// Misc
	Accelerator	DELETE		DeleteSelected
	Accelerator	+		SelectNext
	Accelerator	-		SelectPrevious

	Accelerator	H		ChangeHidden
	Accelerator	J		ChangeScreenQuad
	Accelerator	V		HasBeenHit

// We must leave those ones for camera control
	Accelerator	DOWN		UserIncrease
	Accelerator	UP		UserDecrease
	Accelerator	RIGHT		UserIncrease2
	Accelerator	LEFT		UserDecrease2

// We must leave those ones for player control
//	Accelerator	S		UserIncrease
//	Accelerator	Z		UserDecrease
//	Accelerator	D		UserIncrease2
//	Accelerator	Q		UserDecrease2

//	Accelerator	NUMPAD2		UserIncrease
//	Accelerator	NUMPAD8		UserDecrease
//	Accelerator	NUMPAD6		UserIncrease2
//	Accelerator	NUMPAD4		UserDecrease2
