mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-12 11:42:10 +08:00
69 lines
1.9 KiB
C
69 lines
1.9 KiB
C
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
|||
|
//
|
|||
|
// Purpose:
|
|||
|
//
|
|||
|
// $NoKeywords: $
|
|||
|
//=============================================================================//
|
|||
|
|
|||
|
// Colors used for nav editing
|
|||
|
|
|||
|
#ifndef NAV_COLORS_H
|
|||
|
#define NAV_COLORS_H
|
|||
|
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
enum NavEditColor
|
|||
|
{
|
|||
|
// Degenerate area colors
|
|||
|
NavDegenerateFirstColor = 0,
|
|||
|
NavDegenerateSecondColor,
|
|||
|
|
|||
|
// Place painting color
|
|||
|
NavSamePlaceColor,
|
|||
|
NavDifferentPlaceColor,
|
|||
|
NavNoPlaceColor,
|
|||
|
|
|||
|
// Normal colors
|
|||
|
NavSelectedColor,
|
|||
|
NavMarkedColor,
|
|||
|
NavNormalColor,
|
|||
|
NavCornerColor,
|
|||
|
NavBlockedColor,
|
|||
|
|
|||
|
// Hiding spot colors
|
|||
|
NavIdealSniperColor,
|
|||
|
NavGoodSniperColor,
|
|||
|
NavGoodCoverColor,
|
|||
|
NavExposedColor,
|
|||
|
NavApproachPointColor,
|
|||
|
|
|||
|
// Connector colors
|
|||
|
NavConnectedTwoWaysColor,
|
|||
|
NavConnectedOneWayColor,
|
|||
|
|
|||
|
// Editing colors
|
|||
|
NavCursorColor,
|
|||
|
NavSplitLineColor,
|
|||
|
NavCreationColor,
|
|||
|
NavGridColor,
|
|||
|
|
|||
|
// Nav attribute colors
|
|||
|
NavAttributeCrouchColor,
|
|||
|
NavAttributeJumpColor,
|
|||
|
NavAttributePreciseColor,
|
|||
|
NavAttributeNoJumpColor,
|
|||
|
NavAttributeStopColor,
|
|||
|
NavAttributeRunColor,
|
|||
|
NavAttributeWalkColor,
|
|||
|
NavAttributeAvoidColor,
|
|||
|
};
|
|||
|
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
|
|||
|
void NavDrawLine( const Vector& from, const Vector& to, NavEditColor navColor );
|
|||
|
void NavDrawTriangle( const Vector& point1, const Vector& point2, const Vector& point3, NavEditColor navColor );
|
|||
|
void NavDrawHorizontalArrow( const Vector& from, const Vector& to, float width, NavEditColor navColor );
|
|||
|
void NavDrawDashedLine( const Vector& from, const Vector& to, NavEditColor navColor );
|
|||
|
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
|
|||
|
#endif // NAV_COLORS_H
|