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.

29 lines
921 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose: To accomplish X360 TCR 22, we need to call present ever 66msec
  4. // at least during loading screens. This amazing hack will do it
  5. // by overriding the allocator to tick it every so often.
  6. //
  7. // $NoKeywords: $
  8. //===========================================================================//
  9. #ifndef LOAD_SCREEN_UPDATE_H
  10. #define LOAD_SCREEN_UPDATE_H
  11. #ifdef _WIN32
  12. #pragma once
  13. #endif
  14. #include "materialsystem/imaterialsystem.h"
  15. //-----------------------------------------------------------------------------
  16. // Activate, deactivate loader updates
  17. //-----------------------------------------------------------------------------
  18. void BeginLoadingUpdates( MaterialNonInteractiveMode_t mode );
  19. void RefreshScreenIfNecessary();
  20. void EndLoadingUpdates();
  21. void PauseLoadingUpdates( bool bPause );
  22. #endif /* LOAD_SCREEN_UPDATE_H */