BVB Source Codes

CRYENGINE Show FlashUIUtilNodes.h Source code

Return Download CRYENGINE: download FlashUIUtilNodes.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:   FlashUIUtilNodes.h
  5. //  Version:     v1.00
  6. //  Created:     24/4/2012 by Paul Reindell.
  7. //  Description:
  8. // -------------------------------------------------------------------------
  9. //  History:
  10. //
  11. ////////////////////////////////////////////////////////////////////////////
  12.  
  13. #pragma once
  14.  
  15. #include <CryFlowGraph/IFlowBaseNode.h>
  16.  
  17. // --------------------------------------------------------------
  18. class CFlashUIPlatformNode : public CFlowBaseNode<eNCT_Singleton>
  19. {
  20. public:
  21.         CFlashUIPlatformNode(SActivationInfo* pActInfo) {}
  22.         virtual ~CFlashUIPlatformNode() {}
  23.  
  24.         virtual void GetMemoryUsage(ICrySizer* s) const { s->Add(*this); }
  25.         virtual void GetConfiguration(SFlowNodeConfig& config);
  26.         virtual void ProcessEvent(EFlowEvent event, SActivationInfo* pActInfo);
  27.  
  28. private:
  29.         enum EInputs
  30.         {
  31.                 eI_Get = 0,
  32.         };
  33.         enum EOutputs
  34.         {
  35.                 eO_IsPc = 0,
  36.                 eO_IsDurango,
  37.                 eO_IsOrbis,
  38.                 eO_IsAndroid,
  39.                 eO_IsConsole,
  40.         };
  41. };
  42.  
  43. // --------------------------------------------------------------
  44. class CFlashUIDelayNode : public CFlowBaseNode<eNCT_Instanced>
  45. {
  46. public:
  47.         CFlashUIDelayNode(SActivationInfo*) : m_fTime(0.0f) {};
  48.  
  49.         // IFlowNode
  50.         virtual void         GetConfiguration(SFlowNodeConfig&);
  51.         virtual void         ProcessEvent(EFlowEvent event, SActivationInfo*);
  52.         virtual IFlowNodePtr Clone(SActivationInfo* pActInfo) { return new CFlashUIDelayNode(pActInfo); }
  53.  
  54.         virtual void         GetMemoryUsage(ICrySizer* s) const
  55.         {
  56.                 s->Add(*this);
  57.         }
  58.         // ~IFlowNode
  59.  
  60. private:
  61.         enum EInputs
  62.         {
  63.                 eI_Start = 0,
  64.                 eI_Delay,
  65.         };
  66.         enum EOutputs
  67.         {
  68.                 eO_Done = 0,
  69.         };
  70.  
  71.         float m_fTime;
  72. };
  73.  
downloadFlashUIUtilNodes.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