00001 00007 /* 00008 Copyright (C) 1997-2001 Id Software, Inc. 00009 00010 This program is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU General Public License 00012 as published by the Free Software Foundation; either version 2 00013 of the License, or (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 00019 See the GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 00025 */ 00026 00027 #ifndef UFO2MAP_CHECK_CHECK_H 00028 #define UFO2MAP_CHECK_CHECK_H 00029 00031 typedef struct compositeSide_s { 00032 struct side_s **memberSides; 00033 int numMembers; 00034 } compositeSide_t; 00035 00041 compositeSide_t compositeSides[MAX_MAP_SIDES / 2]; 00042 int numCompositeSides; 00043 00044 void CheckTexturesBasedOnFlags(void); 00045 void CheckFlagsBasedOnTextures(void); 00046 void CheckLevelFlags(void); 00047 void CheckFillLevelFlags(void); 00048 void CheckBrushes(void); 00049 void CheckNodraws(void); 00050 void CheckMixedFaceContents(void); 00051 void CheckMapMicro(void); 00052 void Check_BrushIntersection(void); 00053 void FixErrors(void); 00054 void DisplayContentFlags(const int flags); 00055 void SetImpliedFlags (side_t *side, brush_texture_t *tex, const mapbrush_t *brush); 00056 void CheckPropagateParserContentFlags(mapbrush_t *b); 00057 void Check_ContainedBrushes(void); 00058 void CheckZFighting(void); 00059 00060 #endif