Commit Graph

689 Commits

Author SHA1 Message Date
Travis Howell
dc9d36ea4a Fix fade regressions.
svn-id: r26844
2007-05-15 11:32:11 +00:00
Travis Howell
ee0cb9ee2d Ooops, the y offset in drawBackGround() should be based on state width too.
svn-id: r26843
2007-05-15 07:14:12 +00:00
Travis Howell
2371b4ec03 Fix regressions in the introduction of Simon the Sorcerer 1 and in the DOS Floppy demo of Simon the Sorcerer 1.
svn-id: r26842
2007-05-15 07:08:24 +00:00
Travis Howell
2e53712d31 Correct error in drawImages(), where _window3Flag should have been used.
svn-id: r26839
2007-05-14 00:00:36 +00:00
Travis Howell
a8c6dc6e7d Cleanup.
svn-id: r26833
2007-05-13 13:19:46 +00:00
Travis Howell
b1a95b502d Fix reported compiler warning.
svn-id: r26828
2007-05-13 11:07:00 +00:00
Travis Howell
9a04d1dffb Rename a few variables.
svn-id: r26827
2007-05-13 10:07:55 +00:00
Travis Howell
da283175c4 Correct delay for animateSprite event in Simon the Sorcerer 2.
svn-id: r26826
2007-05-13 09:55:15 +00:00
Travis Howell
b6672f37a9 Fix bugs #941074 and #828860, by switching to graphics renderer code used by earlier (non-Windows) versions of Simon the Sorcerer 1/2.
svn-id: r26825
2007-05-13 08:46:48 +00:00
Travis Howell
aa89759a55 Trigger palette update in colorWindow() for Elvira 2.
svn-id: r26824
2007-05-13 05:58:18 +00:00
Travis Howell
1ef7c3dbad Fix bug in original Simon the Sorcerer 2, the x position in invertBox() needs to be adjusted for scrolling locations.
svn-id: r26823
2007-05-13 04:11:19 +00:00
Gregory Montoir
1eef4cc779 free decrunch buffer once protracker module is loaded
svn-id: r26822
2007-05-13 02:32:38 +00:00
Travis Howell
6452a701be Fix glitches in pause options of Elvira 1.
svn-id: r26796
2007-05-10 00:43:27 +00:00
Filippos Karapetis
24fa689ee0 Fix compilation with MSVC8
svn-id: r26793
2007-05-09 15:48:18 +00:00
Travis Howell
20bf83a2ce Imrproved support for Elvira 1/2 and Waxworks.
svn-id: r26792
2007-05-09 15:36:05 +00:00
Travis Howell
5c3f6721b8 Fix masking issues in Amiga versions of Simon the Sorcerer 1.
svn-id: r26787
2007-05-08 14:48:46 +00:00
Filippos Karapetis
f21a7648aa Fix compilation with MSVC8
svn-id: r26784
2007-05-08 07:16:58 +00:00
Travis Howell
ce70442c2e Add palette difference when drawing images in Elvira 1.
svn-id: r26783
2007-05-08 05:39:50 +00:00
Travis Howell
3a4c4fa181 Don't attempt to decode unknown icon data formats.
svn-id: r26781
2007-05-07 13:40:29 +00:00
Travis Howell
d5504f0b66 The Palette difference in inventory arrows, applies to AGA version of Simon the Sorcerer 1 too.
svn-id: r26780
2007-05-07 13:09:10 +00:00
Travis Howell
9547535bd2 Fixes for conversation response in Waxworks.
svn-id: r26779
2007-05-07 13:03:02 +00:00
Travis Howell
e2c40aaee6 Fix inventory palette glitches in Elvira 2.
svn-id: r26775
2007-05-07 08:47:40 +00:00
Travis Howell
425bd5c136 Fix bug #1714096 - DIMP: Unable to start (regression).
svn-id: r26774
2007-05-07 08:29:29 +00:00
Travis Howell
8c21d430bb Fix inventory movement in Elvira 1/2 and Waxworks.
svn-id: r26773
2007-05-07 06:30:51 +00:00
Travis Howell
3ad8770f96 Set exact variable sizes for VC10 state, to avoid more regressions.
svn-id: r26770
2007-05-07 03:40:37 +00:00
Travis Howell
1a69604e82 Cleanup.
svn-id: r26769
2007-05-07 01:11:10 +00:00
Travis Howell
6ddc79a9a8 Cleanup.
svn-id: r26759
2007-05-06 09:46:43 +00:00
Travis Howell
0da4791128 Fix regression due to sign issue, which could cause crashes.
svn-id: r26758
2007-05-06 09:35:08 +00:00
Travis Howell
76c98a03af Fix regression that caused input to fail, after load or save error occurs.
svn-id: r26756
2007-05-06 09:31:32 +00:00
Travis Howell
da2d6b64af Add code difference for inventory arrows in Amiga versions of Simon the Sorcerer 1.
svn-id: r26641
2007-04-28 07:00:33 +00:00
Max Horn
5bf7b78aa2 Renamed agosgame.cpp -> detection_tables.h
svn-id: r26634
2007-04-27 22:42:02 +00:00
Max Horn
fbc2f89b08 Renamed some game.cpp files to detection.cpp
svn-id: r26623
2007-04-27 20:26:54 +00:00
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +00:00
Travis Howell
913a00ef93 Update details for Russian translation of Simon the Sorcerer 1.
svn-id: r26543
2007-04-18 09:42:13 +00:00
Travis Howell
69828cf56c Fix mouse regression in Swampy Adventures.
svn-id: r26503
2007-04-15 14:43:23 +00:00
Travis Howell
5668e15b2e Update reporting of invalid script opcodes.
svn-id: r26501
2007-04-15 14:32:58 +00:00
Travis Howell
7fad7c6f3f Fix Elvira 1 regression.
svn-id: r26500
2007-04-15 14:23:23 +00:00
Travis Howell
b932d60251 Cleanup.
svn-id: r26497
2007-04-15 14:12:08 +00:00
Travis Howell
48c21a1e31 Add eriktorbjorn's patch to split script opcodes into specific game engines.
svn-id: r26490
2007-04-15 12:04:47 +00:00
Travis Howell
95661d65af Cleanup.
svn-id: r26482
2007-04-15 05:33:21 +00:00
Travis Howell
2d3e77db85 Split game engines, to allow further cleanups.
svn-id: r26481
2007-04-15 05:04:48 +00:00
Travis Howell
1c00843f2b Cleanup.
svn-id: r26480
2007-04-15 00:55:16 +00:00
Travis Howell
aa0f36358b Cleanup.
svn-id: r26479
2007-04-15 00:21:42 +00:00
Travis Howell
fe6b6323fa Cleanup.
svn-id: r26478
2007-04-15 00:12:09 +00:00
Max Horn
2d2b3d0ed2 Renamed AGOSEngine::midi to AGOSEngine::_midi
svn-id: r26468
2007-04-14 12:03:46 +00:00
Travis Howell
f587f40c22 Correct details for Simon the Sorcerer 2 (DOS Floppy) with Russian patch.
svn-id: r26449
2007-04-10 05:17:54 +00:00
Travis Howell
0a766e5786 Remove two invalid entries for Simon the Sorcerer 2, since they use md5 checksums of the complete files (based on ICON.DAT).
svn-id: r26448
2007-04-10 05:16:01 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Travis Howell
a8f9e399b8 Add Spanish version of Waxworks (DOS).
svn-id: r26273
2007-03-22 00:53:39 +00:00
Travis Howell
3e85ecbe5f Remove duplicate code, for clipping of mouse position.
svn-id: r26238
2007-03-19 00:24:58 +00:00
Max Horn
dd61b25634 More AGOSEngine::waitForInput refactoring
svn-id: r26218
2007-03-18 17:55:11 +00:00
Max Horn
8bf7953839 Refactoring AGOSEngine::waitForInput some more (in baby steps, so that if I break something, it'll be easier to figure out at which point I did it :)
svn-id: r26210
2007-03-18 14:33:13 +00:00
Max Horn
612e7a3eeb Refactoring AGOSEngine::waitForInput a bit (by resolving gotos)
svn-id: r26207
2007-03-18 13:53:51 +00:00
Max Horn
72ee9ee86a Changed AGOS to use the EventManager to track the mouse position; added a FIXME comment about _mouseOld never being set
svn-id: r26206
2007-03-18 13:29:12 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4 Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.

Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.

svn-id: r26170
2007-03-17 15:44:26 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Travis Howell
247117d9ba Update error messages in loadModule().
svn-id: r26131
2007-03-14 12:34:40 +00:00
Max Horn
728d01cb17 Removing some unnecessary #includes
svn-id: r26044
2007-03-09 23:46:45 +00:00
Travis Howell
7380142071 Change the volume of music channel of mixer, when adjusting music volume too.
svn-id: r25894
2007-02-27 11:47:28 +00:00
Travis Howell
08fc65bef9 Add demo of Waxworks.
svn-id: r25876
2007-02-26 07:13:54 +00:00
Max Horn
b3931a847d Trying to unify the order in which we try the various audio formats: Prefer FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM
svn-id: r25837
2007-02-24 23:40:28 +00:00
Travis Howell
b0805551e7 Update md5 details for Spanish version of Elvira 2.
svn-id: r25818
2007-02-24 12:38:18 +00:00
Travis Howell
b8bbe1b5fe Update copy protection bypass for Simon 1/2.
svn-id: r25809
2007-02-23 11:12:12 +00:00
Travis Howell
74f21c1c4f Correct typo.
svn-id: r25808
2007-02-23 10:19:53 +00:00
Travis Howell
47280b3301 Fix bug #1600999 - SIMON2: Crash while talking to Bingo Bongo. A regression due to the work around for extra long strings been broken, when support for the Feeble Files was added in the past.
svn-id: r25807
2007-02-23 10:18:14 +00:00
Travis Howell
87ef1fe0a2 Skip music track 35 in CD releases of Simon 1, since it was replace by sound effect and the script was not updated.
svn-id: r25762
2007-02-21 12:34:14 +00:00
Travis Howell
76ac2263f9 Remove Amiga OCS specific code for copy protection screen in Simon 1, since it no longer required.
svn-id: r25761
2007-02-21 12:33:34 +00:00
Travis Howell
29ada82134 Bypass the copy protection screens in floppy disk releases of Simon the Sorcerer 1 and 2, with permission from Adventure Soft.
svn-id: r25760
2007-02-21 11:46:35 +00:00
Travis Howell
b5b45131c2 White space changes.
svn-id: r25759
2007-02-21 10:43:11 +00:00
Travis Howell
7f31211e4f Update details for English version of Elvira 2 for Atari ST.
svn-id: r25736
2007-02-20 03:06:42 +00:00
Travis Howell
2673ddffc0 Add French version of Elvira 2 for Amiga.
svn-id: r25735
2007-02-20 01:22:41 +00:00
Travis Howell
55162ff920 Correct playing back music 0 in Simon the Sorcerer 1, when using replacment soundtrack.
svn-id: r25734
2007-02-19 23:51:32 +00:00
Torbjörn Andersson
301fe91903 Renamed ANIMATION_H to AGOS_ANIMATION_H.
svn-id: r25730
2007-02-19 20:55:16 +00:00
Max Horn
d0f6b3c0dc Using stat and fopen is not portable (writing to a Common::File isn't either, but at least it doesn't force porters to #define fopen to work around it)
svn-id: r25661
2007-02-17 20:37:57 +00:00
Max Horn
b8aeefaffb Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
svn-id: r25660
2007-02-17 18:55:51 +00:00
Torbjörn Andersson
7949a067e1 Removed extra tabs.
svn-id: r25640
2007-02-17 00:54:32 +00:00
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Max Horn
d849f4762c a 20ms second delay should be ample time for a GM system ON
svn-id: r25633
2007-02-16 16:34:02 +00:00
Travis Howell
e3594a6839 Add support for using soundtrack from the Simon the Sorcerer 1 - Music Enhancement Project.
svn-id: r25632
2007-02-16 13:55:01 +00:00
Max Horn
cfc3d0a8ed AGOS: Send GM System Enable/On upon startup
svn-id: r25631
2007-02-16 13:41:38 +00:00
Travis Howell
8f0a3e8961 Fix cursor palette regression in Simon the Sorcerer 1.
svn-id: r25625
2007-02-16 10:36:33 +00:00
Travis Howell
3aaf15938d Fix cursor palette regression in Simon the Sorcerer 1.
svn-id: r25624
2007-02-16 10:33:37 +00:00
Torbjörn Andersson
f4b4a30327 Removed unnecessary #include.
svn-id: r25587
2007-02-14 17:05:58 +00:00
Travis Howell
ddef4db34e Fix missing scenes (accolade logo) in AtariST demo of Elvira 1.
svn-id: r25583
2007-02-14 04:15:37 +00:00
Max Horn
7572d2b4f2 Changed detectBestMatchingGame to return a pointer to a ADGameDescription (or a subclass of it); added a (currently fake) fallback callback entry in ADParams
svn-id: r25574
2007-02-13 23:37:44 +00:00
Torbjörn Andersson
c2972f09c2 Whitespace changes.
svn-id: r25567
2007-02-13 21:41:43 +00:00
Eugene Sandulenko
8405eca0ea Fix warnings
svn-id: r25554
2007-02-13 19:51:27 +00:00
Max Horn
4968e912ce AdvancedDetector changes:
* Renamed genGameList to gameIDList to make it match the corresponding
  plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
  as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
  engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN

svn-id: r25547
2007-02-13 14:55:11 +00:00
Eugene Sandulenko
da7d8c9f35 Rename Common::GF_XXX to Common::ADGF_XXX
svn-id: r25545
2007-02-13 13:42:28 +00:00
Max Horn
2afe07992f Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and add it for AGOS, too
svn-id: r25543
2007-02-13 13:17:46 +00:00
Travis Howell
0d418ee6ba Add Spanish version of Swampy Adventures.
svn-id: r25540
2007-02-13 12:14:27 +00:00
Max Horn
55adc889e7 (re)added flags field to ADGameDescription, with currently only one value (GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet)
svn-id: r25539
2007-02-13 01:28:18 +00:00
Travis Howell
6654a91ae2 Change asserts to warnings to now, due to code differences in Amiga versions of Simon the Sorcerer.
svn-id: r25522
2007-02-12 13:29:41 +00:00
Travis Howell
e0b9ccf2f0 Fix subtitles glitches in Amiga OCS version of Simon the Sorcerer 1, by using AGA on screen font for now.
svn-id: r25518
2007-02-12 11:30:18 +00:00
Travis Howell
b2f9c5ab8e Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25517
2007-02-12 11:27:11 +00:00
Kostas Nakos
c1a735dee5 re-added missing wince #include; got deleted suring the simon -> agos transition
svn-id: r25515
2007-02-12 09:05:52 +00:00
Kostas Nakos
775bed1069 apply modified patch #1657436 (alignment issues)
svn-id: r25514
2007-02-12 09:04:34 +00:00
Travis Howell
affcd0f808 Update work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25513
2007-02-12 07:03:41 +00:00
Travis Howell
0a8a92fd5c Fix icons regression in Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25512
2007-02-12 06:17:13 +00:00
Travis Howell
3c1ede0520 Fix cursor palette in Amiga versions of Simon the Sorcerer 1 and remove duplciate cursor table.
svn-id: r25511
2007-02-12 06:15:26 +00:00
Travis Howell
45692d4323 Add work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25510
2007-02-12 05:16:03 +00:00
Travis Howell
9315ccbdc1 Fix icons palette in AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25509
2007-02-12 04:58:49 +00:00
Travis Howell
2c0c7a8e17 Minor changes for coding guidelines.
svn-id: r25508
2007-02-12 04:30:24 +00:00
Travis Howell
bfd3d872b8 Adjust random opcode for Amiga versions of Simon the Sorcerer 1.
svn-id: r25507
2007-02-12 04:23:10 +00:00
Travis Howell
384fd4b833 Add Quietust's patch to fix subtitles glitches in Amiga AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25506
2007-02-12 04:18:19 +00:00
Travis Howell
189b4abb33 Pass VC10_state directly to convertclip, to reduce arguments.
svn-id: r25505
2007-02-12 03:59:29 +00:00
Travis Howell
8ba3553722 Add Quietust's changes to fix image glitches in Amiga AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25504
2007-02-12 01:07:27 +00:00
Travis Howell
d8d2c4cd65 Ooops, remove debug leftovers in last commit.
svn-id: r25502
2007-02-12 00:21:04 +00:00
Travis Howell
d4a206ec12 Add basic support for AtariST demo of Elvira 1.
svn-id: r25501
2007-02-12 00:14:14 +00:00
Travis Howell
c9202232ab Whitespace changes.
svn-id: r25488
2007-02-11 11:35:19 +00:00
Travis Howell
9f0ed19076 Add Quietust's patch for improved string redering in Amiga versions of Simon the Sorcerer 1.
svn-id: r25481
2007-02-11 02:19:56 +00:00
Travis Howell
6bdd106176 Add Acorn disk version of Simon the Sorcerer 1.
svn-id: r25480
2007-02-11 02:16:00 +00:00
Gregory Montoir
c66f919e86 minor cleanup
svn-id: r25444
2007-02-09 12:27:31 +00:00
Travis Howell
6c1b7114f5 Add demo of Simon the Sorcerer 1 (DOS CD).
svn-id: r25437
2007-02-09 10:53:16 +00:00
Travis Howell
eaeada78ac Add cyx's patch for cleanup for planar conversion code, and support for 32 color planar graphics of Amiga ECS version of Simon the Sorcerer 1.
svn-id: r25436
2007-02-09 00:35:57 +00:00
Travis Howell
f8052bb650 Convert planar images, only when required for drawing.
svn-id: r25433
2007-02-08 23:37:17 +00:00
Eugene Sandulenko
7b6bdd231d AdvancedDetector now has built-in fallback detection based on file lists.
Currently only gob engine benefits from it.

svn-id: r25374
2007-02-04 03:10:27 +00:00
Max Horn
cb49cbdd45 * Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer

svn-id: r25356
2007-02-03 19:05:53 +00:00
Travis Howell
9a7c1c9baf Add French version of Simon the Sorcerer 2 (Windows CD)
svn-id: r25252
2007-01-29 06:45:14 +00:00
Chris Apers
06c3d2cb2a Fix crash on PalmOS due to out of memory
svn-id: r25248
2007-01-28 18:40:30 +00:00
Chris Apers
2c1a3e1cd2 Added French/Atari ST version of Elvira 1 and 2
svn-id: r25247
2007-01-28 18:38:26 +00:00
Eugene Sandulenko
93687d376b Add more paramteres to AdvancedDetector. Not used yet.
svn-id: r25241
2007-01-28 07:31:26 +00:00
Travis Howell
82cc1db794 Revert audiostream changes for VOC sound, due to sgin differences in Amiga CD32 verison of Simon 1.
svn-id: r25220
2007-01-27 01:07:12 +00:00
Travis Howell
b867202199 Correct md5 details for restart file in Amiga/AtariST versions of Elvira 1/2 and Waxworks.
svn-id: r25218
2007-01-27 00:27:58 +00:00
Max Horn
d70c83bd4b Lots of cleanup in the AdvancedDetector
svn-id: r25194
2007-01-25 21:16:57 +00:00
Eugene Sandulenko
bb3cc79bc6 Reduce #include dependencies
svn-id: r25178
2007-01-25 01:05:25 +00:00
Eugene Sandulenko
318210ad96 Add optional size parameter to ADGameFileDescription. Not used now.
svn-id: r25164
2007-01-24 22:42:44 +00:00
Eugene Sandulenko
edd2422a55 Hide all AdvacedDetector parameters into a structure for easier maintenance
and extensibility

svn-id: r25163
2007-01-24 22:24:52 +00:00
Max Horn
44cbf4996b Removed common/advancedDetector.h from agos.h, thus reducing the number of build deps on base/plugins.h and base/game.h from about 155 to 113 (and also reducing the deps on advancedDetector.h, of course). The same should be done to all other engines using the advanced detector (AGI, CINE, SAGA, Parallaction)
svn-id: r25154
2007-01-21 16:57:13 +00:00
Eugene Sandulenko
cd8a5f3a98 First phase of detection-related plugins interface improvements. Now plugins
return StringMap instead of fixed list of parameters. This adds great
flexibility.

Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.

svn-id: r25134
2007-01-20 21:27:57 +00:00
Travis Howell
cc0c0b0dd1 Update details for German version of Elvira 2
svn-id: r25107
2007-01-16 21:41:38 +00:00
Travis Howell
1638cf2f0b Add Spanish version of Elvira 2
svn-id: r25066
2007-01-10 23:17:17 +00:00
Travis Howell
25141dd901 Limit keyboard specific verb code to arrow keys only in PP/WW
svn-id: r24972
2007-01-03 11:40:39 +00:00
Travis Howell
bca2bacf23 The arrows keys aren't monitored in DIMP
svn-id: r24969
2007-01-03 01:41:34 +00:00
Travis Howell
ea9ae8af0d Add volume support for music in swampy
svn-id: r24966
2007-01-01 11:29:20 +00:00
Travis Howell
66249c651e Add eriktorbjorn's patch for secondary sound looping in swampy, with minor changes for uncompressed sounds.
svn-id: r24965
2007-01-01 09:58:00 +00:00
Torbjörn Andersson
6944797891 At Kirben's request, I've applied my old keyboard repeat patch for the AGOS
engine. Swampy's Adventures really needs it, and the more generic solution to
keyboard repeat is apparently stalled.

svn-id: r24964
2007-01-01 07:37:07 +00:00
Travis Howell
cbe3cb850c Cleanup
svn-id: r24963
2007-01-01 05:44:34 +00:00
Travis Howell
9b6c3f3a87 Add dxa file extension for short version of filenames too.
svn-id: r24961
2007-01-01 04:49:10 +00:00
Travis Howell
590bd33a9e Fix bug #1624767 - FF: save games will not load.
svn-id: r24960
2007-01-01 04:35:27 +00:00
Torbjörn Andersson
95a7b6507a Cleanup
svn-id: r24953
2006-12-30 05:14:54 +00:00
Torbjörn Andersson
c0ccf07010 Fixed warning.
svn-id: r24952
2006-12-30 04:50:55 +00:00
Travis Howell
b0cd34a28b Add German version of PP - Swampy Adventures
svn-id: r24951
2006-12-30 01:20:19 +00:00
Eugene Sandulenko
c01839bbe9 Make ADGameFileDescription is built in directly into ADGameDescription.
svn-id: r24947
2006-12-29 00:03:03 +00:00
Travis Howell
352549c6e6 Set maximum saved game file to 998, since 999 is used for as restart state in FF
svn-id: r24927
2006-12-25 23:25:28 +00:00
Torbjörn Andersson
3f0f9045aa Tiny whitespace changes.
svn-id: r24907
2006-12-20 20:10:37 +00:00
Max Horn
559f2b62eb Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME
svn-id: r24896
2006-12-19 23:57:04 +00:00
Eugene Sandulenko
457ebfea3c Get rif od ARRAYSIZE in ADGameDescription
svn-id: r24882
2006-12-19 04:35:08 +00:00
Eugene Sandulenko
18ce381060 Got rid of ARRAYSIZE in advanceDetector calls
svn-id: r24881
2006-12-19 03:52:04 +00:00
Travis Howell
1950e9cc50 Add German demo of Simon the Sorcerer 2 (DOS CC)
svn-id: r24773
2006-11-23 08:54:34 +00:00
Travis Howell
4ac350407f Remove left over debug code
svn-id: r24772
2006-11-23 08:48:53 +00:00
Travis Howell
e7db7aff4d Avoid compiler warnings
svn-id: r24764
2006-11-23 05:37:37 +00:00
Eugene Sandulenko
cfb29dcb51 Fix MSVC2005 warnings. Please, review the changes.
svn-id: r24760
2006-11-22 15:50:30 +00:00
Travis Howell
f55320f988 Add inital pause code for Elvira 1/2 & WW, and cleanup
svn-id: r24723
2006-11-15 13:11:53 +00:00
Max Horn
1f26cb8965 Reworked code in the advanced game detector (getting rid of much of the evil #define hell it consisted of previously)
svn-id: r24685
2006-11-12 03:23:29 +00:00
Travis Howell
7dc85a36ac Limit Evlira 1 mouse hack to full version
svn-id: r24677
2006-11-11 11:54:51 +00:00
Eugene Sandulenko
a977988058 Next step in AdvancedDetector unification. Moved all common functions to
macroses. Now typical usage is just list of macros with parameters and 
array of game details.

svn-id: r24670
2006-11-10 22:43:10 +00:00
Travis Howell
f334797caa Add debugger command, to allow object flag vlaues to be altered.
svn-id: r24663
2006-11-09 10:41:29 +00:00
Travis Howell
3213bc322b Fix bug #1592914 - SIMON1: Crash in Dwarf Cave
svn-id: r24662
2006-11-09 05:28:36 +00:00
Travis Howell
09d35a38a8 Fix restarting game in Elvira 2
svn-id: r24646
2006-11-07 01:02:24 +00:00
Travis Howell
fe33cd84d6 Fix restarting game in Elvira 1
svn-id: r24645
2006-11-06 23:58:15 +00:00
Travis Howell
1b926fee10 Add inherit code for earlier games
svn-id: r24640
2006-11-06 14:28:19 +00:00
Travis Howell
415ec67056 Cleanup
svn-id: r24639
2006-11-06 13:59:11 +00:00
Travis Howell
c13380e76e Add contain code differences between earlier games
svn-id: r24634
2006-11-06 12:02:28 +00:00
Travis Howell
5a40402528 Split draw code for earlier games, to prevent regressions for now
svn-id: r24633
2006-11-06 08:07:47 +00:00
Travis Howell
8c95ca18e5 System mouse code no longer required
svn-id: r24632
2006-11-06 07:58:37 +00:00
Travis Howell
f2318ed1fd Fix mouse palette in WW
svn-id: r24631
2006-11-06 01:32:20 +00:00
Travis Howell
a1a5c9b38a The clear timers script only exists in Simon1
svn-id: r24630
2006-11-06 01:14:26 +00:00
Travis Howell
3ebba5fab9 Fix mouse glitch regression, due to code re-arrange
svn-id: r24629
2006-11-05 23:58:37 +00:00
Travis Howell
05dcf9c11d Cleanup
svn-id: r24626
2006-11-05 08:27:15 +00:00
Travis Howell
493af8f40b Only read a single item, in doTable opcode
svn-id: r24624
2006-11-05 07:42:23 +00:00
Travis Howell
a2abbf919d Add inital load/save code changes for earlier games and cleanup
svn-id: r24622
2006-11-05 06:26:45 +00:00
Travis Howell
ea9baa0347 Improve debug output of video script
svn-id: r24621
2006-11-05 06:10:41 +00:00
Travis Howell
4578f9afa5 Typo
svn-id: r24620
2006-11-05 01:52:56 +00:00
Travis Howell
94f1aab61a Music is disabled when under water in Elvira 1
svn-id: r24619
2006-11-05 01:43:29 +00:00
Gregory Montoir
f9cf368a67 got rid of two memory leaks
svn-id: r24589
2006-11-03 21:01:49 +00:00
Travis Howell
25069065f3 Increase delay for dragging items, to match original
svn-id: r24564
2006-10-29 07:30:31 +00:00
Travis Howell
e7195372e5 Update variable range, when using debugger
svn-id: r24563
2006-10-29 07:09:49 +00:00
Travis Howell
de7f250476 Add opcode and opcode stub for Elvira 2. Remove unused opcode code
svn-id: r24562
2006-10-29 07:01:55 +00:00
Travis Howell
9d7920e017 White space changes
svn-id: r24558
2006-10-28 14:11:27 +00:00
Travis Howell
bd0a327a39 Remove vga opcodes which are never used by games
svn-id: r24557
2006-10-28 14:08:35 +00:00
Travis Howell
30e6ce658b Update debug tables
svn-id: r24556
2006-10-28 13:47:16 +00:00
Travis Howell
2714741606 Correct dump of VGA file in FF
svn-id: r24555
2006-10-28 13:31:30 +00:00
Travis Howell
dfd57406ff Fix sign issues, that caused combat issues in Elvira 1
svn-id: r24553
2006-10-28 12:33:49 +00:00
Travis Howell
c85c37561d Fix cursor palette in Elvira 1
svn-id: r24552
2006-10-28 11:34:56 +00:00
Travis Howell
aa6a92ac6d Add shield cursor for Elvira 1
svn-id: r24551
2006-10-28 11:29:13 +00:00
Travis Howell
847956af40 Fix the heart beat in Elvira 2
svn-id: r24550
2006-10-28 06:30:08 +00:00
Travis Howell
d5f47e2203 Update debug tables
svn-id: r24549
2006-10-28 05:34:40 +00:00
Travis Howell
31a44154f0 Add code for vc37_pokePalette
svn-id: r24548
2006-10-28 04:44:10 +00:00
Travis Howell
4b46821ffb Add more fixes for Elvira 1
svn-id: r24547
2006-10-28 03:29:58 +00:00
Travis Howell
9f85511537 Cleanup
svn-id: r24533
2006-10-27 13:28:32 +00:00
Travis Howell
f07fc242b3 Var 254 is only reset, when reseting animations in later games
svn-id: r24532
2006-10-27 13:08:25 +00:00
Travis Howell
f1accee702 Cleanup
svn-id: r24531
2006-10-27 12:55:48 +00:00
Travis Howell
231d6064de Update comment
svn-id: r24530
2006-10-27 11:43:17 +00:00
Travis Howell
162f8e16b0 Update dump code for additional games
svn-id: r24529
2006-10-27 11:39:04 +00:00
Travis Howell
5eaef92728 Update names in opcode tables
svn-id: r24528
2006-10-27 11:19:11 +00:00
Travis Howell
7d71b6d109 Cleanup
svn-id: r24527
2006-10-27 11:04:05 +00:00
Travis Howell
9bab66a53a Script 160 is only used when clearing timers in Simon 1/2
svn-id: r24526
2006-10-27 10:43:48 +00:00
Travis Howell
adb626c783 Ooops, fix Elvira 1 regression
svn-id: r24525
2006-10-27 10:36:38 +00:00
Travis Howell
5ab37ca91d Add code for look opcode in elvira 1
svn-id: r24524
2006-10-27 03:07:18 +00:00
Travis Howell
956d003fcf Limit game specific code
svn-id: r24523
2006-10-27 01:55:06 +00:00
Travis Howell
aed395aeb2 Limit subtitle speed keys to Simon 1/2
svn-id: r24522
2006-10-27 01:36:15 +00:00
Travis Howell
d14059fccc Add font table for Czech version of Simon 2
svn-id: r24519
2006-10-26 12:56:27 +00:00
Travis Howell
227157ccdc Update comments
svn-id: r24502
2006-10-25 13:45:57 +00:00
Travis Howell
05fd51d036 Cleanup
svn-id: r24501
2006-10-25 13:38:35 +00:00
Travis Howell
fc04b2e45a Add back delay between script restarts
svn-id: r24500
2006-10-25 11:43:20 +00:00
Travis Howell
2f422f56cd Remove unused script code
svn-id: r24499
2006-10-25 11:41:36 +00:00
Travis Howell
ab0eb74395 Add extra opcodes used by dumped scripts of Amiga demo of Elvira 1
svn-id: r24498
2006-10-25 11:02:08 +00:00
Travis Howell
588c3e0bf1 Revert debug changes
svn-id: r24496
2006-10-25 10:21:57 +00:00
Travis Howell
15915e805d Remove unused script opcodes
svn-id: r24495
2006-10-25 10:20:17 +00:00
Travis Howell
a4be70e47b Correction to script opcode table for FF
svn-id: r24494
2006-10-25 10:08:38 +00:00
Travis Howell
dc405fa453 Corrections to script opcode table for PP
svn-id: r24493
2006-10-25 10:00:29 +00:00
Travis Howell
7dd6b31aef Add more opcodes for Elvira 1/2
svn-id: r24492
2006-10-25 08:12:05 +00:00
Travis Howell
869243142a Add class code used by scripts in Elvira 1
svn-id: r24491
2006-10-25 05:32:15 +00:00
Max Horn
7889783cac const correctness
svn-id: r24488
2006-10-24 09:44:20 +00:00
Travis Howell
920a5ac5f4 Rename variable
svn-id: r24487
2006-10-24 08:11:43 +00:00
Travis Howell
6810993828 Add more menu code for Elvira 1
svn-id: r24486
2006-10-24 07:44:37 +00:00
Travis Howell
67041f96a9 Add missing reset of _lastClickRem variable
svn-id: r24474
2006-10-23 13:42:50 +00:00
Travis Howell
38e709beb2 Add missing code for enableInput opcode
svn-id: r24473
2006-10-23 13:40:23 +00:00
Travis Howell
cff9d1ab81 Re-enable verb code
svn-id: r24472
2006-10-23 11:17:25 +00:00
Travis Howell
7a5b0c1870 Add minor icon code differences in Elvira 2
svn-id: r24471
2006-10-23 11:13:51 +00:00
Travis Howell
4c9fc74964 Add printStats code for Elvira 2 and cleanup
svn-id: r24470
2006-10-23 10:06:32 +00:00
Travis Howell
8f44ef3209 Add a few opcode stubs for Elvira 2
svn-id: r24469
2006-10-23 07:07:03 +00:00
Travis Howell
80048e2327 Add hasIcon difference in Elvira 1
svn-id: r24468
2006-10-23 05:58:53 +00:00
Travis Howell
45965e3576 Add opcode used by lift in Elvira 2
svn-id: r24467
2006-10-23 05:32:54 +00:00
Travis Howell
f766e01112 Ooops, correct that accidental commit of code
svn-id: r24466
2006-10-23 01:52:19 +00:00
Travis Howell
99d6e6db5c Add patch to make ProTracker a subclass of AudioStream, from madmoose
svn-id: r24465
2006-10-23 01:37:59 +00:00
Max Horn
b635a2fb84 Only instantiate ProtrackerPlayer if it is actually needed
svn-id: r24445
2006-10-22 16:04:14 +00:00
Travis Howell
2e5210a18c Add extra opcode for Elvira 2
svn-id: r24438
2006-10-22 13:20:11 +00:00
Travis Howell
25c38db499 Add drag support for items in Elvira 1/2 and WW
svn-id: r24436
2006-10-22 13:04:34 +00:00
Travis Howell
af17835dd9 Add print object opcode difference in Elivra 2 and WW
svn-id: r24432
2006-10-22 10:14:58 +00:00
Travis Howell
1764733590 Add more opcodes for Elivra 2 and WW
svn-id: r24431
2006-10-22 09:53:56 +00:00
Travis Howell
16005872a2 Cleanup
svn-id: r24430
2006-10-22 07:43:11 +00:00
Travis Howell
196c2bf254 Fix regression is WW, caused by functions merge
svn-id: r24429
2006-10-22 05:11:27 +00:00
Travis Howell
872a708c4e Add system includes
svn-id: r24428
2006-10-22 01:05:14 +00:00
Travis Howell
91f7477d74 Ooops, correct typo
svn-id: r24427
2006-10-22 00:58:55 +00:00
Travis Howell
bce0a11065 Add extra picture opcode code for ELvira 1/2
svn-id: r24426
2006-10-22 00:55:17 +00:00
Travis Howell
4913db7168 Add extra events, which are triggered by Elvira 1/2 and WW
svn-id: r24408
2006-10-21 12:59:23 +00:00
Torbjörn Andersson
86d3f30347 Dummy handler for music commands 0xA and 0xB to keep Elvira1 from crashing. It
also seems to restore the missing first note of the intro music.

svn-id: r24406
2006-10-21 12:22:30 +00:00
Travis Howell
10f2c7cc57 Fix regression, due to lost code
svn-id: r24401
2006-10-21 10:50:19 +00:00
Travis Howell
8b75b8f2ee Sync. names of filesDescriptions
svn-id: r24400
2006-10-21 10:05:11 +00:00
Travis Howell
59103e6eb1 Add Czech version of Simon the Sorcerer 2 (Windows CD)
svn-id: r24399
2006-10-21 09:42:25 +00:00
Travis Howell
399f8381a9 Cleanup
svn-id: r24397
2006-10-21 01:51:59 +00:00
Travis Howell
4e859bb26e Cleanup
svn-id: r24396
2006-10-21 00:51:32 +00:00
Travis Howell
ff574a63ee Split code into more specific files and cleanup
svn-id: r24394
2006-10-20 02:10:51 +00:00
Travis Howell
e26954bcdb Split script opcode tables up into more specifics
svn-id: r24393
2006-10-19 23:57:54 +00:00
Travis Howell
75ee62d948 Split md5 details for game detection into separate file
svn-id: r24391
2006-10-19 12:14:53 +00:00
Travis Howell
d75901b832 Split game specific script opcodes into separate files
svn-id: r24389
2006-10-19 11:40:26 +00:00
Travis Howell
26765932cc Add support for sound effects in PC version of Elvira 1
svn-id: r24388
2006-10-19 11:13:28 +00:00
Travis Howell
8c72861de4 Add option to load a module via stream
svn-id: r24387
2006-10-19 05:37:22 +00:00
Travis Howell
ed3c6871f9 Ooops, disable code for loading modules
svn-id: r24386
2006-10-19 05:28:05 +00:00
Travis Howell
6e872547c3 Add support for arrows keys in WW
svn-id: r24385
2006-10-19 05:21:07 +00:00
Max Horn
ef4e68a8f5 Fix assignment-instead-of-compare bug in AGOSEngine::menuFor_e2
svn-id: r24363
2006-10-18 12:37:22 +00:00
Travis Howell
744cfc14af Fix display of sword cursor in WW
svn-id: r24362
2006-10-18 12:23:43 +00:00
Travis Howell
f4c27c2127 Add mouse cursors for WW
svn-id: r24361
2006-10-18 11:52:55 +00:00
Travis Howell
b0ddc9fde5 Remove duplicate opcode in WW
svn-id: r24360
2006-10-17 11:02:42 +00:00
Travis Howell
8e50367bff The Amiga demo of Elvira 1 includes several VGA sound files, with a file size of zero
svn-id: r24359
2006-10-17 07:29:31 +00:00
Travis Howell
dc65aecb7d Whitespace changes
svn-id: r24358
2006-10-17 01:45:48 +00:00
Travis Howell
b785cf3601 Fix clearing window, when removing icons in earlier games
svn-id: r24357
2006-10-17 01:17:48 +00:00
Travis Howell
d41192d4fc Add minor differences in windows code of Elvira 1/2/WW
svn-id: r24356
2006-10-17 01:04:14 +00:00
Travis Howell
e2814e0368 Add more icons code differences for Elvira 1/2/WW
svn-id: r24355
2006-10-17 00:38:04 +00:00
Travis Howell
04a52f664b Add patch #1578573 - ELVIRA: More game versions
svn-id: r24354
2006-10-16 23:17:53 +00:00
Travis Howell
0a51fbb326 Add Elvira 2 difference in clearMenuStrip
svn-id: r24350
2006-10-16 11:23:47 +00:00
Travis Howell
a833a2fb8e Enable menus in Elvira 2
svn-id: r24349
2006-10-16 11:20:20 +00:00
Travis Howell
a965e8140c Add more opcode differences for WW
svn-id: r24348
2006-10-16 09:44:47 +00:00
Travis Howell
45400860f0 Enable menus in WW, allows more progress
svn-id: r24347
2006-10-16 08:41:50 +00:00
Travis Howell
6388455615 Disable mouse cursor in Amiga demo of Elvira 1
svn-id: r24346
2006-10-16 04:51:33 +00:00
Travis Howell
087331e102 Add work around for converter crash in Amiga version of WW for now
svn-id: r24345
2006-10-16 04:40:50 +00:00
Travis Howell
0c761c26ab Auto decrunch the gamexx file when required
svn-id: r24344
2006-10-16 04:31:09 +00:00
Travis Howell
b9ed835962 Amiga sound files aren't compressed
svn-id: r24338
2006-10-15 13:13:33 +00:00
Eugene Sandulenko
ea1cbea9f6 Rename items.cpp to script.cpp
svn-id: r24336
2006-10-15 09:08:51 +00:00
Travis Howell
2381b229ff Only stop the required sound channel, when switching sound files
svn-id: r24335
2006-10-15 08:08:50 +00:00
Travis Howell
707b733f43 Add another filename difference in Amiga versions
svn-id: r24334
2006-10-15 07:51:27 +00:00
Travis Howell
8925e814a7 Minor cleanup
svn-id: r24333
2006-10-15 05:59:22 +00:00
Travis Howell
ed89778036 Add menu support for Amiga demo of Elvira 1
svn-id: r24332
2006-10-15 04:15:48 +00:00
Travis Howell
2f639ab4d7 Add AtariST version of Elvira 2
svn-id: r24331
2006-10-15 03:58:31 +00:00
Travis Howell
8bc0b11cda Add game details for menu file used by early games
svn-id: r24317
2006-10-14 14:51:15 +00:00
Travis Howell
ac482cb217 Remove excess stopVoice code for PP, which isn't required under ScummVM
svn-id: r24316
2006-10-14 14:38:25 +00:00
Travis Howell
c028323a29 Add extra video opcodes for Elvira 1 demo
svn-id: r24315
2006-10-14 14:29:14 +00:00
Travis Howell
2534fbe04c Add more filename differences in Amiga demo of Elvira 1
svn-id: r24313
2006-10-14 13:51:01 +00:00
Eugene Sandulenko
12a8077c0d Remove unneeded #includes.
svn-id: r24312
2006-10-14 13:23:54 +00:00
Travis Howell
34b493daf8 Fix stub for Amiga demo of Elvira 1
svn-id: r24308
2006-10-14 12:10:12 +00:00
Travis Howell
26cbbb2ad3 Correct cut and paste error in gameid
svn-id: r24307
2006-10-14 11:38:00 +00:00
Travis Howell
d9dfca2fe9 Fix charset palette in Elvira 2/WW
svn-id: r24306
2006-10-14 06:23:19 +00:00
Travis Howell
9fb68c989f Fix glitch in introduction of WW
svn-id: r24305
2006-10-14 06:12:12 +00:00
Travis Howell
996a1adf80 Fix stopping of music in PP
svn-id: r24304
2006-10-14 05:47:18 +00:00
Travis Howell
05baf18ad6 Fix introduction of WW
svn-id: r24302
2006-10-14 03:14:47 +00:00
Travis Howell
49de64b3cc Ooops, correct dst pointer
svn-id: r24301
2006-10-14 01:18:49 +00:00
Travis Howell
ca620f02f3 Add sound effects support for early games
svn-id: r24300
2006-10-14 01:15:28 +00:00
Travis Howell
e87ff48e05 Fix palette issues in Elvira 2/WW
svn-id: r24299
2006-10-13 23:19:07 +00:00
Travis Howell
429cdfb131 Ooops, add back lost code
svn-id: r24297
2006-10-13 13:32:15 +00:00
Travis Howell
802a7cfacc Cleanup
svn-id: r24296
2006-10-13 13:16:15 +00:00
Travis Howell
1f7ecda3d0 Cleanup
svn-id: r24295
2006-10-13 12:55:53 +00:00
Travis Howell
f46fb07f27 Add differences in opcode table for Elvira 2 and cleanup
svn-id: r24294
2006-10-13 11:38:41 +00:00
Travis Howell
1564b76e1e Fix position of descriptions in WW
svn-id: r24289
2006-10-13 07:23:34 +00:00
Torbjörn Andersson
02fb079d0b Added support for playing looped compressed sounds, so that Puzzle Pack can
play music properly, even if the music file has been compressed. I've only
actually tested this with Ogg Vorbis sounds, but I've deliberately written it
so that it should work identically for all the compression types. (Famous last
words.)

svn-id: r24288
2006-10-13 05:06:53 +00:00
Travis Howell
9d96bdfe9a Fix regressions when drawing icons in FF
svn-id: r24287
2006-10-13 05:00:19 +00:00
Travis Howell
71c3384793 Limit clearWindow to early games only, to avoid regressions
svn-id: r24286
2006-10-13 04:57:07 +00:00
Travis Howell
bddfa4fb7d Fix room item loading in WW
svn-id: r24285
2006-10-13 04:49:27 +00:00