Richard Boegli's CnC_Generals_Zero_Hour Fork
WIP
This is documentation of Richard Boegil's Zero Hour Fork
Loading...
Searching...
No Matches
w3dexclusionlist.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
/* $Header: /Commando/Code/ww3d2/w3dexclusionlist.h 1 12/12/02 3:36p Greg_h $ */
20
/***********************************************************************************************
21
*** Confidential - Westwood Studios ***
22
***********************************************************************************************
23
* *
24
* Project Name : Commando / G 3D Library *
25
* *
26
* $Archive:: /Commando/Code/ww3d2/w3dexclusionlist.h $*
27
* *
28
* Author:: Greg_h *
29
* *
30
* $Modtime:: 12/12/02 10:04a $*
31
* *
32
* $Revision:: 1 $*
33
* *
34
*---------------------------------------------------------------------------------------------*
35
* Functions: *
36
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
37
38
#if defined(_MSC_VER)
39
#pragma once
40
#endif
41
42
#ifndef W3DEXCLUSIONLIST_H
43
#define W3DEXCLUSIONLIST_H
44
45
#include "always.h"
46
#include "vector.h"
47
#include "
wwstring.h
"
48
#include "
hashtemplate.h
"
49
50
class
PrototypeClass
;
51
class
HTreeClass
;
52
class
HAnimClass
;
53
54
62
63
class
W3DExclusionListClass
64
{
65
public
:
66
W3DExclusionListClass
(
const
DynamicVectorClass<StringClass>
& names);
67
~W3DExclusionListClass
(
void
);
68
69
bool
Is_Excluded
(
PrototypeClass
* proto)
const
;
70
bool
Is_Excluded
(
HTreeClass
* htree)
const
;
71
bool
Is_Excluded
(
HAnimClass
* hanim)
const
;
72
73
bool
Is_Excluded
(
const
char
* root_name)
const
;
74
75
protected
:
76
77
78
const
DynamicVectorClass<StringClass>
&
Names
;
79
HashTemplateClass<StringClass,int>
NameHash
;
80
};
81
82
83
84
#endif
//EXCLUSIONLIST_H
DynamicVectorClass
Definition
Vector.H:474
HAnimClass
Definition
hanim.h:76
HTreeClass
Definition
htree.h:75
HashTemplateClass
Definition
hashtemplate.h:75
PrototypeClass
Definition
proto.h:86
W3DExclusionListClass::NameHash
HashTemplateClass< StringClass, int > NameHash
Definition
w3dexclusionlist.h:79
W3DExclusionListClass::~W3DExclusionListClass
~W3DExclusionListClass(void)
Definition
w3dexclusionlist.cpp:53
W3DExclusionListClass::Names
const DynamicVectorClass< StringClass > & Names
Definition
w3dexclusionlist.h:78
W3DExclusionListClass::Is_Excluded
bool Is_Excluded(PrototypeClass *proto) const
Definition
w3dexclusionlist.cpp:58
W3DExclusionListClass::W3DExclusionListClass
W3DExclusionListClass(const DynamicVectorClass< StringClass > &names)
Definition
w3dexclusionlist.cpp:45
hashtemplate.h
wwstring.h
Code
Libraries
Source
WWVegas
WW3D2
w3dexclusionlist.h
Generated by
1.13.2