aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/menu.cpp
AgeCommit message (Collapse)Author
2016-02-27AGI: Add support for upscaling and Hercules hires fontMartin Kiewitz
- User option to force Hercules hires font for any rendering mode - Also change mouse cursor hotspots from 1,1 to 0,0 - Fix inaccuracy in mouse controlled game menu - Change render_Block(), drawBox(), drawDisplayRect() to use upper Y instead of lower Y. Original AGI uses lower Y, but upper Y makes upscaling way easier.
2016-02-09AGI: Cut menu in case menu names are too longMartin Kiewitz
Required for games that add to many names or add names, that are too long. The code needs to get adjusted anyway for different platforms, so for now just cut the menu names instead Required for at least the fan game Get Outta Space Quest
2016-02-04AGI: More accurate menu mouse supportMartin Kiewitz
Menu items did not switch to inverted state when they are disabled.
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: Make inner loop handlers consistentMartin Kiewitz
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: 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: Render after menu, when playarea starts at 0Martin Kiewitz
Fixes graphics glitch for Donald Duck
2016-02-02AGI: mouse support for menuMartin Kiewitz
2016-01-31AGI: remove timer hack, implement in game timerMartin Kiewitz
in game timer is now updated, when scripts read in game timer VM variables and during main loop. ScummVM total play time feature is used for it. Game cycle syncing is done at the same time.
2016-01-29AGI: graphics rewrite + cleanupMartin Kiewitz
- graphics code fully rewritten - Apple IIgs font support - Amiga Topaz support - Word parser rewritten - menu code rewritten - removed forced 2 second delay on all room changes replaced with heuristic to detect situations, where it's required - lots of naming cleanup - new console commands show_map, screenobj, vmvars and vmflags - all sorts of hacks/workarounds removed - added SCI wait mouse cursor - added Apple IIgs mouse cursor - added Atari ST mouse cursor - added Amiga/Apple IIgs transition - added Atari ST transition - user can select another render mode and use Apple IIgs palette + transition for PC versions - inventory screen rewritten - SetSimple command now properly implemented - PreAGI Mickey: Sierra logo now shown - saved games: now saving controller key mapping also saving automatic save data (SetSimple command) - fixed invalid memory access when saving games (31 bytes were saved using Common::String c_ptr() Special Thanks to: - fuzzie for helping out with the Apple IIgs font + valgrind - eriktorbjorn for helping out with valgrind - LordHoto for figuring out the code, that caused invalid memory access in the original code, when saving a game - sev for help out with reversing the Amiga transition currently missing: - mouse support for menu - mouse support for system dialogs - predictive dialog support
2014-02-18AGI: Make GPL headers consistent in themselves.Johannes Schickel
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2011-12-10AGI: Replace usage of 'goto'.D G Turner
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-14ALL: colour -> colorMax Horn
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-08-18Possible fix for #2828330 (AGI: KQ1: Fast text box). If doesn't break ↵Kari Salminen
anything else then should go to the branch-1-0-0 too, but haven't had the time to do much testing yet - thus committing to the trunk first. svn-id: r43523
2009-07-22Move functions from agi.cpp to more appropriate files.Eugene Sandulenko
svn-id: r42662
2009-06-06Correct implementation for set.key opcode. Fixes #2605104: "AGI: Manhunter, ↵Eugene Sandulenko
F3 hotkey dosent work", removed number of hacks svn-id: r41259
2009-06-06Implement fence.mouse opcodeEugene Sandulenko
svn-id: r41258
2009-06-06Fix bug #2026605: "SQ2: Have to wait after dying to do anything."Eugene Sandulenko
svn-id: r41250
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-02-11Fix for bug #2538123 - "AGI: loading from launcher disables hotkeys"Filippos Karapetis
svn-id: r36266
2007-10-31Fix for bug #1751483 - "AGI: The -x command-line option appears to be broken"Filippos Karapetis
svn-id: r29346
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-15Enabled menus in some old AGI games (released in 1986) which did not have ↵Filippos Karapetis
menus them originally: KQ1 Amiga and ST and early versions of KQ3 Amiga, SQ1 ST, SQ1 DOS and SQ1 Amiga. The GF_FORCEMENUS flag has been remaned to GF_MENUS. Also, two problematic versions of KQ3, a problematic version of SQ1 and a problematic version of Mixed up Mother Goose have been disabled. Finally, a duplicate detection entry for SQ1 has been removed svn-id: r28095
2007-07-11Fix for bug #1751390 in LSL1. When choosing a menu option, an appropriate ↵Filippos Karapetis
event is set. If that event is equal to 0x20, it was incorrectly triggered when the space bar key was pressed svn-id: r28024
2007-07-09Fix for bug #1746661: "KQ3: Lockup when pressing ESC (Amiga version)"Filippos Karapetis
svn-id: r27989
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-01-16Remove #include "agi/text.h"; fixes build. Pointyhat to aquadran.David Symonds
svn-id: r25103
2007-01-16Formating names in source codePaweł Kołodziejski
svn-id: r25101
2007-01-07Fix interpretation of enable.item() and disable.item() AGI functions; they ↵David Symonds
affect *all* menu items with the given event code. This is most relevant to menu separators which are normally disabled, and often all share the same event code. svn-id: r25046
2007-01-06Extended text rendering code to allow "checkerboarding", and switch menu codeDavid Symonds
to using this checkerboard effect for disabled menu items (this is how Sierra's interpreter works). svn-id: r25024
2007-01-06Menus should wrap around at top and bottom.David Symonds
svn-id: r25023
2006-12-06first phase of objectisation of agi enginePaweł Kołodziejski
svn-id: r24808
2006-06-10Pop AGIs text.cpp into a class, for later cleanup.James Brown
svn-id: r23011
2006-05-31Fixed many const related warningsMax Horn
svn-id: r22794
2006-05-29objectify AGI menu.h/cppWillem Jan Palenstijn
svn-id: r22757
2006-05-26replace agi/list.h by Common::List; cleanupWillem Jan Palenstijn
svn-id: r22666
2006-05-24include mouse support alwaysPaweł Kołodziejski
svn-id: r22605
2006-05-23imported AGI enginePaweł Kołodziejski
svn-id: r22588