32 #include <objc/runtime.h>
51 class VFSSourceFactory;
60 class SoundClipManager;
225 objc_object *m_autoreleasePool;
EngineSettings m_settings
void pump()
Runs one cycle for the engine.
Abstract interface for all the renderbackends.
This class defines the engine settings on engine init.
ImageManager * m_imagemanager
RenderBackend * getRenderBackend() const
Provides access point to the RenderBackend.
TimeManager * getTimeManager() const
Provides access point to the TimeManager.
void addChangeListener(IEngineChangeListener *listener)
Adds new change listener.
Model * getModel() const
Provides access point to the Model.
Engine acts as a controller to the whole system Responsibilities of the engine are: ...
RenderBackend * m_renderbackend
IGUIManager * getGuiManager() const
Provides access point to the GUI Manager.
void finalizePumping()
Finalizes the continuous processing of the engine Call this only once in your program, after you have called initializePumping + (pump() * N times)
std::vector< IEngineChangeListener * > m_changelisteners
void destroy()
Explicit destruction of engine.
LogManager * getLogManager() const
Provides access point to the LogManager.
virtual void onScreenModeChanged(const ScreenMode &newmode)=0
Screen mode has been changed.
TargetRenderer * m_targetrenderer
SoundManager * m_soundmanager
void initializePumping()
Initializes the continuous processing of the engine Call this only once in your program.
Cursor * getCursor() const
Returns cursor used in the engine.
void init()
Initializes the engine.
EngineSettings & getSettings()
Gets settings class for engine.
LogManager * m_logmanager
const DeviceCaps & getDeviceCaps() const
Gets device capabilities.
void removeChangeListener(IEngineChangeListener *listener)
Removes associated change listener.
EventManager * m_eventmanager
TimeManager * m_timemanager
A model is a facade for everything in the model.
SoundClipManager * getSoundClipManager() const
Provides access point to the SoundClipManager.
OffRenderer * m_offrenderer
IGUIManager * m_guimanager
EventManager * getEventManager() const
Provides access point to the EventManager.
Event Manager manages all events related to FIFE.
virtual ~Engine()
Destructor.
Cursor class manages mouse cursor handling.
std::vector< RendererBase * > m_renderers
the main VFS (virtual file system) class
Logmanager takes care of log filtering and output direction.
SoundClipManager * m_soundclipmanager
ImageManager * getImageManager() const
Provides access point to the ImageManager.
TargetRenderer * getTargetRenderer() const
Provides access point to the TargetRenderer.
SoundManager * getSoundManager() const
Provides access point to the SoundManager.
OffRenderer * getOffRenderer() const
Provides access point to the OffRenderer.
virtual ~IEngineChangeListener()
void setGuiManager(IGUIManager *guimanager)
Sets the GUI Manager to use.
VFS * getVFS() const
Provides access point to the VFS.
void changeScreenMode(const ScreenMode &mode)
Changes the screen mode.