aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
authorJames Brown2002-12-25 04:30:24 +0000
committerJames Brown2002-12-25 04:30:24 +0000
commite1a416c031061d42acd0eee009b292ea1199513e (patch)
treeeb3c910fb30ae083e08123a40e592bfca6f36887 /scumm/smush
parent1b0963dd760f4780dcd61f31706fb41fdb4331e9 (diff)
downloadscummvm-rg350-e1a416c031061d42acd0eee009b292ea1199513e.tar.gz
scummvm-rg350-e1a416c031061d42acd0eee009b292ea1199513e.tar.bz2
scummvm-rg350-e1a416c031061d42acd0eee009b292ea1199513e.zip
Skeleton for hacky font support using Smush's FontRenderer. Doesn't work (uncomment the loadFont line in script_v8 to test).
Aquadran, where are you? :) svn-id: r6114
Diffstat (limited to 'scumm/smush')
-rw-r--r--scumm/smush/frenderer.h1
-rw-r--r--scumm/smush/player.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/scumm/smush/frenderer.h b/scumm/smush/frenderer.h
index cd1e74fed0..8f26c6f887 100644
--- a/scumm/smush/frenderer.h
+++ b/scumm/smush/frenderer.h
@@ -161,7 +161,6 @@ public:
@return \c true if everything went fine, \c false otherwise
*/
bool drawStringAbsolute(const char * str, char * buffer, const Point & size, int32 x, int32 y) const;
-
};
#endif
diff --git a/scumm/smush/player.cpp b/scumm/smush/player.cpp
index 999bacdfbf..960282e28b 100644
--- a/scumm/smush/player.cpp
+++ b/scumm/smush/player.cpp
@@ -698,7 +698,7 @@ bool SmushPlayer::readString(const char * file, const char * directory, bool & f
return false;
}
-static FontRenderer * loadFont(const char * file, const char * directory, bool original = false) {
+static FontRenderer *loadFont(const char * file, const char * directory, bool original = false) {
#ifdef DEBUG
debug(5, "loading font from \"%s\"", file);
#endif