X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=README.md;h=1f554cd4076b43bb166f6ff2f99f3c1112548a43;hb=7c11cb66608d5e335a19820e3392d6a7016cf7ce;hp=e6ffc1d5276159c8eca814d1ac3bb400699f2d6e;hpb=a6239500f9d2c42e9c6d8922af0aeeea366b2d7e;p=dungeon_game.git diff --git a/README.md b/README.md index e6ffc1d..1f554cd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ You might want to include the game.h file from plugins/game/game.h. Have a look Controls: WASD to move, Q to quit. -To build the loader and the plugins in the plugins/ folder, simply type `make` or `make all`. There are separate targets for the loader (`dungeon`) and the plugins. The plugins target simply triggerst all Makefiles that are placed in plugin directories, so you might want to include a makefile in your plugin. +To build the loader and the plugins in the plugins/ folder, simply type `make` or `make all`. There are separate targets for the loader (`dungeon`) and the plugins. All Makefiles that are placed in plugin directories, so you might want to include a makefile in your plugin. The plugins target simply depends on ${PLUGINS}, so just add things to this in your plugin Makefile to add them to the plugins target (usually your plugin.so) To run the loader, type `./dungeon`. It will load all plugins including the game itself dynamically and run the game. Plugins are loaded in alphabethical order, with the exception of the game plugin that is loaded first. If you want to make a plugin that depends on another plugin, make sure the other plugin is loaded first by setting the name of your plugin accordingly. A cleaner solution to this is coming soon.