OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
SpriteObject.cpp File Reference
#include "Engine/Objects/SpriteObject.h"
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#include "Engine/Engine.h"
#include "Engine/SpellFxRenderer.h"
#include "Engine/Time/Timer.h"
#include "Engine/Events/Processor.h"
#include "Engine/OurMath.h"
#include "Engine/Party.h"
#include "Engine/TurnEngine/TurnEngine.h"
#include "Engine/AttackList.h"
#include "Engine/MapInfo.h"
#include "Engine/Random/Random.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/ObjectList.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Objects/MonsterEnumFunctions.h"
#include "Engine/Objects/SpriteEnumFunctions.h"
#include "Engine/Tables/ItemTable.h"
#include "Engine/Graphics/Collisions.h"
#include "Engine/Graphics/BSPModel.h"
#include "Engine/Graphics/Outdoor.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/ParticleEngine.h"
#include "Engine/Graphics/Sprites.h"
#include "Media/Audio/AudioPlayer.h"
#include "Utility/Math/TrigLut.h"

Functions

static void createSpriteTrailParticle (Vec3f pos, ObjectDescFlags flags)
 
void CompactLayingItemsList ()
 
static void updateSpriteOnImpact (SpriteObject *object)
 
bool processSpellImpact (unsigned int uLayingItemID, Pid pid)
 
void applySpellSpriteDamage (unsigned int uLayingItemID, Pid pid)
 
void UpdateObjects ()
 
unsigned int collideWithActor (unsigned int uLayingItemID, Pid pid)
 

Variables

static SpellFxRendererspell_fx_renderer = EngineIocContainer::ResolveSpellFxRenderer()
 
static std::shared_ptr< ParticleEngineparticle_engine = EngineIocContainer::ResolveParticleEngine()
 
std::vector< SpriteObjectpSpriteObjects
 

Function Documentation

◆ applySpellSpriteDamage()

void applySpellSpriteDamage ( unsigned int  uLayingItemID,
Pid  pid 
)
Original binary offset:
0x43A97E

◆ collideWithActor()

unsigned int collideWithActor ( unsigned int  uLayingItemID,
Pid  pid 
)
Original binary offset:
0x46DEF2

◆ CompactLayingItemsList()

void CompactLayingItemsList ( )

◆ createSpriteTrailParticle()

static void createSpriteTrailParticle ( Vec3f  pos,
ObjectDescFlags  flags 
)
static

◆ processSpellImpact()

bool processSpellImpact ( unsigned int  uLayingItemID,
Pid  pid 
)
Original binary offset:
0x46BFFA

◆ UpdateObjects()

void UpdateObjects ( )

◆ updateSpriteOnImpact()

static void updateSpriteOnImpact ( SpriteObject object)
static

Variable Documentation

◆ particle_engine

std::shared_ptr<ParticleEngine> particle_engine = EngineIocContainer::ResolveParticleEngine()
static

◆ pSpriteObjects

std::vector<SpriteObject> pSpriteObjects

◆ spell_fx_renderer