require "scripts/style"

-- gRows and gColumns are set up in mainmenu.lua

-- Our mini-game set-up
MakeDialog
{
	-- Name the modal dialog
	name="thegame",
	Bitmap
	{
		name="backgroundimage",
		image="backgrounds/mainmenu",

		HOGameWindow
		{
			x=0,
			y=0,
			w=1024,
			h=768,
			loadingtext_h=100,
			loadingtext_fh=60,
			loadingtext_yoff=100,
			name="hogame",
			rows=gRows,
			columns=gColumns,
			--CONSTANTS
			darken_effect_time=300,
			saveEveryTransition=1,
			saveEveryMinigame=1,
			saveEveryObjectList=1,
			--dropTypeCode="d",--"d"=drop,"m"=linear,"s"=stationary,"j"=jitter
			--enableFadeinItemDrop=1,
			--enableFadeoutItemDrop=1,
			--comment (add --) the line below if you want cheats disabled.
			--cheat_enabled=1,
			--END OF CONSTANTS
		},

--		SetStyle( ButtonStyle ),
--		Button
--		{
--			x=kMax-200,
--			y=kMax-100,
--			name="pause",
--			label="pause",
--			cancel=true,
--			command=
--				function()
--					DoModal("scripts/pause.lua");
--				end
--		},
	},
}