aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2008-08-18* Split up blt routine (there is room for a ton of improvements)Nicola Mettifogo
* Added scaling as a new blt option * Activated scaling for the main character in BRA svn-id: r33985
2008-08-17KYRA: FM-Towns/PC-98 Audio:Florian Kagerer
- improved accuracy - complete percussion channel support (does not work atm though, since the instrument data is missing) - some cleanup svn-id: r33980
2008-08-17Added some documentation about how data is unpacked in gfxConvertSpriteToRaw ↵Kari Salminen
(Learned this from trying to implement convertPI1_2 i.e. gfxConvertSpriteToRaw myself to see if that was the problem with the Operation Stealth's labyrinth arcade sequence). svn-id: r33976
2008-08-17Patch #2045543: Possible fix for Drascula's decodeRLE()Eugene Sandulenko
svn-id: r33973
2008-08-17Forwardport of branch-0-12-0's r33966: Fix to Future Wars's rendering of ↵Kari Salminen
type 0 overlays (i.e. color sprites). Objects with negative frame values are supposed to be jumped over (Verified with disassembly). svn-id: r33967
2008-08-16Workaround for bug #2054882 (FW: Impossible to survive entering monastery ↵Kari Salminen
(regression)): For Future Wars o1_compareGlobalVar now compares global variable 255 to be equal to everything. The scripts probably tested global variable 255 for equality with some value (Maybe 143?) to see whether copy protection was properly passed. svn-id: r33950
2008-08-16Cleanup.Johannes Schickel
svn-id: r33948
2008-08-16KYRA: Fm-Towns Audio: fixed crashFlorian Kagerer
svn-id: r33943
2008-08-16KYRA: Fm-Towns Audio: fixed music fadingFlorian Kagerer
svn-id: r33942
2008-08-16Extended balloon manager to handle color constants and fixed color of text ↵Nicola Mettifogo
in balloons for BRA. svn-id: r33940
2008-08-16Multiple balloons (answers) are now positioned correctly in BRA.Nicola Mettifogo
svn-id: r33939
2008-08-16- KYRA: FM-Towns/PC-98 Audio: fixed several bugs and got rid of some ↵Florian Kagerer
floating point arithmetic (or at least replaced some doubles with floats) - Improved support for PC-98 music: HOF tracks seem to be fine, KYRA should be okay, too (I can't compare with an emulator since I am missing the floppy boot disk with the executable) - There are still tempo issues. Some tracks play way too slow, others way too fast - PC-98 sound effects in Kyra 1 don't work (I would need the floppy disk with the executable for that) svn-id: r33938
2008-08-16Removed unused variable.Torbjörn Andersson
svn-id: r33936
2008-08-16Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit ↵Kari Salminen
to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything. svn-id: r33935
2008-08-16Replaced ARM_USE_GFX_ASM by USE_ARM_GFX_ASMMax Horn
svn-id: r33934
2008-08-16Fixed half-invisible balloons.Nicola Mettifogo
svn-id: r33933
2008-08-16Enabled interaction with movable zones - mainly NPCs - which are linked to ↵Nicola Mettifogo
animations. svn-id: r33930
2008-08-16Fixed label positioning in BRA.Nicola Mettifogo
svn-id: r33928
2008-08-15SCUMM: Made some potentially ambiguous (to the reader, at least) checks ↵Max Horn
slightly less ambiguous svn-id: r33919
2008-08-15Implemented raster operation for masks and postponed blitting of zones after ↵Nicola Mettifogo
everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items. svn-id: r33903
2008-08-15Added routines to load and handle item masks: animation are now correctly ↵Nicola Mettifogo
hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground). svn-id: r33900
2008-08-15Fixing a segfault in the Bargon Attack menuSven Hesse
svn-id: r33896
2008-08-15Updated layer calculation: animations are now hidden properly by background ↵Nicola Mettifogo
elements (but not items yet). svn-id: r33894
2008-08-15Made coordinates and frame number protected into Zone and Animation, and ↵Nicola Mettifogo
changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA. svn-id: r33892
2008-08-15Made scripts access Animation fields via accessors and mutators, instead of ↵Nicola Mettifogo
using raw pointers. svn-id: r33891
2008-08-15Disabled lip syncing code in BRA, since I couldn't find any scripts actually ↵Nicola Mettifogo
using it. Some warnings have been added as a sentinel. svn-id: r33890
2008-08-15Simplified handling of script variables (especially locals).Nicola Mettifogo
svn-id: r33889
2008-08-14lol: new detection entry (german floppy extracted)Florian Kagerer
svn-id: r33886
2008-08-14Formatting.Johannes Schickel
svn-id: r33879
2008-08-14Improved version of my resource loading patch from -devel (check also r33876).Johannes Schickel
svn-id: r33878
2008-08-14Moved showing of the collision page from Alt-key to F11-key because Alt ↵Kari Salminen
conflicted with taking screenshots using Alt-s. Great. Hopefully F11 doesn't conflict with anything useful. svn-id: r33877
2008-08-14- HOF: forgot french and german entries in last commitFlorian Kagerer
svn-id: r33875
2008-08-14- HOF: another Italian fan translationFlorian Kagerer
svn-id: r33873
2008-08-14Fix for bugging moving at the bottom of the ocean when trying to free the ↵Kari Salminen
girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace. svn-id: r33872
2008-08-14Added debug showing of the collision page when pressing the Alt key. Alt ↵Kari Salminen
isn't used for anything else so one might as well use it for this. svn-id: r33871
2008-08-14Some variable renamed to make more sense.Nicola Mettifogo
svn-id: r33864
2008-08-14More cleanup.Nicola Mettifogo
svn-id: r33861
2008-08-14Cleanup.Nicola Mettifogo
svn-id: r33860
2008-08-14Finally moved parseNextToken to Script, where it belongs!Nicola Mettifogo
svn-id: r33859
2008-08-14Removed cross-references between the general parser and the text formatter. ↵Nicola Mettifogo
To achieve this, I have rewritten the latter for both NS and BRA. svn-id: r33858
2008-08-13Added detection entries for kyra3 Mac.Johannes Schickel
svn-id: r33837
2008-08-13Type 21 overlay comment update (Found the drawing routine in the disassembly ↵Kari Salminen
and checked the original for how the oxygen gauge during the first arcade sequence looks like. They're some kind of sprites most likely and not just simply filled rectangles). svn-id: r33826
2008-08-13Fixed initialization of some SoundMgr-class's member variables. Moved ↵Kari Salminen
_sndBuffer's allocation to SoundMgr's constructor and its deallocation to the destructor. Made fillAudio SoundMgr's method and removed a superfluous global static variable 'int16 *buffer'. Should help with the occasional crashes when starting the first sound in an AGI game. svn-id: r33822
2008-08-13Reverted r33815 (But not r33816).Kari Salminen
svn-id: r33819
2008-08-13Clarify SCUMM MD5 message: We do not want reports on fanmade translationsMax Horn
svn-id: r33817
2008-08-13Shutting up Valgrind about using uninitialised values from array _chn in ↵Kari Salminen
function stopNote. svn-id: r33816
2008-08-13Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. ↵Kari Salminen
Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game. svn-id: r33815
2008-08-12Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' ↵Kari Salminen
Valgrind warning at sound.cpp:611. svn-id: r33812
2008-08-12Fixed drawPlainBox's boundary checking (It wrote outside the screen ↵Kari Salminen
occasionally). Now using the Common::Rect for clipping, yay! It's good. svn-id: r33811
2008-08-12Added possibility to get the read resource's size from readBundleFile. Made ↵Kari Salminen
loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)). svn-id: r33810