BVB Source Codes

CRYENGINE Show PersonalLog.h Source code

Return Download CRYENGINE: download PersonalLog.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #pragma once
  4.  
  5. #include <queue>
  6.  
  7. #if !defined(_RELEASE) && CRY_PLATFORM_WINDOWS
  8.         #define AI_COMPILE_WITH_PERSONAL_LOG
  9. #endif
  10.  
  11. // An actor keeps a personal log where messages are stored.
  12. // This text can be rendered to the screen and will be recorded
  13. // in the AI Recorded for later inspection.
  14. class PersonalLog
  15. {
  16. public:
  17.         typedef std::deque<string> Messages;
  18.  
  19.         void            AddMessage(const EntityId entityId, const char* message);
  20.         const Messages& GetMessages() const { return m_messages; }
  21.         void            Clear()             { m_messages.clear(); }
  22.  
  23. private:
  24.         Messages m_messages;
  25. };
  26.  
downloadPersonalLog.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