2010-01-07 21:43:25 +00:00
|
|
|
/*
|
|
|
|
* Direct3DRM private interfaces (D3DRM.DLL)
|
|
|
|
*
|
|
|
|
* Copyright 2010 Christian Costa
|
|
|
|
*
|
|
|
|
* 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 __D3DRM_PRIVATE_INCLUDED__
|
|
|
|
#define __D3DRM_PRIVATE_INCLUDED__
|
|
|
|
|
|
|
|
#include "d3drm.h"
|
2012-03-26 20:35:12 +00:00
|
|
|
#include "dxfile.h"
|
2010-01-07 21:43:25 +00:00
|
|
|
|
2012-06-04 17:30:33 +00:00
|
|
|
#define D3DCOLOR_ARGB(a,r,g,b) ((D3DCOLOR)((((a)&0xff)<<24)|(((r)&0xff)<<16)|(((g)&0xff)<<8)|((b)&0xff)))
|
|
|
|
|
2011-12-27 22:16:10 +00:00
|
|
|
HRESULT Direct3DRM_create(IUnknown** ppObj) DECLSPEC_HIDDEN;
|
2012-01-15 16:01:09 +00:00
|
|
|
HRESULT Direct3DRMDevice_create(REFIID riid, IUnknown** ppObj) DECLSPEC_HIDDEN;
|
2012-05-17 08:10:07 +00:00
|
|
|
HRESULT Direct3DRMFrame_create(REFIID riid, IUnknown* parent_frame, IUnknown** ret_iface) DECLSPEC_HIDDEN;
|
2012-05-01 20:15:39 +00:00
|
|
|
HRESULT Direct3DRMLight_create(IUnknown** ppObj) DECLSPEC_HIDDEN;
|
2012-06-17 13:35:18 +00:00
|
|
|
HRESULT Direct3DRMMesh_create(IDirect3DRMMesh** obj) DECLSPEC_HIDDEN;
|
2011-12-29 01:25:42 +00:00
|
|
|
HRESULT Direct3DRMMeshBuilder_create(REFIID riid, IUnknown** ppObj) DECLSPEC_HIDDEN;
|
2012-01-17 22:00:50 +00:00
|
|
|
HRESULT Direct3DRMViewport_create(REFIID riid, IUnknown** ppObj) DECLSPEC_HIDDEN;
|
2012-05-22 20:05:32 +00:00
|
|
|
HRESULT Direct3DRMMaterial_create(IDirect3DRMMaterial2** ret_iface) DECLSPEC_HIDDEN;
|
2012-05-24 06:50:02 +00:00
|
|
|
HRESULT Direct3DRMTexture_create(REFIID riid, IUnknown** ret_iface) DECLSPEC_HIDDEN;
|
2010-01-07 21:43:25 +00:00
|
|
|
|
2012-03-26 20:35:12 +00:00
|
|
|
HRESULT load_mesh_data(IDirect3DRMMeshBuilder3* iface, LPDIRECTXFILEDATA pData) DECLSPEC_HIDDEN;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
WORD major;
|
|
|
|
WORD minor;
|
|
|
|
DWORD flags;
|
|
|
|
} Header;
|
|
|
|
|
|
|
|
extern char templates[];
|
|
|
|
|
2010-01-07 21:43:25 +00:00
|
|
|
#endif /* __D3DRM_PRIVATE_INCLUDED__ */
|