aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-08-09Updates to the recent OSystem API changesAndre Heider
svn-id: r33719
2008-08-09hotfix around drascula mem leak problems. see also bug reportKostas Nakos
svn-id: r33716
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
2008-08-07Implemented game speed changing by pressing - or + to e.g. ease testing.Kari Salminen
svn-id: r33689
2008-08-07Added precautionary tests to background scrolling function in Operation ↵Kari Salminen
Stealth to avoid possible memory corruptions. svn-id: r33688
2008-08-07Made drawPlainBox handle border cases so it won't corrupt memory so easily. ↵Kari Salminen
This may help with some memory corruption issues when for an example trying to draw the player's command string out of screen. svn-id: r33687
2008-08-07Fix for popup boxes sometimes blocking animation when they shouldn't in ↵Kari Salminen
Operation Stealth: - Made waitForPlayerClick updating more like in the original. - Moved removeMessages to after the frame drawing in main loop hoping to be more like the original. - Added an additional test to Operation Stealth's implementation of overlay type 2 drawing. - Added an additional parameter incrementing and testing to Operation Stealth's removeMessages. Hopefully this won't cause any regressions in Future Wars! svn-id: r33686
2008-08-07setup interface for later kyra gamesKostas Nakos
svn-id: r33682
2008-08-07Initialise the _sound object. Otherwise, ScummVM crashes for me if I use a ↵Torbjörn Andersson
native MIDI driver instead of Adlib. svn-id: r33678
2008-08-07smartphone-specific code not needed anymoreKostas Nakos
svn-id: r33674
2008-08-06HACK: In Operation Stealth after the first arcade sequence jump player's ↵Kari Salminen
position to avoid getting stuck. The player's position is changed only by *one* pixel but it helps and makes it possible to carry on with the game (Previously the player was totally stuck). svn-id: r33673
2008-08-06Tiny comment update to loadCt-opcodes: Load collision table data.Kari Salminen
svn-id: r33670
2008-08-06Renamed page3Raw to collisionPage so it's more apparent what it does.Kari Salminen
svn-id: r33669
2008-08-06Add 320x200 screen bounds checking to Operation Stealth's checkCollision ↵Kari Salminen
function. Fixes teleporting bug when getting out of the water after first arcade sequence. The player previously got teleported to the beach near the hotel. Now it doesn't happen. The player is still caught motionless and can't move after this fix though... svn-id: r33668
2008-08-06HACK: Force oxygen to maximum during Operation Stealth's first arcade sequence.Kari Salminen
This way the arcade sequence is completable now. This hack should be removed later and the first arcade sequence be made properly playable! svn-id: r33667
2008-08-06Do not query savestates which obviously do not exist (to shut up bogus ↵Max Horn
console warnings) svn-id: r33664
2008-08-06Workaround for bug #2016521 (DOTT: Bernard impersonating LaVerne)Max Horn
svn-id: r33655
2008-08-06SCUMM: Renamed inventoryScript -> inventoryScriptIndy3MacMax Horn
svn-id: r33654
2008-08-05Committed my patch #2026097 ("ALSA: Try both 65:0 and 17:0 by default"), with aTorbjörn Andersson
slight modification to the README changes. (I don't know how to interpret all the output from aconnect, so I'm only documenting "the most important bit".) svn-id: r33648
2008-08-05Patch #2014663: Do not mark stack as executable in HQx scalerMax Horn
svn-id: r33645
2008-08-05Workaround for missing player character animation when exiting the airport ↵Kari Salminen
in Santa Paragua in at least the 256 color PC version of Operation Stealth. svn-id: r33644
2008-08-05Made rest of resource loading functions used in loadResource return -1 on error.Kari Salminen
This fixed a crash in Operation Stealth when walking out of the airport (Some file couldn't be opened and the game crashed because of that. Now it doesn't crash but handles the missing file gracefully). svn-id: r33643
2008-08-05Add detection entry for a previously unrecognized 16 color PC version of ↵Kari Salminen
Operation Stealth (The John Glames variant). svn-id: r33642
2008-08-05SCUMM: cleanup SaveLoadChooser::updateInfos codeMax Horn
svn-id: r33640
2008-08-05SCUMM: Don't try to load metadata for slot -1 (i.e. don't try to load ↵Max Horn
metadata if nothing is selected) svn-id: r33639
2008-08-05Fix prompt updating regression introduced in r32257:Kari Salminen
Previously prompt didn't get updated all the time, like e.g. when selecting EXAMINE and moving the cursor over to DOOR and then moving the cursor to a place where there was no selectable object. The prompt would've still shown "EXAMINE DOOR", now it shows just "EXAMINE" which is correct AFAIK. svn-id: r33637
2008-08-05Output errors on (some) missing files.Johannes Schickel
svn-id: r33635
2008-08-05Remove file attribute check, since getChild() can be called on file path ↵Travis Howell
that doesn'r exist. svn-id: r33633
2008-08-05Changed implementation parameters/return values to match definition.Johannes Schickel
svn-id: r33632
2008-08-05Removed unneeded #includes.Travis Howell
svn-id: r33627
2008-08-05Fix win32 compile.Travis Howell
svn-id: r33626
2008-08-04Symbian build package should now contain drascula.dat alsoLars Persson
svn-id: r33623
2008-08-04Pushed some port specific code from DefaultSaveFileManager out to port ↵Max Horn
specific code in backends/platform/ svn-id: r33621
2008-08-04Fix for misplaced objects in mouse object selection (Operation Stealth ↵Kari Salminen
specific). - Implemented Operation Stealth specific part of getObjectUnderCursor which handles negative frame values. - Fixed a test case (Should test for ydif <= 0 although tested for ydif < 0). - Made part-value be anded with 0x0F in a test case to comply with disassembly. - Added comment about a test case which isn't present in the disassembly. Removing it makes things crash sometimes so letting it be. svn-id: r33620