Some debug code

This commit is contained in:
tleety
2015-10-13 15:09:00 +02:00
parent cd64531307
commit c431193764
3 changed files with 69 additions and 7 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ protected:
virtual bool OnMousePress(const Events::MousePress& event)
{
if (Hidden()) {
LOG_DEBUG("Pressed hidden button");
//LOG_DEBUG("Pressed hidden button");
return false;
}
@@ -117,7 +117,7 @@ protected:
virtual bool OnMouseRelease(const Events::MouseRelease& event)
{
if (Hidden()) {
LOG_DEBUG("Released hidden button");
//LOG_DEBUG("Released hidden button");
return false;
}
+3 -1
View File
@@ -99,6 +99,8 @@ namespace dd
std::unordered_map<b2Body*, EntityID> m_BodiesToEntities;
int t_counter = 0;
void CreateBody(EntityID entity);
void SyncEntitiesWithBodies();
@@ -128,7 +130,7 @@ namespace dd
std::vector<EntityID> ParticleEmitter;
std::vector<EntityID> ParticleTemplate;
};
EmitterHandler m_ParticleEmitters;
EmitterHandler m_ParticleEmitters;
std::list<Impulse> m_Impulses;