mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
Cleanup + sword1 support
svn-id: r15757
This commit is contained in:
parent
54d55f2efd
commit
d890d56502
@ -5,7 +5,8 @@
|
||||
//#define BUILD_COMMON
|
||||
//#define BUILD_SIMON
|
||||
//#define BUILD_SCUMM
|
||||
#define BUILD_QUEEN
|
||||
//#define BUILD_QUEEN
|
||||
#define BUILD_SWORD1
|
||||
|
||||
#ifdef BUILD_COMMON
|
||||
# define BUILD_RES GBVARS_COMMON
|
||||
@ -22,6 +23,11 @@
|
||||
#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
|
||||
@ -81,6 +87,9 @@ void buildAll() {
|
||||
Queen_addGraphics();
|
||||
Queen_addDisplay();
|
||||
Queen_addMusicdata();
|
||||
|
||||
#elif defined(BUILD_SWORD1)
|
||||
Sword1_addStaticres();
|
||||
#endif
|
||||
|
||||
DmCloseDatabase(dbP[BUILD_RES]);
|
||||
|
@ -1,5 +1,11 @@
|
||||
#include "enum_globals.h"
|
||||
|
||||
typedef unsigned char byte;
|
||||
typedef UInt32 uint;
|
||||
typedef Int32 int32;
|
||||
typedef UInt32 uint32;
|
||||
|
||||
|
||||
void writeRecord(MemPtr ptr, UInt32 size, UInt16 index, UInt16 dbID);
|
||||
void buildAll();
|
||||
|
||||
@ -22,3 +28,5 @@ void Queen_addRestables();
|
||||
void Queen_addGraphics();
|
||||
void Queen_addDisplay();
|
||||
void Queen_addMusicdata();
|
||||
/////////////////////////////////
|
||||
void Sword1_addStaticres();
|
||||
|
@ -77,13 +77,17 @@ enum {
|
||||
GBVARS_MUSICDATASFXNAME_INDEX,
|
||||
GBVARS_MUSICDATAJUNGLELIST_INDEX
|
||||
};
|
||||
// Sword1
|
||||
enum {
|
||||
GBVARS_FXLIST_INDEX = 0
|
||||
};
|
||||
|
||||
enum {
|
||||
GBVARS_COMMON = 0,
|
||||
GBVARS_SCUMM,
|
||||
GBVARS_SIMON,
|
||||
// GBVARS_SKY,
|
||||
// GBVARS_SWORD1,
|
||||
GBVARS_SWORD1,
|
||||
// GBVARS_SWORD2,
|
||||
GBVARS_QUEEN,
|
||||
GBVARS_SAGA,
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include <PalmOS.h>
|
||||
#include "b_globals.h"
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
||||
static void addCharset_germanCharsetDataV2() {
|
||||
byte germanCharsetDataV2[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include <PalmOS.h>
|
||||
#include "b_globals.h"
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
||||
static void addCostume_cost_scaleTable() {
|
||||
byte cost_scaleTable[256] = {
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include <PalmOS.h>
|
||||
#include "b_globals.h"
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
||||
static void addCharset_russian_video_font() {
|
||||
byte russian_video_font[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
@ -5,7 +5,6 @@
|
||||
///////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////
|
||||
typedef UInt32 uint;
|
||||
|
||||
typedef struct {
|
||||
#if 0 // original struct
|
||||
|
3576
backends/PalmOS/Src/builder/sword1/sw1_staticres.c
Normal file
3576
backends/PalmOS/Src/builder/sword1/sw1_staticres.c
Normal file
File diff suppressed because it is too large
Load Diff
5222
backends/PalmOS/Src/builder/sword1/sw1_staticres.h
Normal file
5222
backends/PalmOS/Src/builder/sword1/sw1_staticres.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user