aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2016-02-03AGI: Make inner loop handlers consistentMartin Kiewitz
2016-02-03AGI: Implement messageBox() as inner loopMartin Kiewitz
Also remove _game.keypress, _game.msgBoxTicks
2016-02-03AGI: Remove Gold Rush workaround, no longer neededMartin Kiewitz
2016-02-03AGI: Fix regression of have.key changesMartin Kiewitz
original commit 8269a94bcd55200f7ae8aba00c7b6fd0d37b9a37 Now hopefully properly implemented. Adjusted a few more inaccuracies (we set v19 to 0, where we shouldn't have)
2016-02-02AGI: add drawCharacterOnDisplay()Martin Kiewitz
2016-02-02AGI: Remove inputMode, not needed anyoreMartin Kiewitz
2016-02-02AGI: test commands cleanupMartin Kiewitz
2016-02-02AGI: Use inner loop functionality for have.keyMartin Kiewitz
Also do it like the original interpreter did it
2016-02-02AGI: Don't pause in game timer while in menusMartin Kiewitz
Original interpreter did not do it and we paused music/sfx, which the original interpreter also didn't do. Shouldn't cause issues.
2016-02-02AGI: code formattingMartin Kiewitz
2016-02-02LAB: Fix wrong glowing belt file in getInvName()Filippos Karapetis
A regression from 4fb53ad170f483bbce2e27643cd3ee1fa604cebd
2016-02-02AGI: Fix formatting.Johannes Schickel
This mostly enforces tabs for indentation and spaces for formatting. But also fixes spaces on empty lines, some extra/missing spaces. astyle + manual fixup
2016-02-02AGI: Add WORKAROUND comment to "render after menu"Martin Kiewitz
see commit 0b75bf37219cf49f274da330a44e81068152599c Original AGI did not do, what we are doing now
2016-02-02AGI: Don't use status row for menu mouse triggerMartin Kiewitz
Use hardcoded first line instead In Donald Duck the status line is at line 24, but also hidden
2016-02-02AGI: Render after menu, when playarea starts at 0Martin Kiewitz
Fixes graphics glitch for Donald Duck
2016-02-02AGI: mouse support for menuMartin Kiewitz
2016-02-02SCI: make event type, modifiers + character uint16Martin Kiewitz
2016-02-02SCI: Make event handling helper tables staticMartin Kiewitz
2016-02-02SCI: Fix comment about debugger keysMartin Kiewitz
Was changed to Ctrl-Shift-D at some point, because a SCI game uses Ctrl-D. Comment wasn't changed accordingly back then.
2016-02-02SCI: Keyboard event handling cleanupMartin Kiewitz
Renamed "ourModifiers" to "scummVMKeyFlags" Now also using the flags directly from the ScummVM event in case it actually was a Keyboard event.
2016-02-02SCI: Fix regression of previous keycode commitMartin Kiewitz
7aeadba863ed1893fa6095008d35b32ce5117749 Thanks LordHoto for spotting it
2016-02-02SCI: Removed ".data" from SciEventMartin Kiewitz
Was the ScummVM-system-Keycode, sometimes modified. Changed Menu/Portrait/Controls32-code to use .character instead. Cleaned up a bit of code in getScummVMEvent()
2016-02-02AGI: changed debug msg VGA font -> PC BIOS fontMartin Kiewitz
2016-02-02SCI: fix typo in commentMartin Kiewitz
2016-02-02Merge pull request #659 from wjp/sword25_loadingWillem Jan Palenstijn
SWORD25: Use more appropriate function for growing the stack
2016-02-02SWORD25: Remove now unused functionWillem Jan Palenstijn
2016-02-02SCI: Do not pass/use .data for mouse button typeMartin Kiewitz
Also added comment about .data field. Should be renamed.
2016-02-02SCI: Fix control/Fx keys not working anymoreMartin Kiewitz
Was effectively caused by commit adding the keyboard driver bug for SCI0/SCI01, although the bug is actually real and happens. It seems Sierra did not check the key-modifier in kMenuSelect. We do and that's why the code didn't recognize all sorts of menu keys anymore. We now isolate the lower byte before comparing. I also noticed, that Sierra passed keyboard modifiers in mouse events. This was probably done, so that owners of a 1-button mouse were able to right-click. We do this now too. Also added information about mouse modifiers in kGetEvent. Moved the mouse modifier code into getScummVMEvent(). This should fix bug #7009.
2016-02-02SWORD25: Use more appropriate function for growing the stackWillem Jan Palenstijn
The call to lua_growstack in unpersistThread would unconditionally at least double the size of the stack. This caused memory usage to grow exponentially (literally) with the number of serialized threads. Bugs #6977, #6999.
2016-02-02LAB: Fix loading rules from room 0Willem Jan Palenstijn
Regression from cd3ebf687c0e783147723095056d72684eddd347. This fixes bug #6997.
2016-02-01SHERLOCK: Silence GCC signed/unsigned warningTorbjörn Andersson
2016-02-01TOUCHE: Fix semi-intentional array overrunWillem Jan Palenstijn
op_getInventoryItem/op_setInventoryItem could operate on inventoryItems[4] while inventoryItems has only 4 elements. This effectively accesses the 'money' field right behind this array. Due to a broken assert, this was never detected. This commit fixes it by redirecting accesses to inventoryItems[4] to money, and also fixes the assert. An alternative solution would have been enlarging the array, and removing the money field, but that would require more changes in the engine.
2016-02-01Revert "TOUCHE: Fix buffer overrun. CID 1003934"Willem Jan Palenstijn
This reverts commit 9d2cc7ce84107d93d56371e8266cbe2193a7923b.
2016-02-01AGI: change how menus are triggered on Non-PCMartin Kiewitz
2016-02-01AGI: Pass vm pointer directly to commandsMartin Kiewitz
No functional change
2016-02-01AGI: Rename _game.lognum to _game.curLogicNrMartin Kiewitz
Also a bit of cleanup
2016-02-01AGI: Change _game.exitAllLogics to booleanMartin Kiewitz
2016-02-01AGI: Remove _game.hasPrompt, no longer neededMartin Kiewitz
2016-02-01AGI: Remove old clockEnabled booleanMartin Kiewitz
No longer needed We use ScummVM system total play time functionality instead
2016-02-01AGI: Fix pause command effectively freezing gameMartin Kiewitz
In game timer wasn't resumed, which caused no more cycles to get executed.
2016-02-01SCI: Revert revert the keyboard handling changesMartin Kiewitz
It seems the issues on AmigaOS aren't actually caused by the new code. Reverting the revert.
2016-02-01AGI: Revert revert the keyboard handling changesMartin Kiewitz
It seems the issues on AmigaOS aren't actually caused by the new code. Reverting the revert.
2016-02-01AGI: Improve original save/load menusMartin Kiewitz
Description is trimmed for the verify window, width is now accurate Actual save filename is now also shown, just like in the original Cleanup
2016-02-01Merge pull request #657 from lordhoto/scumm-alt-xEugene Sandulenko
ALL: Handle Alt-x internally in SCUMM.
2016-01-31SHERLOCK: SS: Fix Settings dialog hotkeysPaul Gilbert
2016-02-01AGI: Keyboard handling changeMartin Kiewitz
It seems the current code causes issues on at least AmigaOS. Changed current code to the way SCI handled it. Needs to get investigated in detail. Added FIXME. Also see engines/sci/event.cpp
2016-02-01SCI: Revert ascii detection for key event handlingMartin Kiewitz
Seems to cause at least issues on AmigaOS probably b/c SDL. See bug #7009. Added FIXME. Underlying issue needs to get fixed in SDL backend or in SDL itself.
2016-02-01AGI: implement predictive dialogMartin Kiewitz
2016-01-31SHERLOCK: SS: Fix incorrect conversation lines display in German versionPaul Gilbert
2016-01-31AGI: fix warningsMartin Kiewitz