Commit Graph

1145 Commits

Author SHA1 Message Date
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Max Horn
8d1431a5ab AGOS: cleanup
svn-id: r48227
2010-03-10 20:56:54 +00:00
Torbjörn Andersson
65585f6433 Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.

svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
f24cc1c8be Tweak makeVOCDiskStream
* now takes a SeekableReadStream *pointer* like (almost) all other
  audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency

svn-id: r48184
2010-03-08 10:27:42 +00:00
Travis Howell
0e41ec67d1 Exclude font data tables for The Feeble Files, when AGOS2 games are disabled.
svn-id: r48174
2010-03-07 11:46:03 +00:00
Travis Howell
e7765c983a Add font data for Polish Windows 4CD version of The Feeble Files.
svn-id: r48173
2010-03-07 09:22:19 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
fe35d372da - Rename FlacStream to FLACStream.
- Rename makeFlacStream to makeFLACStream.

svn-id: r47846
2010-02-03 09:42:11 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
ff783e4bb7 AGOS: Turn BaseSound into a subclass of Common::NonCopyable
svn-id: r47581
2010-01-26 22:51:40 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Travis Howell
ee653e19ec Update comments.
svn-id: r47461
2010-01-23 03:09:29 +00:00
Travis Howell
ed1de6e208 Fix regressions, only the Amiga CD32 version of Simon the Sorcerer 1 used signed sound data.
svn-id: r47460
2010-01-23 03:02:56 +00:00
Max Horn
409e44e7c3 AGOS: Further unify code related to compressed sound
svn-id: r47458
2010-01-23 00:04:43 +00:00
Max Horn
151906f14b AGOS: Fix memory leak in Sound::loadSfxTable
svn-id: r47457
2010-01-23 00:04:01 +00:00
Max Horn
a193c91e95 AGOS: Turn BaseSound::makeAudioStream into a pure virtual method
svn-id: r47456
2010-01-23 00:02:59 +00:00
Max Horn
c3c7071948 AGOS: Unify code related to compressed sound
svn-id: r47455
2010-01-23 00:02:01 +00:00
Max Horn
0b7ae99ad4 AGOS: Get rid of FLAG_LOOP usage
svn-id: r47454
2010-01-23 00:01:00 +00:00
Max Horn
a58efede57 AGOS: Start to refactor sound handling
svn-id: r47453
2010-01-23 00:00:11 +00:00
Max Horn
39af342fd1 AGOS: Add FIXME for a memory leak
svn-id: r47452
2010-01-22 23:59:16 +00:00
Max Horn
e270da88a6 AGOS: cleanup
svn-id: r47451
2010-01-22 23:58:24 +00:00
Max Horn
e754d8e1d3 AGOS: Rearrange sound code a bit
svn-id: r47450
2010-01-22 23:56:59 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
68826c27da Get rid of Mixer::playRaw for good
svn-id: r47394
2010-01-19 22:19:43 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Johannes Schickel
0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Johannes Schickel
616e4626f5 Since AudioStream looping is no longer handled by the Mixer, drop Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream).
svn-id: r47160
2010-01-08 16:27:29 +00:00
Johannes Schickel
b47725540f Cleanup.
svn-id: r47133
2010-01-07 17:04:32 +00:00
Johannes Schickel
d5fe29c3c9 Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
2010-01-07 16:34:56 +00:00
Marcus Comstedt
40f9506163 The default keycolor for mouse pointers used to be 255.
This makes sense as a default for CLUT8 modes, but not really
for anything else.  As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode.  However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether.  Engines which relied
on the old default of 255 have been updated to specify it explicitly.

svn-id: r47118
2010-01-07 15:07:36 +00:00
Johannes Schickel
84f3034406 - Move openStreamFile from AudioStream to SeekableAudioStream.
- Fix documentation of openStreamFile.

svn-id: r47080
2010-01-06 15:23:33 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Travis Howell
82c8904198 Add Polish Windows 4CD version of The Feeble Files.
svn-id: r46815
2010-01-01 11:44:33 +00:00
Torbjörn Andersson
b6ca638180 Create the stream dynamically in playSoundData(), to avoid a crash (spotted by
salty-horse) when makeWAVStream() deletes it.

svn-id: r46676
2009-12-28 15:53:13 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Torbjörn Andersson
039d7d5e1c Removed unnecessary semi-colons.
svn-id: r46232
2009-12-01 19:19:58 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
f107f7fc36 AGOS: cleanup
svn-id: r45819
2009-11-10 22:18:12 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Yotam Barnoy
b3eef9e066 AGOS Simon1 Windows fix. Fixed careless use of setChar function.
svn-id: r45592
2009-11-01 09:39:16 +00:00
Max Horn
6a2985ba08 Patch #2834677: Wave/ADPCM Endianness Fixes
svn-id: r45095
2009-10-14 22:37:05 +00:00
Max Horn
01176782ea Fix some cppcheck warnings reported by salty-horse
svn-id: r44538
2009-10-02 14:32:54 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
9026b63503 AGOS: Fixed some warnings about unreachable code
svn-id: r44298
2009-09-24 09:53:51 +00:00
Travis Howell
f6cdfde2f7 Add VGA script code differences in DIMP.
svn-id: r44288
2009-09-24 04:14:41 +00:00
Travis Howell
f9692d47cf Correct tags.
svn-id: r44286
2009-09-24 03:53:06 +00:00
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