diff demos/shooter/settings-dist.xml @ 499:3dff106b945b

Combined the settings extension with the editor settings module. It is now a little more robust. Note that the settings file format has changed. All demos and tools now use the new settings extension.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 14 May 2010 17:37:42 +0000
parents 987307d12235
children 00aa20dc8b7f
line wrap: on
line diff
--- a/demos/shooter/settings-dist.xml	Fri May 14 16:23:52 2010 +0000
+++ b/demos/shooter/settings-dist.xml	Fri May 14 17:37:42 2010 +0000
@@ -1,24 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
 <Settings>
-	<FullScreen> 0 </FullScreen>
-	<PlaySounds> 1 </PlaySounds>
-	<RenderBackend> OpenGL </RenderBackend>
-	<ScreenWidth> 1024 </ScreenWidth>
-	<ScreenHeight> 768 </ScreenHeight>
-	<BitsPerPixel> 0 </BitsPerPixel>
-	<InitialVolume> 5.0 </InitialVolume>
-	<SDLRemoveFakeAlpha> 1 </SDLRemoveFakeAlpha>
-	<WindowTitle> FIFE - Shooter Demo </WindowTitle>
-	<WindowIcon> </WindowIcon>
-
-	<MapFile> maps/shrine.xml </MapFile>
-	<Font> fonts/FreeSans.ttf </Font>
-	<FontGlyphs> abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&amp;`'*#=[]\"</FontGlyphs>
-	<DefaultFontSize> 16 </DefaultFontSize>
-	<LogModules> controller </LogModules>
-	<PychanDebug> False </PychanDebug>
-	<LogToPrompt> 1 </LogToPrompt>
-	<LogToFile> 0 </LogToFile>
-	<UsePsyco> False </UsePsyco>
-	<ProfilingOn> False </ProfilingOn>
-	<ImageChunkSize> 256 </ImageChunkSize>
+	<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 - Shooter Demo </Setting>
+		<Setting name="WindowIcon" type="str"></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 ; audio ; vfs ; script ; loaders ; pool ; view ; video ; model ; metamodel ; event_channel ; xml </Setting>
+		<Setting name="PychanDebug" type="bool"> False </Setting>
+		<Setting name="LogToPrompt" type="int"> 1 </Setting>
+		<Setting name="LogToFile" type="int"> 0 </Setting>
+	</Module>
+	<Module name="shooter">
+		<Setting name="MaxSounds" type="int">100</Setting>
+	</Module>
 </Settings>