Age | Commit message (Collapse) | Author |
|
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
|
|
svn-id: r52305
|
|
which is sci1 and sci1.1
fixes bug #3051145
- separating this mother goose from ega and sci2.1
- adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid
- adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now)
- changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later
svn-id: r52301
|
|
"SCI: Bug in file read/write operations"
svn-id: r52298
|
|
inside the if-statement.
svn-id: r52269
|
|
of the bitwise OR aren't reading from the same source)
svn-id: r52258
|