diff options
| author | Torbjörn Andersson | 2003-10-11 12:26:53 +0000 |
|---|---|---|
| committer | Torbjörn Andersson | 2003-10-11 12:26:53 +0000 |
| commit | 02a157e745210d8986df83dd2114c2ee0ae86c88 (patch) | |
| tree | 160b1cb10dbbf5ca5ea8a6ebd2f510ab6d3ee88d /sword2/driver | |
| parent | 650581eef80bcf2fbe5bb55218ae329a8673498e (diff) | |
| download | scummvm-rg350-02a157e745210d8986df83dd2114c2ee0ae86c88.tar.gz scummvm-rg350-02a157e745210d8986df83dd2114c2ee0ae86c88.tar.bz2 scummvm-rg350-02a157e745210d8986df83dd2114c2ee0ae86c88.zip | |
Moved the text drawing stuff into a class of its own. (Adding another
global variable which will hopefully be dealt with later.)
svn-id: r10734
Diffstat (limited to 'sword2/driver')
| -rw-r--r-- | sword2/driver/d_draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp index 2cf7959db4..f01c2314e1 100644 --- a/sword2/driver/d_draw.cpp +++ b/sword2/driver/d_draw.cpp @@ -171,7 +171,7 @@ int32 MoviePlayer::play(char *filename, _movieTextObject *text[], uint8 *musicOu memset(lpBackBuffer, 0, screenWide * MENUDEEP); uint8 msg[] = "Cutscene - Press ESC to exit"; - mem *data = MakeTextSprite(msg, 640, 255, speech_font_id); + mem *data = fontRenderer.makeTextSprite(msg, 640, 255, g_sword2->_speechFontId); _frameHeader *frame = (_frameHeader *) data->ad; _spriteInfo msgSprite; uint8 *msgSurface; |
