Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
SmokePuffCSO Class Reference
+ Inheritance diagram for SmokePuffCSO:
+ Collaboration diagram for SmokePuffCSO:

Public Member Functions

 SmokePuffCSO (scene::ISceneManager *smgr, ClientEnvironment *env, const v3f &pos, const v2f &size)
 
virtual ~SmokePuffCSO ()
 
void step (float dtime)
 
- Public Member Functions inherited from ClientSimpleObject
 ClientSimpleObject ()=default
 
virtual ~ClientSimpleObject ()=default
 

Private Attributes

float m_age = 0.0f
 
scene::IBillboardSceneNode * m_spritenode = nullptr
 

Additional Inherited Members

- Public Attributes inherited from ClientSimpleObject
bool m_to_be_removed = false
 

Constructor & Destructor Documentation

◆ SmokePuffCSO()

SmokePuffCSO::SmokePuffCSO ( scene::ISceneManager * smgr,
ClientEnvironment * env,
const v3f & pos,
const v2f & size )
inline

References BS, floatToInt(), Environment::getDayNightRatio(), ClientEnvironment::getGameDef(), MapNode::getLightBlend(), NodeDefManager::getLightingFlags(), ClientEnvironment::getMap(), Map::getNode(), ITextureSource::getTextureForMesh(), infostream, m_spritenode, IGameDef::ndef(), and Client::tsrc().

+ Here is the call graph for this function:

◆ ~SmokePuffCSO()

virtual SmokePuffCSO::~SmokePuffCSO ( )
inlinevirtual

References infostream, and m_spritenode.

Member Function Documentation

◆ step()

void SmokePuffCSO::step ( float dtime)
inlinevirtual

Reimplemented from ClientSimpleObject.

References m_age, and ClientSimpleObject::m_to_be_removed.

Member Data Documentation

◆ m_age

float SmokePuffCSO::m_age = 0.0f
private

Referenced by step().

◆ m_spritenode

scene::IBillboardSceneNode* SmokePuffCSO::m_spritenode = nullptr
private

Referenced by SmokePuffCSO(), and ~SmokePuffCSO().


The documentation for this class was generated from the following file: