aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/closing2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/closing2.h')
-rw-r--r--engines/avalanche/closing2.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/engines/avalanche/closing2.h b/engines/avalanche/closing2.h
index ed73f9f321..14cf54bbf3 100644
--- a/engines/avalanche/closing2.h
+++ b/engines/avalanche/closing2.h
@@ -33,38 +33,37 @@
#include "common/scummsys.h"
#include "common/str.h"
+
+
namespace Avalanche {
class AvalancheEngine;
class Closing {
public:
- static const int16 scr_bugalert = 1;
- static const int16 scr_ramcram = 2;
- static const int16 scr_nagscreen = 3;
- static const int16 scr_twocopies = 5;
-
Closing(AvalancheEngine *vm);
- void quit_with(byte which, byte errorlev);
-
- void end_of_program();
+ void exitGame();
private:
- AvalancheEngine *_vm;
+ enum ScreenType {
+ kScreenBugAlert = 1,
+ kScreenRamCram = 2,
+ kScreenNagScreen = 3,
+ kScreenTwoCopies = 5,
+ };
- typedef Common::String scrtype;
+ AvalancheEngine *_vm;
- scrtype q /*absolute $B8FA:0*/; /* Nobody's using the graphics memory now. */
- //file<scrtype> f;
- void *exitsave;
+ Common::String q; //absolute $B8FA:0* ; Nobody's using the graphics memory now.
+ Common::File f;
- void get_screen(byte which);
+ void getScreen(ScreenType which);
- void show_screen();
+ void showScreen();
- void put_in(Common::String x, uint16 where);
+ void putIn(Common::String str, uint16 where);
- void bug_handler();
+ void handleBug();
};
} // End of namespace Avalanche.