diff options
author | David Symonds | 2007-01-16 09:24:13 +0000 |
---|---|---|
committer | David Symonds | 2007-01-16 09:24:13 +0000 |
commit | 994604527b15dbe129b5c91f26da8840f3519199 (patch) | |
tree | d13f544fdaca2a128ec2ab6077d3b2eb48de8158 /engines/agi/graphics.cpp | |
parent | f9857455aa11c6dcf1c8b82b19f4ed908a44026e (diff) | |
download | scummvm-rg350-994604527b15dbe129b5c91f26da8840f3519199.tar.gz scummvm-rg350-994604527b15dbe129b5c91f26da8840f3519199.tar.bz2 scummvm-rg350-994604527b15dbe129b5c91f26da8840f3519199.zip |
Finish restructuring font data header for const correctness.
svn-id: r25100
Diffstat (limited to 'engines/agi/graphics.cpp')
-rw-r--r-- | engines/agi/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index 9f9df96bfe..29c1639d4a 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -39,7 +39,7 @@ namespace Agi { # define MAX_INT (int)((unsigned)~0 >> 1) #endif -extern uint8 cur_font[]; +#include "agi/font.h" /** * 16 color RGB palette (plus 16 transparent colors). @@ -187,9 +187,9 @@ void GfxMgr::shakeEnd() { void GfxMgr::putTextCharacter(int l, int x, int y, unsigned int c, int fg, int bg, bool checkerboard) { int x1, y1, xx, yy, cc; - uint8 *p; + const uint8 *p; - p = cur_font + ((unsigned int)c * CHAR_LINES); + p = Agi::cur_font + ((unsigned int)c * CHAR_LINES); for (y1 = 0; y1 < CHAR_LINES; y1++) { for (x1 = 0; x1 < CHAR_COLS; x1++) { xx = x + x1; |