aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2006-03-22Support for Russian FOTAQEugene Sandulenko
svn-id: r21398
2006-03-21Implemented "sound triggers" so that the music does not stop shortly afterTorbjörn Andersson
entering the castle. I hope this is a fair approximation of how the original worked. Of course, this led to a couple of more renamings: _unk5 -> _soundTrigger updateCallback54() -> update_setSoundTrigger() snd_setUnk5() -> snd_getSoundTrigger() (yes, "get") At the moment, the only known sound triggers are the ones in the castle. If an unknown trigger is set, the debugging messages will be really, really noisy. I don't know if I should consider this a bug or an extremely annoying feature. svn-id: r21396
2006-03-20Implements cmd_shakeScreen.Johannes Schickel
svn-id: r21394
2006-03-20Initialise _haveScrollButtons, since Valgrind complained about it.Torbjörn Andersson
svn-id: r21392
2006-03-20The Hercules specific screen size check is no longer requiredTravis Howell
svn-id: r21390
2006-03-19Fixed my fix regarding the encoding of some filenames: Provide both Windows ↵Max Horn
and UTF-8 encoded versions of the German puttzoo svn-id: r21388
2006-03-19Fix encoding issue (see scummvm-devel)Max Horn
svn-id: r21387
2006-03-19Moved filename substitution code from scumm.cpp to plugin.cppMax Horn
svn-id: r21386
2006-03-19Remove unused cases of getKeyState(), checked against scripts of FT, Dig and ↵Travis Howell
COMI. svn-id: r21381
2006-03-19Closer match difficulty of insane in PC version of FT demoTravis Howell
svn-id: r21380
2006-03-19Makes sure Brandon actually dies when he turns to stone in the kyragem roomOystein Eftevaag
svn-id: r21379
2006-03-19Fixes a potential problem in the pathfinder where an array could be accessed ↵Oystein Eftevaag
with a negative value in certain rooms svn-id: r21378
2006-03-19Adds button press animations to the menu, and resets the cursor when the ↵Oystein Eftevaag
Dialog of Death pops up. Also, mouse clicks are now registered on button up instead of button down, as in the original svn-id: r21377
2006-03-19Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStreamTravis Howell
svn-id: r21376
2006-03-19Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStreamTravis Howell
svn-id: r21375
2006-03-19Move the sound loop detection, so it is used by all HE70+ gamesTravis Howell
svn-id: r21374
2006-03-19Skip HSHD block by set size, since there are sound resources (ie Caiman in ↵Travis Howell
jungle) which have incorrect size in HSHD header svn-id: r21373
2006-03-19Add workaround for script bug in Loom (CD)Travis Howell
svn-id: r21371
2006-03-18Oops, forgot to change a variable declaration in the last commitOystein Eftevaag
svn-id: r21367
2006-03-18Changed 'amiga' keywords to 'isAmiga' in the resource handling code to avoid ↵Oystein Eftevaag
#define conflicts svn-id: r21366
2006-03-18- started to rework static resource loadingJohannes Schickel
- made some function parameters const (to work with new static res code) svn-id: r21365
2006-03-18workaround: manually add delay when showing image between levels in gob1 egaWillem Jan Palenstijn
svn-id: r21364
2006-03-18Fixes the color of the quitting dialog text after drinking a potionOystein Eftevaag
svn-id: r21358
2006-03-18The camera position is always set by loadRoomWithEgo opcode in HE games, ↵Travis Howell
through cameraFollows. Fixes glitches when changing rooms in fbear and other early games. svn-id: r21355
2006-03-18Extends seq_drinkPotionAnim() so that the color of the flask BrandonOystein Eftevaag
drinks will be correct. Also fixes a bug where an animation (Brandon ringing the bells) would play too quickly. svn-id: r21354
2006-03-17Further work on disassembling player tick/movement handlerPaul Gilbert
svn-id: r21349
2006-03-17Fixes animations when brandon turns inivisible/visible.Johannes Schickel
svn-id: r21348
2006-03-17Fixes bug #1401337 ("KYRA: Platform with pegasi graphics glitch")Johannes Schickel
svn-id: r21347
2006-03-17- Fixes bug #1401432 ("KYRA: Brandon graphics glitch when exiting castle ↵Johannes Schickel
catacombs") - Fixes some sprite redraw bugs introduced with my last commits - Fixes wsa drawing bug in the cave too svn-id: r21346
2006-03-17Oops, I never meant to remove *that* line! Put it back again. (This fixes theTorbjörn Andersson
flute sound, and probably other regressions as well.) svn-id: r21345
2006-03-17The opcode functions are not allowed to modify their own channel.dataptrTorbjörn Andersson
directly. If they want a new data pointer, they have to use the dataptr parameter. This fixes a subtle bug that would cause the wrong music to play when getting the quill in Kyra 1. svn-id: r21344
2006-03-17Fix endian issue in akos costume codeTravis Howell
svn-id: r21343
2006-03-17Fix endian issues in akos costume codeTravis Howell
svn-id: r21342
2006-03-17Add another German version of puttzoo demoTravis Howell
svn-id: r21341
2006-03-16More cleanups and renamings: _sfxSecondByteOfSong -> _sfxPriorityTorbjörn Andersson
Added some comments on the strange but probably harmless things going on in playSoundEffect() svn-id: r21340
2006-03-16Went through callbacks 51, 52 and 53, comparing them to LordHoto's annotatedTorbjörn Andersson
disassembly. I think they're correct now, and a bit easier to read. My old comments were wrong, too. I think they are for manipulating the Adlib rhythm section volumes. I'm not sure the Kyra music ever uses the Adlib rhythm section. svn-id: r21339
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used - renamed some variables - constify'ed function arguments - minor cleanup svn-id: r21338
2006-03-16We have several functions where we need to find the pointer to a program or anTorbjörn Andersson
instrument. These are found using the lookup tables in _soundData on offsets 0 and 500 respectively. Added helper functions for that, which makes the code a lot tidier. Particularly in update_setupRhythmSection(), where it's now much clearer where it's getting all those "unk" values from. Use the checkValue() function (which limits the "total level" to its valid range) for the calculateOpLevel1() and 2() functions as well. Renamed updateCallback16() to update_waitForEndOfProgram(). svn-id: r21337
2006-03-16More renamings:Torbjörn Andersson
callbackOutput() -> setupPrograms() callbackProcess() -> executePrograms() updateCallback3() -> update_setupProgram() _unk4 -> _rhythmSection updateCallback48() -> update_setupRhythmSection() updateCallback49() -> update_playRhythmSection() updateCallback50() -> update_removeRhythmSection() svn-id: r21336
2006-03-16I don't know if it's our bug, or a bug in the original Kyra music driver, butTorbjörn Andersson
updateCallback3() would call unkOutput2(9) in at least one case. This is obviously wrong because it a) reads outside _regOffsets[], and b) writes to invalid Adlib registers. Now unkOutput2() has the same safeguards as noteOff() already had, making callbackOutput() and updateCallback3() even more similar. svn-id: r21335
2006-03-16Oops. removes some unneeded shifts and fixes now the feather bug.Johannes Schickel
svn-id: r21334
2006-03-16Fixed some comments and made a couple of cleanups to make it a bit more clearTorbjörn Andersson
just how similar callbackOutput() and updateCallback3() are. svn-id: r21333
2006-03-16- Fixes some gfx glitches (the falling feather and the falling leaf now have ↵Johannes Schickel
correct restored background) - Fixes brandon width value after loading (removes gfx glitch while talking with the tree) svn-id: r21332
2006-03-16Minor cleanupTravis Howell
svn-id: r21331
2006-03-16Update comment, to make senseTravis Howell
svn-id: r21330
2006-03-16Add comment about future saveLoad changes C64 maniacTravis Howell
svn-id: r21329
2006-03-16CleanupTravis Howell
svn-id: r21328
2006-03-16CleanupTravis Howell
svn-id: r21327
2006-03-16Remove duplicate fcs fieldTravis Howell
svn-id: r21326
2006-03-16Rename get draw buffer functionsTravis Howell
svn-id: r21325