13118 Commits

Author SHA1 Message Date
Eugene Sandulenko
d1e46a5420 Implement proper scene transition mode for MM NES.
svn-id: r17189
2005-03-21 00:27:39 +00:00
Jerome Fisher
7f83c47860 Merged with latest Munt CVS.
* Added support for most of the extended capabilities of the CM-32L/LAPC-I (more rhythm timbres, more rhythm key mappings, more PCM samples).
* The control ROM is now identified by searching for matching ID strings at various locations in the file. There are now a lot of safety checks to help ensure that a bad ROM will not crash the emulator.
* Three control ROM versions are now identified and mapped out - an original MT-32 control ROM, an original CM-32L ROM, and the Blue Ridge modified MT-32 ROM.
* Now supports the expression controller properly.
* Sustain is now turned off correctly again.
* "All Notes Off" no longer stops notes held by the sustain controller.
* Implemented "Reset all controllers".
* Stereo pan positions are no longer inverted.
* Volume, pitch, filter and envelopes are now more accurately calculated. Overall, the sound emulation is much more accurate.
* Waveforms are now slightly more accurate (in terms of pitch), necessitating a regeneration.
* Handling of unusual sysex messages has been improved (fixes sysex messages from Java's MIDI classes on Windows).
* Fixed a reverb bug during periods of silence.

svn-id: r17188
2005-03-20 16:24:55 +00:00
Eugene Sandulenko
9880288669 Fix bug #1166279 "BS1 & BS2: Launching game problems".
svn-id: r17187
2005-03-20 16:16:09 +00:00
Travis Howell
91c666ebf9 VAR_TALKSTOP_KEY only set in scumm5 onwards.
svn-id: r17186
2005-03-19 02:54:02 +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
6381320def Add bug fix from cyx for:
883415 - COMI: Guybrush appears above tomb

svn-id: r17183
2005-03-19 00:46:15 +00:00
Travis Howell
f258c52bfc Fix original load/save screen freezing in Loom [ega]
Sets current drive, instead of drive type.

svn-id: r17182
2005-03-19 00:15:55 +00:00
Travis Howell
89ce70d724 Applies to drawString() too.
svn-id: r17181
2005-03-18 23:31:58 +00:00
Andrew Kurushin
3025db0d07 - changescene on fair for tents
- some memory deallocation fixup

todo: fix follower stuckiness in tents

svn-id: r17180
2005-03-18 17:11:37 +00:00
Eugene Sandulenko
b4ed62e1ad Some Russian Sam'n'Max releases have files renamed to RAMNMAX. So support
those. Also made file name substitution a general thing so we can
eventually get rid of monkey1 target et al.

svn-id: r17179
2005-03-18 15:10:16 +00:00
Travis Howell
47e9cc1b3a Add string height override for loom
svn-id: r17178
2005-03-18 15:04:37 +00:00
Eugene Sandulenko
749cf8a083 Apply patch #1162546 "BASS: Hanging notes fix / patch". Thanks __tom.
svn-id: r17177
2005-03-18 11:05:15 +00:00
Travis Howell
0bd4c7b8bc Missed HE100
svn-id: r17176
2005-03-17 11:11:00 +00:00
Travis Howell
f50af11b5d Add HE72 version of file rename opcode
svn-id: r17175
2005-03-17 11:06:43 +00:00
Travis Howell
4361ef655e HE72+ games use slightly different code for subtitle color.
svn-id: r17174
2005-03-17 10:53:29 +00:00
Torbjörn Andersson
4c3d302e19 If a game is scaled with the 2x or 3x scaler, use the same scaler on the
cursor as well. It looks strange if the game is blocky and the cursor is
smooth.

svn-id: r17173
2005-03-17 09:49:22 +00:00
Travis Howell
31c89144dc Rename sprite functions
svn-id: r17172
2005-03-17 09:42:31 +00:00
Travis Howell
2c4b7dfd32 Another correction to sprite flags
svn-id: r17171
2005-03-17 09:28:36 +00:00
Eugene Sandulenko
ed45ee5a05 NES cursor fixes from Quitetust. No need to use separate palette.
svn-id: r17170
2005-03-17 03:20:25 +00:00
Eugene Sandulenko
1abab50123 Tile-based NES cursor for MM NES.
svn-id: r17169
2005-03-17 02:55:20 +00:00
Nicolas Bacca
d99d4d09f2 Weird ... but fixes the second (and hopefully last) crash
svn-id: r17168
2005-03-16 22:58:42 +00:00
Nicolas Bacca
a7d2552cfd Fix head first crash. Virtual functions + one parameter added == fun :p
svn-id: r17167
2005-03-16 22:27:11 +00:00
Travis Howell
a9aed6ec52 Last line of verbs work in NES maniac now.
svn-id: r17166
2005-03-16 04:23:52 +00:00
Eugene Sandulenko
1febad7cc5 First attempt to fix charset colors.
svn-id: r17165
2005-03-16 03:40:25 +00:00
Eugene Sandulenko
f86768fee8 Preliminary support for NES charsets. Colors are wrong and we get glitches
caused by too narrow screen. Also text clearing doesn't work.

svn-id: r17164
2005-03-16 03:20:32 +00:00
Travis Howell
dd71f57aeb Actor position fix for NES maniac, from Quietust
svn-id: r17163
2005-03-16 03:01:12 +00:00
Eugene Sandulenko
a827bb1c05 Patch from Quietust. Proper drawing of objects and fixes to inventory.
svn-id: r17162
2005-03-16 02:14:35 +00:00
Max Horn
6e33b3f0a7 Some cleanup/costume code unification. Note: NES costume code probably should be using subclasses; and maybe we should add AKOSLoadedCostume and NESLoadedCostume ?
svn-id: r17161
2005-03-15 21:48:06 +00:00
Max Horn
deca135252 Use better variable names...
svn-id: r17160
2005-03-15 21:20:44 +00:00
Eugene Sandulenko
b8ee09d21b Properly wipe out animation trails in MM NES. It appeared that it
just uses different constants for VAR_CURRENT_LIGHTS. So now it
uses proper double buffering as well

svn-id: r17159
2005-03-15 21:15:37 +00:00
Eugene Sandulenko
968e900a0f oops
svn-id: r17158
2005-03-15 18:46:35 +00:00
Eugene Sandulenko
088eb28c17 Add md5's of all known MM NES versions.
svn-id: r17157
2005-03-15 18:10:06 +00:00
Eugene Sandulenko
4824af64bb Minor NES-related fixes
o Actors do not leave trails, though background isn't restored since
    that code always uses two buffers and nes isn't. I have to switch it to
    use two
  o Add Swedish version of MM NES
  o Code formatting fixes

svn-id: r17156
2005-03-15 17:56:50 +00:00
Jochen Hoenicke
86cd961b72 Fix Bug #1163202 (music never stops). Some code cleanup.
svn-id: r17155
2005-03-15 13:41:15 +00:00
Jochen Hoenicke
402dd115ea Weakened the low pass filter (thanks to tbcarey who compared it with a real PCjr)
svn-id: r17154
2005-03-15 10:04:35 +00:00
Paweł Kołodziejski
adbd8f23e5 fixed compilation for emsvc4
svn-id: r17153
2005-03-15 09:53:07 +00:00
Paweł Kołodziejski
009cc66a24 fixed compilation for for overlay SDL latest changes, and formating code.
Wince SDL port is currently broken, it crash at NULL _screen pointer while locking SDL surface inside OSystem_SDL::clearScreen() func

svn-id: r17152
2005-03-15 09:43:38 +00:00
Paweł Kołodziejski
1a368f2e7c inproper hack for compilation with emsvc4. i don't know how to fix it:
"'GUI::Dialog::open' : illegal call of non-static member function"

svn-id: r17151
2005-03-15 09:24:01 +00:00
Paweł Kołodziejski
b23aaf98fe fixed compilation for emsvc4
svn-id: r17150
2005-03-15 08:21:48 +00:00
Torbjörn Andersson
dd5e5abe49 Whitespace
svn-id: r17149
2005-03-15 08:20:22 +00:00
Travis Howell
065710ee80 Doesn't apply to NES maniac.
svn-id: r17148
2005-03-15 05:28:20 +00:00
Travis Howell
e00d808433 Patch from Quietust:
Fix room scrolling in NES maniac.

svn-id: r17147
2005-03-15 04:24:49 +00:00
Travis Howell
af87d515f5 Fix verbs position in NES maniac for now.
svn-id: r17146
2005-03-15 04:16:25 +00:00
Travis Howell
6974025542 Patch from Quietust:
Animated costumes for NES maniac.

svn-id: r17145
2005-03-15 04:05:15 +00:00
Eugene Sandulenko
4e39d96e9d Update MM NES md5 due to changed index file.
svn-id: r17144
2005-03-15 02:49:43 +00:00
Eugene Sandulenko
7c4d8d58e2 First (unsuccessful) attempt to make NES costume animation work.
svn-id: r17143
2005-03-15 02:47:36 +00:00
Travis Howell
9d17e9aa24 Change this one too.
svn-id: r17142
2005-03-15 02:23:42 +00:00
Eugene Sandulenko
18ed547bc3 Patch from Quietust. Fix NES sprites colors and optimize sprite drawing
routine.

svn-id: r17141
2005-03-15 02:08:53 +00:00
Travis Howell
a3955f150c VAR_CUTSCENEEXIT_KEY uses different value in NES maniac
svn-id: r17140
2005-03-15 01:45:38 +00:00
Eugene Sandulenko
1a26020fd2 Actually draw NES costumes.
svn-id: r17139
2005-03-15 01:22:57 +00:00