---------------------------------------------------------------------------------------------------
--  Copyright © 2009 PoBros, Incorporated. All Rights Reserved.
--
--  This source code is the proprietary confidential property of PoBros Incorporated.
--  Modification, reproduction, publication, or distribution in any form to any party 
--  other than the licensee is strictly prohibited.
--
--  FOR USE BY AUTHORIZED PERSONS ONLY
---------------------------------------------------------------------------------------------------

require( "scripts/style.lua" );

-- Add default cursor to CursorOverlayController
AddOverlayCursor( gs_cursorDefaultTable );

---------------------------------------------------------------------------------------------------

MakeDialog
{
	name = "splashscreen";

	SplashScreen
	{
		x = 0;
		y = 0;
		w = kMax;
		h = kMax;
		fade = false;
		soundlogo = gs_soundLogo;
		screen1 = "backgrounds/splashscreen1";
		screen2 = "backgrounds/splashscreen2";
		publisherduration = 2000;
		publisheroutro = 1000;
		pobrosintro = 3000;
		pobrosduration = 3500;
		pobrosoutro = 250;
		soundgroups = gs_soundGroups;
				
		assets =
		{			
			graphics =
			{
				gs_dialogScrim;
				gs_dialogImage;
			};
			
			audio =
			{
				gs_soundWindowExit;
			};
		};

		Text
		{
			name = "copyright";
			label = "#"..GetString( "version", GetGameVersion() );
			x = kCenter;
			y = kMax - 80;
			w = kMax;
			h = 75;
			flags = kHAlignCenter + kVAlignBottom;
			font = SpalshScreenCopyrightFont;
		};
	};
};

---------------------------------------------------------------------------------------------------