projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41379c9
)
added using namespace pg to relavent files ... will remove at some point
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 2 May 2009 18:22:07 +0000
(14:22 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 2 May 2009 18:22:07 +0000
(14:22 -0400)
36 files changed:
src/CollisionInfo.h
patch
|
blob
|
blame
|
history
src/Effects/Effect.h
patch
|
blob
|
blame
|
history
src/Effects/Gravity.h
patch
|
blob
|
blame
|
history
src/Effects/GravityWell.h
patch
|
blob
|
blame
|
history
src/Effects/Screen.h
patch
|
blob
|
blame
|
history
src/Entities/Ball.cpp
patch
|
blob
|
blame
|
history
src/Entities/Ball.h
patch
|
blob
|
blame
|
history
src/Entities/Entity.cpp
patch
|
blob
|
blame
|
history
src/Entities/Entity.h
patch
|
blob
|
blame
|
history
src/Entities/Line.cpp
patch
|
blob
|
blame
|
history
src/Entities/Line.h
patch
|
blob
|
blame
|
history
src/Entities/Particle.cpp
patch
|
blob
|
blame
|
history
src/Entities/Particle.h
patch
|
blob
|
blame
|
history
src/Entities/PhysicsEntity.cpp
patch
|
blob
|
blame
|
history
src/Entities/PhysicsEntity.h
patch
|
blob
|
blame
|
history
src/Entities/Point.cpp
patch
|
blob
|
blame
|
history
src/Entities/Point.h
patch
|
blob
|
blame
|
history
src/Entities/Polygon.cpp
patch
|
blob
|
blame
|
history
src/Entities/Polygon.h
patch
|
blob
|
blame
|
history
src/Entities/WindParticle.cpp
patch
|
blob
|
blame
|
history
src/Entities/WindParticle.h
patch
|
blob
|
blame
|
history
src/collisionManager.cpp
patch
|
blob
|
blame
|
history
src/config/config.cpp
patch
|
blob
|
blame
|
history
src/config/keys.cpp
patch
|
blob
|
blame
|
history
src/config/keys.h
patch
|
blob
|
blame
|
history
src/config/reader.cpp
patch
|
blob
|
blame
|
history
src/effectManager.cpp
patch
|
blob
|
blame
|
history
src/effectManager.h
patch
|
blob
|
blame
|
history
src/entityCreator.h
patch
|
blob
|
blame
|
history
src/entityManager.cpp
patch
|
blob
|
blame
|
history
src/game.cpp
patch
|
blob
|
blame
|
history
src/graphics/graphics.cpp
patch
|
blob
|
blame
|
history
src/graphics/graphics.h
patch
|
blob
|
blame
|
history
src/input/inputManager.cpp
patch
|
blob
|
blame
|
history
src/input/inputManager.h
patch
|
blob
|
blame
|
history
src/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/CollisionInfo.h
b/src/CollisionInfo.h
index
c81888b
..
6a1428e
100644
(file)
--- a/
src/CollisionInfo.h
+++ b/
src/CollisionInfo.h
@@
-20,6
+20,7
@@
#define COLLISIONINFO_H
#include <pg/Vector2.h>
#define COLLISIONINFO_H
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Header Class *****
/// ***** Header Class *****
diff --git
a/src/Effects/Effect.h
b/src/Effects/Effect.h
index
9829919
..
15c7766
100644
(file)
--- a/
src/Effects/Effect.h
+++ b/
src/Effects/Effect.h
@@
-19,6
+19,7
@@
#define EFFECT_H
#include <pg/Vector2.h>
#define EFFECT_H
#include <pg/Vector2.h>
+using namespace pg;
// Mutual headers ...
// Mutual headers ...
diff --git
a/src/Effects/Gravity.h
b/src/Effects/Gravity.h
index
0b7815d
..
f7458d3
100644
(file)
--- a/
src/Effects/Gravity.h
+++ b/
src/Effects/Gravity.h
@@
-19,6
+19,7
@@
#define GRAVITY_H
#include <pg/Vector2.h>
#define GRAVITY_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Effect.h"
#include "Effect.h"
diff --git
a/src/Effects/GravityWell.h
b/src/Effects/GravityWell.h
index
443512d
..
ea13a22
100644
(file)
--- a/
src/Effects/GravityWell.h
+++ b/
src/Effects/GravityWell.h
@@
-19,6
+19,7
@@
#define GRAVITYWELL_H
#include <pg/Vector2.h>
#define GRAVITYWELL_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Effect.h"
#include "Effect.h"
diff --git
a/src/Effects/Screen.h
b/src/Effects/Screen.h
index
b572593
..
2ff5f1a
100644
(file)
--- a/
src/Effects/Screen.h
+++ b/
src/Effects/Screen.h
@@
-19,6
+19,7
@@
#define SCREEN_H
#include <pg/Vector2.h>
#define SCREEN_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Effect.h"
#include "Effect.h"
diff --git
a/src/Entities/Ball.cpp
b/src/Entities/Ball.cpp
index
d0563d7
..
ecbb412
100644
(file)
--- a/
src/Entities/Ball.cpp
+++ b/
src/Entities/Ball.cpp
@@
-19,6
+19,7
@@
#include <pg/debug.h>
#include <pg/Vector2.h>
#include <pg/debug.h>
#include <pg/Vector2.h>
+using namespace pg;
#include "graphics/graphics.h"
#include "graphics/graphics.h"
diff --git
a/src/Entities/Ball.h
b/src/Entities/Ball.h
index
e4267e8
..
6b7c4c9
100644
(file)
--- a/
src/Entities/Ball.h
+++ b/
src/Entities/Ball.h
@@
-19,6
+19,7
@@
#define BALL_H
#include <pg/Vector2.h>
#define BALL_H
#include <pg/Vector2.h>
+using namespace pg;
#include "PhysicsEntity.h"
#include "PhysicsEntity.h"
diff --git
a/src/Entities/Entity.cpp
b/src/Entities/Entity.cpp
index
09e27ab
..
9510b78
100644
(file)
--- a/
src/Entities/Entity.cpp
+++ b/
src/Entities/Entity.cpp
@@
-18,6
+18,7
@@
#include "Entity.h"
#include <pg/Vector2.h>
#include "Entity.h"
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Constructors/Destructors *****
/// ***** Constructors/Destructors *****
diff --git
a/src/Entities/Entity.h
b/src/Entities/Entity.h
index
e59f4fd
..
6cd3e41
100644
(file)
--- a/
src/Entities/Entity.h
+++ b/
src/Entities/Entity.h
@@
-19,6
+19,7
@@
#define ENTITY_H
#include <pg/Vector2.h>
#define ENTITY_H
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Header Class *****
/// ***** Header Class *****
diff --git
a/src/Entities/Line.cpp
b/src/Entities/Line.cpp
index
793b3cf
..
fb82931
100644
(file)
--- a/
src/Entities/Line.cpp
+++ b/
src/Entities/Line.cpp
@@
-18,6
+18,7
@@
#include "Line.h"
#include <pg/Vector2.h>
#include "Line.h"
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Constructors/Destructors *****
/// ***** Constructors/Destructors *****
diff --git
a/src/Entities/Line.h
b/src/Entities/Line.h
index
a4f94e7
..
f36bf1c
100644
(file)
--- a/
src/Entities/Line.h
+++ b/
src/Entities/Line.h
@@
-19,6
+19,7
@@
#define LINE_H
#include <pg/Vector2.h>
#define LINE_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Particle.h"
#include "Particle.h"
diff --git
a/src/Entities/Particle.cpp
b/src/Entities/Particle.cpp
index
97cbafb
..
23226e0
100644
(file)
--- a/
src/Entities/Particle.cpp
+++ b/
src/Entities/Particle.cpp
@@
-18,6
+18,7
@@
#include "Particle.h"
#include <pg/Vector2.h>
#include "Particle.h"
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Constructors/Destructors *****
/// ***** Constructors/Destructors *****
diff --git
a/src/Entities/Particle.h
b/src/Entities/Particle.h
index
251c8ef
..
51c85a4
100644
(file)
--- a/
src/Entities/Particle.h
+++ b/
src/Entities/Particle.h
@@
-19,6
+19,7
@@
#define PARTICLE_H
#include <pg/Vector2.h>
#define PARTICLE_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Entity.h"
#include "Entity.h"
diff --git
a/src/Entities/PhysicsEntity.cpp
b/src/Entities/PhysicsEntity.cpp
index
d20f671
..
4ba50dc
100644
(file)
--- a/
src/Entities/PhysicsEntity.cpp
+++ b/
src/Entities/PhysicsEntity.cpp
@@
-19,6
+19,7
@@
#include <pg/debug.h>
#include <pg/Vector2.h>
#include <pg/debug.h>
#include <pg/Vector2.h>
+using namespace pg;
#include "effectManager.h"
#include "effectManager.h"
diff --git
a/src/Entities/PhysicsEntity.h
b/src/Entities/PhysicsEntity.h
index
e6f2f36
..
e3ce13c
100644
(file)
--- a/
src/Entities/PhysicsEntity.h
+++ b/
src/Entities/PhysicsEntity.h
@@
-19,6
+19,7
@@
#define PHYSICS_H
#include <pg/Vector2.h>
#define PHYSICS_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Entity.h"
#include "Entity.h"
diff --git
a/src/Entities/Point.cpp
b/src/Entities/Point.cpp
index
7083ba2
..
c6072a6
100644
(file)
--- a/
src/Entities/Point.cpp
+++ b/
src/Entities/Point.cpp
@@
-18,6
+18,7
@@
#include "Point.h"
#include <pg/Vector2.h>
#include "Point.h"
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Constructors/Destructors *****
/// ***** Constructors/Destructors *****
diff --git
a/src/Entities/Point.h
b/src/Entities/Point.h
index
3845e5a
..
2f993cc
100644
(file)
--- a/
src/Entities/Point.h
+++ b/
src/Entities/Point.h
@@
-19,6
+19,7
@@
#define POINT_H
#include <pg/Vector2.h>
#define POINT_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Particle.h"
#include "Particle.h"
diff --git
a/src/Entities/Polygon.cpp
b/src/Entities/Polygon.cpp
index
9f2eff6
..
373f805
100644
(file)
--- a/
src/Entities/Polygon.cpp
+++ b/
src/Entities/Polygon.cpp
@@
-19,6
+19,7
@@
#include <pg/debug.h>
#include <pg/Vector2.h>
#include <pg/debug.h>
#include <pg/Vector2.h>
+using namespace pg;
#include "graphics/graphics.h"
#include "graphics/graphics.h"
diff --git
a/src/Entities/Polygon.h
b/src/Entities/Polygon.h
index
6b115fc
..
314a5ec
100644
(file)
--- a/
src/Entities/Polygon.h
+++ b/
src/Entities/Polygon.h
@@
-19,6
+19,7
@@
#define POLYGON_H
#include <pg/Vector2.h>
#define POLYGON_H
#include <pg/Vector2.h>
+using namespace pg;
#include "PhysicsEntity.h"
#include "PhysicsEntity.h"
diff --git
a/src/Entities/WindParticle.cpp
b/src/Entities/WindParticle.cpp
index
dc1274a
..
9df28c2
100644
(file)
--- a/
src/Entities/WindParticle.cpp
+++ b/
src/Entities/WindParticle.cpp
@@
-18,6
+18,7
@@
#include "WindParticle.h"
#include <pg/Vector2.h>
#include "WindParticle.h"
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Constructors/Destructors *****
/// ***** Constructors/Destructors *****
diff --git
a/src/Entities/WindParticle.h
b/src/Entities/WindParticle.h
index
11ddedd
..
b03aebb
100644
(file)
--- a/
src/Entities/WindParticle.h
+++ b/
src/Entities/WindParticle.h
@@
-19,6
+19,7
@@
#define WINDPARTICLE_H
#include <pg/Vector2.h>
#define WINDPARTICLE_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Point.h"
#include "Point.h"
diff --git
a/src/collisionManager.cpp
b/src/collisionManager.cpp
index
1076ccc
..
0e828a4
100644
(file)
--- a/
src/collisionManager.cpp
+++ b/
src/collisionManager.cpp
@@
-20,6
+20,7
@@
#include <pg/debug.h>
#include <pg/Vector2.h>
#include <pg/mathw.h>
#include <pg/debug.h>
#include <pg/Vector2.h>
#include <pg/mathw.h>
+using namespace pg;
#include "Entities/Ball.h"
#include "Entities/Polygon.h"
#include "Entities/Ball.h"
#include "Entities/Polygon.h"
diff --git
a/src/config/config.cpp
b/src/config/config.cpp
index
88768f3
..
5194077
100644
(file)
--- a/
src/config/config.cpp
+++ b/
src/config/config.cpp
@@
-18,6
+18,7
@@
#include "config.h"
#include <pg/debug.h>
#include "config.h"
#include <pg/debug.h>
+using namespace pg;
#include <SDL/SDL.h>
#include "keys.h"
#include <SDL/SDL.h>
#include "keys.h"
diff --git
a/src/config/keys.cpp
b/src/config/keys.cpp
index
b2e9917
..
6cd2960
100644
(file)
--- a/
src/config/keys.cpp
+++ b/
src/config/keys.cpp
@@
-18,6
+18,7
@@
#include "keys.h"
#include <pg/debug.h>
#include "keys.h"
#include <pg/debug.h>
+using namespace pg;
#include <SDL/SDL.h>
#include <SDL/SDL.h>
diff --git
a/src/config/keys.h
b/src/config/keys.h
index
6a0d0db
..
81eeb14
100644
(file)
--- a/
src/config/keys.h
+++ b/
src/config/keys.h
@@
-20,6
+20,7
@@
#define KEYS_H
#include <pg/debug.h>
#define KEYS_H
#include <pg/debug.h>
+using namespace pg;
#include <SDL/SDL.h>
#include <SDL/SDL.h>
diff --git
a/src/config/reader.cpp
b/src/config/reader.cpp
index
3f370e3
..
edba875
100644
(file)
--- a/
src/config/reader.cpp
+++ b/
src/config/reader.cpp
@@
-18,6
+18,7
@@
#include "reader.h"
#include <pg/debug.h>
#include "reader.h"
#include <pg/debug.h>
+using namespace pg;
#include <iostream>
using std::cerr;
#include <iostream>
using std::cerr;
diff --git
a/src/effectManager.cpp
b/src/effectManager.cpp
index
bcd597e
..
526debe
100644
(file)
--- a/
src/effectManager.cpp
+++ b/
src/effectManager.cpp
@@
-18,6
+18,7
@@
#include "effectManager.h"
#include <pg/Vector2.h>
#include "effectManager.h"
#include <pg/Vector2.h>
+using namespace pg;
#include <set>
#include <set>
diff --git
a/src/effectManager.h
b/src/effectManager.h
index
b649239
..
645c4ce
100644
(file)
--- a/
src/effectManager.h
+++ b/
src/effectManager.h
@@
-19,6
+19,7
@@
#define EFFECTMANAGER_H
#include <pg/Vector2.h>
#define EFFECTMANAGER_H
#include <pg/Vector2.h>
+using namespace pg;
#include "Entities/PhysicsEntity.h"
#include "Entities/PhysicsEntity.h"
diff --git
a/src/entityCreator.h
b/src/entityCreator.h
index
b0b0974
..
08ff369
100644
(file)
--- a/
src/entityCreator.h
+++ b/
src/entityCreator.h
@@
-19,6
+19,7
@@
#define ENTITYCREATOR_H
#include <pg/Vector2.h>
#define ENTITYCREATOR_H
#include <pg/Vector2.h>
+using namespace pg;
/// ***** Header Methods *****
namespace creator
/// ***** Header Methods *****
namespace creator
diff --git
a/src/entityManager.cpp
b/src/entityManager.cpp
index
62bcb2e
..
7290373
100644
(file)
--- a/
src/entityManager.cpp
+++ b/
src/entityManager.cpp
@@
-20,6
+20,7
@@
#include <pg/debug.h>
#include <pg/Mutex.h>
#include <pg/Autolock.h>
#include <pg/debug.h>
#include <pg/Mutex.h>
#include <pg/Autolock.h>
+using namespace pg;
#include <set>
#include <SDL/SDL.h>
#include <set>
#include <SDL/SDL.h>
diff --git
a/src/game.cpp
b/src/game.cpp
index
3cab823
..
de3a602
100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-18,6
+18,7
@@
#include "game.h"
#include <pg/debug.h>
#include "game.h"
#include <pg/debug.h>
+using namespace pg;
#include <vector>
using std::vector;
#include <vector>
using std::vector;
diff --git
a/src/graphics/graphics.cpp
b/src/graphics/graphics.cpp
index
55e2337
..
d795961
100644
(file)
--- a/
src/graphics/graphics.cpp
+++ b/
src/graphics/graphics.cpp
@@
-19,6
+19,7
@@
#include <pg/debug.h>
#include <pg/mathw.h>
#include <pg/debug.h>
#include <pg/mathw.h>
+using namespace pg;
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/gl.h>
#include <GL/glu.h>
diff --git
a/src/graphics/graphics.h
b/src/graphics/graphics.h
index
94a2d5c
..
ec07616
100644
(file)
--- a/
src/graphics/graphics.h
+++ b/
src/graphics/graphics.h
@@
-19,6
+19,7
@@
#define GRAPHICS_H
#include <pg/Vector2.h>
#define GRAPHICS_H
#include <pg/Vector2.h>
+using namespace pg;
#include <vector>
#include <vector>
diff --git
a/src/input/inputManager.cpp
b/src/input/inputManager.cpp
index
3d94d30
..
7152138
100644
(file)
--- a/
src/input/inputManager.cpp
+++ b/
src/input/inputManager.cpp
@@
-18,6
+18,7
@@
#include "inputManager.h"
#include <pg/debug.h>
#include "inputManager.h"
#include <pg/debug.h>
+using namespace pg;
#include <SDL/SDL.h>
#include <SDL/SDL.h>
diff --git
a/src/input/inputManager.h
b/src/input/inputManager.h
index
6abc39f
..
a50f13d
100644
(file)
--- a/
src/input/inputManager.h
+++ b/
src/input/inputManager.h
@@
-19,6
+19,7
@@
#define INPUT_H
#include <pg/Vector2.h>
#define INPUT_H
#include <pg/Vector2.h>
+using namespace pg;
#include <SDL/SDL.h>
#include <SDL/SDL.h>
diff --git
a/src/main.cpp
b/src/main.cpp
index
34aa2ce
..
a6aaca3
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-16,6
+16,7
@@
*/
#include <pg/debug.h>
*/
#include <pg/debug.h>
+using namespace pg;
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/gl.h>
#include <GL/glu.h>