Team Fortress 2 Source Code as on 22/4/2020
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.

35 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Namespace for functions having to do with WC Edit mode
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef WCEDIT_H
  14. #define WCEDIT_H
  15. #pragma once
  16. class CBaseEntity;
  17. //=============================================================================
  18. // >> NWCEdit
  19. //=============================================================================
  20. namespace NWCEdit
  21. {
  22. Vector AirNodePlacementPosition( void );
  23. bool IsWCVersionValid(void);
  24. void CreateAINode( CBasePlayer *pPlayer );
  25. void DestroyAINode( CBasePlayer *pPlayer );
  26. void CreateAILink( CBasePlayer *pPlayer );
  27. void DestroyAILink( CBasePlayer *pPlayer );
  28. void UndoDestroyAINode(void);
  29. void RememberEntityPosition( CBaseEntity *pEntity );
  30. void UpdateEntityPosition( CBaseEntity *pEntity );
  31. };
  32. #endif // WCEDIT_H