Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Namespace for functions having to do with WC Edit mode
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef WCEDIT_H
#define WCEDIT_H
#pragma once
class CBaseEntity;
//=============================================================================
// >> NWCEdit
//=============================================================================
namespace NWCEdit
{
Vector AirNodePlacementPosition( void );
bool IsWCVersionValid(void);
void CreateAINode( CBasePlayer *pPlayer );
void DestroyAINode( CBasePlayer *pPlayer );
void CreateAILink( CBasePlayer *pPlayer );
void DestroyAILink( CBasePlayer *pPlayer );
void UndoDestroyAINode(void);
void RememberEntityPosition( CBaseEntity *pEntity );
void UpdateEntityPosition( CBaseEntity *pEntity );
};
#endif // WCEDIT_H