Open main menu

Difference between revisions of "HOWTO-Engines"

212 bytes added ,  11:22, 6 July 2009
Added link to truecolor API reference.
m (→‎Example: engines/quux/quux.cpp: little style fix. (got rid of a needless OSystem::getEventManager call))
(Added link to truecolor API reference.)
Line 98: Line 98:


Additionally ScummVM offers way of recording all events and then playing them back on request. That could be used for "demoplay" mode. But to ensure that it will work for your engine, you have to register your RandomSource class instance. See example engine below.
Additionally ScummVM offers way of recording all events and then playing them back on request. That could be used for "demoplay" mode. But to ensure that it will work for your engine, you have to register your RandomSource class instance. See example engine below.
=== True RGB color support ===
If you need to support more than 256 colors in your game engine, please refer to [[API-Truecolor|the truecolor API reference page]] for specifications and initialization protocol.


== Example ==
== Example ==
20

edits