364 Commits

Author SHA1 Message Date
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
Max Horn
55e132ca7d Use GF_DEMO flag in the AdvancedDetector to augment the preferredtarget name
svn-id: r25541
2007-02-13 13:00:18 +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
Sven Hesse
9e30a6e990 Adding MD5s supplied by vampir_raziel in bug report #1658373
svn-id: r25538
2007-02-12 21:26:52 +00:00
Sven Hesse
ffdd3522bf More demo version fixes
svn-id: r25532
2007-02-12 19:30:52 +00:00
Sven Hesse
15f52b96b8 Changed language finding again
svn-id: r25525
2007-02-12 14:37:27 +00:00
Sven Hesse
6b2d843680 - Some fixes for demos and Amiga versions
- Improved language finding a bit

svn-id: r25520
2007-02-12 12:53:28 +00:00
Eugene Sandulenko
171962b02c Improve detection.
svn-id: r25519
2007-02-12 11:35:49 +00:00
Sven Hesse
2c4a6d6a43 The SoundHandle isn't stopped indirectly by AudioCD.play() anymore, so removed the SoundHandle starting for each sample
svn-id: r25411
2007-02-07 16:30:59 +00:00
Sven Hesse
3442ea1582 - Fixed another freeze in Ween
- Changed cursor visibility handling a bit

