diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/utils/vrad/origface.cpp | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/utils/vrad/origface.cpp')
| -rw-r--r-- | mp/src/utils/vrad/origface.cpp | 102 |
1 files changed, 51 insertions, 51 deletions
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]; +} |