BVB Source Codes

CRYENGINE Show FlowVehicleLights.h Source code

Return Download CRYENGINE: download FlowVehicleLights.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.    Description: Implements a flow node to toggel vehicle lights
  8.  
  9.    -------------------------------------------------------------------------
  10.    History:
  11.    - 03:03:2007: Created by MichaelR
  12.  
  13. *************************************************************************/
  14. #ifndef __FLOWVEHICLELights_H__
  15. #define __FLOWVEHICLELights_H__
  16.  
  17. #include "FlowVehicleBase.h"
  18.  
  19. class CFlowVehicleLights
  20.         : public CFlowVehicleBase
  21. {
  22. public:
  23.  
  24.         CFlowVehicleLights(SActivationInfo* pActivationInfo) { Init(pActivationInfo); }
  25.         ~CFlowVehicleLights() { Delete(); }
  26.  
  27.         // CFlowBaseNode
  28.         virtual IFlowNodePtr Clone(SActivationInfo* pActivationInfo);
  29.         virtual void         GetConfiguration(SFlowNodeConfig& nodeConfig);
  30.         virtual void         ProcessEvent(EFlowEvent flowEvent, SActivationInfo* pActivationInfo);
  31.         // ~CFlowBaseNode
  32.  
  33.         // IVehicleEventListener
  34.         virtual void OnVehicleEvent(EVehicleEvent event, const SVehicleEventParams& params) {}
  35.         // ~IVehicleEventListener
  36.  
  37.         virtual void GetMemoryUsage(ICrySizer* s) const
  38.         {
  39.                 s->Add(*this);
  40.         }
  41.  
  42. protected:
  43.  
  44.         enum EInputs
  45.         {
  46.                 eIn_LightType = 0,
  47.                 eIn_Activate,
  48.                 eIn_Deactivate
  49.         };
  50. };
  51.  
  52. #endif
  53.  
downloadFlowVehicleLights.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