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.

31 lines
833 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef IMATERIALSYSTEMSTUB_H
  7. #define IMATERIALSYSTEMSTUB_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "materialsystem/imaterialsystem.h"
  12. // If you get this interface out of the material system, it'll return an IMaterialSystem
  13. // with everything stubbed. This is used for running the client in text mode.
  14. #define MATERIAL_SYSTEM_STUB_INTERFACE_VERSION "VMaterialSystemStub001"
  15. class IMaterialSystemStub : public IMaterialSystem
  16. {
  17. public:
  18. // If this is called, then the stub will call through to the real material
  19. // system in some functions.
  20. virtual void SetRealMaterialSystem( IMaterialSystem *pSys ) = 0;
  21. };
  22. #endif // IMATERIALSYSTEMSTUB_H