Initial SAGA checkin. Disabled by default, enable with --enable-saga
but don't expect it to work. svn-id: r13280
This commit is contained in:
parent
f1cac1545b
commit
2fe422ad0c
4 changed files with 26 additions and 0 deletions
|
@ -79,6 +79,12 @@ else
|
|||
MODULES += queen
|
||||
endif
|
||||
|
||||
ifdef DISABLE_SAGA
|
||||
DEFINES += -DDISABLE_SAGA
|
||||
else
|
||||
MODULES += saga
|
||||
endif
|
||||
|
||||
# After the game specific modules follow the shared modules
|
||||
MODULES += \
|
||||
gui \
|
||||
|
|
|
@ -251,6 +251,10 @@ void PluginManager::loadPlugins() {
|
|||
#ifndef DISABLE_QUEEN
|
||||
LOAD_MODULE("queen", QUEEN);
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_SAGA
|
||||
LOAD_MODULE("saga", SAGA);
|
||||
#endif
|
||||
}
|
||||
|
||||
void PluginManager::unloadPlugins() {
|
||||
|
|
|
@ -165,6 +165,10 @@ DECLARE_PLUGIN(SWORD2)
|
|||
DECLARE_PLUGIN(QUEEN)
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_SAGA
|
||||
DECLARE_PLUGIN(SAGA)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
12
configure
vendored
12
configure
vendored
|
@ -38,6 +38,7 @@ _build_sky=yes
|
|||
_build_sword1=yes
|
||||
_build_sword2=yes
|
||||
_build_queen=yes
|
||||
_build_saga=no
|
||||
_need_memalign=no
|
||||
_build_plugins=no
|
||||
# more defaults
|
||||
|
@ -251,6 +252,7 @@ for ac_option in $@; do
|
|||
--disable-sword1) _build_sword1=no ;;
|
||||
--disable-sword2) _build_sword2=no ;;
|
||||
--disable-queen) _build_queen=no ;;
|
||||
--enable-saga) _build_saga=yes ;;
|
||||
--enable-alsa) _alsa=yes ;;
|
||||
--disable-alsa) _alsa=no ;;
|
||||
--enable-vorbis) _vorbis=yes ;;
|
||||
|
@ -443,6 +445,12 @@ else
|
|||
_mak_queen='# DISABLE_QUEEN = 1'
|
||||
fi
|
||||
|
||||
if test "$_build_saga" = no ; then
|
||||
_mak_saga='DISABLE_SAGA = 1'
|
||||
else
|
||||
_mak_saga='# DISABLE_SAGA = 1'
|
||||
fi
|
||||
|
||||
|
||||
if test -n "$_host"; then
|
||||
# Cross-compiling mode - add your target here if needed
|
||||
|
@ -789,6 +797,9 @@ fi
|
|||
if test "$_build_queen" = yes ; then
|
||||
echo " Flight of the Amazon Queen"
|
||||
fi
|
||||
if test "$_build_saga" = yes ; then
|
||||
echo " SAGA Engine"
|
||||
fi
|
||||
echo
|
||||
|
||||
echo_n "Backend... "
|
||||
|
@ -874,6 +885,7 @@ $_mak_sky
|
|||
$_mak_sword1
|
||||
$_mak_sword2
|
||||
$_mak_queen
|
||||
$_mak_saga
|
||||
|
||||
INCLUDES += $INCLUDES
|
||||
OBJS += $OBJS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue