Cxbx-Reloaded/Include/Win32/CxbxKrnl/HLEDataBase.h

109 lines
3.6 KiB
C
Raw Normal View History

2003-02-15 22:48:07 +00:00
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->HLEDataBase.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them 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 recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef HLEDATABASE_H
#define HLEDATABASE_H
2003-03-27 03:52:19 +00:00
#include "Xapi.1.0.3911.h"
2003-04-04 08:27:30 +00:00
#include "Xapi.1.0.4034.h"
2003-02-22 07:49:02 +00:00
#include "Xapi.1.0.4361.h"
#include "Xapi.1.0.4627.h"
2003-03-27 03:52:19 +00:00
#include "D3D8.1.0.3925.h"
2003-04-04 08:27:30 +00:00
#include "D3D8.1.0.4034.h"
2003-02-22 07:49:02 +00:00
#include "D3D8.1.0.4361.h"
2003-03-27 03:52:19 +00:00
#include "D3D8.1.0.4627.h"
2003-06-25 02:01:51 +00:00
#include "DSound.1.0.4361.h"
#include "DSound.1.0.4627.h"
2003-06-06 04:53:27 +00:00
#include "XG.1.0.4361.h"
2003-06-10 08:18:43 +00:00
#include "XG.1.0.4627.h"
2003-07-01 23:52:07 +00:00
#include "XOnline.1.0.4361.h"
2003-02-22 07:49:02 +00:00
2003-02-15 22:48:07 +00:00
// ******************************************************************
// * HLEDataBase
// ******************************************************************
extern struct HLEData
{
char *Library;
2003-02-22 07:49:02 +00:00
uint16 MajorVersion;
uint16 MinorVersion;
uint16 BuildVersion;
2003-02-15 22:48:07 +00:00
OOVPATable *OovpaTable;
uint32 OovpaTableSize;
}
HLEDataBase[];
// ******************************************************************
// * HLEDataBaseSize
// ******************************************************************
extern uint32 HLEDataBaseSize;
2003-07-01 23:52:07 +00:00
// ******************************************************************
// * XRefDataBase
// ******************************************************************
extern uint32 XRefDataBase[];
// ******************************************************************
// * UnResolvedXRefs
// ******************************************************************
extern uint32 UnResolvedXRefs;
// ******************************************************************
// * bXRefFirstPass
// ******************************************************************
extern bool bXRefFirstPass;
// ******************************************************************
// * XRefDataBaseOffset
// ******************************************************************
enum XRefDataBaseOffset
{
2003-07-03 05:09:28 +00:00
XREF_XNINIT = 0,
XREF_FCLOSEDEVICE = 1,
XREF_CLEARSTATEBLOCKFLAGS = 2,
2003-07-06 01:16:03 +00:00
XREF_RECORDSTATEBLOCK = 3,
XREF_SETDISTANCEFACTOR = 4,
XREF_SETROLLOFFFACTOR = 5,
2003-07-08 01:37:46 +00:00
XREF_SETDOPPLERFACTOR = 6,
XREF_SETBUFFERDATA = 7,
XREF_SETCURRENTPOSITION = 8,
XREF_SETCURRENTPOSITION2 = 9,
XREF_GETCURRENTPOSITION = 10,
XREF_GETCURRENTPOSITION2 = 11,
XREF_DSOUNDPLAY = 12,
XREF_DSOUNDPLAY2 = 13,
2003-07-01 23:52:07 +00:00
};
2003-02-15 22:48:07 +00:00
#endif