UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
check.h
Go to the documentation of this file.
1
6
7
/*
8
Copyright (C) 1997-2001 Id Software, Inc.
9
10
This program is free software; you can redistribute it and/or
11
modify it under the terms of the GNU General Public License
12
as published by the Free Software Foundation; either version 2
13
of the License, or (at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
See the GNU General Public License for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
25
*/
26
27
#pragma once
28
29
#include "
../map.h
"
30
32
typedef
struct
compositeSide_s {
33
struct
side_s**
memberSides
;
34
int
numMembers
;
35
}
compositeSide_t
;
36
42
extern
compositeSide_t
compositeSides
[
MAX_MAP_SIDES
/ 2];
43
extern
int
numCompositeSides
;
44
45
void
CheckTexturesBasedOnFlags
(
void
);
46
void
CheckFlagsBasedOnTextures
(
void
);
47
void
CheckLevelFlags
(
void
);
48
void
CheckFillLevelFlags
(
void
);
49
void
CheckBrushes
(
void
);
50
void
CheckNodraws
(
void
);
51
void
CheckMixedFaceContents
(
void
);
52
void
CheckMapMicro
(
void
);
53
void
Check_BrushIntersection
(
void
);
54
void
FixErrors
(
void
);
55
void
DisplayContentFlags
(
const
int
flags);
56
void
SetImpliedFlags
(
side_t
* side,
brush_texture_t
* tex,
const
mapbrush_t
* brush);
57
void
CheckPropagateParserContentFlags
(
mapbrush_t
* b);
58
void
Check_ContainedBrushes
(
void
);
59
void
CheckZFighting
(
void
);
compositeSides
compositeSide_t compositeSides[MAX_MAP_SIDES/2]
Definition
check.cpp:37
numCompositeSides
int numCompositeSides
Definition
check.cpp:38
Check_ContainedBrushes
void Check_ContainedBrushes(void)
find duplicated brushes and brushes contained inside brushes
Definition
check.cpp:912
CheckFlagsBasedOnTextures
void CheckFlagsBasedOnTextures(void)
sets content flags based on textures
Definition
check.cpp:1532
CheckTexturesBasedOnFlags
void CheckTexturesBasedOnFlags(void)
check that sides have textures and that where content/surface flags are set the texture is correct.
Definition
check.cpp:1555
CheckPropagateParserContentFlags
void CheckPropagateParserContentFlags(mapbrush_t *b)
some contentlflags are set as a result of some surface flag. For example, if one face is TRANS* then ...
Definition
check.cpp:1619
CheckMixedFaceContents
void CheckMixedFaceContents(void)
contentflags should be the same on each face of a brush. print warnings if they are not....
Definition
check.cpp:1647
CheckNodraws
void CheckNodraws(void)
check for faces which can safely be set to SURF_NODRAW because they are pressed against the faces of ...
Definition
check.cpp:984
Check_BrushIntersection
void Check_BrushIntersection(void)
reports intersection between optimisable map brushes
Definition
check.cpp:589
CheckLevelFlags
void CheckLevelFlags(void)
sets all levelflags, if none are set.
Definition
check.cpp:1385
FixErrors
void FixErrors(void)
CheckFillLevelFlags
void CheckFillLevelFlags(void)
ensures set levelflags are in one contiguous block
Definition
check.cpp:1364
SetImpliedFlags
void SetImpliedFlags(side_t *side, brush_texture_t *tex, const mapbrush_t *brush)
Sets surface flags dependent on assigned texture.
Definition
check.cpp:1448
CheckMapMicro
void CheckMapMicro(void)
report brushes from the map below 1 unit^3
Definition
check.cpp:1293
CheckZFighting
void CheckZFighting(void)
check all brushes for overlapping shared faces
Definition
check.cpp:843
CheckBrushes
void CheckBrushes(void)
Definition
check.cpp:1708
DisplayContentFlags
void DisplayContentFlags(const int flags)
prints a list of the names of the set content flags or "no contentflags" if all bits are 0
Definition
check.cpp:1309
MAX_MAP_SIDES
#define MAX_MAP_SIDES
Definition
defines.h:383
map.h
brush_texture_t
Definition
map.h:33
compositeSide_t
Definition
check.h:32
compositeSide_t::numMembers
int numMembers
Definition
check.h:34
compositeSide_t::memberSides
struct side_s ** memberSides
Definition
check.h:33
mapbrush_t
Definition
map.h:75
side_t
Definition
map.h:60
src
tools
ufo2map
check
check.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0