aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
AgeCommit message (Collapse)Author
2016-02-06AGI: Move debugger to Ctrl-Shift-DMartin Kiewitz
because of Police Quest 1 using Ctrl-D for calling dispatch. Solves FR #395
2016-02-06AGI: Switch to CLUT3 for Macintosh as defaultMartin Kiewitz
2016-02-05AGI: Adding Macintosh palettes for GR+SQ2Martin Kiewitz
But not actually using the GR palette, because it looks horrible.
2016-02-05AGI: Make it possible to also force CGA/EGA/VGAMartin Kiewitz
...rendering
2016-02-05AGI: fix build powf() -> pow()Martin Kiewitz
2016-02-05AGI: Render mode Macintosh addedMartin Kiewitz
Palette + mouse cursor + box frame color only atm Thanks to wjp for gamma correction Not sure, if our current color adjustment is correct Should be checked by using actual hardware
2016-02-05AGI: GfxMgr::drawBox now using kRenderMacintoshMartin Kiewitz
2016-02-05AGI: Rewrote stringWordWrap()Martin Kiewitz
Original code wasn't accurate
2016-02-04AGI: Restrict hide.mouse to AGI3 onlyMartin Kiewitz
Command seems to not have existed in at least 2.917 (PC). Space Quest 2 on Apple IIgs calls it during intro, but never calls show.mouse. SQ2 on other platforms does not make this call. Mouse cursor is not hidden under emulator, so atm I have to assume that it's either a dodgy script or there was something else hacked into the interpreter back then. This fixes Space Quest 2 Apple IIgs losing mouse cursor, when the intro is not canceled.
2016-02-04AGI: Fix Hold-Key-Mode implementationMartin Kiewitz
Hold-Key-Mode got introduced v2.425, it was simply not possible to disable it until 3.098. Now creating a AGI_KEY_STATIONARY event, so that it works properly Fixes Mixed Up Mother Goose
2016-02-04AGI: Fix mouse code for transitionsMartin Kiewitz
Do not show mouse cursor after transition, when it's currently switched to hidden. Do the same for hide/show.mouse opcodes.
2016-02-04AGI: Add verbose flags to debug command screenobjMartin Kiewitz
2016-02-04AGI: Fix cursor position after save game descr.Martin Kiewitz
Cursor was placed incorrectly after entering saved game description using original load/save dialogs.
2016-02-04AGI: More accurate menu mouse supportMartin Kiewitz
Menu items did not switch to inverted state when they are disabled.
2016-02-04AGI: Add Atari ST system UI buttonsMartin Kiewitz
2016-02-04AGI: Add buttons to save/restore verify dialogsMartin Kiewitz
2016-02-04AGI: Add Amiga system UI buttonsMartin Kiewitz
Also adjust window frames for Amiga. Amiga also uses hi-res ones.
2016-02-04AGI: Add Apple IIgs system UI buttonsMartin Kiewitz
For Restart/Quit/Pause dialog
2016-02-04AGI: Fix disabled look to work properly in menusMartin Kiewitz
2016-02-03AGI: Add different window frames for MacintoshMartin Kiewitz
Also work on drawCharacter code for SystemUI usage
2016-02-03AGI: Add different window frames for Apple IIgsMartin Kiewitz
Only slightly different than on PC
2016-02-03AGI: Message box mouse supportMartin Kiewitz
2016-02-03AGI: Rename WINDOWRESET to WINDOW_AUTO_CLOSE_TIMERMartin Kiewitz
2016-02-03AGI: Increase time delay for Apple IIgsMartin Kiewitz
It seems that either Apple IIgs ran very slowly or that its AGI interpreter didn't do the delays as on all the other platforms. Further investigation needed Fixes all sorts of games running now way too fast.
2016-02-03AGI: Remove unused initialized variableMartin Kiewitz
2016-02-03AGI: Remove _game.state, not needed anymoreMartin Kiewitz
2016-02-03AGI: Change cycle delay handling, seems to fix GRMartin Kiewitz
Removed pollTimer() Renamed pause() to wait() Doing 10 msec delays instead of at least 50 msec per EventProcess Seems to fix weird Gold Rush ingame timer issue?! bug #4147
2016-02-03AGI: Cycle event processing changedMartin Kiewitz
processEvents() renamed to processScummVMEvents() mainCycle() renamed to processAGIEvents() have.key now sets up an inner loop and calls processAGIEvents() to avoid any further cycle work processing
2016-02-03AGI: Call update screen in have.key for nowMartin Kiewitz
Some games call it in an endless loop until a key is returned
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-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-02AGI: changed debug msg VGA font -> PC BIOS fontMartin Kiewitz
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