Age | Commit message (Collapse) | Author |
|
|
|
Avoid overwriting the target buffer with junk when no data has been read
|
|
|
|
This is based on two kernel functions, kMakeSaveCatName and
kMakeSaveFileName
|
|
|
|
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
|
|
This is no longer necessary, as our file I/O code handles this case
correctly now. Also, updated the description of file I/O on top.
|
|
This is used to enable the embedded debugger in several SCI32 games
(PQ4, QFG4, GK1, GK2, KQ7, SQ6 and LSL7)
|
|
|
|
The warning can be safely removed, as the parameter is a string that
should not be set
|
|
... and make it optional subject to USE_SAVEGAME_TIMESTAMP
|
|
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
|
|
|
|
|
|
|
|
|
|
Some backends may break as I only compiled SDL
|
|
kGetSaveFiles() should be worked out there.
|
|
|
|
|
|
svn-id: r55867
|
|
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).
svn-id: r55815
|
|
- Added kFileIO subop 17 (create save slot)
- Added information about a (probably debug) kernel function used in a puzzle, kCelInfo
- Added some information on two kSave subops
- Added 2 workarounds for uninitialized variables
svn-id: r55158
|
|
svn-id: r55086
|
|
simplified version, thus greatly simplifying handling of system strings
svn-id: r54805
|
|
svn-id: r54215
|
|
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
|
|
- Added support for savegame play time
- Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime)
- Renamed some variables to camelCase
svn-id: r53974
|
|
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
|
|
svn-id: r52694
|
|
fixes bug #3061964
svn-id: r52637
|
|
svn-id: r52457
|
|
svn-id: r52451
|
|
filter out files that are larger than 1k, actually removes real saved games from the list
svn-id: r52450
|
|
broke importing, also savedgames are named "qfg1.0xx", so they werent showed before anyway and ".sav" is not mandatory for exported character files.
svn-id: r52449
|
|
QFG can't import saved games, thus there is no point in including them in the
character import screens.
svn-id: r52448
|
|
svn-id: r52443
|
|
svn-id: r52442
|
|
now lists import files of all possible games, adds game title before that, removes game prefixes for all files
svn-id: r52441
|
|
svn-id: r52438
|
|
The original SCI games supported up to 12 characters for file names, thus we
use the file name returned as a mask to find the actual file, as we don't
wrap/unwrap save file names in these screens. If no files match, or if more
than 1 files match, throw a warning.
svn-id: r52437
|
|
Now, QFG2, 3 and 4 may read exported characters from all
other QFG games, like the originals did. Fixes bug
#3054692 - "QFG2/QFG3 Import issues".
svn-id: r52430
|
|
actually they return 0:0, when no bytes were read, otherwise they return the destination pointer
svn-id: r52398
|
|
in sierra sci of read bytes
svn-id: r52397
|
|
This should fix r3049360 in Hoyle4.
svn-id: r52396
|
|
experimental feature - enable by putting "scireplacedialog=true" inside scummvm section of scummvm.ini
LSL6 currently loses the ability to quicksave, when using the feature. Although i don't see it as a huge loss. That way it's now possible to save to up to 100 slots instead of just 20.
svn-id: r52345
|
|
also removing some previous code, because it wont work that way
svn-id: r52342
|
|
and changing patch code accordingly
svn-id: r52320
|
|
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental
svn-id: r52318
|
|
svn-id: r52314
|