Commit graph

47 commits

Author SHA1 Message Date
Le Philousophe
5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Le Philousophe
29f5d51972 DC: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
6f5ac54828 DC: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
a0c818bde6 COMMON: Introduce SaveFileManager::exists
Checks if a savefile with given name exists.

Implement on all backends.
2021-08-23 13:34:35 +02:00
Orgad Shaneh
fb8f233ed7 BACKENDS: Replace virtual with override in SaveFileManager subclasses 2021-08-23 13:34:35 +02:00
Le Philousophe
9743161b00 DREAMCAST: Fix build 2021-07-09 17:20:28 +02:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Orgad Shaneh
3dac89a267 BACKENDS: Sprinkle some overrides 2021-03-31 02:04:47 +03:00
Cameron Cawley
cbff0c4d35 DC: Attempt to fix compilation 2020-11-23 12:24:54 +00:00
Cameron Cawley
01b4432825 BACKENDS: Use Common::U32String for OSystem::setWindowCaption 2020-11-22 17:20:19 +00:00
Marcus Comstedt
efebb327d9 DC: Fix indentation 2016-09-28 16:11:08 +02:00
Marcus Comstedt
95ad63e992 DC: Ignore case for VM filenames 2016-09-27 13:06:15 +02:00
Alexander Tkachev
a6bcd207fc DC: Fix VMSaveManager
* updateSavefilesList() stub;
* openRawFile();
* Common::OutSaveFile in openForSaving();
* OutVMSave derived from WriteStream.
2016-08-31 13:39:09 +06:00
Eugene Sandulenko
cb195a813b DC: Fix compilation 2016-08-04 13:08:25 +02:00
Alexander Tkachev
2597be210d BACKENDS: Fix DC's OutVMSave to have pos() 2016-08-04 17:45:49 +06:00
Marcus Comstedt
9d2d0cafd8 DREAMCAST: Re-fix listing of savegames
The roles of the pattern and filename were reversed, so fixed that.
2016-02-26 19:20:45 +01:00
Johannes Schickel
47f82d439d DREAMCAST: Fix listing of savefiles.
We introduced a new pattern '#' in 06641f29a7.
Starting from that commit all backends were supposed to support it. Dreamcast
was missed. To support it in Dreamcast we now use Common::String::matchString
to do pattern matching.
2016-02-25 21:05:53 +01:00
Johannes Schickel
b4e5531352 DC: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Filippos Karapetis
659d0cfcc3 COMMON: Also adapt openForSaving() in the DC and N64 backends 2012-06-25 22:39:28 +03:00
Max Horn
72080d8972 DC: Allow use of all symbols 2011-06-06 23:04:32 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
d67e450f7a DC: Fix various forbidden symbol clashes 2011-05-03 11:56:10 +02:00
Max Horn
3d4e9fe674 BACKENDS: Allow various files to use stuff from time.h 2011-05-03 11:27:44 +02:00
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +00:00
Torbjörn Andersson
9a85b1284b Silenced some more cppcheck style warnings.
svn-id: r47628
2010-01-28 05:20:52 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Marcus Comstedt
e3ca4afb59 Fixed some warnings.
svn-id: r39590
2009-03-21 15:47:45 +00:00
Marcus Comstedt
f7a6e85863 Removed superfluous comma and namespace specifier.
svn-id: r39495
2009-03-17 22:19:11 +00:00
Max Horn
94bfe1aa6f Get rid of the wrappers around the zlib stream wrapper wrappers ;)
svn-id: r36007
2009-01-22 23:14:16 +00:00
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Marcus Comstedt
9302491e82 Use vmsfs_delete_file now that libronin supports it...
svn-id: r30772
2008-02-03 17:01:46 +00:00
Marcus Comstedt
9f43e2cf8a Use "new" framework for compressed saves...
svn-id: r29765
2007-12-08 15:11:20 +00:00
Marcus Comstedt
7f019cfdee Fixed bug in glob matching function.
svn-id: r29764
2007-12-08 14:58:06 +00:00
Marcus Comstedt
9e8167b10c * Added removeSavefile()
* New style listSavefiles() using a glob

svn-id: r29153
2007-10-03 22:04:36 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Marcus Comstedt
2bb012701a flush()->finalize()
svn-id: r25683
2007-02-18 11:48:10 +00:00
Marcus Comstedt
fbb5a2d773 Modularization.
svn-id: r24453
2006-10-22 17:58:38 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Marcus Comstedt
25f68b08ab Moved backends/dc into new platform directory.
svn-id: r23357
2006-06-30 20:21:42 +00:00
Renamed from backends/dc/vmsave.cpp (Browse further)