Counter Strike : Global Offensive Source Code
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.

33 lines
1.4 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef ENTITYAPI_H
  9. #define ENTITYAPI_H
  10. class SendTable;
  11. extern void LoadMapEntities( const char *pMapEntities );
  12. extern void DispatchObjectCollisionBox( edict_t *pent );
  13. extern float DispatchObjectPhysicsVelocity( edict_t *pent, float moveTime );
  14. extern ServerClass* DispatchGetObjectServerClass(edict_t *pent);
  15. extern ServerClass* GetAllServerClasses();
  16. extern void SaveWriteFields( CSaveRestoreData *pSaveData, const char *pname, void *pBaseData, datamap_t *pMap, typedescription_t *pFields, int fieldCount );
  17. extern void SaveReadFields( CSaveRestoreData *pSaveData, const char *pname, void *pBaseData, datamap_t *pMap, typedescription_t *pFields, int fieldCount );
  18. extern void SaveGlobalState( CSaveRestoreData *pSaveData );
  19. extern void RestoreGlobalState( CSaveRestoreData *pSaveData );
  20. extern void ResetGlobalState( void );
  21. extern CSaveRestoreData *SaveInit( int size );
  22. extern int CreateEntityTransitionList( CSaveRestoreData *pSaveData, int levelMask );
  23. extern void ClearEntities( void );
  24. extern void FreeContainingEntity( edict_t *ed );
  25. class ISaveRestoreBlockHandler;
  26. ISaveRestoreBlockHandler *GetEntitySaveRestoreBlockHandler();
  27. #endif // ENTITYAPI_H