3f59fc8b77
This is a port of Wolf4SDL, which is derived from the original id software source release. The port runs on top of the SDL plugin runtime and is loaded as an overlay. Licensing of the game code is not an issue, as discussed below (essentially, the Debian project treats Wolf4SDL as GPLv2, with an email from John Carmack backing it up): http://forums.rockbox.org/index.php?topic=52872 Included is a copy of MAME's Yamaha OPL sound chip emulator (fmopl_gpl.c). This file was not part of the original Wolf4SDL source (which includes a non-GPL'd version), but was rather rebased from from a later MAME source which had been relicensed to GPLv2. Change-Id: I64c2ba035e0be7e2f49252f40640641416613439
104 lines
2.5 KiB
Text
104 lines
2.5 KiB
Text
/* For all targets */
|
|
shortcuts
|
|
text_viewer
|
|
|
|
/* For various targets... */
|
|
|
|
#if CONFIG_RTC
|
|
clock
|
|
#endif
|
|
|
|
/* For all targets with a bitmap display */
|
|
#ifdef HAVE_LCD_BITMAP
|
|
|
|
/* color horizontal-stride LCDs */
|
|
#if defined(HAVE_LCD_COLOR) && \
|
|
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))
|
|
xworld
|
|
|
|
/* for duke, etc. */
|
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && (PLUGIN_BUFFER_SIZE > 0x14000) && \
|
|
defined(CPU_ARM)
|
|
sdl
|
|
#endif
|
|
puzzles
|
|
#endif
|
|
|
|
#if (CONFIG_KEYPAD != ONDIO_PAD) /* not enough buttons */ \
|
|
&& (CONFIG_KEYPAD != SANSA_M200_PAD) /* not enough buttons */ \
|
|
&& (CONFIG_KEYPAD != HM60X_PAD) /* not enough buttons */ \
|
|
&& (LCD_PIXELFORMAT != HORIZONTAL_PACKING) /* TODO */ \
|
|
&& (LCD_PIXELFORMAT != VERTICAL_INTERLEAVED) /* TODO */ \
|
|
&& (defined(HAVE_LCD_COLOR) || (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) || \
|
|
(LCD_HEIGHT == 128) && (LCD_DEPTH == 2))
|
|
rockboy
|
|
#endif
|
|
|
|
#if defined(HAVE_TAGCACHE)
|
|
pictureflow
|
|
#endif
|
|
|
|
#if CONFIG_CODEC == SWCODEC && PLUGIN_BUFFER_SIZE > 0x20000
|
|
fft
|
|
#endif
|
|
|
|
chessbox
|
|
fractals
|
|
imageviewer
|
|
sudoku
|
|
reversi
|
|
goban
|
|
|
|
/* setjmp/longjmp are not implemented on sh */
|
|
#if (CONFIG_CPU != SH7034)
|
|
frotz
|
|
#endif
|
|
|
|
#ifndef OLYMPUS_MROBE_500
|
|
#if PLUGIN_BUFFER_SIZE > 0x40000 || PLUGIN_BUFFER_SIZE <= 0x20000 /* overlay */
|
|
zxbox
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* HAVE_LCD_BITMAP */
|
|
|
|
/* For all big enough colour screens, iriver H1x0 and iAudio M5 */
|
|
#if defined(HAVE_LCD_COLOR) && ( (LCD_HEIGHT >= 90 && LCD_WIDTH >=116) \
|
|
|| (LCD_HEIGHT >= 96 && LCD_WIDTH >=75) ) \
|
|
|| defined(IRIVER_H100_SERIES) || defined(IAUDIO_M5)
|
|
pacbox
|
|
#endif
|
|
|
|
#if (defined(HAVE_LCD_COLOR) || defined(MROBE_100) || defined(SANSA_CLIPPLUS) \
|
|
|| defined(SANSA_CLIPV2) || (LCD_DEPTH == 2)) \
|
|
&& (MEMORYSIZE > 2 && !defined(RB_PROFILE))
|
|
doom
|
|
#endif
|
|
|
|
/* For all the swcodec targets */
|
|
#if CONFIG_CODEC == SWCODEC
|
|
|
|
#if MEMORYSIZE > 2 /* we need a lot of RAM for instruments */
|
|
midi
|
|
mikmod
|
|
#endif
|
|
|
|
/* beatbox */
|
|
#if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES) || \
|
|
(CONFIG_KEYPAD == SANSA_FUZE_PAD) || (CONFIG_KEYPAD == SANSA_E200_PAD) || \
|
|
(CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
|
(CONFIG_KEYPAD == IPOD_1G2G_PAD || CONFIG_KEYPAD == SAMSUNG_YPR0_PAD)
|
|
/* PDBox is confirmed to run on these player models. */
|
|
pdbox
|
|
#endif
|
|
|
|
#if !defined(RB_PROFILE) && MEMORYSIZE > 2 /* mpegplayer allocates at least 2MB of RAM */
|
|
mpegplayer
|
|
#endif
|
|
|
|
#endif /* CONFIG_CODEC == SWCODEC */
|
|
|
|
/* Lua needs at least 160 KB to work in */
|
|
#if PLUGIN_BUFFER_SIZE >= 0x80000
|
|
lua
|
|
#endif
|