From: Patrik Gornicz Date: Sat, 2 May 2009 18:22:07 +0000 (-0400) Subject: added using namespace pg to relavent files ... will remove at some point X-Git-Tag: physics-premerge~35 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=commitdiff_plain;h=b85b89ba9a2cb0373209e8117046fd308faf0202;p=libbear.git added using namespace pg to relavent files ... will remove at some point --- diff --git a/src/CollisionInfo.h b/src/CollisionInfo.h index c81888b..6a1428e 100644 --- a/src/CollisionInfo.h +++ b/src/CollisionInfo.h @@ -20,6 +20,7 @@ #define COLLISIONINFO_H #include +using namespace pg; /// ***** Header Class ***** diff --git a/src/Effects/Effect.h b/src/Effects/Effect.h index 9829919..15c7766 100644 --- a/src/Effects/Effect.h +++ b/src/Effects/Effect.h @@ -19,6 +19,7 @@ #define EFFECT_H #include +using namespace pg; // Mutual headers ... diff --git a/src/Effects/Gravity.h b/src/Effects/Gravity.h index 0b7815d..f7458d3 100644 --- a/src/Effects/Gravity.h +++ b/src/Effects/Gravity.h @@ -19,6 +19,7 @@ #define GRAVITY_H #include +using namespace pg; #include "Effect.h" diff --git a/src/Effects/GravityWell.h b/src/Effects/GravityWell.h index 443512d..ea13a22 100644 --- a/src/Effects/GravityWell.h +++ b/src/Effects/GravityWell.h @@ -19,6 +19,7 @@ #define GRAVITYWELL_H #include +using namespace pg; #include "Effect.h" diff --git a/src/Effects/Screen.h b/src/Effects/Screen.h index b572593..2ff5f1a 100644 --- a/src/Effects/Screen.h +++ b/src/Effects/Screen.h @@ -19,6 +19,7 @@ #define SCREEN_H #include +using namespace pg; #include "Effect.h" diff --git a/src/Entities/Ball.cpp b/src/Entities/Ball.cpp index d0563d7..ecbb412 100644 --- a/src/Entities/Ball.cpp +++ b/src/Entities/Ball.cpp @@ -19,6 +19,7 @@ #include #include +using namespace pg; #include "graphics/graphics.h" diff --git a/src/Entities/Ball.h b/src/Entities/Ball.h index e4267e8..6b7c4c9 100644 --- a/src/Entities/Ball.h +++ b/src/Entities/Ball.h @@ -19,6 +19,7 @@ #define BALL_H #include +using namespace pg; #include "PhysicsEntity.h" diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 09e27ab..9510b78 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -18,6 +18,7 @@ #include "Entity.h" #include +using namespace pg; /// ***** Constructors/Destructors ***** diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index e59f4fd..6cd3e41 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -19,6 +19,7 @@ #define ENTITY_H #include +using namespace pg; /// ***** Header Class ***** diff --git a/src/Entities/Line.cpp b/src/Entities/Line.cpp index 793b3cf..fb82931 100644 --- a/src/Entities/Line.cpp +++ b/src/Entities/Line.cpp @@ -18,6 +18,7 @@ #include "Line.h" #include +using namespace pg; /// ***** Constructors/Destructors ***** diff --git a/src/Entities/Line.h b/src/Entities/Line.h index a4f94e7..f36bf1c 100644 --- a/src/Entities/Line.h +++ b/src/Entities/Line.h @@ -19,6 +19,7 @@ #define LINE_H #include +using namespace pg; #include "Particle.h" diff --git a/src/Entities/Particle.cpp b/src/Entities/Particle.cpp index 97cbafb..23226e0 100644 --- a/src/Entities/Particle.cpp +++ b/src/Entities/Particle.cpp @@ -18,6 +18,7 @@ #include "Particle.h" #include +using namespace pg; /// ***** Constructors/Destructors ***** diff --git a/src/Entities/Particle.h b/src/Entities/Particle.h index 251c8ef..51c85a4 100644 --- a/src/Entities/Particle.h +++ b/src/Entities/Particle.h @@ -19,6 +19,7 @@ #define PARTICLE_H #include +using namespace pg; #include "Entity.h" diff --git a/src/Entities/PhysicsEntity.cpp b/src/Entities/PhysicsEntity.cpp index d20f671..4ba50dc 100644 --- a/src/Entities/PhysicsEntity.cpp +++ b/src/Entities/PhysicsEntity.cpp @@ -19,6 +19,7 @@ #include #include +using namespace pg; #include "effectManager.h" diff --git a/src/Entities/PhysicsEntity.h b/src/Entities/PhysicsEntity.h index e6f2f36..e3ce13c 100644 --- a/src/Entities/PhysicsEntity.h +++ b/src/Entities/PhysicsEntity.h @@ -19,6 +19,7 @@ #define PHYSICS_H #include +using namespace pg; #include "Entity.h" diff --git a/src/Entities/Point.cpp b/src/Entities/Point.cpp index 7083ba2..c6072a6 100644 --- a/src/Entities/Point.cpp +++ b/src/Entities/Point.cpp @@ -18,6 +18,7 @@ #include "Point.h" #include +using namespace pg; /// ***** Constructors/Destructors ***** diff --git a/src/Entities/Point.h b/src/Entities/Point.h index 3845e5a..2f993cc 100644 --- a/src/Entities/Point.h +++ b/src/Entities/Point.h @@ -19,6 +19,7 @@ #define POINT_H #include +using namespace pg; #include "Particle.h" diff --git a/src/Entities/Polygon.cpp b/src/Entities/Polygon.cpp index 9f2eff6..373f805 100644 --- a/src/Entities/Polygon.cpp +++ b/src/Entities/Polygon.cpp @@ -19,6 +19,7 @@ #include #include +using namespace pg; #include "graphics/graphics.h" diff --git a/src/Entities/Polygon.h b/src/Entities/Polygon.h index 6b115fc..314a5ec 100644 --- a/src/Entities/Polygon.h +++ b/src/Entities/Polygon.h @@ -19,6 +19,7 @@ #define POLYGON_H #include +using namespace pg; #include "PhysicsEntity.h" diff --git a/src/Entities/WindParticle.cpp b/src/Entities/WindParticle.cpp index dc1274a..9df28c2 100644 --- a/src/Entities/WindParticle.cpp +++ b/src/Entities/WindParticle.cpp @@ -18,6 +18,7 @@ #include "WindParticle.h" #include +using namespace pg; /// ***** Constructors/Destructors ***** diff --git a/src/Entities/WindParticle.h b/src/Entities/WindParticle.h index 11ddedd..b03aebb 100644 --- a/src/Entities/WindParticle.h +++ b/src/Entities/WindParticle.h @@ -19,6 +19,7 @@ #define WINDPARTICLE_H #include +using namespace pg; #include "Point.h" diff --git a/src/collisionManager.cpp b/src/collisionManager.cpp index 1076ccc..0e828a4 100644 --- a/src/collisionManager.cpp +++ b/src/collisionManager.cpp @@ -20,6 +20,7 @@ #include #include #include +using namespace pg; #include "Entities/Ball.h" #include "Entities/Polygon.h" diff --git a/src/config/config.cpp b/src/config/config.cpp index 88768f3..5194077 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -18,6 +18,7 @@ #include "config.h" #include +using namespace pg; #include #include "keys.h" diff --git a/src/config/keys.cpp b/src/config/keys.cpp index b2e9917..6cd2960 100644 --- a/src/config/keys.cpp +++ b/src/config/keys.cpp @@ -18,6 +18,7 @@ #include "keys.h" #include +using namespace pg; #include diff --git a/src/config/keys.h b/src/config/keys.h index 6a0d0db..81eeb14 100644 --- a/src/config/keys.h +++ b/src/config/keys.h @@ -20,6 +20,7 @@ #define KEYS_H #include +using namespace pg; #include diff --git a/src/config/reader.cpp b/src/config/reader.cpp index 3f370e3..edba875 100644 --- a/src/config/reader.cpp +++ b/src/config/reader.cpp @@ -18,6 +18,7 @@ #include "reader.h" #include +using namespace pg; #include using std::cerr; diff --git a/src/effectManager.cpp b/src/effectManager.cpp index bcd597e..526debe 100644 --- a/src/effectManager.cpp +++ b/src/effectManager.cpp @@ -18,6 +18,7 @@ #include "effectManager.h" #include +using namespace pg; #include diff --git a/src/effectManager.h b/src/effectManager.h index b649239..645c4ce 100644 --- a/src/effectManager.h +++ b/src/effectManager.h @@ -19,6 +19,7 @@ #define EFFECTMANAGER_H #include +using namespace pg; #include "Entities/PhysicsEntity.h" diff --git a/src/entityCreator.h b/src/entityCreator.h index b0b0974..08ff369 100644 --- a/src/entityCreator.h +++ b/src/entityCreator.h @@ -19,6 +19,7 @@ #define ENTITYCREATOR_H #include +using namespace pg; /// ***** Header Methods ***** namespace creator diff --git a/src/entityManager.cpp b/src/entityManager.cpp index 62bcb2e..7290373 100644 --- a/src/entityManager.cpp +++ b/src/entityManager.cpp @@ -20,6 +20,7 @@ #include #include #include +using namespace pg; #include #include diff --git a/src/game.cpp b/src/game.cpp index 3cab823..de3a602 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -18,6 +18,7 @@ #include "game.h" #include +using namespace pg; #include using std::vector; diff --git a/src/graphics/graphics.cpp b/src/graphics/graphics.cpp index 55e2337..d795961 100644 --- a/src/graphics/graphics.cpp +++ b/src/graphics/graphics.cpp @@ -19,6 +19,7 @@ #include #include +using namespace pg; #include #include diff --git a/src/graphics/graphics.h b/src/graphics/graphics.h index 94a2d5c..ec07616 100644 --- a/src/graphics/graphics.h +++ b/src/graphics/graphics.h @@ -19,6 +19,7 @@ #define GRAPHICS_H #include +using namespace pg; #include diff --git a/src/input/inputManager.cpp b/src/input/inputManager.cpp index 3d94d30..7152138 100644 --- a/src/input/inputManager.cpp +++ b/src/input/inputManager.cpp @@ -18,6 +18,7 @@ #include "inputManager.h" #include +using namespace pg; #include diff --git a/src/input/inputManager.h b/src/input/inputManager.h index 6abc39f..a50f13d 100644 --- a/src/input/inputManager.h +++ b/src/input/inputManager.h @@ -19,6 +19,7 @@ #define INPUT_H #include +using namespace pg; #include diff --git a/src/main.cpp b/src/main.cpp index 34aa2ce..a6aaca3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,6 +16,7 @@ */ #include +using namespace pg; #include #include