aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
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
2008-08-12fix typo 'baclup' -> 'backup'Joost Peters
svn-id: r33809
2008-08-12Fix for GCC warning in OSRenderer::renderOverlay: declaration of 'len' ↵Kari Salminen
shadows a previous local. svn-id: r33808
2008-08-12Tiny comment fix.Kari Salminen
svn-id: r33807
2008-08-12Implemented Operation Stealth's makeCommandLine.Kari Salminen
svn-id: r33805
2008-08-12Implemented Operation Stealth specific parts of processInventory and added ↵Kari Salminen
another mouse button waiting loop into the function's end (It's in both Future Wars and Operation Stealth). Fixes inventory showing in Operation Stealth. svn-id: r33795
2008-08-12Changed commandBuffer from a char[80] to Common::String and made ↵Kari Salminen
FWRenderer::setCommand use a Common::String. Hopefully this might help with the command buffer overflow stuff, although this isn't a fix for the problem behind it, just a bandaid. svn-id: r33793
2008-08-11Made Operation Stealth's action failure messages use a background color set ↵Kari Salminen
by the opcode 0x49 'o1_setDefaultMenuBgColor'. Should fix the 'text hard to read' problems. svn-id: r33792
2008-08-11Implemented drawMessage changes for Operation Stealth's timed cutscenes ↵Kari Salminen
(Negative colors are used for timed text boxes that are totally transparent, only the text is drawn). svn-id: r33790
2008-08-11Moved fontParamTable inside TextHandler struct and made it a constant size ↵Kari Salminen
as that's what it is (No need for using malloc & free anymore). Previously we would've tried to free an array that wasn't heap-allocated in freePoldatDat (Freeing fontParamTable_standard or fontParamTable_alt), that's fixed. svn-id: r33786
2008-08-11Changed palPtr from a pointer to a Common::Array named palArray. Removed ↵Kari Salminen
palEntriesCount variable as it's now equivalent to palArray.size(). svn-id: r33785
2008-08-11Removed textDataPtr pointer as it's not used beyond the loadTextData ↵Kari Salminen
function. Reworked loadTextData a bit so there are no two loops for the same thing (Also renamed some of the local variables). svn-id: r33784
2008-08-11Changed partBuffer from a pointer to a Common::Array. Removed ↵Kari Salminen
numElementInPart variable as it's now equivalent with partBuffer.size(). svn-id: r33783
2008-08-11Added a safeguard to readBundleFile so it shouldn't corrupt memory even if ↵Kari Salminen
the input says the data's unpacked size is less than its packed size (This shouldn't ever happen with non-corrupted data). svn-id: r33782
2008-08-11Changed readBundleFile to unpack data in-place and added debugging messages ↵Kari Salminen
to the function. svn-id: r33781
2008-08-11LOL: add support for floppy installer filesFlorian Kagerer
(startup will fail nonethelesse since we have different pak file names) svn-id: r33777
2008-08-10Fixed a bunch of Valgrind warnings (mostly uninitialised variables, but also anTorbjörn Andersson
invalid free()), so that I can start and quit the game without any unexpected warnings. (The obvious next step, of course, would be to actually *play* the game for a bit...) svn-id: r33766
2008-08-10Committed my patch #2040074 ("XMIDI callback control events"). At the ↵Torbjörn Andersson
moment, I'm not aware of any game that actually uses this XMIDI feature, so its primary function right now is to silence lots of warnings while running the DOS version of Simon the Sorcerer 2. svn-id: r33763
2008-08-10Add checksums for ScummVM repacked Italian and Spanish versions.Eugene Sandulenko
svn-id: r33761
2008-08-10address the ignored events and bad inventory screen handling 'features'Kostas Nakos
svn-id: r33758
2008-08-10hint the backend to show the VKKostas Nakos
svn-id: r33756
2008-08-10Added fallback to text only mode when voice files are not found.Johannes Schickel
svn-id: r33742
2008-08-10Fixed kyra to support properly support restarting of engine (for GSoC RTL, ↵Johannes Schickel
based on a patch from Chris Page). svn-id: r33736
2008-08-10Fixed crash in KyraEngine_HoF::pauseEngineIntern.Johannes Schickel
svn-id: r33733
2008-08-09Converted zoneData and zoneQuery tables from plain array types to ↵Kari Salminen
Common::Array. Should help catch out of bounds access errors that may cause memory corruption. svn-id: r33727
2008-08-09Converted animDataTable from a plain array to a Common::Array. Should help ↵Kari Salminen
to catch out of bounds access errors which may cause memory corruption. svn-id: r33726
2008-08-09Converted objectTable from a plain array to a Common::Array. Should help to ↵Kari Salminen
catch out of bounds access errors that may cause memory corruption. svn-id: r33725
2008-08-09Made type 21 & 22 overlays not be flipped (The oxygen gauge looks actually ↵Kari Salminen
better when it reaches zero this way although in its fully charged state it still does look a bit off. Disassembly seems to agree with not flipping the overlays so I'm going with this one for now). svn-id: r33722
2008-08-09Made drawPlainBox's effective width and height always at least one.Kari Salminen
- Makes oxygen gauge during first arcade sequence visible as it gave drawPlainBox a height of zero. Made type 21 overlays be drawn as type 22 (Filled rectangle). - For an example the oxygen gauge during the first arcade sequence is a type 21 overlay. Flipped type 21 & 22 overlays as it looks correct for the oxygen gauge. These features are quite WIP, they need testing to see if they're correct. svn-id: r33721
2008-08-09fix MR on ce: allocate large buffer on the heap instead and of the stack, ↵Kostas Nakos
and improve the workaround svn-id: r33714
2008-08-09Added preliminary version of drawing type 22 overlays (Such overlays are ↵Kari Salminen
added with opcode 0xA4 (o2_loadMask22) and removed with opcode 0xA5 (o2_unloadMask22)). Things might be wrong so needs testing! WIP! svn-id: r33713
2008-08-09Added updating of global variable var5 to Operation Stealth's renderOverlay ↵Kari Salminen
function's type 20 overlay case (Previously var5 wasn't updated anywhere!). Also added a lower bound for var5's value into a comparison (Previously only the upper bound was tested for). svn-id: r33712
2008-08-09Removing moving with keys qweasdzxc for now because they messed with ↵Kari Salminen
savegame name typing. One can move with the cursor keys anyway. svn-id: r33710
2008-08-09Small cleanup: Renamed rol to rolByte and made it handle all cases.Kari Salminen
svn-id: r33708
2008-08-08Added detection entry for the Sony published CD version of Future Wars.Kari Salminen
Also added decrypting of the crypted AUTO00.PRC for this particular version. Now this version should work but no CD audio support for it yet though. svn-id: r33703
2008-08-08Partially fix Adlib volume setting in Cine (Now uses music volume for Adlib ↵Kari Salminen
volume, previously always played with full volume. Doesn't differentiate between playing sound effects and music!). svn-id: r33700
2008-08-08Added basic moving using keyboard (Only works in Operation Stealth at the ↵Kari Salminen
moment): - Should make it possible to complete the first arcade sequence legitimately Renamed input variables (Their names were mixed up between Future Wars and Operation Stealth): - Future Wars's inputVar1 -> egoMovedWithKeyboard - Future Wars's inputVar2 -> xMoveKeyb - Future Wars's inputVar3 -> yMoveKeyb - Operation Stealth's inputVar0 -> xMoveKeyb - Operation Stealth's inputVar1 -> yMoveKeyb svn-id: r33698
2008-08-08Remove debug leftover.Travis Howell
svn-id: r33696
2008-08-08Hopefully allow quiting at any stage AGOS engines games again.Travis Howell
svn-id: r33693
2008-08-07fix for bug #2040484: TOUCHE: Graphic glitch with long answer optionsGregory Montoir
svn-id: r33691
2008-08-07fix for bug #2040311: TOUCHE: Missing characters in the spanish versionGregory Montoir
svn-id: r33690