Commit Graph

1145 Commits

Author SHA1 Message Date
Travis Howell
48cce58ab5 Split the script opcode table for DIMP, since it doesn't match(ie timers) other Puzzle Pack games.
svn-id: r44285
2009-09-24 03:41:45 +00:00
Travis Howell
c4f6d91777 Fix bug #2865191 - NoPatience hangs after undo.
svn-id: r44281
2009-09-24 00:38:29 +00:00
Johannes Schickel
c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Travis Howell
5d79d748a4 Correct error in load code for PC version of Waxworks.
svn-id: r44206
2009-09-20 13:17:07 +00:00
Travis Howell
8d2482813a Remove excess spaces.
svn-id: r44030
2009-09-11 10:22:32 +00:00
Travis Howell
8d5a2542fb Whitespace changes.
svn-id: r43689
2009-08-24 10:09:31 +00:00
Travis Howell
3c9d22aa95 Correct errors in load/save code for PC version of Waxworks.
svn-id: r43628
2009-08-22 01:53:25 +00:00
Johannes Schickel
b33b90ecd0 Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
svn-id: r43512
2009-08-18 15:31:26 +00:00
Matthew Hoops
ce30a513ac Introduce a better fix for the Mac OS X backspace problem by adding the workaround to default-events.cpp.
svn-id: r43441
2009-08-16 14:04:54 +00:00
Matthew Hoops
a718e608f4 Fix for bug #2838517 (FF: backspace does not work when typing save game name).
svn-id: r43440
2009-08-16 13:47:48 +00:00
Torbjörn Andersson
762d2dc03a Removed unnecessary semi-colons.
svn-id: r43409
2009-08-15 14:13:48 +00:00
Travis Howell
a73523533c Restore code to clear screen, before playing videos with smaller resolution in the Amiga version of The Feeble Files.
svn-id: r43402
2009-08-15 10:31:20 +00:00
Travis Howell
0630c20722 Fix regression, that caused multiple sounds in Simon the Sorcerer 2 to be cut off.
svn-id: r43400
2009-08-15 10:09:32 +00:00
Travis Howell
ea4fb712a3 The Nintendo DS hack for introduction in Simon the Sorcerer 1 is only required for Windows version (WAV format) now.
svn-id: r43358
2009-08-14 00:44:36 +00:00
Neil Millstone
a135a7f938 Allow VOCs to stream from disk. Disabled by default, use symbol STREAM_AUDIO_FROM_DISK to enable. See patch #2834001.
svn-id: r43357
2009-08-13 21:46:41 +00:00
Andre Heider
ca7b4db0ae Removed duplicated functions.
svn-id: r43314
2009-08-12 07:37:45 +00:00
Travis Howell
8a62c94f80 Enable Personal Nightmare by default.
svn-id: r43304
2009-08-12 02:24:03 +00:00
Travis Howell
c50f3c0241 Fix bug #2835822 - SSPP: Sounds from DIMP appearing randomly in other games.
svn-id: r43299
2009-08-12 01:21:25 +00:00
Travis Howell
f186d9c860 Fix building with specific games disabled in MSVC.
svn-id: r43294
2009-08-12 00:53:35 +00:00
Travis Howell
c95d36c186 vc22_setPaletteOld was renamed to vc22_setPalette, since function was virtualized.
svn-id: r43292
2009-08-11 23:40:07 +00:00
Johannes Schickel
73e07b60d5 Fix AGOS compilation.
svn-id: r43276
2009-08-11 15:35:30 +00:00
Travis Howell
1c15bcf87d Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
2009-08-11 14:42:44 +00:00
Travis Howell
4389b70395 Fix glitch when removing arrows from spell book in Elvira 1.
svn-id: r43165
2009-08-09 10:28:11 +00:00
Travis Howell
c14ee974e7 Fix bug #2834260 - ELVIRA1: Graphic glitch when bird takes off.
svn-id: r43163
2009-08-09 07:16:08 +00:00
Travis Howell
5f53ec3b29 Fix bug #2834252 - ELVIRA1 Problem with 8-character-long save names.
svn-id: r43156
2009-08-09 01:55:34 +00:00
Travis Howell
82692b117c Fix bug #2834254 - ELVIRA: Buggy scroll arrows when mixing spells.
svn-id: r43152
2009-08-09 01:20:08 +00:00
Eugene Sandulenko
c0e7f92652 Fix bug #2825565: "Unable to select subtitles in Atlantis and Simon 1"
svn-id: r43145
2009-08-08 20:49:13 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Travis Howell
d4c13b40a5 Update video script debug table for Waxworks.
svn-id: r42656
2009-07-22 10:32:35 +00:00
Travis Howell
227f4a575f Simplify fade code.
svn-id: r42654
2009-07-22 09:52:44 +00:00
Travis Howell
fd63d8c95a Fix bug #2823818 - GUI: unable to select subtitles and speech for Simon 2.
svn-id: r42639
2009-07-21 10:48:32 +00:00
Travis Howell
66311e3248 Fix fade effects in Waxworks.
svn-id: r42638
2009-07-21 10:37:58 +00:00
Travis Howell
004b313ae0 Update GUI flags for AGOS game engine.
svn-id: r42636
2009-07-21 07:02:18 +00:00
Max Horn
9e3d42c0cf AGOS: Fixed badload(); some whitespace cleanup
svn-id: r42624
2009-07-20 05:02:17 +00:00
Travis Howell
5b16cab619 Change generic save game name.
svn-id: r42614
2009-07-19 14:03:35 +00:00
Travis Howell
29cd90ec1b Add patch #2823590 - Fix music crashes in Waxworks (PC).
svn-id: r42606
2009-07-19 09:09:56 +00:00
Max Horn
48e065a0ad AGOS: Removed second setjmp in PN code (untested!)
svn-id: r42593
2009-07-18 15:15:26 +00:00
Max Horn
2250ff1df6 AGOS: Get rid of one setjmp in PN code (needs testing)
svn-id: r42592
2009-07-18 15:12:54 +00:00
Max Horn
24e18ae215 AGOS: Fixed backspace under OS X in Personal Nightmare
svn-id: r42591
2009-07-18 15:11:19 +00:00
Travis Howell
9f2f041200 Correct error in saveBackGround.
svn-id: r42561
2009-07-17 10:48:30 +00:00
Travis Howell
74178f090c Fix bug #2822956 - ELVIRA2: Crash at the beginning (regression).
svn-id: r42560
2009-07-17 09:56:03 +00:00
Travis Howell
d329232f5c Fix input glitch regression, after pausing in PN.
svn-id: r42559
2009-07-17 06:26:37 +00:00
Travis Howell
a0d05a93f8 Fix recent PN regression in vc32_saveScreen().
svn-id: r42504
2009-07-15 13:19:49 +00:00
Max Horn
99fc508609 AGOS: Some more cleanup and added some comments to the PN code
svn-id: r42494
2009-07-14 23:03:25 +00:00
Max Horn
cc60b13597 AGOS: Fixed potential OOBA crash in AGOSEngine_PN::opn_opcode26
svn-id: r42492
2009-07-14 21:50:22 +00:00
Max Horn
ebe3e42fba AGOS: Cleanup PN code a bit, trying to make sense out of it
svn-id: r42491
2009-07-14 21:46:23 +00:00
Travis Howell
845106c3b9 Remove last ioFailed() usage in AGOS game engine.
svn-id: r42481
2009-07-14 13:55:10 +00:00
Travis Howell
cc4fb1277f Update workaround for bug #1538873, which effects the Polish version of Simon the Sorcerer 2 too.
svn-id: r42480
2009-07-14 13:53:54 +00:00
Travis Howell
e59c546187 Change key combination to dump all script, due to conflict.
svn-id: r42478
2009-07-14 13:50:17 +00:00
Travis Howell
e457a3f251 Add workaround for bug #1538873 - SIMON1 (French): Text wrongly displayed.
svn-id: r42474
2009-07-14 12:34:42 +00:00
Travis Howell
8eee50103c Fix recent regression in AGOSEngine_Simon1::drawImage().
svn-id: r42360
2009-07-11 00:38:50 +00:00
Travis Howell
20ca572e45 Fix recent regression in vc61().
svn-id: r42252
2009-07-08 01:07:41 +00:00
Travis Howell
1e568222e4 Set the correct sound rate for Personal Nightmare.
svn-id: r42202
2009-07-07 07:02:04 +00:00
Travis Howell
3ce15cb9b7 Ooops, remove debug code.
svn-id: r42164
2009-07-06 06:24:04 +00:00
Travis Howell
dc0f6dce76 Use graphics surfaces for screen buffers, and always use correct pitch when writing to the frameBuffer.
svn-id: r42163
2009-07-06 06:21:59 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Max Horn
c4f6295330 Fixed some more warnings observed on buildbot
svn-id: r42010
2009-07-01 20:51:34 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Travis Howell
4a1029dee4 Remove unused old code.
svn-id: r41395
2009-06-09 06:37:42 +00:00
Travis Howell
741de2812c Correct check for font data table used in The Feeble Files.
svn-id: r41393
2009-06-09 00:00:24 +00:00
Travis Howell
ddf3336bc1 Add more Polish font data for The Feeble Files.
svn-id: r41374
2009-06-08 14:50:34 +00:00
Travis Howell
87db37316c Add Polish font data for The Feeble Files.
svn-id: r41372
2009-06-08 14:21:43 +00:00
Travis Howell
78de280f12 Update details for the Polish version of The Feeble Files.
svn-id: r41365
2009-06-08 08:56:32 +00:00
Eugene Sandulenko
c8aa63e553 Disable load from the launcher button for AGOS and Gob games with use of GUI options
svn-id: r41277
2009-06-06 17:59:04 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +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
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Filippos Karapetis
b7f8990ba8 Renamed the DXA, SMK and FLIC video decoders to reflect the fact that they're decoders, not players
svn-id: r40759
2009-05-21 13:02:56 +00:00
Filippos Karapetis
6ec870303f - Reverted commit #40730, as it introduced rounding errors
- Properly fixed the FLIC player
- The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method

