///////////////////////////////////////////////////////////////////////////////
//
// Copyright 1997-98 Activision Studios, Strategy Group
//
// Battlezone II - Core System Configuration File
//

// Configure game file system
ConfigureFileSystem()
{
	// Appends a relative path to MyDocs\My Games\Battlezone II. This must
	// appear before anything using it, directly or indirectly.
	//	AppendToMyDocs("pb6");

	// Setup base data
	ConfigureStream("base")
	{
		// Look in "InTheShadows" first
		AddDirRecurse("@rootdir\InTheShadows");
		// Look in "InTheShadows.pak" next
		AddPack("@rootdir\InTheShadows\InTheShadows.pak");

		// Look in "addon" next
		AddDirRecurse("@rootdir\addon");
		// Maps13 folder -- has all stock IA, MP maps. Done so MODs
		// can choose to not show these maps fairly easily. Note: only
		// the .bzn/.inf for the maps live in maps13. All of the rest
		// of the map files (.trn, .sky, .ter, etc) still live in
		// patch13.pak.
		AddDirRecurse("@rootdir\maps13");

		// Look at pakfiles next
		AddPack("@rootdir\patch13.pak");
		AddPack("@rootdir\data.pak");

		// Bumps are in patch13.pak, starting with b72
		//		AddPack("@rootdir\bumps.pak");

		// Look in "data" last, and only last.
		AddDirRecurse("@rootdir\data");
	}

	// Make it active
	SetActiveStream("base");

	// Optional, for mods -- the ability to put pilots, savegames &
	// editor saves in other directories. Commented out to simply
	// demonstrate how to do it. You can use '@rootdir' or
	// '@mydocsdir' as shortcuts to either the (1) the directory
	// bzone.exe resides in, or (2) {$MyDocs}\My Games\Battlezone II ,
	// respectively. (If AppendToMyDocs is used, that's tacked on to
	// (2) above)

	//	SetPilotsDirectory("pilots");
	//	SetSavesDirectory("saved");
	//  SetEditorDirectory("@mydocsdir\EditorSaves");
}
