BVB Source Codes

CRYENGINE Show CodeCoverageGUI.h Source code

Return Download CRYENGINE: download CodeCoverageGUI.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /********************************************************************
  4.    -------------------------------------------------------------------------
  5.    File name:   CodeCoverageGUI.h
  6.    $Id$
  7.    Description:
  8.  
  9.    -------------------------------------------------------------------------
  10.    History:
  11.    - ?
  12.    - 2 Mar 2009 : Evgeny Adamenkov: Removed parameter of type IRenderer from DebugDraw
  13.  
  14.  *********************************************************************/
  15. #ifndef _CODECOVERAGEGUI_H_
  16. #define _CODECOVERAGEGUI_H_
  17.  
  18. #if _MSC_VER > 1000
  19.         #pragma once
  20. #endif
  21.  
  22. #if !defined(_RELEASE)
  23.  
  24. const int CCLAST_ELEM = 3;
  25.  
  26. class CCodeCoverageGUI
  27. {
  28.         struct SStrAndTime
  29.         {
  30.                 SStrAndTime(const char* str = NULL, float time = 0.f) : pStr(str), fTime(time) {}
  31.  
  32.                 const char* pStr;
  33.                 float       fTime;
  34.         };
  35.  
  36. public:   // Construction & destruction
  37.         CCodeCoverageGUI(void);
  38.         ~CCodeCoverageGUI(void);
  39.  
  40. public:   // Operations
  41.         void Reset(IAISystem::EResetReason reason);
  42.         void Update(CTimeValue frameStartTime, float frameDeltaTime);
  43.         void DebugDraw(int nMode);
  44.  
  45. private:  // Member data
  46.         float                    m_fPercentageDone, m_fNewHit, m_fUnexpectedHit;
  47.         ITexture*                m_pTex, * m_pTexHit, * m_pTexUnexpected;
  48.         SStrAndTime              m_arrLast3[CCLAST_ELEM];
  49.         std::vector<const char*> m_vecRemaining;
  50.         int                      m_nListUnexpectedSize;
  51. };
  52.  
  53. #endif //_RELEASE
  54.  
  55. #endif
  56.  
downloadCodeCoverageGUI.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