Commit graph

157 commits

Author SHA1 Message Date
Travis Howell
e01afb0bd4 Initial support for sound code in HE games.
Split HE sound functions into separate file.

svn-id: r19909
2006-01-05 07:06:47 +00:00
Max Horn
60fcd5a171 * Replaced MDT_PREFER_NATIVE/MDT_NATIVE by MDT_PREFER_MIDI/MDT_MIDI).
* Changed MidiDriver::createMidi so that if MD_ADLIB is passed, it
  now *does* instantiate the adlib driver.
* Rewrote MidiDriver::detectMusicDriver (code should be clearer now,
  and hopefully easier to adapt/maintain). Note that the behavior
  changed slightly (this may require some tweaking).
* Added MidiDriver::findMusicDriver which works similar to the old
  MidiDriver::parseMusicDriver but returns the full MidiDriverDescription
  and ignores all characters in the passed driver name following a colon ":".
* Changed MidiDriver::parseMusicDriver to use MidiDriver::findMusicDriver.
* Changed game engines to match the changes made to MidiDriver.
* Modified SCUMM engine to not record the selected midi/music driver
  (in _midiDriver), but rather the music *type* (in _musicType).

svn-id: r19859
2005-12-30 14:18:21 +00:00
Travis Howell
949c8b32a0 Still no subtitles in HE70/71 too.
svn-id: r19614
2005-11-16 07:08:38 +00:00
Travis Howell
49db1e9447 SCUMM 6 games use VAR_VOICE_MODE too, based on Sam & Max win32 disasm.
Minor cleanup.

svn-id: r19604
2005-11-15 22:50:14 +00:00
Gregory Montoir
d50a69507d V8 uses 4 variables to handle mouse buttons state (like V7), cleanup processKbd() accordingly.
svn-id: r19553
2005-11-10 23:09:20 +00:00
Travis Howell
19aab114d8 Set machine speed to fast in all HE games.
Fixes missing animation in old freddemo and maybe others too.

svn-id: r19327
2005-10-27 06:51:42 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Travis Howell
170521fb9b Avoid conflicting VARS.
svn-id: r19095
2005-10-15 07:32:44 +00:00
Travis Howell
b7e72737d3 Set inital room width and height.
Several early HE games check values, before they are set.

svn-id: r19092
2005-10-15 06:15:13 +00:00
Travis Howell
d18827876d Another regression, in Mac. version of indy3.
svn-id: r18886
2005-09-26 13:46:38 +00:00
Travis Howell
45e0baba0a Fix regression when using MIDI in Loom demo.
svn-id: r18881
2005-09-26 00:01:02 +00:00
Travis Howell
25dfb36b7d C64 maniac handles input and verbs manually.
svn-id: r18875
2005-09-24 10:15:17 +00:00
Travis Howell
e077fdd9ed Rename & update opcode in C64 maniac.
Remove unused SCUMM vars in C64 maniac

svn-id: r18873
2005-09-24 05:26:12 +00:00
Travis Howell
4645dcb6dd Fix skipping cutscenes in C64 maniac.
svn-id: r18820
2005-09-14 10:35:04 +00:00
Gregory Montoir
14ac8d9d21 cleanup
svn-id: r18734
2005-09-02 11:24:16 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
06985285a0 Whitespace changes.
svn-id: r18453
2005-06-24 16:14:39 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Travis Howell
3833202950 Adjust for HE73.
svn-id: r18208
2005-05-21 14:28:21 +00:00
Eugene Sandulenko
80ee8188d3 Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.
svn-id: r18100
2005-05-14 23:28:22 +00:00
Eugene Sandulenko
3588b96d4f Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded.

svn-id: r18099
2005-05-14 22:56:41 +00:00
Eugene Sandulenko
9e13005654 Implement now spotted Logic opcode in funshops. Now need to find a place
where another one gets called.

svn-id: r18064
2005-05-11 21:35:19 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Travis Howell
cc5caba793 HE60/61 still VAR_NOSUBTITLES.
Typo.

