Mercurial > fife-parpg
view build/mac/README @ 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 | 4a0efb7baf70 |
children |
line wrap: on
line source
Just a temporary README that was extracted from a mail of our Mac developer James Lacey, a useful README should be written for Mac users later to replace this version: I have written up the Mac build instructions here: http://wiki.fifengine.de/index.php?title=Mac_compile_guide. mac_build.tar.bz2 contains a patch file against SVN containing the changes I made. It also includes SDLMain.m and SDLMain.h. I put a copy of both those files in the following directories: core/src/guimap_test core/src/mapview_test core/src/writetest Also attached are the pkgconfig files (*.pc) that I hacked together so the SCons script would find the library locations. Up next, I am going to work on a Universal Binary build and try to make the SCons configure script more Mac-friendly (if possible). If anyone finds any mistakes or omissions, please let me know so I can correct them. Thanks, James