|
| 1 | +#pragma once |
| 2 | + |
| 3 | +#include <Marathon.inl> |
| 4 | +#include <Sonicteam/System/Singleton.h> |
| 5 | +#include <Sonicteam/System/CreateStatic.h> |
| 6 | +#include <Sonicteam/GE1PE/Plugin.h> |
| 7 | +#include <boost/smart_ptr/shared_ptr.h> |
| 8 | +#include <stdx/map.h> |
| 9 | +#include <stdx/string.h> |
| 10 | +#include <stdx/vector.h> |
| 11 | +#include <Sonicteam/SoX/LinkNode.h> |
| 12 | + |
| 13 | +namespace Sonicteam::GE1PE |
| 14 | +{ |
| 15 | + class EffectBank; |
| 16 | + class TextureBank; |
| 17 | + class Material; |
| 18 | + class Manager; |
| 19 | + |
| 20 | + class ParticleEngine : public System::Singleton<ParticleEngine,0x82D3C4F4, System::CreateStatic<ParticleEngine,0x82642090>> |
| 21 | + { |
| 22 | + public: |
| 23 | + xpointer<void> m_pVftable; |
| 24 | + boost::shared_ptr<Plugin> m_spPlugin; |
| 25 | + stdx::map<stdx::string, be<uint32_t>> m_mEffectIndicies; // ev001 = index |
| 26 | + stdx::map<stdx::string, be<uint32_t>> m_mTextureIndicies; //vehicle_jet_grid = 0x9F; |
| 27 | + stdx::map<stdx::string, be<uint32_t>> m_MaterialIndicies; //addBN = 3; MeshTestShader ... |
| 28 | + stdx::vector<xpointer<EffectBank>> m_vpEffectBank; |
| 29 | + stdx::vector<xpointer<TextureBank>> m_vpTextureBank; |
| 30 | + stdx::vector<xpointer<TextureBank>> m_vpMaterialBank; |
| 31 | + SoX::LinkNode<Manager> m_lnManager; |
| 32 | + stdx::vector<void> m_vField6C; |
| 33 | + }; |
| 34 | + MARATHON_ASSERT_OFFSETOF(ParticleEngine, m_vpEffectBank, 0x30); |
| 35 | + MARATHON_ASSERT_OFFSETOF(ParticleEngine, m_vpTextureBank, 0x40); |
| 36 | + MARATHON_ASSERT_OFFSETOF(ParticleEngine, m_vpMaterialBank, 0x50); |
| 37 | + MARATHON_ASSERT_OFFSETOF(ParticleEngine, m_lnManager, 0x60); |
| 38 | + MARATHON_ASSERT_OFFSETOF(ParticleEngine, m_vField6C, 0x6C); |
| 39 | +} |
0 commit comments