aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2013-06-18 12:51:07 +0200
committeruruk2013-06-18 12:51:07 +0200
commit2c0e16d6e4a410164e5ce70d739006a479a3724e (patch)
tree4dcfdcbdf5b3a8401e518ace19f5e9a7784560ef /engines
parentf974bccbb0071c61521f072ecf803cb40910e8ab (diff)
downloadscummvm-rg350-2c0e16d6e4a410164e5ce70d739006a479a3724e.tar.gz
scummvm-rg350-2c0e16d6e4a410164e5ce70d739006a479a3724e.tar.bz2
scummvm-rg350-2c0e16d6e4a410164e5ce70d739006a479a3724e.zip
AVALANCHE: Hook the engine into ScummVM.
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/module.mk182
-rw-r--r--engines/configure.engines1
-rw-r--r--engines/engines.mk5
-rw-r--r--engines/plugins_table.h3
4 files changed, 191 insertions, 0 deletions
diff --git a/engines/avalanche/module.mk b/engines/avalanche/module.mk
new file mode 100644
index 0000000000..1240051640
--- /dev/null
+++ b/engines/avalanche/module.mk
@@ -0,0 +1,182 @@
+MODULE := engines/avalanche
+
+MODULE_OBJS = \
+ 1stoff.o \
+ access.o \
+ acci.o \
+ also.o \
+ andexor.o \
+ andexor2.o \
+ andextst.o \
+ arch.o \
+ avalot9.o \
+ avbkgrnd.o \
+ avmenu.o \
+ avvyans.o \
+ avvyans2.o \
+ avvymonk.o \
+ bakchunk.o \
+ basher.o \
+ bootstrp.o \
+ cadburys.o \
+ celer.o \
+ ch_egats.o \
+ charmap.o \
+ chunker.o \
+ chunkxf1.o \
+ chunkxf2.o \
+ chunkxf3.o \
+ chunkxf4.o \
+ chunkxf5.o \
+ chunkxf6.o \
+ chunkxf7.o \
+ chunkxf8.o \
+ chunkxf9.o \
+ chunkxfa.o \
+ chunkxfb.o \
+ chunkxfc.o \
+ chunkxfd.o \
+ chunkxfe.o \
+ chunkxff.o \
+ chunkxfg.o \
+ chunkxfh.o \
+ chunkxfi.o \
+ chunkxfj.o \
+ chunkxfk.o \
+ chunkxfl.o \
+ clock.o \
+ closing.o \
+ convert.o \
+ convmous.o \
+ credits.o \
+ displtxt.o \
+ dropdown.o \
+ dwidth.o \
+ edhead.o \
+ edna.o \
+ enhanced.o \
+ enid.o \
+ filer.o \
+ fileunit.o \
+ filing.o \
+ folktemp.o \
+ fontslid.o \
+ frere.o \
+ golden.o \
+ g-room.o \
+ gyro.o \
+ help.o \
+ help2.o \
+ helpbak.o \
+ helper.o \
+ hibits.o \
+ highs.o \
+ hiz.o \
+ incline.o \
+ initxf.o \
+ inputtes.o \
+ intro.o \
+ ints.o \
+ joysetup.o \
+ joystick.o \
+ loading.o \
+ logger.o \
+ lucerna.o \
+ magic2.o \
+ magidraw.o \
+ magishuf.o \
+ make!.o \
+ makeregi.o \
+ makesez.o \
+ makevmou.o \
+ menuxf.o \
+ minstran.o \
+ newsprit.o \
+ nim.o \
+ nimdraw.o \
+ nimunit.o \
+ oldfiler.o \
+ oldhighs.o \
+ oldincln.o \
+ oldtrip.o \
+ omtest.o \
+ oopmenu.o \
+ overlap.o \
+ overscro.o \
+ particle.o \
+ pictemp.o \
+ pictemp2.o \
+ pingo.o \
+ plottest.o \
+ preview1.o \
+ qintro.o \
+ qstars.o \
+ rawupd.o \
+ readsez.o \
+ reginam.o \
+ sackb1.o \
+ sackb3.o \
+ sackblas.o \
+ saving.o \
+ scr_1.o \
+ scr_2.o \
+ scr_3.o \
+ scr_4.o \
+ scr_5.o \
+ scr_9.o \
+ scrolls.o \
+ sequence.o \
+ setup.o \
+ seu.o \
+ seu_avvy.o \
+ sez.o \
+ sezedit.o \
+ sezunit.o \
+ sezxfr.o \
+ shell1.o \
+ shell2.o \
+ slope.o \
+ spread.o \
+ spread2.o \
+ squish.o \
+ ss_blank.o \
+ ss_clock.o \
+ stars.o \
+ status.o \
+ sticks.o \
+ sunrise.o \
+ tempo.o \
+ test.o \
+ test2.o \
+ testblit.o \
+ testcard.o \
+ testenh.o \
+ timeout.o \
+ travel.o \
+ trip.o \
+ trip3.o \
+ trip42.o \
+ trip5.o \
+ trip5tst.o \
+ trip5xf.o \
+ tripoop.o \
+ ttmenuxf.o \
+ unsquish.o \
+ viewdocs.o \
+ visa.o \
+ visatest.o \
+ waver.o \
+ xf_gover.o \
+ xf_help.o \
+ xf_visa.o \
+ xfbutton.o \
+ xfghost.o \
+ zapdraw.o
+
+# This module can be built as a plugin
+ifeq ($(ENABLE_AVALANCHE), DYNAMIC_PLUGIN)
+PLUGIN := 1
+endif
+
+# Include common rules
+include $(srcdir)/rules.mk
diff --git a/engines/configure.engines b/engines/configure.engines
index 15aa11d0ef..0f059e6c61 100644
--- a/engines/configure.engines
+++ b/engines/configure.engines
@@ -6,6 +6,7 @@ add_engine he "HE71+ games" yes
add_engine agi "AGI" yes
add_engine agos "AGOS" yes "agos2" "AGOS 1 games"
add_engine agos2 "AGOS 2 games" yes
+add_engine avalanche "Lord Avalot d'Argent" no
add_engine cge "CGE" yes
add_engine cine "Cinematique evo 1" yes
add_engine composer "Magic Composer" yes
diff --git a/engines/engines.mk b/engines/engines.mk
index b905a288c9..4f38629dad 100644
--- a/engines/engines.mk
+++ b/engines/engines.mk
@@ -26,6 +26,11 @@ DEFINES += -DENABLE_AGOS2
endif
endif
+ifdef ENABLE_AVALANCHE
+DEFINES += -DENABLE_AVALANCHE=$(ENABLE_AVALANCHE)
+MODULES += engines/avalanche
+endif
+
ifdef ENABLE_CGE
DEFINES += -DENABLE_CGE=$(ENABLE_CGE)
MODULES += engines/cge
diff --git a/engines/plugins_table.h b/engines/plugins_table.h
index 44979458ca..6d623e5003 100644
--- a/engines/plugins_table.h
+++ b/engines/plugins_table.h
@@ -8,6 +8,9 @@ LINK_PLUGIN(AGI)
#if PLUGIN_ENABLED_STATIC(AGOS)
LINK_PLUGIN(AGOS)
#endif
+#if PLUGIN_ENABLED_STATIC(AVALANCHE)
+LINK_PLUGIN(AVALANCHE)
+#endif
#if PLUGIN_ENABLED_STATIC(CGE)
LINK_PLUGIN(CGE)
#endif