Johannes Schickel
259d87a8a6
Added "querySaveMetaInfos" to MetaEngine.
...
-> Allows easy addition of save state specific infos like playtime, save date atc.
-> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos
-> Changed SCUMM / KYRA to implement the newly added functionallity
-> Removed hack in KYRAs listSavefiles, which is now handled via meta infos
svn-id: r34581
2008-09-16 14:10:55 +00:00
Max Horn
9d96d9d380
Fix sign warnings in unit tests
...
svn-id: r34580
2008-09-16 11:57:45 +00:00
Johannes Schickel
5a1c593bf2
Removed assert leftover.
...
svn-id: r34579
2008-09-16 11:54:37 +00:00
Max Horn
f3dfb5ebab
Merged common/gzip-stream.* and common/zlib.*
...
svn-id: r34578
2008-09-16 11:50:10 +00:00
Filippos Karapetis
6a4d96649e
- Moved some includes away from drascula.h
...
- Moved grr() to talk.cpp
- Removed the unnecessary parameter length from isTalkFinished()
svn-id: r34577
2008-09-16 11:49:40 +00:00
Max Horn
706fb37061
Modified uncompress in common/zlib.h to return a bool, so that we don't have to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts)
...
svn-id: r34576
2008-09-16 11:42:21 +00:00
Filippos Karapetis
3bffca569f
Fixed some glitches in the last part of Von Braun's story
...
svn-id: r34575
2008-09-16 10:53:57 +00:00
Filippos Karapetis
d95e0059a2
Cleaned up and fixed the cutscene with Von Braun's story. Fixes bugs #2111804 - "DRASCULA: Cut scene bugs" and #2059648 - "DRASCULA: VonBraun's song"
...
svn-id: r34574
2008-09-16 10:44:07 +00:00
Filippos Karapetis
c36c58ca40
Removed the confirmation speech when a game is saved - it's "99.als" instead of "s99.als", but the main problem is that it's not translated in the English version and it's in Spanish (plus it's creepy and annoying...)
...
svn-id: r34573
2008-09-16 08:24:42 +00:00
Filippos Karapetis
2748701dbe
Assign _lang to the appropriate enum values
...
svn-id: r34572
2008-09-16 08:12:13 +00:00
Filippos Karapetis
4fced32082
Added a workaround to skip the silence in the beginning and end of file 3.als. Fixes bug #2111815 - "DRASCULA: Voice delayed"
...
svn-id: r34571
2008-09-16 08:10:08 +00:00
Filippos Karapetis
c655d72f5a
- Fixed centerText() to print text at the correct height
...
- Removed some duplicate code
svn-id: r34569
2008-09-16 07:16:26 +00:00
Max Horn
05d78c26b4
DS: Backported 0.12 changes to trunk
...
svn-id: r34568
2008-09-15 22:43:20 +00:00
Max Horn
880bc085b1
Fixed compiler warnings
...
svn-id: r34567
2008-09-15 22:37:45 +00:00
Max Horn
7df6071a77
Turned compressed savefile wrapper into a generic stream wrapper
...
svn-id: r34566
2008-09-15 21:55:50 +00:00
Willem Jan Palenstijn
395536be6e
also check for premature end-of-stream when loading
...
svn-id: r34563
2008-09-15 19:34:06 +00:00
Willem Jan Palenstijn
eef9a003ba
fix eos() behaviour for CompressedInSaveFile
...
svn-id: r34562
2008-09-15 19:19:30 +00:00
Filippos Karapetis
2884da1452
Show the blind man's dialog text at a bit better place
...
svn-id: r34561
2008-09-15 14:35:11 +00:00
Filippos Karapetis
7cac97629a
Remove a workaround in textFitsCentered(). The blind man's dialog is a bit better placed now
...
svn-id: r34560
2008-09-15 14:17:51 +00:00
Filippos Karapetis
8a9dd3345e
Fixed the phrase told by the protagonist when he talks to the blind man the second time
...
svn-id: r34559
2008-09-15 13:45:10 +00:00
Filippos Karapetis
7cf7f4bbf6
Rewrote the very confusing centerText() function into something that makes more sense, and matches the way that the original printed text on screen (in most cases)
...
Fixes bugs #2102657 - "DRASCULA: Crash when talking to the piano player" and #2111820 - "DRASCULA: Dialog texts too long"
svn-id: r34558
2008-09-15 13:37:28 +00:00
Travis Howell
1b34b58c01
Replace ioFailed by err.
...
svn-id: r34557
2008-09-15 12:37:24 +00:00
Max Horn
5f2ceea1df
Corrected and shortened some file opening related warnings
...
svn-id: r34556
2008-09-15 12:37:18 +00:00
Max Horn
15959faf3e
Fix SubReadStream by initing _eos to false in the constructor (spotted thanks to our unit tests)
...
svn-id: r34555
2008-09-15 10:05:36 +00:00
Filippos Karapetis
621847b2e2
Proper check for eos(), after the latest changes to OSystem
...
svn-id: r34554
2008-09-15 09:17:18 +00:00
Willem Jan Palenstijn
1e3402fb0c
replace ioFailed by err
...
svn-id: r34553
2008-09-15 06:52:00 +00:00
Willem Jan Palenstijn
0046481763
fix listSaveGames
...
svn-id: r34552
2008-09-15 06:51:15 +00:00
Johannes Schickel
c1458bd2bb
Fixed regression introduced with latest stream changes (it seems compressed savefiles ioFailed never returned true when only eos was set).
...
svn-id: r34551
2008-09-14 23:14:38 +00:00
Max Horn
ace51b317a
DS: Some more compile fixes (prope solution would of course be to overload ::openForReading & ::openForWriting)
...
svn-id: r34550
2008-09-14 22:44:49 +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
fbfe30bf86
DS: Removed legacy GCC 2.x build code (NDS/DevKitPro uses GCC 3 or newer anyway); thinned down INCLUDES some more; added a FIXME to the elf->bin rule
...
svn-id: r34548
2008-09-14 22:24:35 +00:00
Max Horn
a7076b1f89
NDS: Replaced -I- by modern -iquote
...
svn-id: r34547
2008-09-14 22:15:13 +00:00
Max Horn
3c63c8688d
Another NDS compilation fix, plus a warning fix
...
svn-id: r34546
2008-09-14 22:12:59 +00:00
Johannes Schickel
a4830d813e
Cleanup.
...
svn-id: r34545
2008-09-14 21:41:27 +00:00
Max Horn
5719225367
Changed VPATH to vpath, to allow building NDS port in parallel to another port (for the records, this patch went to Neil in January, and he didn't complain)
...
svn-id: r34544
2008-09-14 21:39:45 +00:00
Johannes Schickel
77273facda
Little cleanup.
...
svn-id: r34543
2008-09-14 21:34:49 +00:00
Max Horn
02a846c669
Compilation fix for NDS
...
svn-id: r34542
2008-09-14 21:32:45 +00:00
Max Horn
6574b2ad18
Fixed a typo & clarified a comment
...
svn-id: r34541
2008-09-14 21:26:59 +00:00
Johannes Schickel
725bd8b778
Added thumbnail support for launcher to SCUMM engine.
...
svn-id: r34540
2008-09-14 21:13:40 +00:00
Johannes Schickel
92fc264461
- Added thumbnail support to launcher load dialog.
...
- Adopted KYRA to support displaying thumbnails in load dialog (SCUMM engine has yet to follow)
svn-id: r34539
2008-09-14 21:00:24 +00:00
Johannes Schickel
6dd62f650c
Minor improvement for GMM layout.
...
svn-id: r34538
2008-09-14 20:52:40 +00:00
Johannes Schickel
41312a0ead
Added ScummVM logo to GMM.
...
svn-id: r34537
2008-09-14 20:42:50 +00:00
Johannes Schickel
5fdd883327
Changed message when trying to open the load dialog for games not supporting direct loading.
...
svn-id: r34536
2008-09-14 20:01:01 +00:00
Johannes Schickel
48adf18e21
Added autosave support in Kyra.
...
svn-id: r34535
2008-09-14 19:48:40 +00:00
Johannes Schickel
da92fb470c
Fix for bug #2090879 "GUI: Launcher 'Load' dialog should preserve save slot index".
...
svn-id: r34534
2008-09-14 19:16:08 +00:00
Johannes Schickel
20a7a9112f
Fix potentional bug in Screen::setResolution.
...
svn-id: r34533
2008-09-14 19:05:05 +00:00
Johannes Schickel
78d7a276cf
Fix for bug #2089275 : "GUI: Returning to launcher may trigger an error".
...
svn-id: r34532
2008-09-14 18:59:43 +00:00
Filippos Karapetis
371af75374
Slight cleanup of centerText()
...
svn-id: r34531
2008-09-14 18:30:08 +00:00
Johannes Schickel
ed40e5d374
Committed patch by [md5] from bug tracker item #2100790 "GUI:Clicking "Load" when no games are added triggers a crash".
...
svn-id: r34530
2008-09-14 18:19:22 +00:00
Filippos Karapetis
dc31d1d9a8
Updated MSVC project files for the SCUMM engine - removed smush/chunk.*
...
svn-id: r34529
2008-09-14 18:00:06 +00:00