BVB Source Codes

CRYENGINE Show ISubtitleManager.h Source code

Return Download CRYENGINE: download ISubtitleManager.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. // -------------------------------------------------------------------------
  4. //  File name:   ISubtitleManager.h
  5. //  Version:     v1.00
  6. //  Created:     29/01/2007 by AlexL.
  7. //  Compilers:   Visual Studio.NET 2005
  8. //  Description: Interface to the Subtitle Manager
  9. // -------------------------------------------------------------------------
  10. //  History:
  11. //
  12. ////////////////////////////////////////////////////////////////////////////
  13.  
  14. #ifndef __ISUBTITLEMANAGER_H__
  15. #define __ISUBTITLEMANAGER_H__
  16. #pragma once
  17.  
  18. //////////////////////////////////////////////////////////////////////////
  19. struct ISubtitleHandler
  20. {
  21.         virtual ~ISubtitleHandler(){}
  22.         virtual void ShowSubtitle(const SAudioRequestInfo* const pAudioRequestInfo, bool bShow) = 0;
  23.         virtual void ShowSubtitle(const char* subtitleLabel, bool bShow) = 0;
  24. };
  25.  
  26. //////////////////////////////////////////////////////////////////////////
  27. struct ISubtitleManager
  28. {
  29.         virtual ~ISubtitleManager(){}
  30.         virtual void SetHandler(ISubtitleHandler* pHandler) = 0;
  31.  
  32.         // enables/disables subtitles manager
  33.         virtual void SetEnabled(bool bEnabled) = 0;
  34.  
  35.         // automatic mode. Will inform the subtitleHandler about every executed/stopped audio trigger.
  36.         // You can use this mode, if you want to drive your subtitles by started sounds and not manually.
  37.         virtual void SetAutoMode(bool bOn) = 0;
  38.  
  39.         virtual void ShowSubtitle(const char* subtitleLabel, bool bShow) = 0;
  40. };
  41.  
  42. #endif // __ISUBTITLEMANAGER_H__
  43.  
downloadISubtitleManager.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top