#include "particles.h"#include <cmath>#include <array>#include "client.h"#include "collision.h"#include "client/content_cao.h"#include "client/clientevent.h"#include "client/renderingengine.h"#include "client/texturesource.h"#include "util/numeric.h"#include "light.h"#include "localplayer.h"#include "clientmap.h"#include "mapnode.h"#include "node_visuals.h"#include "nodedef.h"#include "settings.h"#include "profiler.h"#include "CMeshBuffer.h"
Include dependency graph for particles.cpp:Typedefs | |
| using | BlendMode = ParticleParamTypes::BlendMode |
Functions | |
| static video::ITexture * | extractTexture (const TileDef &def, const TileLayer &layer, ITextureSource *tsrc) |
| static void | setBlendMode (video::SMaterial &material, BlendMode blendmode) |
Variables | |
| static constexpr u16 | quad_indices [] = { 0, 1, 2, 2, 3, 0 } |
|
static |
References TileLayer::empty(), TileLayer::frames, ITextureSource::getTexture(), MATERIAL_FLAG_ANIMATION, TileLayer::material_flags, and TileDef::name.
Referenced by ParticleManager::getNodeParticleParams(), and WieldMeshSceneNode::setExtruded().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by ParticleManager::getMaterialForParticle().
Here is the caller graph for this function:
|
staticconstexpr |