diff --git a/assets b/assets index 6cc3858..72b93d5 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit 6cc38589ed77dbb3b9c34c1168d52e0f86e1de46 +Subproject commit 72b93d5750283864f244241e65a38436d05c5f96 diff --git a/src/Events/CreateExplosion.h b/src/Events/CreateExplosion.h new file mode 100644 index 0000000..76f2312 --- /dev/null +++ b/src/Events/CreateExplosion.h @@ -0,0 +1,24 @@ +#ifndef Event_CreateExplosion_h__ +#define Event_CreateExplosion_h__ + +#include "EventBroker.h" +#include +#include + +namespace Events +{ + struct CreateExplosion : Event + { + glm::vec3 Position; + double LifeTime; + int ParticlesToSpawn; + std::string spritePath; + glm::quat RelativeUpOrientation; + float Speed; + float SpreadAngle; + float ParticleScale; + }; + +} + +#endif // Event_CreateExplosion_h__ diff --git a/vs11/Returngeance/Returngeance.vcxproj b/vs11/Returngeance/Returngeance.vcxproj index 6a99e47..d0a9467 100755 --- a/vs11/Returngeance/Returngeance.vcxproj +++ b/vs11/Returngeance/Returngeance.vcxproj @@ -163,6 +163,7 @@ + diff --git a/vs11/Returngeance/Returngeance.vcxproj.filters b/vs11/Returngeance/Returngeance.vcxproj.filters index 2bf19bf..fccf111 100755 --- a/vs11/Returngeance/Returngeance.vcxproj.filters +++ b/vs11/Returngeance/Returngeance.vcxproj.filters @@ -158,6 +158,9 @@ {cb06b441-90b8-46ed-b347-4190dac7185b} + + {ddd3c442-7c2f-4690-9308-fcef62deee0b} + @@ -397,6 +400,9 @@ Gameplay\Components + + Particle System\Events +