mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 13:40:50 +00:00
94 lines
2.4 KiB
C
94 lines
2.4 KiB
C
/*
|
|
* Direct3D X 8 private include file
|
|
*
|
|
* Copyright 2002 Raphael Junqueira
|
|
* Copyright 2007 David Adam
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
#ifndef __WINE_D3DX8_PRIVATE_H
|
|
#define __WINE_D3DX8_PRIVATE_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include "windef.h"
|
|
#include "winbase.h"
|
|
#include "d3dx8.h"
|
|
|
|
/* Interfaces */
|
|
typedef struct ID3DXBufferImpl ID3DXBufferImpl;
|
|
typedef struct ID3DXFontImpl ID3DXFontImpl;
|
|
typedef struct ID3DXMatrixStackImpl ID3DXMatrixStackImpl;
|
|
|
|
/* ----------- */
|
|
/* ID3DXBuffer */
|
|
/* ----------- */
|
|
|
|
/*****************************************************************************
|
|
* Predeclare the interface implementation structures
|
|
*/
|
|
extern const ID3DXBufferVtbl D3DXBuffer_Vtbl;
|
|
|
|
/*****************************************************************************
|
|
* ID3DXBufferImpl implementation structure
|
|
*/
|
|
struct ID3DXBufferImpl
|
|
{
|
|
/* IUnknown fields */
|
|
const ID3DXBufferVtbl *lpVtbl;
|
|
LONG ref;
|
|
|
|
/* ID3DXBuffer fields */
|
|
DWORD *buffer;
|
|
DWORD bufferSize;
|
|
};
|
|
|
|
/* --------- */
|
|
/* ID3DXFont */
|
|
/* --------- */
|
|
|
|
/*****************************************************************************
|
|
* ID3DXFontImpl implementation structure
|
|
*/
|
|
struct ID3DXFontImpl
|
|
{
|
|
/* IUnknown fields */
|
|
const ID3DXFontVtbl *lpVtbl;
|
|
LONG ref;
|
|
|
|
/* ID3DXFont fields */
|
|
};
|
|
|
|
/* ----------- */
|
|
/* ID3DXMatrix */
|
|
/* ----------- */
|
|
|
|
/*****************************************************************************
|
|
* ID3DXMatrixStackImpl implementation structure
|
|
*/
|
|
struct ID3DXMatrixStackImpl
|
|
{
|
|
/* IUnknown fields */
|
|
const ID3DXMatrixStackVtbl *lpVtbl;
|
|
LONG ref;
|
|
|
|
/* ID3DXMatrixStack fields */
|
|
int current;
|
|
D3DXMATRIX *stack;
|
|
};
|
|
|
|
#endif /*__WINE_D3DX8_PRIVATE_H */
|