[Scummvm-cvs-logs] CVS: scummvm/backends/PalmOS/Src/builder/sword1 sw1_staticres.c,NONE,1.1 sw1_staticres.h,NONE,1.1
Chris Apers
chrilith at users.sourceforge.net
Tue Nov 9 03:18:11 CET 2004
Update of /cvsroot/scummvm/scummvm/backends/PalmOS/Src/builder/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8721
Added Files:
sw1_staticres.c sw1_staticres.h
Log Message:
Cleanup + sword1 support
--- NEW FILE: sw1_staticres.c ---
#include <PalmOS.h>
#include "b_globals.h"
#include "sw1_staticres.h"
#define MAX_ROOMS_PER_FX 7
#define FX_SPOT 1
#define FX_LOOP 2
#define FX_RANDOM 3
typedef struct {
int32 roomNo, leftVol, rightVol;
} RoomVol;
typedef struct {
uint32 sampleId, type, delay;
RoomVol roomVolList[MAX_ROOMS_PER_FX];
} FxDef;
[...3537 lines suppressed...]
//------------------------
// 311 With anim SECDOR59 in sc59
{
FX_SECDOR59, // sampleId
FX_SPOT, // type
0, // delay (or random chance) *
{ // roomVolList
{59,16,16}, // {roomNo,leftVol,rightVol}
{0,0,0}, // NULL-TERMINATOR
},
},
//------------------------
};
writeRecord(_fxList, sizeof(_fxList), GBVARS_FXLIST_INDEX , GBVARS_SWORD1);
}
void Sword1_addStaticres() {
addStaticres_fxList();
}
--- NEW FILE: sw1_staticres.h ---
/* ScummVM - Scumm Interpreter
* Copyright (C) 2003-2004 The ScummVM project
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: /cvsroot/scummvm/scummvm/backends/PalmOS/Src/builder/sword1/sw1_staticres.h,v 1.1 2004/11/09 11:17:45 chrilith Exp $
*
[...5183 lines suppressed...]
#define EKSTD79CDT 0x0E090003
#define FIGHT79 0x0E090004
#define FIGHT79CDT 0x0E090005
#define GEOANG79 0x0E090006
#define GEOANG79CDT 0x0E090007
#define GEOTLK79 0x0E090008
#define GEOTLK79CDT 0x0E090009
#define NICSTD79 0x0E09000A
#define NICSTD79CDT 0x0E09000B
#define ROSENT79 0x0E09000C
#define ROSENT79CDT 0x0E09000D
#define ROSSHOT 0x0E09000E
#define ROSSHOTCDT 0x0E09000F
#define ROSTLK79 0x0E090010
#define ROSTLK79CDT 0x0E090011
// 18 entities in TXTs, 18 in datafiles.
//} // End of namespace Sword1
#endif //SWORDRES_H
More information about the Scummvm-git-logs
mailing list