Mercurial > fife-parpg
diff engine/core/eventchannel/eventmanager.cpp @ 694:ca1fcb96907d
Added pre- and post-rendering hooks for executing custom rendering code.
* The functions FIFE::Engine.register(Pre|Post)RenderingHook are used to register custom rendering hooks to execute before and after thepredefined rendering functions in the main loop.
* The rendering hook registration functions are also exposed to the Python bindings and accept any native C or Python functions.
author | M. George Hansen <technopolitica@gmail.com> |
---|---|
date | Fri, 10 Jun 2011 23:35:30 -1000 |
parents | b312d170ab0c |
children | 47d58c7a95d7 |
line wrap: on
line diff
--- a/engine/core/eventchannel/eventmanager.cpp Tue Apr 19 16:13:37 2011 +0000 +++ b/engine/core/eventchannel/eventmanager.cpp Fri Jun 10 23:35:30 2011 -1000 @@ -434,8 +434,9 @@ } void EventManager::processMouseEvent(SDL_Event event) { - if(dispatchSdlEvent(event)) - return; + // FIXME Technomage 2011-02-02: Guichan just consumes all mouse events. +// if(dispatchSdlEvent(event)) +// return; MouseEvent mouseevt; mouseevt.setSource(this);