Mercurial > fife-parpg
view demos/rio_de_hola/settings-dist.xml @ 697:ecaa4d98f05f tip
Abstracted the GUI code and refactored the GUIChan-specific code into its own module.
* Most of the GUIChan code has been refactored into its own gui/guichan module. However, references to the GuiFont class still persist in the Engine and GuiManager code and these will need further refactoring.
* GuiManager is now an abstract base class which specific implementations (e.g. GUIChan) should subclass.
* The GUIChan GUI code is now a concrete implementation of GuiManager, most of which is in the new GuiChanGuiManager class.
* The GUI code in the Console class has been refactored out of the Console and into the GUIChan module as its own GuiChanConsoleWidget class. The rest of the Console class related to executing commands was left largely unchanged.
* Existing client code may need to downcast the GuiManager pointer received from FIFE::Engine::getGuiManager() to GuiChanGuiManager, since not all functionality is represented in the GuiManager abstract base class. Python client code can use the new GuiChanGuiManager.castTo static method for this purpose.
author | M. George Hansen <technopolitica@gmail.com> |
---|---|
date | Sat, 18 Jun 2011 00:28:40 -1000 |
parents | e3140f01749d |
children |
line wrap: on
line source
<?xml version='1.0' encoding='UTF-8'?> <Settings> <Module name="FIFE"> <Setting name="FullScreen" type="bool"> False </Setting> <Setting name="PlaySounds" type="bool"> True </Setting> <Setting name="RenderBackend" type="str"> OpenGL </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> <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.,!?-+/():;%&`'*#=[]\"</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> <Setting name="Lighting" 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>