1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00
hl2sdk/game/server/nav_colors.h
2008-09-15 02:50:57 -05:00

70 lines
1.9 KiB
C

//========= Copyright Š 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