mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 09:07:42 +00:00
Continue work on CActor::UpdateAnimation; lots of headers n stuff
This commit is contained in:
41
include/MetroidPrime/CParticleDatabase.hpp
Normal file
41
include/MetroidPrime/CParticleDatabase.hpp
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef _CPARTICLEDATABASE_HPP
|
||||
#define _CPARTICLEDATABASE_HPP
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#include "Kyoto/IObjectStore.hpp"
|
||||
#include "Kyoto/TToken.hpp"
|
||||
|
||||
#include "rstl/auto_ptr.hpp"
|
||||
#include "rstl/map.hpp"
|
||||
#include "rstl/rc_ptr.hpp"
|
||||
#include "rstl/string.hpp"
|
||||
|
||||
class CElectricDescription;
|
||||
class CGenDescription;
|
||||
class CParticleGenInfo;
|
||||
class CStateManager;
|
||||
class CSwooshDescription;
|
||||
|
||||
class CParticleDatabase {
|
||||
public:
|
||||
typedef rstl::map< rstl::string, rstl::auto_ptr< CParticleGenInfo > > DrawMap;
|
||||
|
||||
void SetParticleEffectState(const rstl::string& name, bool active, CStateManager& mgr);
|
||||
|
||||
private:
|
||||
rstl::map< CAssetId, rstl::rc_ptr< TLockedToken< CGenDescription > > > x0_particleDescs;
|
||||
rstl::map< CAssetId, rstl::rc_ptr< TLockedToken< CSwooshDescription > > > x14_swooshDescs;
|
||||
rstl::map< CAssetId, rstl::rc_ptr< TLockedToken< CElectricDescription > > > x28_electricDescs;
|
||||
DrawMap x3c_rendererDrawLoop;
|
||||
DrawMap x50_firstDrawLoop;
|
||||
DrawMap x64_lastDrawLoop;
|
||||
DrawMap x78_rendererDraw;
|
||||
DrawMap x8c_firstDraw;
|
||||
DrawMap xa0_lastDraw;
|
||||
bool xb4_24_updatesEnabled : 1;
|
||||
bool xb4_25_anySystemsDrawnWithModel : 1;
|
||||
};
|
||||
CHECK_SIZEOF(CParticleDatabase, 0xb5)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user