aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13cleanupMax Horn
svn-id: r33847
2008-08-13fix a small bug in the quit dialogKostas Nakos
svn-id: r33844
2008-08-13fix bug #1910057: FT multifunctionKostas Nakos
svn-id: r33839
2008-08-13Added detection entries for kyra3 Mac.Johannes Schickel
svn-id: r33837
2008-08-13fix bug #2038992 by saving and restoring channel volumesKostas Nakos
svn-id: r33829
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-11build a wii binary per defaultAndre Heider
svn-id: r33788
2008-08-11video mode polishing:Andre Heider
* proper fullscreen video mode * multiple graphic modes with different overscan values * "fullscreen mode" stretches the picture on 16:9 displays * fixed broken sword 1/2 gfx garbage * support for setShakePos() svn-id: r33787
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-10add support for drascula engineKostas Nakos
svn-id: r33754
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-09Use FSNode API in default OSystem::openConfigFileForReading & ↵Max Horn
OSystem::openConfigFileForWriting method implementations svn-id: r33730
2008-08-09If no default config file is present, just don't load it, instead of crashingMax Horn
svn-id: r33729
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-09Updated the Makefile to the new build system.Andre Heider
Introduced a Makefile variable to build a gamecube version. svn-id: r33723
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