Open main menu

Difference between revisions of "HOWTO-Engines"

124 bytes removed ,  20:20, 27 April 2007
→‎File name conventions: Getting rid of plugin.cpp in favor of detection.cpp
(→‎File name conventions: Getting rid of plugin.cpp in favor of detection.cpp)
Line 34: Line 34:
|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.
|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.
|-
|-
|plugin.cpp || The implementation of the plugin interface, as described in <code>base/plugins.h</code> (can also be in ENGINENAME.cpp)
|detection.cpp || Code related to game detection. Also contains 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 or ENGINENAME.cpp, but can be factored out if necessary)
|-
|-
|saveload.cpp || Code related to savegames
|saveload.cpp || Code related to savegames
1,079

edits