svn-id: r40736
2009-05-20 10:43:18 +00:00
Travis Howell
789cb98492 Correct translation error.
svn-id: r40718
2009-05-19 01:58:51 +00:00
Travis Howell
36ace75983 Improve looping of videos, in the demo version of The Feeble Files.
svn-id: r40716
2009-05-19 01:20:54 +00:00
Travis Howell
2f798b088f Simplify cursor code.
svn-id: r40653
2009-05-17 14:53:47 +00:00
Travis Howell
31adbb8769 Fix mouse cursor color in the demo versions of The Feeble Files.
svn-id: r40643
2009-05-17 11:05:10 +00:00
Travis Howell
bce47e7eb6 Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
2009-05-16 05:34:16 +00:00
Max Horn
a3efc5611c Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 years :) in the quicktime midi code
svn-id: r40577
2009-05-14 23:09:04 +00:00
Travis Howell
705eba635e Fix bug #2791699 - Feeble Files: Crash after OmniTV video.
svn-id: r40560
2009-05-14 13:22:42 +00:00
Travis Howell
c3eaef2a95 Correct typo.
svn-id: r40555
2009-05-14 11:15:36 +00:00
Travis Howell
f63cf2df8f Minor corrections.
svn-id: r40550
2009-05-14 07:20:26 +00:00
Travis Howell
dd54193f95 Expand dump image code to cover all games, and add options to the debugger.
svn-id: r40548
2009-05-14 07:05:51 +00:00
Travis Howell
391cf9d144 Correct incorrect byte in corrupt 72.out file, included with some PC versions of PN.
svn-id: r40369
2009-05-07 12:05:44 +00:00
Travis Howell
4e6f862b7c Add more file sizes.
svn-id: r40348
2009-05-06 09:31:55 +00:00
Travis Howell
bb4b2a5060 Fix input glitch regression again, by closer matching original PN code.
svn-id: r40329
2009-05-05 13:40:16 +00:00
Travis Howell
f4cb6a0b0a Fix input glitch regression, when examing items in PN.
svn-id: r40328
2009-05-05 12:47:37 +00:00
Joost Peters
e1208f7b2b Fix compilation without --enable-pn
svn-id: r40311
2009-05-04 19:54:53 +00:00
Travis Howell
5450bf6630 Fix input been displayed during ending sequence in PN.
svn-id: r40300
2009-05-04 12:55:04 +00:00
Travis Howell
42bb8b95be Fix the car chase scene in PN.
svn-id: r40299
2009-05-04 09:17:31 +00:00
Travis Howell
3fc6c92172 All versions of PN share the same saved game format.
svn-id: r40298
2009-05-04 09:16:00 +00:00
Travis Howell
511483adc9 Always reset VGA memory pointer, when load zone in PN, since only a single zone is used.
svn-id: r40297
2009-05-04 09:13:34 +00:00
Travis Howell
1ce07f5e88 Add code different for PN in vc32_saveScreen(), to fix crashes.
svn-id: r40296
2009-05-04 02:05:28 +00:00
Travis Howell
fa019b0ee6 Nintendo DS hack should only apply to the CD version of Simon the Sorcerer 1.
svn-id: r40249
2009-05-03 04:30:18 +00:00
Travis Howell
b73fb35203 Add alternative work around for bug in The Feeble Files.
svn-id: r40248
2009-05-02 23:30:08 +00:00
Travis Howell
656638f12a Nintendo DS hack should only apply to the CD version of Simon the Sorcerer 1.
svn-id: r40247
2009-05-02 23:02:18 +00:00
Travis Howell
88f2bd813e Nintendo DS hack should only apply to the CD version of Simon the Sorcerer 1.
svn-id: r40246
2009-05-02 22:59:56 +00:00
Travis Howell
a287eae15d Add bit2 and bit3 options to debugger.
svn-id: r40231
2009-05-01 14:31:59 +00:00
Travis Howell
50ddc0daf0 Add the non-interactive German demo of Simon the Sorcerer 2.
svn-id: r40229
2009-05-01 11:53:52 +00:00
Travis Howell
385bf15b51 Fix regression in the PC version of PN.
svn-id: r40223
2009-05-01 05:39:06 +00:00
Travis Howell
afc0052c43 Fix inventory regression in the PC version of PN.
svn-id: r40222
2009-05-01 05:23:55 +00:00
Travis Howell
6b962cda4e Add support for unpacked data files, in the PC version of PN.
svn-id: r40192
2009-04-29 05:41:44 +00:00
Travis Howell
2f453cf852 Fix regression in handling of keyboard keys.
svn-id: r40111
2009-04-24 13:59:21 +00:00
Travis Howell
7b11ef429e Minor cleanup.
svn-id: r40099
2009-04-24 10:11:58 +00:00
Travis Howell
d22aeae5fc Fix pausing during video play back.
svn-id: r40098
2009-04-24 10:07:34 +00:00
Max Horn
ab05e79715 AGOS: Merged timerCallback and timerProc; removed checkTimerCallback declaration without implementation
svn-id: r40076
2009-04-22 12:57:23 +00:00
Travis Howell
3591548003 Sync.
svn-id: r40075
2009-04-22 12:44:58 +00:00
Travis Howell
d6247fa0e0 Fix crash that occurs when OmniTV video is played completely, in The Feeble Files.
svn-id: r40063
2009-04-22 10:19:10 +00:00
Travis Howell
319a4f8aa9 Add work around for bug in English 4CD version of The Feeble Files.
svn-id: r40048
2009-04-21 14:01:43 +00:00
Travis Howell
4cf0f0a9a5 Enable the arrow keys in Elvira 1/2.
svn-id: r40024
2009-04-20 10:07:18 +00:00
Travis Howell
e15dd070f8 Fix sound effects regression in Waxworks.
svn-id: r40023
2009-04-20 05:19:42 +00:00
Travis Howell
d30033fc04 Fix possible overwriting of sound data in earlier games, and cleanup.
svn-id: r40015
2009-04-19 01:28:27 +00:00
Travis Howell
570f2c66b8 Update renderString to match original code in The Feeble Files.
svn-id: r39952
2009-04-15 02:03:34 +00:00
Travis Howell
27e3ddc628 Update renderString to match original code in The Feeble Files.
svn-id: r39951
2009-04-15 01:54:24 +00:00
Travis Howell
dfdd0e4428 Add another German version of Simon the Sorcerer 2 (DOS Floppy).
svn-id: r39859
2009-04-05 12:11:20 +00:00
Travis Howell
6460511603 Add GF_EGA feature flag for PN, to allow easier support of PC VGA version in future.
svn-id: r39753
2009-03-30 08:31:30 +00:00
Travis Howell
91d8f6e228 Add French DOS version of Waxworks.
svn-id: r39681
2009-03-25 08:06:04 +00:00
Travis Howell
6bc9547324 Add German DOS version of Waxworks.
svn-id: r39678
2009-03-24 23:43:51 +00:00
Travis Howell
1365b22359 Add missing code difference in getUserFlag().
svn-id: r39565
2009-03-20 11:34:40 +00:00
Travis Howell
f81d5275f2 Correct initial palette in Amiga and AtariST versions of PN.
svn-id: r39561
2009-03-20 10:12:20 +00:00
Travis Howell
3f22122413 Correct vertical offset, when print stats in the AtariST version of Elvira 2.
svn-id: r39558
2009-03-20 10:01:00 +00:00
Travis Howell
356e803a95 Add work around for bug #2686883 - WAXWORKS: Crash in Jack the Ripper Zone.
svn-id: r39557
2009-03-20 09:59:40 +00:00
Johannes Schickel
b61d22b155 Hopefully fix compilation with mingw64.
svn-id: r39552
2009-03-19 23:52:30 +00:00
Filippos Karapetis
cae2c70c6f Silenced some warnings about potentially uninitialized variables
svn-id: r39536
2009-03-19 20:40:05 +00:00
Travis Howell
717102578b Minor corrections and cleanup.
svn-id: r39505
2009-03-18 06:06:16 +00:00
Travis Howell
b771aa5f0d Add more code differences in PN.
svn-id: r39261
2009-03-09 08:38:02 +00:00
Travis Howell
2ff57df1e5 Cleanup.
svn-id: r39260
2009-03-09 04:37:31 +00:00
Travis Howell
93deecccef Minor cleanup.
svn-id: r39259
2009-03-09 04:16:27 +00:00
Travis Howell
269754759f Changed _inputting & _inputReady from uint8 to bool.
svn-id: r39258
2009-03-09 03:58:18 +00:00
Max Horn
563d76d342 AGOS: Changed _leftButtonDown & _rightButtonDown from byte to int
svn-id: r39256
2009-03-09 03:45:33 +00:00
Max Horn
e080a59337 Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
svn-id: r39255
2009-03-09 03:45:23 +00:00
Max Horn
93240b003a cleanup ;-)
svn-id: r39254
2009-03-09 02:50:25 +00:00
Travis Howell
2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell
b2d49eaeef Add comment to getlong().
svn-id: r39252
2009-03-09 02:07:06 +00:00
Travis Howell
2abfb968a6 Replace samewrd() function, with scumm_strnicmp.
svn-id: r39248
2009-03-08 22:54:00 +00:00
Travis Howell
b2ec405011 Add loading of hard coded icon data in the AtariST version of PN.
svn-id: r39247
2009-03-08 22:51:19 +00:00
Max Horn
85f6f20419 some cleanup
svn-id: r39241
2009-03-08 18:58:09 +00:00
Travis Howell
468f9c43b7 Correct more errors in hitBox8().
svn-id: r39233
2009-03-08 14:39:04 +00:00
Filippos Karapetis
ca2c1b35b4 Variable _oneClick is a byte, so we can't compare it to boolean true/false
svn-id: r39229
2009-03-08 14:28:05 +00:00
Travis Howell
e5e9797d9c Cleanup.
svn-id: r39227
2009-03-08 14:15:59 +00:00
Travis Howell
e8a00262ed Correct error in hitBox8().
svn-id: r39223
2009-03-08 13:19:19 +00:00
Travis Howell
1937dca584 Cleanup.
svn-id: r39222
2009-03-08 13:18:07 +00:00
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell
a630759d6d Don't attempt to load save game slot in PN, if no match found.
svn-id: r39218
2009-03-08 09:53:52 +00:00
Travis Howell
6b76f72f32 Re-use save game slot, if the name matches, when saving in PN.
svn-id: r39217
2009-03-08 09:31:35 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Travis Howell
32e49fe2cf Fix buffer overflow in matchSaveGame().
svn-id: r39182
2009-03-07 13:29:11 +00:00
Travis Howell
d16b4ef949 Switch pause key to Pause in AGOS engine, and drop the debug keys.
svn-id: r39153
2009-03-06 09:22:03 +00:00
Travis Howell
e75178f383 Add minor verb code differences in Elvira 1/2.
svn-id: r39136
2009-03-05 21:38:17 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Travis Howell
fdb9cd9ce2 Add DOS demo of Elvira 1.
svn-id: r39026
2009-03-01 10:09:27 +00:00
Travis Howell
b08c22b283 Fix bottom palette in AtariST version of Elvira 2.
svn-id: r39014
2009-03-01 07:14:13 +00:00
Travis Howell
3571da7a94 Correctly fix position of icons in AtariST version of Elvira 2.
svn-id: r39011
2009-03-01 06:43:46 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00
Travis Howell
c1a712c4e8 Add German font data table for German versions of Elvira 2 and Waxworks.
svn-id: r38943
2009-02-28 00:13:14 +00:00
Travis Howell
0315465fde Elvira 1 uses slightly different font data table, shared for all languages.
svn-id: r38942
2009-02-28 00:12:21 +00:00
Travis Howell
5974452291 Fix bug #2642654 - SIMON2: Cannot load savegame, also in CD DOS?.
svn-id: r38935
2009-02-27 22:10:25 +00:00
Travis Howell
030f8b2e4a The background sounds option, only applies to Simon the Sorcerer 2.
svn-id: r38518
2009-02-19 00:08:35 +00:00
Travis Howell
08b62c7827 AtariST Elvira 1 demo specific code in restoreBackGround() is no longer required.
svn-id: r38328
2009-02-15 23:06:21 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Travis Howell
01625a01ab Fix offset error in clearVideoBackGround(), that could cause menu glitches after fighting in Elvira 1.
svn-id: r38238
2009-02-15 13:54:53 +00:00
Travis Howell
ad42ab0516 Ooops, remove excess bracket.
svn-id: r36322
2009-02-14 12:56:09 +00:00
Travis Howell
0d09d302a3 Add missing code difference in wordMatch().
svn-id: r36321
2009-02-14 12:52:14 +00:00
Travis Howell
1eb9c35255 Fix another memory leak, when exiting Waxworks.
svn-id: r36296
2009-02-13 05:50:17 +00:00
Travis Howell
a55aa87ba7 Fix memory leaks, when exiting Waxworks.
svn-id: r36294
2009-02-13 05:42:28 +00:00
Travis Howell
740ee411b0 Fix another memory leak, when exiting AGOS engine.
svn-id: r36293
2009-02-13 05:32:06 +00:00
Travis Howell
edfc00a740 Fix memory leak, when exiting AGOS engine.
svn-id: r36290
2009-02-13 05:09:46 +00:00
Travis Howell
546744fec4 Code difference no longer required (fixed by revision 35327).
svn-id: r36262
2009-02-11 12:33:37 +00:00
Travis Howell
2ada930eec Fix bug #2583230 - Waxworks: Can't drag and drop items.
svn-id: r36261
2009-02-11 12:24:38 +00:00
Filippos Karapetis
8b4c44373c Silenced MSVC warnings about uninitialized variables
svn-id: r36251
2009-02-08 21:36:43 +00:00
Travis Howell
89063a38ce Cleanup.
svn-id: r36233
2009-02-07 04:32:33 +00:00
Travis Howell
5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell
3a4cc4b88d time.h include no longer required.
svn-id: r36229
2009-02-07 01:45:32 +00:00
Travis Howell
b2332744e4 Cleanup.
svn-id: r36228
2009-02-07 01:11:51 +00:00
Travis Howell
885922240e Fix startup of AtariST demo of Elvira 1.
svn-id: r36212
2009-02-04 05:52:14 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
4d87acf8b4 AGOS: Added TODO about the possibility of using special debug levels
svn-id: r36137
2009-01-30 04:07:41 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Filippos Karapetis
a359f7c1da Silence MSVC warnings
svn-id: r36100
2009-01-27 17:08:09 +00:00
Travis Howell
f9d0d2a44a Add/Update comments.
svn-id: r36094
2009-01-27 03:26:51 +00:00
Travis Howell
f002e06fe0 Add looping support to makeVOCStream().
svn-id: r36093
2009-01-27 03:21:05 +00:00
Max Horn
8e447d1ee9 Extended makeWAVStream by a 'disposeAfterUse' param; changed makeWAVStream to directly return the AudioStream created by makeADPCMStream
svn-id: r36085
2009-01-27 00:42:43 +00:00
Max Horn
ca730e8f7e Allow quitting Simon 2 during the intro
svn-id: r36082
2009-01-27 00:38:56 +00:00
Travis Howell
53c71f8e4d Add support for text compression in the AtariST version of Elvira 1.
svn-id: r36065
2009-01-26 04:22:19 +00:00
Travis Howell
75518d5a6e Update detection table with known file sizes.
svn-id: r36032
2009-01-24 06:06:14 +00:00
Travis Howell
d5c12447bd Trigger error in German versions of Elvira 1/2 and Waxworks, since we still lack the font table data.
svn-id: r36019
2009-01-23 04:09:57 +00:00
Travis Howell
c36eb09237 Remove unused shutdown() code.
svn-id: r36018
2009-01-23 04:05:10 +00:00
Travis Howell
8914ef89ea Remove last use of time() in AGOS engine.
svn-id: r36016
2009-01-23 04:01:38 +00:00
Travis Howell
f8da825177 Bypass copy protection screen completely in Waxworks, since copy protection is disabled in Good Old Games release.
svn-id: r35963
2009-01-20 22:49:59 +00:00
Travis Howell
6a999bdc05 Fix bug #2522556 - FEEBLE: Cutscene not found, Crash.
svn-id: r35935
2009-01-20 05:43:57 +00:00
Filippos Karapetis
e47379c966 Updated AGOS with the latest changes to video players
svn-id: r35758
2009-01-06 17:45:39 +00:00
Travis Howell
1409526f6b Remove unused code, since room flags are always zero in Elvira 1.
svn-id: r35738
2009-01-05 09:49:57 +00:00
Travis Howell
85c9decb8d Quit immediately in Elvira 1, and don't let opcodes continue.
svn-id: r35737
2009-01-05 09:47:59 +00:00
Torbjörn Andersson
4273d0db92 Fixed a crash when quitting Swampy Adventures. (Regression from the RTL changes.)
svn-id: r35722
2009-01-04 13:14:11 +00:00
Filippos Karapetis
efcfada33e AGOS Smacker player: Wait for the *next* frame to be displayed, not the current one
svn-id: r35707
2009-01-03 16:24:27 +00:00
Sven Hesse
c40b7b1840 Properly using SMKPlayer::getFrameWaitTime() in MoviePlayerSMK::processFrame()
svn-id: r35699
2009-01-03 13:32:14 +00:00
Torbjörn Andersson
23e6fff0bf Make it possible to quit or return to launcher while the Feeble Files list of
savegames is scrolling by. (Agonizingly slowly.)

