diff options
author | Filippos Karapetis | 2019-12-28 13:21:23 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-12-28 13:22:18 +0200 |
commit | 0ae3cbc2e8dca79ee75f235469ed26715efb0ace (patch) | |
tree | 4cc9cde49f83366d3486ee2d7deb3160c9ba7221 /engines/startrek/startrek.h | |
parent | 9cbedc03f9b9e9e44abc457e60ade4b9d14f8938 (diff) | |
download | scummvm-rg350-0ae3cbc2e8dca79ee75f235469ed26715efb0ace.tar.gz scummvm-rg350-0ae3cbc2e8dca79ee75f235469ed26715efb0ace.tar.bz2 scummvm-rg350-0ae3cbc2e8dca79ee75f235469ed26715efb0ace.zip |
STARTREK: Reduce usage of SharedPtr, and simplify bitmap related calls
Diffstat (limited to 'engines/startrek/startrek.h')
-rw-r--r-- | engines/startrek/startrek.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/startrek/startrek.h b/engines/startrek/startrek.h index 1c21201661..34feebe4ea 100644 --- a/engines/startrek/startrek.h +++ b/engines/startrek/startrek.h @@ -242,6 +242,8 @@ public: void cleanupBridge() {}; // TODO Common::MemoryReadStreamEndian *loadFile(Common::String filename, int fileIndex = 0); + Common::MemoryReadStreamEndian *loadBitmapFile(Common::String baseName); + /** * TODO: Figure out what the extra parameters are, and if they're important. */ @@ -570,7 +572,7 @@ public: * Draws or removes the outline on menu buttons when the cursor hovers on them, or leaves * them. */ - void drawMenuButtonOutline(SharedPtr<Bitmap> bitmap, byte color); + void drawMenuButtonOutline(Bitmap *bitmap, byte color); void showOptionsMenu(int x, int y); /** * Show the "action selection" menu, ie. look, talk, etc. |