From f56bb35301836e56582a575a75864392a0177875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20P=2E=20Tjern=C3=B8?= Date: Mon, 2 Dec 2013 19:31:46 -0800 Subject: Fix line endings. WHAMMY. --- mp/src/utils/vrad/origface.cpp | 102 ++++++++++++++++++++--------------------- 1 file changed, 51 insertions(+), 51 deletions(-) (limited to 'mp/src/utils/vrad/origface.cpp') diff --git a/mp/src/utils/vrad/origface.cpp b/mp/src/utils/vrad/origface.cpp index 43a19577..fbbe0e87 100644 --- a/mp/src/utils/vrad/origface.cpp +++ b/mp/src/utils/vrad/origface.cpp @@ -1,51 +1,51 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// -// -// Purpose: -// -// $Workfile: $ -// $Date: $ -// -//----------------------------------------------------------------------------- -// $Log: $ -// -// $NoKeywords: $ -//=============================================================================// - -#include "vrad.h" - -bool bOrigFacesTouched[MAX_MAP_FACES]; - - -//----------------------------------------------------------------------------- -// Pupose: clear (reset) the bOrigFacesTouched list -- parellels the original -// face list allowing an original face to only be processed once in -// pairing edges! -//----------------------------------------------------------------------------- -void ResetOrigFacesTouched( void ) -{ - for( int i = 0; i < MAX_MAP_FACES; i++ ) - { - bOrigFacesTouched[i] = false; - } -} - - -//----------------------------------------------------------------------------- -// Purpose: mark an original faces as touched (dirty) -// Input: index - index of the original face touched -//----------------------------------------------------------------------------- -void SetOrigFaceTouched( int index ) -{ - bOrigFacesTouched[index] = true; -} - - -//----------------------------------------------------------------------------- -// Purpose: return whether or not an original face has been touched -// Input: index - index of the original face touched -// Output: true/false -//----------------------------------------------------------------------------- -bool IsOrigFaceTouched( int index ) -{ - return bOrigFacesTouched[index]; -} +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#include "vrad.h" + +bool bOrigFacesTouched[MAX_MAP_FACES]; + + +//----------------------------------------------------------------------------- +// Pupose: clear (reset) the bOrigFacesTouched list -- parellels the original +// face list allowing an original face to only be processed once in +// pairing edges! +//----------------------------------------------------------------------------- +void ResetOrigFacesTouched( void ) +{ + for( int i = 0; i < MAX_MAP_FACES; i++ ) + { + bOrigFacesTouched[i] = false; + } +} + + +//----------------------------------------------------------------------------- +// Purpose: mark an original faces as touched (dirty) +// Input: index - index of the original face touched +//----------------------------------------------------------------------------- +void SetOrigFaceTouched( int index ) +{ + bOrigFacesTouched[index] = true; +} + + +//----------------------------------------------------------------------------- +// Purpose: return whether or not an original face has been touched +// Input: index - index of the original face touched +// Output: true/false +//----------------------------------------------------------------------------- +bool IsOrigFaceTouched( int index ) +{ + return bOrigFacesTouched[index]; +} -- cgit v1.2.3