Merge remote-tracking branch 'origin/master' into Sound

# Conflicts:
#	assets
This commit is contained in:
stiffly
2016-02-04 10:47:30 +01:00
parent 2e3e59a1e2
commit 0a8ee1623f
6 changed files with 36 additions and 2 deletions
+3
View File
@@ -35,6 +35,7 @@
#include "Core/EEntityDeleted.h"
#include "Collision/ETrigger.h"
#include "Core/EPause.h"
#include "Game/Events/EDoubleJump.h"
typedef std::pair<ALuint, std::vector<ALuint>> QueuedBuffers;
@@ -152,6 +153,8 @@ private:
bool OnPause(const Events::Pause &e);
EventRelay<SoundSystem, Events::Resume> m_EResume;
bool OnResume(const Events::Resume &e);
EventRelay<SoundSystem, Events::DoubleJump> m_EDoubleJump;
bool OnDoubleJump(const Events::DoubleJump &e);
+16
View File
@@ -0,0 +1,16 @@
#ifndef Events_DoubleJump_h__
#define Events_DoubleJump_h__
#include "Core/Event.h"
namespace Events
{
struct DoubleJump : public Event
{
};
}
#endif
@@ -4,6 +4,7 @@
#include "Core/EPlayerSpawned.h"
#include "Input/FirstPersonInputController.h"
#include <imgui/imgui.h>
#include "Events/EDoubleJump.h"
class PlayerMovementSystem : public ImpureSystem, PureSystem
{