svn-id: r35697
2009-01-03 13:11:42 +00:00
Sven Hesse
5de6898694 This should fix the SMK playing bug discussed in the forums
SMKPlayer::getFrameDelay() returns the time to wait _in 1/100 ms_.

svn-id: r35696
2009-01-03 12:32:19 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Travis Howell
9d80f21031 Add Italian Amiga AGA version of Simon the Sorcerer 1.
svn-id: r35646
2009-01-01 07:21:16 +00:00
Torbjörn Andersson
e9693874cd Added punctuation to the error dialog I added before.
svn-id: r35643
2008-12-31 21:14:09 +00:00
Torbjörn Andersson
29a4403a21 Display an error message if the cutscene cannot be found. (Afterwards, ScummVM
will trigger an assertion and die, so this is still far from ideal...)

svn-id: r35640
2008-12-31 16:06:55 +00:00
Filippos Karapetis
2a5c513647 Fixed typo
svn-id: r35611
2008-12-29 15:08:10 +00:00
Travis Howell
5ef6d928b9 Cleanup.
svn-id: r35477
2008-12-22 00:32:01 +00:00
Travis Howell
f66bd9c57b Correct the number of speech available in Simon the Sorcerer 1 & 2.
svn-id: r35474
2008-12-21 23:10:31 +00:00
Eugene Sandulenko
829cbc4110 Move all video players to separate directory
svn-id: r35470
2008-12-21 21:08:17 +00:00
Travis Howell
587e70809a Return exact frame rate in Smacker player, and minor cleanup.
svn-id: r35458
2008-12-21 05:55:37 +00:00
Travis Howell
76624fc69c Add initial Smacker support for The Feeble Files.
svn-id: r35457
2008-12-21 04:36:11 +00:00
Travis Howell
9c20a533bb Enable Smacker support, and switch later HE games to Smacker support (since they aren't supported yet).
svn-id: r35368
2008-12-14 23:41:48 +00:00
Travis Howell
81d060675c Resort game types.
svn-id: r35349
2008-12-14 01:18:55 +00:00
Travis Howell
bff3c9cf60 Cleanup.
svn-id: r35348
2008-12-14 01:13:59 +00:00
Travis Howell
c2daf686d6 Add upper case code for oe1_pcName() in Elvira 1/2.
svn-id: r35330
2008-12-13 07:38:37 +00:00
Travis Howell
3c86a24d70 Add Polish 2CD version of The Feeble Files.
svn-id: r35329
2008-12-13 07:05:18 +00:00
Travis Howell
0abcf302c6 Fix display of spell status in Elvira 2, caused by newline in oe1_pcName().
svn-id: r35328
2008-12-13 04:55:54 +00:00
Travis Howell
a1fdbb8695 Fix regression, that caused text to be cut short in Elvira 1/2.
svn-id: r35327
2008-12-13 04:52:51 +00:00
Travis Howell
1e31438c57 Ooops, didn't virtual genSaveName().
svn-id: r35324
2008-12-13 03:16:20 +00:00
Travis Howell
e593015402 Cleanup.
svn-id: r35323
2008-12-13 03:12:56 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Travis Howell
de8dedf3c3 Add missing break to processSpecialKeys().
svn-id: r34843
2008-10-23 00:26:45 +00:00
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +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
Travis Howell
1b34b58c01 Replace ioFailed by err.
svn-id: r34557
2008-09-15 12:37:24 +00:00
Filippos Karapetis
cde2ee58b1 Fix for bug #2102828 - "AGOS - compilation error, uninitialized variable"
svn-id: r34469
2008-09-10 06:59:55 +00:00
Max Horn
2bc093828f Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
2008-09-07 22:10:58 +00:00
Max Horn
d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00
Christopher Page
d370c8eedd Agos volume levels changed by the keyboard correspond now sync with the config manager
svn-id: r33954
2008-08-16 22:42:19 +00:00
Christopher Page
ec8dac5540 Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
ad5b550df8 Small correction for last commit
svn-id: r33910
2008-08-15 18:26:59 +00:00
Christopher Page
6bebff8ab0 Fixed a memory leak in Agos
svn-id: r33852
2008-08-14 00:26:57 +00:00
Christopher Page
8d8c46e36f Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
svn-id: r33848
2008-08-13 20:45:00 +00:00
Christopher Page
fcc00f20b9 Merged revisions 33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33769
2008-08-10 21:58:18 +00:00
Torbjörn Andersson
d08c3ba66b Committed my patch #2040074 ("XMIDI callback control events"). At the moment, I'm
not aware of any game that actually uses this XMIDI feature, so its primary
function right now is to silence lots of warnings while running the DOS version
of Simon the Sorcerer 2.

svn-id: r33763
2008-08-10 17:59:42 +00:00
Christopher Page
ce3d1e1a7d Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33720
2008-08-09 19:03:29 +00:00
Travis Howell
f68d52ce4d Remove debug leftover.
svn-id: r33696
2008-08-08 02:49:51 +00:00
Travis Howell
fd65ea311a Hopefully allow quiting at any stage AGOS engines games again.
svn-id: r33693
2008-08-08 02:18:17 +00:00
Kostas Nakos
1a99bce201 smartphone-specific code not needed anymore
svn-id: r33674
2008-08-07 09:10:42 +00:00
Christopher Page
4198ee9623 Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
 

svn-id: r33624
2008-08-04 22:34:07 +00:00
Max Horn
0be985ce83 Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
2008-07-29 16:09:10 +00:00
Travis Howell
4f445e3deb Fix buffer overflow in error message.
svn-id: r33321
2008-07-27 01:54:40 +00:00
Paul Gilbert
ba351015cb Fix to prevent attempt to delete a non-initialised object during game exit
svn-id: r33283
2008-07-25 09:36:18 +00:00
Christopher Page
50a5410316 Implemented listSaves() for AGOS
svn-id: r33265
2008-07-24 20:16:21 +00:00
Christopher Page
09f4fd946e Merged revisions 33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33183
2008-07-21 22:46:39 +00:00
Christopher Page
34d3d74b97 Fixed a small SFX issue with AGOS
svn-id: r33180
2008-07-21 19:46:23 +00:00
Travis Howell
e1c71dab99 Spacing.
svn-id: r33168
2008-07-21 10:32:20 +00:00
Bertrand Augereau
ecd44b8f90 Avoid branching in the inner loop of AGOS drawVertImageCompressed
svn-id: r33167
2008-07-21 10:13:44 +00:00