BVB Source Codes

CRYENGINE Show DialogCommon.h Source code

Return Download CRYENGINE: download DialogCommon.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:   DialogCommon.h
  5. //  Version:     v1.00
  6. //  Created:     07/07/2006 by AlexL
  7. //  Compilers:   Visual Studio.NET
  8. //  Description: Dialog Common Include file
  9. // -------------------------------------------------------------------------
  10. //  History:
  11. //
  12. ////////////////////////////////////////////////////////////////////////////
  13.  
  14. #ifndef __DIALOGCOMMON_H__
  15. #define __DIALOGCOMMON_H__
  16.  
  17. #pragma once
  18.  
  19. #include <CrySystem/ISystem.h>
  20. #include "DialogSystem.h"
  21.  
  22. namespace DiaLOG
  23. {
  24. enum ELevel
  25. {
  26.         eAlways = 1,
  27.         eDebugA = 2,
  28.         eDebugB = 3,
  29.         eDebugC = 4
  30. };
  31.  
  32. inline void Log(DiaLOG::ELevel level, const char*, ...) PRINTF_PARAMS(2, 3);
  33.  
  34. //////////////////////////////////////////////////////////////////////////
  35. //! Reports a Game Warning to validator with WARNING severity.
  36. inline void Log(DiaLOG::ELevel level, const char* format, ...)
  37. {
  38.         if (gEnv->pSystem && (int)level <= CDialogSystem::sDiaLOGLevel)
  39.         {
  40.                 va_list args;
  41.                 va_start(args, format);
  42.                 gEnv->pLog->LogV(ILog::eMessage, format, args);
  43.                 va_end(args);
  44.         }
  45. }
  46.  
  47. };
  48.  
  49. #endif
  50.  
downloadDialogCommon.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