393 Commits

Author SHA1 Message Date
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