Richard Boegli's CnC_Generals_Zero_Hour Fork
WIP
This is documentation of Richard Boegil's Zero Hour Fork
Loading...
Searching...
No Matches
formconv.h
Go to the documentation of this file.
1
/*
2
** Command & Conquer Generals Zero Hour(tm)
3
** Copyright 2025 Electronic Arts Inc.
4
**
5
** This program is free software: you can redistribute it and/or modify
6
** it under the terms of the GNU General Public License as published by
7
** the Free Software Foundation, either version 3 of the License, or
8
** (at your option) any later version.
9
**
10
** This program is distributed in the hope that it will be useful,
11
** but WITHOUT ANY WARRANTY; without even the implied warranty of
12
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
** GNU General Public License for more details.
14
**
15
** You should have received a copy of the GNU General Public License
16
** along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
/***********************************************************************************************
20
*** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
21
***********************************************************************************************
22
* *
23
* Project Name : WW3D *
24
* *
25
* $Archive:: /Commando/Code/ww3d2/formconv.h $*
26
* *
27
* Original Author:: Nathaniel Hoffman *
28
* *
29
* Author : Kenny Mitchell *
30
* *
31
* $Modtime:: 06/27/02 1:27p $*
32
* *
33
* $Revision:: 3 $*
34
* *
35
* 06/27/02 KM Z Format support *
36
*---------------------------------------------------------------------------------------------*
37
* Functions: *
38
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
39
40
#if defined(_MSC_VER)
41
#pragma once
42
#endif
43
44
#ifndef FORMCONV_H
45
#define FORMCONV_H
46
47
#include "
ww3dformat.h
"
48
#include <d3d8.h>
49
50
/*
51
** This file is used for conversions between D3DFORMAT and WW3DFormat.
52
*/
53
54
D3DFORMAT
WW3DFormat_To_D3DFormat
(
WW3DFormat
ww3d_format);
55
WW3DFormat
D3DFormat_To_WW3DFormat
(D3DFORMAT d3d_format);
56
57
D3DFORMAT
WW3DZFormat_To_D3DFormat
(
WW3DZFormat
ww3d_zformat);
58
WW3DZFormat
D3DFormat_To_WW3DZFormat
(D3DFORMAT d3d_format);
59
60
void
Init_D3D_To_WW3_Conversion
();
61
62
#endif
WW3DFormat_To_D3DFormat
D3DFORMAT WW3DFormat_To_D3DFormat(WW3DFormat ww3d_format)
Definition
formconv.cpp:142
WW3DZFormat_To_D3DFormat
D3DFORMAT WW3DZFormat_To_D3DFormat(WW3DZFormat ww3d_zformat)
Depth Stencil W3D to D3D format conversion.
Definition
formconv.cpp:173
D3DFormat_To_WW3DZFormat
WW3DZFormat D3DFormat_To_WW3DZFormat(D3DFORMAT d3d_format)
D3D to Depth Stencil W3D format conversion.
Definition
formconv.cpp:189
D3DFormat_To_WW3DFormat
WW3DFormat D3DFormat_To_WW3DFormat(D3DFORMAT d3d_format)
Definition
formconv.cpp:150
Init_D3D_To_WW3_Conversion
void Init_D3D_To_WW3_Conversion()
Init format conversion tables.
Definition
formconv.cpp:206
ww3dformat.h
WW3DFormat
WW3DFormat
Definition
ww3dformat.h:75
WW3DZFormat
WW3DZFormat
Definition
ww3dformat.h:106
Code
Libraries
Source
WWVegas
WW3D2
formconv.h
Generated by
1.13.2