diff options
author | Max Horn | 2009-09-04 20:08:33 +0000 |
---|---|---|
committer | Max Horn | 2009-09-04 20:08:33 +0000 |
commit | 088c5dada3040fd2f0d0df04d12156610786a0e2 (patch) | |
tree | 5dd9929f5fb30d0fa82f768565e243e1a0b5ff00 /engines/teenagent/font.cpp | |
parent | 4290984108b71cff094099193468068154b8cc94 (diff) | |
download | scummvm-rg350-088c5dada3040fd2f0d0df04d12156610786a0e2.tar.gz scummvm-rg350-088c5dada3040fd2f0d0df04d12156610786a0e2.tar.bz2 scummvm-rg350-088c5dada3040fd2f0d0df04d12156610786a0e2.zip |
TEEN:
* don't use "using namespace", instead put stuff into its correct namespace
* when using #include, always prefix engine header files with the engine name
* some cleanup
svn-id: r43945
Diffstat (limited to 'engines/teenagent/font.cpp')
-rw-r--r-- | engines/teenagent/font.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/teenagent/font.cpp b/engines/teenagent/font.cpp index 6221428f29..4f982f1775 100644 --- a/engines/teenagent/font.cpp +++ b/engines/teenagent/font.cpp @@ -22,11 +22,10 @@ * $Id$ */ +#include "teenagent/font.h" +#include "teenagent/resources.h" -#include "font.h" -#include "resources.h" - -using namespace TeenAgent; +namespace TeenAgent { Font::Font() : grid_color(0xd0), color(0xd1), data(0) { } @@ -140,3 +139,5 @@ void Font::grid(Graphics::Surface *surface, int x, int y, int w, int h, byte col Font::~Font() { delete[] data; } + +} // End of namespace TeenAgent |