561
edits
(Add semicolon to REGISTER_PLUGIN) |
(→Subclassing Engine: adds note about EVENT_SCREEN_CHANGED) |
||
Line 33: | Line 33: | ||
TODO: At the very least, describe the plugin interface: I.e. which functions *must* be implemented, and what they are supposed to do. Once again, sample code would be nice. | TODO: At the very least, describe the plugin interface: I.e. which functions *must* be implemented, and what they are supposed to do. Once again, sample code would be nice. | ||
Important: If you're using the ScummVM GUI (g_gui and stuff) you have always to call g_gui.handleScreenChanged() if you recived a OSystem::EVENT_SCREEN_CHANGED event, else it could be that your gui looks strange or even crashes ScummVM. | |||
=== Example: engines/quux/quux.h === | === Example: engines/quux/quux.h === |
edits