diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/game/client/c_slideshow_display.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/game/client/c_slideshow_display.h')
| -rw-r--r-- | sp/src/game/client/c_slideshow_display.h | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/sp/src/game/client/c_slideshow_display.h b/sp/src/game/client/c_slideshow_display.h index 6164acd3..0a88d57c 100644 --- a/sp/src/game/client/c_slideshow_display.h +++ b/sp/src/game/client/c_slideshow_display.h @@ -1,76 +1,76 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-#ifndef C_SLIDESHOW_DISPLAY_H
-#define C_SLIDESHOW_DISPLAY_H
-
-#include "cbase.h"
-#include "utlvector.h"
-
-
-struct SlideMaterialList_t
-{
- char szSlideKeyword[64];
- CUtlVector<int> iSlideMaterials;
- CUtlVector<int> iSlideIndex;
-};
-
-
-class C_SlideshowDisplay : public C_BaseEntity
-{
-public:
- DECLARE_CLASS( C_SlideshowDisplay, CBaseEntity );
- DECLARE_CLIENTCLASS();
-
- C_SlideshowDisplay();
- virtual ~C_SlideshowDisplay();
-
- void Spawn( void );
-
- virtual void OnDataChanged( DataUpdateType_t updateType );
-
- void ClientThink( void );
-
- bool IsEnabled( void ) { return m_bEnabled; }
-
- void GetDisplayText( char *pchText ) { Q_strcpy( pchText, m_szDisplayText ); }
- int CurrentMaterialIndex( void ) { return m_iCurrentMaterialIndex; }
- int GetMaterialIndex( int iSlideIndex );
- int NumMaterials( void );
- int CurrentSlideIndex( void ) { return m_iCurrentSlideIndex; }
-
-private:
-
- void BuildSlideShowImagesList( void );
-
-private:
-
- bool m_bEnabled;
-
- char m_szDisplayText[ 128 ];
-
- char m_szSlideshowDirectory[ 128 ];
-
- CUtlVector<SlideMaterialList_t*> m_SlideMaterialLists;
- unsigned char m_chCurrentSlideLists[ 16 ];
- int m_iCurrentMaterialIndex;
- int m_iCurrentSlideIndex;
-
- float m_fMinSlideTime;
- float m_fMaxSlideTime;
-
- float m_NextSlideTime;
-
- int m_iCycleType;
- bool m_bNoListRepeats;
- int m_iCurrentSlideList;
- int m_iCurrentSlide;
-};
-
-extern CUtlVector< C_SlideshowDisplay* > g_SlideshowDisplays;
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#ifndef C_SLIDESHOW_DISPLAY_H +#define C_SLIDESHOW_DISPLAY_H + +#include "cbase.h" +#include "utlvector.h" + + +struct SlideMaterialList_t +{ + char szSlideKeyword[64]; + CUtlVector<int> iSlideMaterials; + CUtlVector<int> iSlideIndex; +}; + + +class C_SlideshowDisplay : public C_BaseEntity +{ +public: + DECLARE_CLASS( C_SlideshowDisplay, CBaseEntity ); + DECLARE_CLIENTCLASS(); + + C_SlideshowDisplay(); + virtual ~C_SlideshowDisplay(); + + void Spawn( void ); + + virtual void OnDataChanged( DataUpdateType_t updateType ); + + void ClientThink( void ); + + bool IsEnabled( void ) { return m_bEnabled; } + + void GetDisplayText( char *pchText ) { Q_strcpy( pchText, m_szDisplayText ); } + int CurrentMaterialIndex( void ) { return m_iCurrentMaterialIndex; } + int GetMaterialIndex( int iSlideIndex ); + int NumMaterials( void ); + int CurrentSlideIndex( void ) { return m_iCurrentSlideIndex; } + +private: + + void BuildSlideShowImagesList( void ); + +private: + + bool m_bEnabled; + + char m_szDisplayText[ 128 ]; + + char m_szSlideshowDirectory[ 128 ]; + + CUtlVector<SlideMaterialList_t*> m_SlideMaterialLists; + unsigned char m_chCurrentSlideLists[ 16 ]; + int m_iCurrentMaterialIndex; + int m_iCurrentSlideIndex; + + float m_fMinSlideTime; + float m_fMaxSlideTime; + + float m_NextSlideTime; + + int m_iCycleType; + bool m_bNoListRepeats; + int m_iCurrentSlideList; + int m_iCurrentSlide; +}; + +extern CUtlVector< C_SlideshowDisplay* > g_SlideshowDisplays; + #endif //C_SLIDESHOW_STATS_DISPLAY_H
\ No newline at end of file |