diff options
Diffstat (limited to 'engines/sludge/fonttext.h')
-rw-r--r-- | engines/sludge/fonttext.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sludge/fonttext.h b/engines/sludge/fonttext.h index cabb52d476..63a38c71c7 100644 --- a/engines/sludge/fonttext.h +++ b/engines/sludge/fonttext.h @@ -26,15 +26,15 @@ namespace Sludge {
-bool loadFont(int filenum, const char *charOrder, int);
-void pasteString(char *theText, int, int, spritePalette &);
+bool loadFont(int filenum, const Common::String &charOrder, int);
+void pasteString(const Common::String &theText, int, int, spritePalette &);
void fixFont(spritePalette &spal);
void setFontColour(spritePalette &sP, byte r, byte g, byte b);
-int stringWidth(char *theText);
-int stringLength(char *theText);
-void pasteStringToBackdrop(char *theText, int xOff, int y, spritePalette &thePal);
-void burnStringToBackdrop(char *theText, int xOff, int y, spritePalette &thePal);
-bool isInFont(char *theText);
+int stringWidth(const Common::String &theText);
+int stringLength(const Common::String &theText);
+void pasteStringToBackdrop(const Common::String &theText, int xOff, int y, spritePalette &thePal);
+void burnStringToBackdrop(const Common::String &theText, int xOff, int y, spritePalette &thePal);
+bool isInFont(const Common::String &theText);
} // End of namespace Sludge
|