sqwarmed/sdk_src/game/client/iloadingdisc.h

42 lines
964 B
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
// $NoKeywords: $
//=============================================================================//
#ifndef ILOADINGDISC_H
#define ILOADINGDISC_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
namespace vgui
{
class Panel;
}
abstract_class ILoadingDisc
{
public:
virtual void Create( vgui::VPANEL parent ) = 0;
virtual void Destroy( void ) = 0;
// loading disc
virtual void SetLoadingVisible( bool bVisible ) = 0;
// paused disc
virtual void SetPausedVisible( bool bVisible ) = 0;
// level loading progress, returns true if the screen needs updating
virtual bool UpdateProgressBar( float progress, const char *statusText ) = 0;
virtual unsigned int GetLoadingVPANEL( void ) = 0;
};
extern ILoadingDisc *loadingdisc;
#endif // ILOADINGDISC_H