BVB Source Codes

CRYENGINE Show BloodSplats.h Source code

Return Download CRYENGINE: download BloodSplats.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: Blood splat effect
  8.  
  9.    -------------------------------------------------------------------------
  10.    History:
  11.    - 17:01:2006:                Created by Marco Koegler
  12.  
  13. *************************************************************************/
  14. #ifndef __BLOODSPLATS_H__
  15. #define __BLOODSPLATS_H__
  16.  
  17. #include "Effect.h"
  18.  
  19. class CBloodSplats : public CEffect
  20. {
  21. public:
  22.  
  23.         void         Init(int type, float maxTime);
  24.         // IEffect overrides
  25.         virtual bool Update(float delta);
  26.         virtual bool OnActivate();
  27.         virtual bool OnDeactivate();
  28.         virtual void GetMemoryUsage(ICrySizer* s) const;
  29.         // ~IEffect overrides
  30.  
  31. private:
  32.         int   m_type;           // 0 human, 1 alien
  33.         float m_maxTime;        // maximum time until effect expires
  34.         float m_currentTime;    // current time
  35. };
  36.  
  37. #endif //__BLOODSPLATS_H__
  38.  
downloadBloodSplats.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