Cleanup + sword1 support

svn-id: r15757
This commit is contained in:
Chris Apers 2004-11-09 11:17:45 +00:00
parent 54d55f2efd
commit d890d56502
9 changed files with 8821 additions and 8 deletions

View File

@ -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]);

View File

@ -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();

View File

@ -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,

View File

@ -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,

View File

@ -1,7 +1,6 @@
#include <PalmOS.h>
#include "b_globals.h"
typedef unsigned char byte;
static void addCostume_cost_scaleTable() {
byte cost_scaleTable[256] = {

View File

@ -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,

View File

@ -5,7 +5,6 @@
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
typedef UInt32 uint;
typedef struct {
#if 0 // original struct

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff