diff options
author | Max Horn | 2002-11-10 14:59:15 +0000 |
---|---|---|
committer | Max Horn | 2002-11-10 14:59:15 +0000 |
commit | 93d5d667d0d29dcbeff0060cca686484c8eab01d (patch) | |
tree | 1fdba6a3ffed4b39976d9182aa50b00c10cc3fdd /scumm/scumm.h | |
parent | ca5a230d333c81b1f1af3e838a3ecd0d3633efc5 (diff) | |
download | scummvm-rg350-93d5d667d0d29dcbeff0060cca686484c8eab01d.tar.gz scummvm-rg350-93d5d667d0d29dcbeff0060cca686484c8eab01d.tar.bz2 scummvm-rg350-93d5d667d0d29dcbeff0060cca686484c8eab01d.zip |
added Scumm::displayError() method; make use of that to display errors if save/load failed; changed runDialog() to return the result of Dialog::runModal(); changed the order in which autosave is performed a little bit
svn-id: r5493
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r-- | scumm/scumm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 5e2ff313f9..6186c8b7fc 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -347,10 +347,11 @@ public: Dialog *_optionsDialog; Dialog *_saveLoadDialog; - void runDialog(Dialog *dialog); + int runDialog(Dialog *dialog); void pauseDialog(); void saveloadDialog(); void optionsDialog(); + void displayError(const char *message, ...); // Misc startup/event functions void main(); |