aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-14Add a virtual destructor to class SoundDriver of the CINE engine (fixes a ↵Max Horn
warning) svn-id: r21284
2006-03-14An actor is completely reset by showActor() in SCUMM1-2 games. Fixes bug #902391Travis Howell
svn-id: r21283
2006-03-14Actually, removing the --disable-altivec from theOystein Eftevaag
help output, it is potentially only useful in very specific situations. svn-id: r21282
2006-03-14Remove unused var, to prevent compiler warningTravis Howell
svn-id: r21281
2006-03-14Adds support for building on Intel Macs, using a modifiedOystein Eftevaag
version of patch 1448395 by Aubin and some of my own changes. Notably: * Two elements of a struct in backends/midi/quicktime.cpp needed to be forced to BE. * NASM set to build Mach-O binaries * configure now checks for Altivec support on Darwin hosts, instead of assuming it. Altivec support can also be disabled (not 100% sure if t his is actually needed, but might be handy for crosscompiling). * The aliasing of the symbols contained in the .asm files done on Windows were also needed on MacOS. Note that while the asm code is properly compiled and linked in, HQ2/3x support will still not work properly on Intel macs if NASM is enabled. svn-id: r21280
2006-03-14Remove unused vars, to prevent compiler warningsTravis Howell
svn-id: r21279
2006-03-14Adjust one last spot, for previous VAR_CURRENT_LIGHTS changesTravis Howell
svn-id: r21278
2006-03-14Avoid all scumm var conflicts in C64 maniacTravis Howell
svn-id: r21277
2006-03-14Move unused scumm vars in C64 maniac to safe position, to prevent conflicts ↵Travis Howell
for now svn-id: r21276
2006-03-14Updated comment with more circumstantial evidence that the low-frequency noteTorbjörn Andersson
bug is a bug in our fmopl.cpp. Ken Silverman's Adlib emulator doesn't seem to exhibit the bug either. (But is apparently less feature complete than MAME's.) svn-id: r21275
2006-03-14Camera scrolling only effects subtitles in SCUMM4-6 games. Fixes bug #1329482.Travis Howell
svn-id: r21274
2006-03-14Fix regression in C64 zak, script 5 was not been run when room changedTravis Howell
svn-id: r21273
2006-03-14Tweaked a little scumm main dialog and scumm save/load dialog. Still plentyEugene Sandulenko
to do. svn-id: r21271
2006-03-14Positioned logo properly, added different version number rendering andEugene Sandulenko
got rid of antialiasing artifacts svn-id: r21270
2006-03-14Fix logo drawing.Eugene Sandulenko
svn-id: r21269
2006-03-14Rearrange launcher.Eugene Sandulenko
Logo is still shown weirdly. svn-id: r21268
2006-03-13Further clarifications to the comment about the "low-frequency notes atTorbjörn Andersson
beginning of music" bugs. As an experiment, I tried hooking up ScummVM with the most recent version of the FMOPL code, and the bug went away. Unfortunately, I believe we are stuck with the ancient version for license (and performance?) reasons. svn-id: r21267
2006-03-13Fix Chooser dialog.Eugene Sandulenko
svn-id: r21266
2006-03-13Cleaned up the comments in unkOutput2(), and added a big note about the bugTorbjörn Andersson
where low-frequent noises are playing at the beginning of some new sounds. svn-id: r21265
2006-03-13Changed type for samplesleft in order for MIN macro to work properly on all ↵Lars Persson
platforms svn-id: r21264
2006-03-13- Fixed regression when moving waitTicks to delay (removes wrongly drawn ↵Johannes Schickel
shapes and wrongly call of the kyragame fading in the outro) - Removes a new line from a warning in seqplayer.cpp svn-id: r21263
2006-03-13Things continue to fall into place. In other words, more renamings:Torbjörn Andersson
unk3 -> spacing1 unk7 -> spacing2 unk12 -> fractionalSpacing updateCallback4() -> update_setNoteSpacing() updateCallback9() -> update_stopChannel() updateCallback15() -> update_stopOtherChannel() updateCallback17() -> update_setupInstrument() updateCallback28() -> update_setFractionalNoteSpacing() updateCallback43() -> update_nop1() updateCallback47() -> update_nop2() svn-id: r21261
2006-03-13Fix a valgrind warningTravis Howell
svn-id: r21260
2006-03-13I was going to hold off on this until the "Pool of Sorrow" music had been fixedTorbjörn Andersson
but it seems that it drifts out of sync after a few repeats even with the original interpreter. It's a feature! This cleanup clears up some of the more confusing break/continues in the callbackProcess() function, and gets rid of _continueFlag. svn-id: r21259
2006-03-13Fix a few valgrind warningsTravis Howell
svn-id: r21258
2006-03-13Fix to remove warning on validating frame offsets in animation decoderPaul Gilbert
svn-id: r21257
2006-03-13Added further disassembly of animation decoder routinePaul Gilbert
svn-id: r21256
2006-03-13Add proper handling for animations with frame offset tables during decodingPaul Gilbert
svn-id: r21255
2006-03-13Changed temp variable from byte to word to fix decoding of some animation ↵Paul Gilbert
resources svn-id: r21254
2006-03-13Confirmed it is safe to remove workaround for Macintosh HE99 version of water.Travis Howell
svn-id: r21253
2006-03-13Add opcode difference in setObjectName opcode for C64 maniacTravis Howell
svn-id: r21251
2006-03-13Add masking support for C64 maniac, not perfectTravis Howell
svn-id: r21250
2006-03-13Fix object glitches in C64 maniacTravis Howell
svn-id: r21249
2006-03-13Update and restore old debug code for maskingTravis Howell
svn-id: r21248
2006-03-12Until now, we have confusingly used the terms "state" or "table" where weTorbjörn Andersson
really mean "channel". Fixed that: OutputState -> Channel _curTable -> _curChannel _outputTables[] -> _channels[] The biggest change was modifying all the "state" and "table" local variables and function parameters. Ahd, at no extra charge: _outputTable[] -> _regOffset[] svn-id: r21247
2006-03-12Renamed callback1 to primaryEffect and callback2 to secondaryEffect.Torbjörn Andersson
svn-id: r21246
2006-03-12Cleaned up comment and did some more renaming:Torbjörn Andersson
unk4 -> position (measured on a very short ruler :-) unk5 -> duration svn-id: r21245
2006-03-12- Renames some functions:Johannes Schickel
updateCallback31 -> update_setChannelTempo updateCallback42 -> update_resetToGlobalTempo updateCallback55 -> update_setTempoReset - Renames some vars: unk1 -> tempo unk6 -> tempoReset - Fixes tempo bugs svn-id: r21244
2006-03-12Updated for Jamieson630's latest iMUSE changes.Torbjörn Andersson
svn-id: r21242
2006-03-12IMuse SysEx processing now handled by client-specified callbacks. This ↵Jamieson Christian
removes all game-specific references from the Player class. Bloodshed Dev-C++ project file updated. svn-id: r21241
2006-03-12- Changes usage of regBx to regAx in primaryEffect2 (seems to be a bug ↵Johannes Schickel
introduced when renaming). - Changes unk41 and unk32 to signed. - Fixes wrong sound when dropping items (that was also a little bug in primaryEffect2) svn-id: r21240
2006-03-12Compensate for rounding errors in _samplesPerCallback by having readBuffer()Torbjörn Andersson
generate "leap samples". I doubt this will make any noticeable difference, but at least now we can probably rule out timer inaccuracies from the list of possible suspects for the remaining bugs. Also removed unnecessary mutex locking/unlocking from readBuffer(), spotted by LordHoto. svn-id: r21239
2006-03-12Corrects former commit which deleted sound file loading after the scene with ↵Johannes Schickel
malcolm and kallak. Also corrects callback50() which seem to improve the sound a bit in the kallak writing scene. svn-id: r21238
2006-03-12After several days, telling LordHoto over and over that "no, I don't think theTorbjörn Andersson
timer inaccuracies can cause that kind of problems, or we'd have noticed it in the other game engines as well", guess what? The other game engines do not necessary use a timer for their Adlib music. So now Kyra doesn't either. Fortunately for my dignity, the music is still a bit uneven at times, but the situation does seem to have improved a bit, and the sound effects sound better to me now. svn-id: r21237
2006-03-12Fixes non looping tracks and a fading bug, which silenced the music, with mt-32.Johannes Schickel
svn-id: r21236
2006-03-12Music in the last two intro scenes plays now again with adlib.Johannes Schickel
Cleaned up the sound code a bit (removed some unneeded functions). svn-id: r21234
2006-03-12Added debug message for the standard "note on" opcodes as well.Torbjörn Andersson
svn-id: r21233
2006-03-12And now, for a change, some more renamings:Torbjörn Andersson
update1() -> setupDuration() updateAndOutput1() -> setupNote() setInstrument() -> setupInstrument() (just for the symmetry) updateAndOutput3() -> noteOn() That made the following two renamings seem natural: updateCallback10() -> update_playRest() updateCallback27() -> update_playNote() I decided to number the secondary effects, even though there's only one: update_setupSecondaryEffect() -> update_setupSecondaryEffect1() update_removeSecondaryEffect() -> update_removeSecondaryEffect1() And finally, I renamed the effects callbacks: stateCallback1_1() -> primaryEffect1() stateCallback1_2() -> primaryEffect2() stateCallback2_1() -> secondaryEffect1() svn-id: r21232
2006-03-12Unfortunately the workaround for Macintosh version of water is still required.Travis Howell
svn-id: r21231
2006-03-12Added a block of comments about command parsing and timing. Perhaps it will beTorbjörn Andersson
of use in tracking down the tempo bugs. svn-id: r21230