Difference between revisions of "HOWTO-Engines"

Jump to navigation Jump to search
393 bytes added ,  13:14, 30 March 2007
(Started work on a section on file name conventions)
Line 29: Line 29:
{| border="1" cellpadding="2" width=100%
{| border="1" cellpadding="2" width=100%
|-
|-
|ENGINENAME.h || Contains your Engine subclass
|ENGINENAME.h || Contains your (primary) Engine subclass.
|-
|-
|ENGINENAME.cpp || Contains at least the constructor and destructor of your Engine subclass
|ENGINENAME.cpp || Contains at least the constructor and destructor of your (primary) Engine subclass, as well as the implementations of the mandatory (i.e. pure virtual) Engine methods.
|-
|-
|saveload.cpp || Code related to savegames
|saveload.cpp || Code related to savegames
|-
|-
|plugin.cpp || The implementation of the plugin interface, as described in <code>base/plugins.h</code>
|plugin.cpp || The implementation of the plugin interface, as described in <code>base/plugins.h</code>
|-
|detection.cpp || Code related to game detection (usually contained in plugin.cpp, but can be factored out if necessary)
|-
|gfx.cpp (alt: graphics.cpp) || Graphics code
|-
|sound.cpp || Sound code
|-
|inter.cpp, logic.cpp, script.cpp || Game logic, resp. script/bytecode interpreter
|}
|}


1,079

edits

Navigation menu