Mercurial > fife-parpg
view tools/editor/settings-dist.xml @ 556:1d60e0223117
Added a check when a new entry is added to the settings.
If get returns None, it is assumed the entry is not presenta in the current settings file, thus the default is copied and the check is repeated.
If it is still not found a warning is printed.
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 18 Jun 2010 08:51:05 +0000 |
parents | 64738befdf3b |
children | e34b44afd428 |
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 - Editor </Setting> <Setting name="WindowIcon" type="str"></Setting> <Setting name="MapFile" type="str"> maps/shrine.xml </Setting> <Setting name="Font" type="str"> fonts/FreeSans.ttf </Setting> <Setting name="FontGlyphs" strip="0" type="str"> abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"</Setting> <Setting name="LogModules" type="list"> controller</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="Plugins"> <Setting name="HistoryManager" type="bool">True</Setting> <Setting name="LayerTool" type="bool">True</Setting> <Setting name="ObjectEdit" type="bool">True</Setting> <Setting name="ObjectSelector" type="bool">True</Setting> </Module> </Settings>