aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kfile.cpp
AgeCommit message (Collapse)Author
2010-07-27SCI: moving some fileio warnings to debug levelMartin Kiewitz
svn-id: r51392
2010-07-27SCI: kCheckFreeSpace support for sci1.1Martin Kiewitz
and possible sci32 svn-id: r51383
2010-07-25SCI: some changes for kq7Martin Kiewitz
- resetting negative plane left/top - kSave(0) returns SIGNAL svn-id: r51281
2010-07-21SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their ↵Filippos Karapetis
respective files svn-id: r51108
2010-07-18SCI: fix regression of r50896, behaviour of kFileIO(readString) is supposed ↵Martin Kiewitz
to return the string instead of the size, fixes signature mismatch in hoyle 3 svn-id: r50977
2010-07-17SCI: checking if within kernel function before overwrite a save (thx @ digitall)Martin Kiewitz
svn-id: r50962
2010-07-15SCI: adding support to qfg4 to import qfg3 character dataMartin Kiewitz
svn-id: r50911
2010-07-14SCI: added signatures for kFileIO, some changes to actual kFileIO code, ↵Martin Kiewitz
removed some CHECKMEs/TODOs svn-id: r50896
2010-07-14SCI: returning DOS error code on kFileIO(unlink)Martin Kiewitz
svn-id: r50895
2010-07-14SCI: fix regression of r50831 - we want to abort when unknown savegameIds ↵Martin Kiewitz
are used, not the other way round :P svn-id: r50887
2010-07-14Fixed loading saved games from the launcher, broken in rev. 50831Filippos Karapetis
svn-id: r50864
2010-07-12SCI: changing how savegame ids are handled internally. Using range 0-999 so ↵Martin Kiewitz
that scripts are able to signal us to create new slots, using range 1000-1999 for official slots. fixes lsl6 quicksave overwriting wrong save slots svn-id: r50831
2010-07-12SCI: added TODO for saved gamesMartin Kiewitz
svn-id: r50828
2010-07-10SCI: removed unused debug flags, changed fileio debug prints to only happen ↵Martin Kiewitz
on debugflag "file" svn-id: r50782
2010-06-18SCI: Rewrap some overlong commentsMax Horn
svn-id: r50012
2010-06-18Error out on unimplemented kDeviceInfo() callsFilippos Karapetis
svn-id: r49993
2010-06-15- Swapped the return value of gamestate_save (false = failed, true = succeeded)Filippos Karapetis
- Removed some duplicate code inside Console::cmdSaveGame() svn-id: r49688
2010-06-07SCI: Adjust kGetSaveFiles for SCI32.Walter van Niftrik
svn-id: r49469
2010-06-04SCI: Replace strncpy with Common::strlcpyWalter van Niftrik
svn-id: r49425
2010-06-04SCI: Add savegame version check in CheckSaveGameWalter van Niftrik
svn-id: r49424
2010-06-04SCI: CleanupWalter van Niftrik
svn-id: r49423
2010-06-03Replace two uses of ::qsort by Common::sort.Johannes Schickel
svn-id: r49418
2010-06-01The system strings segment is a fixed segment of the segment manager, which ↵Filippos Karapetis
doesn't change during the game, thus move all the system strings code and variables inside the segment manager svn-id: r49372
2010-05-03SCI: fix possible heap errorMartin Kiewitz
svn-id: r48908
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-02-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-02Add support in kString(Cpy) for copying to system strings. Also, stubbing ↵Matthew Hoops
kFileIO(19) to allow Torin to see the main menu. Some minor cleanup. svn-id: r47820
2010-02-01Torin calls K_FILEIO_OPEN without a file mode to open with. Assume that it's ↵Matthew Hoops
opening the file for reading as it appears that it is just testing if it exists. Torin (and the demo) progress a little farther now. svn-id: r47790
2010-01-31SCI: Fix regression in KQ5CD caused by r47775.Walter van Niftrik
svn-id: r47778
2010-01-31SCI: Add another DeviceInfo subfunction. Fixes VM crash in MUMG.Walter van Niftrik
svn-id: r47775
2010-01-31Removed duplicate code. Some cleanupFilippos Karapetis
svn-id: r47735
2010-01-30SCI: Correct comments which talked about 'loading from GMM' when they really ↵Max Horn
meant 'loading from launcher' svn-id: r47725
2010-01-30SCI: Remove extra '\n's in debugC messagesWillem Jan Palenstijn
svn-id: r47707
2010-01-30Add support for saving/loading Arrays/Strings in SCI32. It's possible to ↵Matthew Hoops
save a game in GK1 now via the console, but not load (yet). svn-id: r47696
2010-01-27Downgrade the 'attempt to use invalid/unused file handle' error to a ↵Matthew Hoops
warning. This fixes the GK2 demo which now is playable and the slideshow is viewable. The GK2 demo scripts attempt to open the VERSION file which does not exist. svn-id: r47589
2010-01-26Fixed reading of options file (game.opt) for Hoyle 3Filippos Karapetis
svn-id: r47575
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-21SCI: Saved games can now be loaded from ScummVM's launcherFilippos Karapetis
svn-id: r47423
2010-01-10Silenced warnings ("this" isn't defined on object instantiation, and ↵Filippos Karapetis
commented out some unused variables) svn-id: r47237
2010-01-02SCI: implemented new console command "listsaves"Martin Kiewitz
svn-id: r46883
2010-01-01SCI: fixing bad sorting of saved games due MMDDYYYY date savingMartin Kiewitz
svn-id: r46846
2010-01-01SCI: implement kFOpen (OPEN_OR_CREATE), makes it possible to save character ↵Martin Kiewitz
data at the end of qfg1ega svn-id: r46814
2009-12-31SCI: kFileIO findFirst/findNext returns only game-specific prefixed filesMartin Kiewitz
svn-id: r46811
2009-12-31Changed kValidPath() to always return true, regardless of the value of ↵Filippos Karapetis
savePath (so that it works with both SCI11 and SCI32 games) svn-id: r46800
2009-12-30Rename Common::Stream::readLine_NEW to readLineMax Horn
svn-id: r46779
2009-12-30SCI32:Matthew Hoops
- Set signature for Array/String - Add the kernel table differences for the GK2 demo - Implement kMessage changes in SCI32 - Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid) - Add dereferencing for Arrays svn-id: r46756
2009-12-29Removed leftover debug outputFilippos Karapetis
svn-id: r46698
2009-12-25Fix gcc warning (and along with it make the code a little bit easier to read).Johannes Schickel
svn-id: r46542
2009-12-24SCI32:Matthew Hoops
- Fix dup for kArray/kString - Implement kFileIO::rename (SCI1.1) - Implement part of the SCI32 additions to kFileIO - Implement the GetSaveDir part of kSave (SCI2.1) - Torin (SCI2.1!) now shows signs of life -- it will create the torin.prf file with correct data! svn-id: r46521