diff options
author | Filippos Karapetis | 2010-02-02 17:20:21 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-02-02 17:20:21 +0000 |
commit | e321654dcd5e8c33f3ec3bfc531ef486e24f01c4 (patch) | |
tree | 7335b383db7b6b1c3642f28490bd93aaab4cfc09 /engines/sci/engine/kernel32.cpp | |
parent | 6b26f76f707ebd328e6c490198d8fdb80911e503 (diff) | |
download | scummvm-rg350-e321654dcd5e8c33f3ec3bfc531ef486e24f01c4.tar.gz scummvm-rg350-e321654dcd5e8c33f3ec3bfc531ef486e24f01c4.tar.bz2 scummvm-rg350-e321654dcd5e8c33f3ec3bfc531ef486e24f01c4.zip |
Added a stub for kCreateTextBitmap, which shows the text that should be drawn on screen
svn-id: r47816
Diffstat (limited to 'engines/sci/engine/kernel32.cpp')
-rw-r--r-- | engines/sci/engine/kernel32.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp index 6aaed61cad..2ed1cfd647 100644 --- a/engines/sci/engine/kernel32.cpp +++ b/engines/sci/engine/kernel32.cpp @@ -761,6 +761,15 @@ reg_t kInPolygon(EngineState *s, int argc, reg_t *argv) { return kAvoidPath(s, argc, argv); } +reg_t kCreateTextBitmap(EngineState *s, int argc, reg_t *argv) { + // TODO: argument 0 is usually 0, and arguments 1 and 2 are usually 1 + reg_t object = argv[3]; + Common::String text = s->_segMan->getString(GET_SEL32(s->_segMan, object, text)); + debug("%s\n", text.c_str()); + + return NULL_REG; +} + } // End of namespace Sci #endif // ENABLE_SCI32 |