146 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
d1f0ca423c Add md5 for interactive gob2 demo.
svn-id: r24921
2006-12-24 19:56:13 +00:00
Sven Hesse
97ad57e9bb Changed CD playing a bit, now playing directly from the CD should be possible again. Playing without an audio track at all works now, too
svn-id: r24903
2006-12-20 15:50:13 +00:00
Sven Hesse
a6cb2df4c2 Stomped the well/diving-bug
svn-id: r24884
2006-12-19 09:12:52 +00:00
Sven Hesse
4446f2c851 Fixed backspace and delete in the note-pad
svn-id: r24883
2006-12-19 07:38:33 +00:00
Sven Hesse
2e6ad11d6d Fixed the note-pad, font changing and date/time-display
svn-id: r24875
2006-12-18 20:38:31 +00:00
Sven Hesse
fc6f8a47f1 Added a waitRetrace in Game_v2::CheckCollisions() and rearranged the delay in o1_keyFunc(), so that the save name dialog is shown and the "Empty Inventory" message is displayed properly as well.
svn-id: r24874
2006-12-18 14:33:37 +00:00
Sven Hesse
17700e2b52 Fixed a walking animations related mistake
svn-id: r24867
2006-12-17 21:21:26 +00:00
Sven Hesse
a2e9bc706c Added a range check in Draw_v2::printText(), fixing invalid reads. It *shouldn't* pose any problem
s

svn-id: r24866
2006-12-17 21:20:51 +00:00
Sven Hesse
eb012d8110 Smashed the wizard's house bug
svn-id: r24850
2006-12-14 19:07:43 +00:00
Sven Hesse
3f627e73e4 The music in the Mac version of Gob1 seems to be selected randomly for each scene
svn-id: r24797
2006-11-30 13:13:35 +00:00
Sven Hesse
c18f01d609 Adding new Gob2 MD5 (closing bug #1605235)
svn-id: r24796
2006-11-30 13:09:01 +00:00
Sven Hesse
1e27dd5694 Removed the "#ifdef SCUMM_BIG_ENDIAN"s
svn-id: r24795
2006-11-27 20:56:41 +00:00
Sven Hesse
9afb08341c - Properly implemented o2_getCDTrackPos()
- Each save has now its own file (.s??). They also should be endian-safe now
  (Can be disabled for testing by uncommenting #define GOB_ORIGSAVES in gob.cpp)
- General endianness-fixes

svn-id: r24794
2006-11-27 14:19:30 +00:00
Eugene Sandulenko
cfb29dcb51 Fix MSVC2005 warnings. Please, review the changes.
svn-id: r24760
2006-11-22 15:50:30 +00:00
Sven Hesse
2768fa24fc - Fixed the crashes in Gob1 EGA and Gob2 Demo
- Fixed the compile error in GobEngine::saveGame on some systems

svn-id: r24756
2006-11-21 13:28:45 +00:00
Sven Hesse
c22920484a Changed the way sprites-freeing is handled, now the menu sprites and window decorations are drawn
svn-id: r24752
2006-11-20 13:03:30 +00:00
Sven Hesse
2454f78589 Implemented (currently still endian-unsafe) save/load
svn-id: r24745
2006-11-19 17:52:52 +00:00
Johannes Schickel
7b0e6f1489 formatting.
svn-id: r24720
2006-11-14 15:39:11 +00:00