<game>
  <assign name="MOUSEMESSAGEVAR" expr="'_level0.__mouse_message_var'"/>
  <include url="..\container\start_offline.xml"/>

  <!-- set game specific options -->
  <ref alias="file://tik_init">
    <data>
	<v name="splash"         value="false"/>
	<v name="logotype"       value="true"/>
	<v name="maxhighscores"  value="5"/>
	<v name="highscorelist"  value="name,balance,revenue,week,id"/>
	<v name="menu"           value="true"/>
	<v name="helpAsTest"     value="false"/>
	<v name="isMenuPause"    value="false"/>
	<v name="isMenuHide"     value="true"/>
	<v name="isEscPause"     value="false"/>
	<v name="saves"	         value="true"/>
	<v name="isSelectName"	 value="false"/>
	<v name="isSeqMusic"     value="true" />
    </data>
    <xmllist>
        <xml name="version"      url="xml\version.xml"/>
        <xml name="layouts"      url="xml\layouts.xml"/>
        <xml name="components"   url="xml\components.xml"/>
        <xml name="resources"    url="xml\resources.xml"/>
    </xmllist>
    <paths>
    	<base name="logo_splash" url="ext_logo_splash.png"/>
	<base name="logo_game" url="ext_logo_game.png"/>
    </paths>
    <registryDefault numtype="min:max">
		<gdifficulty  type="number"  def="0" min="0" max="2"/>
		<gplayername  type="string"  def="Player"/>
		<musicNumber  type="number"  def="0" min="0" max="2"/>
		<effectVolume type="number"  def="50" min="0" max="100"/>
		<musicVolume  type="number"  def="20" min="0" max="100"/>
		<enableSound  type="boolean" def="true"/>
		<fullscreen   type="boolean" def="true"/>
		<playersList  type="string" def="" />
		<playerNum    type="number" def="-1" min="-1" max="1000"/>
		<seeaimoves   type="boolean" def="true"/>
		<disableFullscreen type="boolean" def="true" />
    </registryDefault>

    <libraries>
    	<container name="container" url="ui\container.swf"/>
		<help      name="help" url="ui\help.swf"/>
		<controls  name="controls" url="ui\controls.swf"/>
    	<logotype name="logotype" url="..\container\logotype.swf"/>
		<!--<test      name="test" url="ui\test.swf"/>-->
    </libraries>

   	<soundlibs>
    	<effects>
         	<container>
         		<csound name="csound" url="sound\csound.swf" depth="1"/>
         	</container>
         	<game>
         		<gsound name="gsound" url="sound\gsound.swf" depth="2"/>
         	</game>
    	</effects>
        <musics>
	        <music name="music" id="proba2" url="sound\music\ctmusic.swf"/>
        </musics>
    </soundlibs>
    <seq_info>
    	<music title="Main Screen" music_id="proba2" seq_id="standard" />
    </seq_info>
    <seq_definition>
	<standard>
		<s name="new_1"   count="1" />
		<s name="new_2"   count="1" />
		<s name="new_3"   count="1" />
	</standard>
    </seq_definition>
    <helpdata>
    	<data name="common" pages="1,2"/>
    	<data name="game1"  pages="1,2"/>
    	<data name="game2"  pages="1,2"/>
    </helpdata>

    <gamedata>
    	<games>
    		<game name="game1" menu="true" autosave="true" func="game_moviemogul" sfunc="game" linkage="game" />
		<game name="game2" menu="true" autosave="true" func="game_moviemogul" sfunc="game" linkage="game" />
    	</games>
    	<functions>
			<game_moviemogul>
    			<game name="game" url="ui\game.swf" depth="20"/>
   			</game_moviemogul>
    	</functions>
    </gamedata>
  </ref>

  <!-- assign game properties -->
  <function name="InitGame">
	  <assign name="ICON" expr="'res\icon32x32.ico'"/>
	  <assign name="CAPTION"  expr="'Monopoly'"/>
	  <assign name="GAMENAME" expr="'Monopoly'"/>
	  <assign name="CENTER" expr="'on'"/>
	  <assign name="POSITION" expr="'0,0,1024,768'"/>
	  <assign name="SHOWCAPT" expr="'true'"/>
  </function>
  
  <!-- entry point -->
  <call name="LoadCommon"/>
  <call name="InitGame"/>
</game>       