diff options
Diffstat (limited to 'backends/PalmOS')
-rw-r--r-- | backends/PalmOS/Src/builder/b_globals.c | 29 | ||||
-rw-r--r-- | backends/PalmOS/Src/builder/b_globals.h | 2 | ||||
-rw-r--r-- | backends/PalmOS/Src/builder/enum_globals.h | 29 |
3 files changed, 31 insertions, 29 deletions
diff --git a/backends/PalmOS/Src/builder/b_globals.c b/backends/PalmOS/Src/builder/b_globals.c index 527f3d5324..0e6026b7c0 100644 --- a/backends/PalmOS/Src/builder/b_globals.c +++ b/backends/PalmOS/Src/builder/b_globals.c @@ -5,34 +5,18 @@ //#define BUILD_COMMON //#define BUILD_SIMON //#define BUILD_SCUMM +#define BUILD_SKY //#define BUILD_QUEEN -#define BUILD_SWORD1 +//#define BUILD_SWORD1 #ifdef BUILD_COMMON # define BUILD_RES GBVARS_COMMON # define BUILD_NAME "Common" - -#elif defined(BUILD_SCUMM) -# define BUILD_RES GBVARS_SCUMM -# define BUILD_NAME "Scumm" - -#elif defined(BUILD_SIMON) -# define BUILD_RES GBVARS_SIMON -# define BUILD_NAME "Simon" - -#elif defined(BUILD_QUEEN) -# define BUILD_RES GBVARS_QUEEN -# define BUILD_NAME "Queen" - -#elif defined(BUILD_SWORD1) -# define BUILD_RES GBVARS_SWORD1 -# define BUILD_NAME "Sword1" - #else -# define BUILD_RES -1 -# define BUILD_NAME -# error No target defined. +# define BUILD_RES GBVARS_ENGINE +# define BUILD_NAME "Engine" #endif + DmOpenRef dbP[GBVARS_COUNT]; /////////////////////////////////////////////////////////////////// @@ -81,6 +65,9 @@ void buildAll() { addSimon(); Simon_addCharset(); +#elif defined(BUILD_SKY) + Sky_addHufftext(); + #elif defined(BUILD_QUEEN) Queen_addTalk(); Queen_addRestables(); diff --git a/backends/PalmOS/Src/builder/b_globals.h b/backends/PalmOS/Src/builder/b_globals.h index 283b516f7e..df52185d98 100644 --- a/backends/PalmOS/Src/builder/b_globals.h +++ b/backends/PalmOS/Src/builder/b_globals.h @@ -29,4 +29,6 @@ void Queen_addGraphics(); void Queen_addDisplay(); void Queen_addMusicdata(); ///////////////////////////////// +void Sky_addHufftext(); +///////////////////////////////// void Sword1_addStaticres(); diff --git a/backends/PalmOS/Src/builder/enum_globals.h b/backends/PalmOS/Src/builder/enum_globals.h index 68febffe03..08761bf181 100644 --- a/backends/PalmOS/Src/builder/enum_globals.h +++ b/backends/PalmOS/Src/builder/enum_globals.h @@ -77,6 +77,18 @@ enum { GBVARS_MUSICDATASFXNAME_INDEX, GBVARS_MUSICDATAJUNGLELIST_INDEX }; +// Sky +enum { + GBVARS_HUFFTREE_00109_INDEX = 0, + GBVARS_HUFFTREE_00267_INDEX, + GBVARS_HUFFTREE_00288_INDEX, + GBVARS_HUFFTREE_00303_INDEX, + GBVARS_HUFFTREE_00331_INDEX, + GBVARS_HUFFTREE_00348_INDEX, + GBVARS_HUFFTREE_00365_INDEX, + GBVARS_HUFFTREE_00368_INDEX, + GBVARS_HUFFTREE_00372_INDEX, +}; // Sword1 enum { GBVARS_FXLIST_INDEX = 0 @@ -84,14 +96,15 @@ enum { enum { GBVARS_COMMON = 0, - GBVARS_SCUMM, - GBVARS_SIMON, -// GBVARS_SKY, - GBVARS_SWORD1, -// GBVARS_SWORD2, - GBVARS_QUEEN, - GBVARS_SAGA, - + GBVARS_ENGINE = 1, + GBVARS_SCUMM = GBVARS_ENGINE, + GBVARS_SIMON = GBVARS_ENGINE, + GBVARS_SKY = GBVARS_ENGINE, + GBVARS_SWORD1 = GBVARS_ENGINE, +// GBVARS_SWORD2 = GBVARS_ENGINE, + GBVARS_QUEEN = GBVARS_ENGINE, + GBVARS_SAGA = GBVARS_ENGINE, + GBVARS_COUNT }; |