aboutsummaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorJames Brown2002-05-14 18:14:16 +0000
committerJames Brown2002-05-14 18:14:16 +0000
commita592de43330c4ab1162b83599e12e70696cb661c (patch)
tree4d6d4b0296fdb2fa34ae89fec6925a766f29506c /system.h
parentb5a8bb6b2a3e8ae28ca4cee1464395cb6302acb7 (diff)
downloadscummvm-rg350-a592de43330c4ab1162b83599e12e70696cb661c.tar.gz
scummvm-rg350-a592de43330c4ab1162b83599e12e70696cb661c.tar.bz2
scummvm-rg350-a592de43330c4ab1162b83599e12e70696cb661c.zip
Remove SCUMM dependancies from SDL.C - This fixes a regular crash in Simon due to the autosaver.
This changes the OSystem interface. Porters beware. svn-id: r4318
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system.h b/system.h
index cda8691a37..59088d62e6 100644
--- a/system.h
+++ b/system.h
@@ -62,6 +62,7 @@ public:
PROP_SET_GFX_MODE = 4,
PROP_SHOW_DEFAULT_CURSOR = 5,
PROP_GET_SAMPLE_RATE = 6,
+ PROP_GET_FULLSCREEN = 7
};
union Property {
char *caption;
@@ -135,6 +136,9 @@ public:
// Update cdrom audio status
virtual void update_cdrom() = 0;
+ // Add a new callback timer
+ virtual void set_timer(int timer, void* callback) = 0;
+
// Quit
virtual void quit() = 0;
};