svn-id: r25407
2007-02-07 13:08:17 +00:00
Sven Hesse
edefc7bde3 Corrected the goblins walking sound (#1621086)
svn-id: r25404
2007-02-06 21:23:14 +00:00
Sven Hesse
8833cdb03f Made Goblin::Gob_Object::order explicitely signed, should fix bug #1625292 (Wrong sprite in foreground)
svn-id: r25403
2007-02-06 19:55:21 +00:00
Sven Hesse
1c9c972d05 - Fixed Ween's inventory in the volcano (#1630113)
- Added a range check to avoid invalid reads into _wayPoints in Map::checkDirectPath()

svn-id: r25402
2007-02-06 19:16:41 +00:00
Sven Hesse
d706d8e4c0 Implemented vertical scrolling
svn-id: r25401
2007-02-06 14:42:05 +00:00
Sven Hesse
7082e58289 Corrected the clipping of _pressedMapX/_pressedMapY, to avoid accessing invalid memory (also possible fix for bug #1652551)
svn-id: r25395
2007-02-05 19:48:12 +00:00
Sven Hesse
7f26069f69 - Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, Mult::_multData2 and some of the loose variables in Mult
- Added some missing MD5s/game versions (#1652352)

svn-id: r25393
2007-02-05 14:08:50 +00:00
Sven Hesse
0ed752aa6e - Moved the specific interrupt frequency of 80 Hz out of class Infogrames into the GobEngine's Infogrames instances
- Changed the 80 Hz to 75 Hz, which is more true to the original

svn-id: r25389
2007-02-04 15:59:05 +00:00
Sven Hesse
f54a97a02c - Plugged some leaks and fixed some memory errors
- Fixed the cursor animation loops in Ween and Bargon
- Added Draw_Bargon + Inter_Bargon
- Implemented Bargon Attack's hardcoded intro parts

svn-id: r25387
2007-02-04 15:45:15 +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
Sven Hesse
7e19c134f7 Split the entry for Gobliins 2 multilanguage CD into separate entries for each language
svn-id: r25329
2007-02-01 21:59:51 +00:00
Sven Hesse
f1a4f57a53 Fixed wrong date display (bug #1650124), tm_mon is in the range 0-11
svn-id: r25328
2007-02-01 20:19:21 +00:00
Sven Hesse
d2b8787dd5 - Fixed the palette animations
- Changed waitRetrace() to take some time, because the scrolling speed is tuned to the retrace delays

svn-id: r25319
2007-02-01 10:42:27 +00:00
Torbjörn Andersson
edb61e5b01 Added my version of Woodruff so that I, too, can get the "Unknown version of
game engine" error, rather than a failed assertion, if I try to start it.

svn-id: r25318
2007-02-01 05:33:59 +00:00
Sven Hesse
fd0e90588d Added MD5 for the german Ween version, supplied by cartman_ on #scummvm
svn-id: r25315
2007-01-31 20:00:48 +00:00
Sven Hesse
8b4001f490 Replaced the delay in o1_keyFunc with a (skipable) busy-wait detection
svn-id: r25311
2007-01-31 16:23:34 +00:00
Sven Hesse
17e70efe13 - Snd::WaitEndPlay() should stop a running composition
- Removed Snd::getCompositionSlot(), it's not needed

svn-id: r25310
2007-01-31 15:19:42 +00:00
Sven Hesse
1880aa5441 Minor sound playing correction
svn-id: r25309
2007-01-31 14:53:46 +00:00
Sven Hesse
e3aeb0255b Removed debug output I accidentally checked in
svn-id: r25308
2007-01-31 13:43:16 +00:00
Sven Hesse
7101c0ef26 - Correctly setting of Snd::_playingSound
- Implemented sound fading in/out
- o2_stub0x81 -> o2_scroll

svn-id: r25307
2007-01-31 13:17:50 +00:00
Eugene Sandulenko
3766e0a77d eplaced platform-specific game features with common platform setting.
svn-id: r25294
2007-01-30 22:32:51 +00:00
Eugene Sandulenko
f395822aa6 Rearranged detection table and clarified some entries.
svn-id: r25293
2007-01-30 22:22:48 +00:00
Sven Hesse
cb8378065d - Changed _soundFlags and implemented "compositions"
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions
- Some clean-up

svn-id: r25292
2007-01-30 22:19:55 +00:00
Eugene Sandulenko
6a20ddf1d2 Moved Gob engine to AdvancedDetector.
svn-id: r25274
2007-01-30 02:17:46 +00:00
Sven Hesse
0058049e32 Added a proper workaround for the race condition in the script when opening the notepad, which was apparently causing bug #1621089
svn-id: r25255
2007-01-29 17:59:28 +00:00
Sven Hesse
36a54218b1 - Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)
- Implemented wide surfaces + scrolling
- Some clean-up

svn-id: r25253
2007-01-29 17:04:37 +00:00
Sven Hesse
c238912315 Ooops
svn-id: r25246
2007-01-28 15:24:22 +00:00
Sven Hesse
b13e7ce8ec - Fixed the Adlib data ugliness
- Worked around the caching of raw sprite video memory to a file

svn-id: r25244
2007-01-28 13:19:17 +00:00
Sven Hesse
a0d804411a Changed one strcmp in Parse_v2::parseExpr() to scumm_stricmp, to fix bug #1632362 ("Moray Eel Game Freeze (Wreck Scene)").
The CD track name is "aquatique", while the script checks for "AQUATIQUE"

svn-id: r25207
2007-01-26 20:44:10 +00:00
Sven Hesse
8e6cd81333 - Just warn, don't die, when a CD-Track isn't found
- Before using _vm->_adlib, first check whether it's actually there

svn-id: r25205
2007-01-26 19:00:41 +00:00
Sven Hesse
43fb2e6ed9 Moved Paula and Infogrames to sound/mods/
svn-id: r25191
2007-01-25 15:17:46 +00:00
Sven Hesse
604077827f - Some clean-up
- Fixed sound playing and looping
- Changed Paula to use non-absolute panning, defaulting to 0.25/0.75 and 0.75/0.25, as per madmoose's suggestion
- Prepared/Cleaned-up Paula and Infogrames for the move to sound/mods/

svn-id: r25189
2007-01-25 14:18:12 +00:00
Sven Hesse
a8c6b02a9c Added support for Infogrames/RobHubbard2 (amiga) music
svn-id: r25160
2007-01-23 19:40:28 +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
Eugene Sandulenko
24c9735588 Rename special debug levels to conform our suggested naming scheme.
svn-id: r25073
2007-01-13 15:35:02 +00:00
Sven Hesse
6e0835da11 - Fixed cut off and missing sounds
- Fixed a crash/static reported in the forums (sending Winkle to the vulture)
- (Hopefully) fixed the immediately-closing notepad heisenbug (#1621089)
- Fixed using unitialised values after allocating the variables

svn-id: r25025
2007-01-06 11:17:20 +00:00
Sven Hesse
b30c615165 Fixed the loading delay bug I introduced with the playing from CD fix (#1626308)
svn-id: r25006
2007-01-05 18:16:05 +00:00
Travis Howell
250760ba80 Make sure warning is shown for CD versions of Gobliins 2, when playing from CD under Windows
svn-id: r24986
2007-01-04 02:26:46 +00:00
Travis Howell
c653a2cba5 Add the Amiga version of Gobiins 2 demo
svn-id: r24985
2007-01-04 02:15:20 +00:00