Richard Boegli's CnC_Generals_Zero_Hour Fork
WIP
This is documentation of Richard Boegil's Zero Hour Fork
Loading...
Searching...
No Matches
shddump.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 : WWSHADE *
24
* *
25
* $Archive:: wwshade/shddump.h $*
26
* *
27
* $Org Author:: Kenny_m
28
*
29
* $Author:: Kenny_m
30
*
31
* $Modtime:: 8/05/02 3:12p $*
32
* *
33
* $Revision:: 1 $*
34
* *
35
*---------------------------------------------------------------------------------------------*
36
* Functions: *
37
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
38
// header file for use in wdump util only
39
40
#ifndef SHDDUMP_H
41
#define SHDDUMP_H
42
43
#ifndef SHDCLASSIDS_H
44
#include "
shdclassids.h
"
45
#endif
46
47
const
char
*
Shader_ClassIDs
[
SHDDEF_CLASSID_LAST
]=
48
{
49
"SHDDEF_CLASSID_DUMMY"
,
50
"SHDDEF_CLASSID_SIMPLE"
,
51
"SHDDEF_CLASSID_GLOSSMASK"
,
52
"SHDDEF_CLASSID_BUMPSPEC"
,
53
"SHDDEF_CLASSID_BUMPDIFF"
,
54
"SHDDEF_CLASSID_CUBEMAP"
55
};
56
57
struct
ShdDef_ChunkStruct
58
{
59
DWORD
DefChunkId
;
60
char
Pad0
[6];
61
char
DefName
[8];
62
char
Pad1
[2];
63
int
SurfaceType
;
64
DWORD
ShdChunkId
;
65
char
Pad2
[6];
66
char
TexName
[];
67
};
68
69
70
#endif
//SHDDUMP_H
DWORD
unsigned long DWORD
Definition
bittype.h:57
shdclassids.h
SHDDEF_CLASSID_LAST
@ SHDDEF_CLASSID_LAST
Definition
shdclassids.h:55
Shader_ClassIDs
const char * Shader_ClassIDs[SHDDEF_CLASSID_LAST]
Definition
shddump.h:47
ShdDef_ChunkStruct
Definition
shddump.h:58
ShdDef_ChunkStruct::SurfaceType
int SurfaceType
Definition
shddump.h:63
ShdDef_ChunkStruct::Pad0
char Pad0[6]
Definition
shddump.h:60
ShdDef_ChunkStruct::TexName
char TexName[]
Definition
shddump.h:66
ShdDef_ChunkStruct::DefChunkId
DWORD DefChunkId
Definition
shddump.h:59
ShdDef_ChunkStruct::DefName
char DefName[8]
Definition
shddump.h:61
ShdDef_ChunkStruct::Pad2
char Pad2[6]
Definition
shddump.h:65
ShdDef_ChunkStruct::Pad1
char Pad1[2]
Definition
shddump.h:62
ShdDef_ChunkStruct::ShdChunkId
DWORD ShdChunkId
Definition
shddump.h:64
Code
Libraries
Source
WWVegas
wwshade
shddump.h
Generated by
1.13.2