view demos/rio_de_hola/settings-dist.xml @ 515:520bd1621644

Added a loadSettings function. Added the ability to set the valid screen resolutions. Fixed a problem with the settings dialog that kept the settings you selected even though you pressed cancel. When you press the "defaults" button it now applies the defaults and prompts the user to restart the game. Updated the shooter demo to display one valid screen resolution in its settings dialog.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 25 May 2010 15:02:16 +0000
parents 3dff106b945b
children 00aa20dc8b7f
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<Settings>
	<Module name="FIFE">
		<Setting name="FullScreen" type="int"> 0 </Setting>
		<Setting name="PlaySounds" type="int"> 1 </Setting>
		<Setting name="RenderBackend" type="str"> OpenGL </Setting>
		<Setting name="ScreenWidth" type="int"> 1024 </Setting>
		<Setting name="ScreenHeight" type="int"> 768 </Setting>
		<Setting name="BitsPerPixel" type="int"> 0 </Setting>
		<Setting name="InitialVolume" type="float"> 5.0 </Setting>
		<Setting name="SDLRemoveFakeAlpha" type="int"> 1 </Setting>
		<Setting name="WindowTitle" type="str"> FIFE - Rio de hola </Setting>
		<Setting name="WindowIcon" type="str"> gui/icons/boy.png </Setting>
		<Setting name="Font" type="str"> fonts/FreeSans.ttf </Setting>
		<Setting name="FontGlyphs" strip="0" type="str"> abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&amp;`'*#=[]\"</Setting>
		<Setting name="DefaultFontSize" type="int"> 16 </Setting>
		<Setting name="LogModules" type="list"> controller </Setting>
		<Setting name="PychanDebug" type="bool"> False </Setting>
		<Setting name="LogToPrompt" type="int"> 1 </Setting>
 		<Setting name="UsePsyco" type="bool"> False </Setting>
		<Setting name="ProfilingOn" type="bool"> False </Setting>
		<Setting name="LogToFile" type="int"> 0 </Setting>
	</Module>

	<Module name="rio">
		<Setting name="MapFile" type="str"> maps/shrine.xml </Setting>

		<Setting name="CoordinateLayerName" type="str"> TechdemoMapTileLayer </Setting>
		<Setting name="QuadTreeLayerName" type="str"> </Setting>

		<Setting name="heroTexts" type="list"> I wonder when the guys will get this world ready for me ; Bring it on baby, I'm ready for action! ; humm di dum.... </Setting>
		<Setting name="girlTexts" type="list"> Why I am running? Haven't you heard that the bees are coming?! ; Heeelp!!! The bees are going to get us! </Setting>
		<Setting name="beekeeperTexts" type="list"> Some idiot has grown mutated bees around here ; Want to take a look at my farm? ; Did you know that I actually cannot do anything else than stand still and greet everybody? </Setting>

		<Setting name="TestCameraPlacement" type="int"> 0 </Setting>
		<Setting name="TestRotationLayerName" type="str"> TechdemoMapTileLayer  </Setting>
		<Setting name="TestAgentSpeed" type="float"> 0.5 </Setting>
	</Module>
</Settings>