plugins.txt
TinyMAZE/doc/plugins.txt · 1.4 KB
From the archive TinyMAZEv2.5a.tar.gz
Download the archive « Back to the archive contents
TinyMAZE Plugins
----------------
As of version 2.5a, TinyMAZE has built-in plugin support making addition
of plugins very simple and quick.
Adding Plugins
--------------
1) cd to the src/ directory and uncompress the plugin.tar.gz file there.
1) Uncompress the plugin.tar.gz file.
2) Edit the src/maze/plugins.c and add '"#include <plugin>.h"' to the
end of the #include list. <plugin> should be replaced with the plugin
name (i.e. #include "board.h").
3) Find the plugin_startup function in src/maze/plugins.c and add add
the line 'do_<plugin>_startup()' between the curly braces ({})
(i.e. 'do_board_startup()').
4) Edit the src/plugins/<plugin>.c file and edit the first few lines to
your liking.
5) Add 'plugins/<plugin>.o' to src/Makefile after PLUGIN_OBJS.
Where to Get Plugins
--------------------
You can currently get all TinyMAZE plugins from
'ftp://dreams.cpugeek.com/pub/TinyMAZE/plugins/'. If anyone is interested
in helping development of TinyMAZE plugins please contact me so I can add
it to the main distribution server. I'm also available for an indepth
tutoring of helpful functions, etc. that aid in development.
Contacting Me
-------------
You can get a hold of me at itsme@dreams.cpugeek.com or you can find me
at the TinyMAZE beta site at dreams.cpugeek.com port 4224.