projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
30bdde3
)
fixed non-used argument, compiler warnings
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 1 Jul 2009 18:24:59 +0000
(14:24 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 1 Jul 2009 18:24:59 +0000
(14:24 -0400)
src/Effects/Screen.cpp
patch
|
blob
|
blame
|
history
src/Entities/PhysicsEntity.cpp
patch
|
blob
|
blame
|
history
src/GameStates/CreatingPolygon.cpp
patch
|
blob
|
blame
|
history
src/GameStates/Paused.cpp
patch
|
blob
|
blame
|
history
src/GameStates/Running.cpp
patch
|
blob
|
blame
|
history
src/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/Effects/Screen.cpp
b/src/Effects/Screen.cpp
index
770a456
..
bfcc581
100644
(file)
--- a/
src/Effects/Screen.cpp
+++ b/
src/Effects/Screen.cpp
@@
-34,7
+34,7
@@
Screen::~Screen()
/// ***** Public Class Methods *****
/// ***** Public Class Methods *****
-Vector2 Screen::positionDelta(const PhysicsEntity* e, float
time_step
) const
+Vector2 Screen::positionDelta(const PhysicsEntity* e, float
/*time_step*/
) const
{
const Vector2& pos = e->positionRaw();
{
const Vector2& pos = e->positionRaw();
@@
-61,7
+61,7
@@
Vector2 Screen::positionDelta(const PhysicsEntity* e, float time_step) const
return acc;
}
return acc;
}
-Vector2 Screen::velocityDelta(const PhysicsEntity* e, float
time_step
) const
+Vector2 Screen::velocityDelta(const PhysicsEntity* e, float
/*time_step*/
) const
{
const Vector2& pos = e->positionRaw();
const Vector2& velo = e->velocityRaw();
{
const Vector2& pos = e->positionRaw();
const Vector2& velo = e->velocityRaw();
diff --git
a/src/Entities/PhysicsEntity.cpp
b/src/Entities/PhysicsEntity.cpp
index
060ef62
..
d8615da
100644
(file)
--- a/
src/Entities/PhysicsEntity.cpp
+++ b/
src/Entities/PhysicsEntity.cpp
@@
-74,7
+74,7
@@
void PhysicsEntity::applyForce(const Vector2& force)
{
applyForce(force, position);
}
{
applyForce(force, position);
}
-void PhysicsEntity::applyForce(const Vector2& force, const Vector2&
at
)
+void PhysicsEntity::applyForce(const Vector2& force, const Vector2&
/*at*/
)
{
this->force += force;
}
{
this->force += force;
}
@@
-83,7
+83,7
@@
void PhysicsEntity::applyImpulse(const Vector2& impulse)
{
applyImpulse(impulse, position);
}
{
applyImpulse(impulse, position);
}
-void PhysicsEntity::applyImpulse(const Vector2& impulse, const Vector2&
at
)
+void PhysicsEntity::applyImpulse(const Vector2& impulse, const Vector2&
/*at*/
)
{
velocity += impulse;
}
{
velocity += impulse;
}
diff --git
a/src/GameStates/CreatingPolygon.cpp
b/src/GameStates/CreatingPolygon.cpp
index
f377141
..
105dbb3
100644
(file)
--- a/
src/GameStates/CreatingPolygon.cpp
+++ b/
src/GameStates/CreatingPolygon.cpp
@@
-31,15
+31,15
@@
CreatingPolygon::~CreatingPolygon()
/// ***** Public Class Methods *****
/// ***** Public Class Methods *****
-void CreatingPolygon::handleInput(bool
on_top
) const
+void CreatingPolygon::handleInput(bool
/*on_top*/
) const
{
// TODO
}
{
// TODO
}
-void CreatingPolygon::update(float
time_step, bool on_top
) const
+void CreatingPolygon::update(float
/*time_step*/, bool /*on_top*/
) const
{
}
{
}
-void CreatingPolygon::draw(bool
on_top
) const
+void CreatingPolygon::draw(bool
/*on_top*/
) const
{
// TODO
}
{
// TODO
}
diff --git
a/src/GameStates/Paused.cpp
b/src/GameStates/Paused.cpp
index
f2982b1
..
e539f5f
100644
(file)
--- a/
src/GameStates/Paused.cpp
+++ b/
src/GameStates/Paused.cpp
@@
-31,15
+31,15
@@
Paused::~Paused()
/// ***** Public Class Methods *****
/// ***** Public Class Methods *****
-void Paused::handleInput(bool
on_top
) const
+void Paused::handleInput(bool
/*on_top*/
) const
{
// TODO
}
{
// TODO
}
-void Paused::update(float
time_step, bool on_top
) const
+void Paused::update(float
/*time_step*/, bool /*on_top*/
) const
{
}
{
}
-void Paused::draw(bool
on_top
) const
+void Paused::draw(bool
/*on_top*/
) const
{
// TODO
}
{
// TODO
}
diff --git
a/src/GameStates/Running.cpp
b/src/GameStates/Running.cpp
index
f85c30f
..
1356891
100644
(file)
--- a/
src/GameStates/Running.cpp
+++ b/
src/GameStates/Running.cpp
@@
-47,7
+47,7
@@
void Running::update(float time_step, bool on_top) const
manager::update(time_step);
}
}
manager::update(time_step);
}
}
-void Running::draw(bool
on_top
) const
+void Running::draw(bool
/*on_top*/
) const
{
manager::draw();
}
{
manager::draw();
}
diff --git
a/src/main.cpp
b/src/main.cpp
index
988f5d1
..
ddf2dbd
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-95,7
+95,7
@@
static bool s_bUpdateInitialized = false;
static bool s_bDrawInitialized = false;
/// ***** MAIN Method *****
static bool s_bDrawInitialized = false;
/// ***** MAIN Method *****
-int main(int
argc, char** args
)
+int main(int
/*argc*/, char** /*args*/
)
{
mainInit();
run();
{
mainInit();
run();