From c81099d3900ceb5e2eacd60770735ae9f6d706f3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 29 Apr 2014 07:51:57 +0300 Subject: FULLPIPE: Implement ModalSaveGame::setup() --- engines/fullpipe/modal.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'engines/fullpipe/modal.h') diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h index e2962ab595..aced31573b 100644 --- a/engines/fullpipe/modal.h +++ b/engines/fullpipe/modal.h @@ -29,6 +29,19 @@ class PictureObject; class Picture; class Sound; +struct FileInfo { + char filename[260]; + int fi_104; + int day; + int month; + int year; + int time; + int fx1; + int fx2; + int fy1; + int fy2; +}; + class BaseModalObject { public: @@ -253,6 +266,7 @@ public: void processKey(int key); char *getSaveName(); + bool getFileInfo(char *filename, FileInfo *fileinfo); Common::Rect _rect; int _oldBgX; @@ -269,7 +283,7 @@ public: Scene *_menuScene; int _mode; ModalQuery *_queryDlg; - Common::Array _filenames; + Common::Array _files; Common::Array _arrayL; Common::Array _arrayD; int _queryRes; -- cgit v1.2.3