aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/menu.cpp
AgeCommit message (Collapse)Author
2010-07-26SCI: Fixed bug #3034507, "PQ2 Demo: Non-existant menu item"Filippos Karapetis
svn-id: r51294
2010-07-20SCI: fixed jones/ega/vga port issueMartin Kiewitz
getPortById() error was caused by us remembering port when going interactive, restoring it and restoring it all the time afterwards as well svn-id: r51071
2010-07-10SCI: calculate widths for menu after switching to menuport, i guess this was ↵Martin Kiewitz
the reason why we sometimes had issues drawing parts of the menu (random issue) svn-id: r50784
2010-07-06SCI: fix regression of r50721 - pausing/resuming only on actual menu usageMartin Kiewitz
svn-id: r50724
2010-06-29SCI: Rewrap more commentsMax Horn
svn-id: r50500
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-17SCI: Rename sciEvent to SciEventMax Horn
svn-id: r49960
2010-06-17SCI: Moved the event code a little bit around.Max Horn
* Move sleep() from EventManager to SciEngine * Rename EventManager methods: get -> getSciEvent, and getFromScummVM -> getScummVMEvent * Make scancode_rows static const * Turn altify & numlockify from EventManager methods into static functions (and comment out the currently unused numlockify) svn-id: r49959
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-09Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵Filippos Karapetis
structure, and removed it from the engine state svn-id: r49534
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-15SCI: handle TAB like Ctrl-I on menu key checking, sci0 also did it that way ↵Martin Kiewitz
- makes TAB work for inventory in iceman/qfg1ega svn-id: r49044
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-04-25SCI: fix regression of r48659 - now calculating menu width and splitting ↵Martin Kiewitz
text on kernelDrawMenuBar() as well - fixes menu not displaying all the time in hoyle 1&2 svn-id: r48791
2010-04-20SCI: menu - handle right aligned "=" as actual text not as tag marker, also ↵Martin Kiewitz
handle "=" as being a supported shortcut key svn-id: r48747
2010-04-20SCI: remove lone spaces at the end of right aligned menu items. fixes ↵Martin Kiewitz
"wrongly" aligned menu items in some games svn-id: r48746
2010-04-18SCI: fix regression from r48685 - english got always used for menu entriesMartin Kiewitz
svn-id: r48698
2010-04-17SCI: move menu window inside the screen, if parts of it are outside (happens ↵Martin Kiewitz
in multilingual sq3 and lsl3) svn-id: r48686
2010-04-17SCI: implement ability to handle multilingual menu separators (is actually 2 ↵Martin Kiewitz
separators with a language separator inbetween) svn-id: r48685
2010-04-17SCI: Remove subtitles in menu.Walter van Niftrik
svn-id: r48683
2010-04-15SCI: split menu/item strings when displaying instead of when initializing - ↵Martin Kiewitz
makes on-the-fly menu language changes possible (used by multilingual SCI01 games) svn-id: r48659
2010-02-23SCI: Turn kernel_sleep() into SciEvent::sleep()Max Horn
svn-id: r48119
2010-02-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-09SCI: also reset some variables inside reset(), so we dont error() out in ↵Martin Kiewitz
lsl2 and other games that reset game engine inbetween svn-id: r48015
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-05SCI: drawMenuBar, drawStatus now called directly and w/o SciGuiMartin Kiewitz
svn-id: r47913
2010-02-05SCI: GfxCoordAdjuster class added, local2Global and global2Local use that ↵Martin Kiewitz
class directly, kGraph / RedrawBox is now using GfxPaint16 directly svn-id: r47908
2010-02-05SCI: calling most of the cursor functions directly via _gfxCursor instead of ↵Martin Kiewitz
SciGui/32 svn-id: r47903
2010-02-05SCI: renamed class Cursor to GfxCursorMartin Kiewitz
svn-id: r47902
2010-02-01SCI: implemented reset for GfxMenu, not recreating object anymoreMartin Kiewitz
svn-id: r47793
2010-02-01SCI: class menu renamed to GfxMenu - now getting called directly, also fix ↵Martin Kiewitz
for loading savedgames svn-id: r47792
2010-01-31SCI: renamed Text class to GfxText16Martin Kiewitz
svn-id: r47780
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-31SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, ↵Martin Kiewitz
gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui svn-id: r47745
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-24SCI: removed oldMenuId check for BitsShow in menu (was done for keyboard ↵Martin Kiewitz
interaction) - using mouse its possible to leave the menu which would now result in inverted menu topic not displayed - fixed svn-id: r47526
2010-01-22SCI: removed error inside Menu::mouseFindMenuItemSelection, instead returning 0Martin Kiewitz
svn-id: r47442
2010-01-22SCI: draw a black line under menubar when menu is active (effectively for ↵Martin Kiewitz
jones, wouldnt be needed otherwise), adjust inverting menu selections accordingly svn-id: r47441
2010-01-19SCI: call showBits() on the line between menubar and the actual menu ↵Martin Kiewitz
(because reanimate clips to picPort, so that line wouldnt be shown as restored) svn-id: r47390
2010-01-19SCI: use reanimate instead of BitsShow() when removing menusMartin Kiewitz
svn-id: r47386
2010-01-12SCI: implemented mouse interaction while being in keyboard mode, also ignore ↵Martin Kiewitz
disabled entries/separator lines within mouse mode svn-id: r47285
2010-01-12SCI: using _menuRect inside Menu::mouseFindMenuItemSelection for easier ↵Martin Kiewitz
code, also fixed stupid oversight that made the code crash in e.g. lsl6 svn-id: r47278
2010-01-12SCI: interactive menu with mouse fully implemented, mouse within keyboard ↵Martin Kiewitz
menu not yet done svn-id: r47277
2010-01-12SCI: changed interactive with mouse menu code (still not finished)Martin Kiewitz
svn-id: r47273
2010-01-12SCI: added comment about "not behaving like sierra here", also added TODO on ↵Martin Kiewitz
mouse state change svn-id: r47270
2010-01-12Added mouse click handling for top menus (mouse clicks on menu items of each ↵Filippos Karapetis
menu are not handled yet) svn-id: r47260
2010-01-08SCI: support "Ctrl-" prefix keys in menu, makes Ctrl-keys work in lsl6Martin Kiewitz
svn-id: r47164
2010-01-08SCI: support "+" and "-" for menu (fixes speed changes via those keys in all ↵Martin Kiewitz
games) svn-id: r47163
2010-01-07SCI: remove displaying tag in menu of some games (e.g. qfg1ega)Martin Kiewitz
svn-id: r47143