mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
GROOVIE: Only compile ROQ when groovie2 is enabled
This commit is contained in:
parent
8bdf4e38be
commit
98dbb8070b
@ -29,10 +29,13 @@
|
||||
#include "groovie/graphics.h"
|
||||
#include "groovie/music.h"
|
||||
#include "groovie/resource.h"
|
||||
#include "groovie/roq.h"
|
||||
#include "groovie/stuffit.h"
|
||||
#include "groovie/vdx.h"
|
||||
|
||||
#ifdef ENABLE_GROOVIE2
|
||||
#include "groovie/roq.h"
|
||||
#endif
|
||||
|
||||
#include "common/config-manager.h"
|
||||
#include "common/debug-channels.h"
|
||||
#include "common/events.h"
|
||||
@ -159,7 +162,9 @@ Common::Error GroovieEngine::run() {
|
||||
case kGroovieV2:
|
||||
_resMan = new ResMan_v2();
|
||||
_grvCursorMan = new GrvCursorMan_v2(_system);
|
||||
#ifdef ENABLE_GROOVIE2
|
||||
_videoPlayer = new ROQPlayer(this);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -12,12 +12,16 @@ MODULE_OBJS := \
|
||||
music.o \
|
||||
player.o \
|
||||
resource.o \
|
||||
roq.o \
|
||||
saveload.o \
|
||||
script.o \
|
||||
stuffit.o \
|
||||
vdx.o
|
||||
|
||||
ifdef ENABLE_GROOVIE2
|
||||
MODULE_OBJS += \
|
||||
roq.o
|
||||
endif
|
||||
|
||||
# This module can be built as a plugin
|
||||
ifeq ($(ENABLE_GROOVIE), DYNAMIC_PLUGIN)
|
||||
PLUGIN := 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user