Mercurial > fife-parpg
diff demos/rpg/settings-dist.xml @ 538:00aa20dc8b7f
Made the Setting class much more customizable by adding the SettingEntry class.
Adopted demos to the changes
Note:
Setting ScreenWidth and ScreenHeight are now combined into ScreenResolution of format <width>x<height>
FullScreen and PlaySounds are now of type bool
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 01 Jun 2010 18:14:26 +0000 |
parents | 764510a6d2f9 |
children | 2e739ae9a8bc |
line wrap: on
line diff
--- a/demos/rpg/settings-dist.xml Mon May 31 21:37:10 2010 +0000 +++ b/demos/rpg/settings-dist.xml Tue Jun 01 18:14:26 2010 +0000 @@ -1,11 +1,10 @@ <?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="FullScreen" type="bool"> False </Setting> + <Setting name="PlaySounds" type="bool"> True </Setting> <Setting name="RenderBackend" type="str"> OpenGL </Setting> - <Setting name="ScreenWidth" type="int"> 1024 </Setting> - <Setting name="ScreenHeight" type="int"> 768 </Setting> + <Setting name="ScreenResolution" type="str">1024x768</Setting> <Setting name="BitsPerPixel" type="int"> 0 </Setting> <Setting name="InitialVolume" type="float"> 5.0 </Setting> <Setting name="SDLRemoveFakeAlpha" type="int"> 1 </Setting> @@ -32,7 +31,7 @@ <Setting name="ActorLayer" type="str"> actor_layer </Setting> <Setting name="ItemLayer" type="str"> item_layer </Setting> <Setting name="HelpText" type="str"> misc/help.txt </Setting> - + <Setting name="DefaultActorWalkSpeed" type="float"> 2.5 </Setting> </Module> </Settings>