svn-id: r17990
2005-05-09 02:59:45 +00:00
Travis Howell
69d000d2d0 All SCUMM6 games use VAR_SUBTITLES, not VAR_NOSUBTITLES.
Cleanup.

svn-id: r17989
2005-05-09 02:38:58 +00:00
Eugene Sandulenko
8e5bf3c092 Initial support for intensive floating point compuitations used in
Putt-Putt Race. Still incomplete.

svn-id: r17949
2005-05-08 03:08:11 +00:00
Travis Howell
ae14f7049e HE80+ games store current charset numberin VAR80.
Fixes crash in bb2demo.

svn-id: r17885
2005-05-01 12:25:30 +00:00
Travis Howell
2b351f73f4 VAR 78 controls platform in HE80+ games.
svn-id: r17881
2005-05-01 07:16:48 +00:00
Travis Howell
c76f228f67 VAR_NUM_SOUND_CHANNELS is 88 in HE80+ games.
svn-id: r17880
2005-05-01 06:54:27 +00:00
Travis Howell
7118921a2a Add expanded _wizParams used by HE100 games.
Add u32 version variable.

svn-id: r17869
2005-04-30 05:25:06 +00:00
Travis Howell
261a02beec HE98+ includes extra VAR checks at this point.
Fixes salesmen freeze in freddi4.

svn-id: r17727
2005-04-21 03:29:31 +00:00
Max Horn
c04ad861fe Moved some more VARs; added comments to some of the vars which explain where they are used
svn-id: r17722
2005-04-20 23:13:11 +00:00
Max Horn
b724929466 Split initScummVars and overload it; this makes it possible to define more VARS in subclasses
svn-id: r17721
2005-04-20 20:34:44 +00:00
Max Horn
c46ea8bc40 Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
2005-04-20 18:21:30 +00:00
Travis Howell
2009b72679 Replace all GF_HUMONGOUS use with _heversion.
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.

svn-id: r17698
2005-04-20 01:33:44 +00:00
Travis Howell
50af78f93d These VARS are HE95+ specific.
svn-id: r17673
2005-04-19 03:32:08 +00:00
Travis Howell
95c23c4cc8 Missing brackets.
svn-id: r17643
2005-04-17 03:09:03 +00:00
Travis Howell
1507203d93 VAR78 needs to be set in HE80+ games
Active sound channels VAR exists in HE80 too.

svn-id: r17632
2005-04-16 15:21:19 +00:00
Travis Howell
ee62127ace Add mouse state VAR for HE 72+ games.
svn-id: r17631
2005-04-16 14:59:15 +00:00
Travis Howell
91bfb91d77 These VARS are only used in Loom [CD] and scumm5 onwards.
svn-id: r17185
2005-03-19 02:40:42 +00:00
Travis Howell
bad34c12cd Add two more VARs for HE89+
Minor cleanup

svn-id: r16977
2005-03-02 23:14:06 +00:00
Eugene Sandulenko
50f6eb740c Distinguish between green and amber hercules. Now specify it via hercGreen
and hercAmber. Updated documentation accordingly.

svn-id: r16975
2005-03-02 21:46:51 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
1922b330ad Add keyboard control for HE80+ games.
svn-id: r15604
2004-10-18 06:40:36 +00:00
Gregory Montoir
3905129a97 preliminar o72_captureWizImage() implementation ; still have to handle flag 0x2 in drawWizImage to display correctly the painting in 1grademo
svn-id: r15577
2004-10-17 04:35:36 +00:00
Max Horn
05412066b1 Sort variables by their number
svn-id: r15413
2004-10-04 14:58:37 +00:00
Travis Howell
4e268316d0 Rename var and enable in COMI.
svn-id: r15410
2004-10-04 14:28:43 +00:00
Travis Howell
4364606894 Add some HE99 vars
Rename opcodes

svn-id: r15403
2004-10-04 02:23:02 +00:00