allow queen to compile as plugin

svn-id: r10469
This commit is contained in:
Oliver Kiehl 2003-09-28 17:48:07 +00:00
parent 0ac7630ebb
commit 07fe952eef
2 changed files with 8 additions and 0 deletions

View File

@ -7,5 +7,10 @@ MODULE_OBJS = \
queen/queen.o \
queen/version.o \
# This module can be built as a plugin
ifdef BUILD_PLUGINS
PLUGIN := 1
endif
# Include common rules
include common.rules

View File

@ -23,6 +23,7 @@
#include "queen/queen.h"
#include "common/file.h"
#include "base/gameDetector.h"
#include "base/plugins.h"
extern uint16 _debugLevel;
@ -47,6 +48,8 @@ Engine *Engine_QUEEN_create(GameDetector *detector, OSystem *syst) {
return new QueenEngine(detector, syst);
}
REGISTER_PLUGIN("Flight of the Amazon Queen", Engine_QUEEN_targetList, Engine_QUEEN_create);
QueenEngine::QueenEngine(GameDetector *detector, OSystem *syst)
: Engine(detector, syst) {