aboutsummaryrefslogtreecommitdiff
path: root/sky/control.h
diff options
context:
space:
mode:
authorMax Horn2004-11-27 00:26:11 +0000
committerMax Horn2004-11-27 00:26:11 +0000
commit876e738dce6e3725ce28d8caf1520e71edfe09f0 (patch)
tree582797db161e7209b70fb3c563bdb5d5b3a2e060 /sky/control.h
parentd56cd17183008830b4fd50d903f7a0250928b691 (diff)
downloadscummvm-rg350-876e738dce6e3725ce28d8caf1520e71edfe09f0.tar.gz
scummvm-rg350-876e738dce6e3725ce28d8caf1520e71edfe09f0.tar.bz2
scummvm-rg350-876e738dce6e3725ce28d8caf1520e71edfe09f0.zip
Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
Diffstat (limited to 'sky/control.h')
-rw-r--r--sky/control.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sky/control.h b/sky/control.h
index fcc1b5907e..15be94e0aa 100644
--- a/sky/control.h
+++ b/sky/control.h
@@ -175,7 +175,7 @@ private:
class Control {
public:
- Control(SaveFileManager *saveFileMan, Screen *screen, Disk *disk, Mouse *mouse, Text *text, MusicBase *music, Logic *logic, Sound *sound, OSystem *system, const char *savePath);
+ Control(SaveFileManager *saveFileMan, Screen *screen, Disk *disk, Mouse *mouse, Text *text, MusicBase *music, Logic *logic, Sound *sound, OSystem *system);
void doControlPanel(void);
void doLoadSavePanel(void);
void restartGame(void);
@@ -230,7 +230,6 @@ private:
void lodsStr(uint8 **srcPos, uint16 *src);
uint16 parseSaveData(uint8 *srcBuf);
- const char *_savePath;
uint16 *lz77decode(uint16 *data);
void applyDiff(uint16 *data, uint16 *diffData, uint16 len);
static Compact *_saveLoadCpts[833]; //-----------------