Open main menu

Difference between revisions of "HOWTO-Engines"

13 bytes added ,  22:04, 30 November 2010
m
Line 20: Line 20:
# Modify <tt>engines/engines.mk</tt> by adding your engine. It should be clear what to do by looking at what is done for the other engines there.
# Modify <tt>engines/engines.mk</tt> by adding your engine. It should be clear what to do by looking at what is done for the other engines there.
# Modify <tt>configure</tt> by adding a new add_engine line. Again, just check out what is done for the existing engines.
# Modify <tt>configure</tt> by adding a new add_engine line. Again, just check out what is done for the existing engines.
# Modify <tt>base/plugins.cpp</tt>; in particular, you have to add your engine to the list in StaticPluginProvider::getPlugins.
# Modify <tt>base/plugins.cpp</tt>; in particular, you have to add your engine to the list in <code>StaticPluginProvider::getPlugins</code>.


That's it. The difficult part is of course writing the Engine subclass. More on that in the next section!
That's it. The difficult part is of course writing the Engine subclass. More on that in the next section!
1,079

edits