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.

24 lines
809 B

  1. //========= Copyright � 1996-2016, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Sharing model structures and flags between engine and client
  4. //
  5. //=============================================================================//
  6. #ifndef ENGINE_MODEL_CLIENT_H
  7. #define ENGINE_MODEL_CLIENT_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #define ENGINE_MODEL_CLIENT_MODELFLAG_RENDER_DISABLED 0x0080 // excluded for compliance with government regulations
  12. #if PLATFORM_64BITS
  13. #define ENGINE_MODEL_CLIENT_MODELT_OFFSET_FLAGS 280
  14. #else
  15. #define ENGINE_MODEL_CLIENT_MODELT_OFFSET_FLAGS 276
  16. #endif
  17. inline int EngineModelClientFlags( const void *pModel ) { return *reinterpret_cast< const int * >( ((const char*)pModel) + ENGINE_MODEL_CLIENT_MODELT_OFFSET_FLAGS ); }
  18. #endif // ENGINE_MODEL_CLIENT_H