aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmenu.cpp
AgeCommit message (Collapse)Author
2012-03-13JANITORIAL: Replace (x ? false : true) by !(x).Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-01SCI: Fixed the background color of the status bar in Amiga versionsmd5
2010-08-29SCI: Fixed bug #3038767 - "SCI Fanmade - Cascade Quest: Crash when restoring ↵Filippos Karapetis
a game" svn-id: r52447
2010-07-06SCI: fix regression of r50721 - pausing/resuming only on actual menu usageMartin Kiewitz
svn-id: r50724
2010-07-06SCI: implemented pauseSound inside kMenuSelectMartin Kiewitz
svn-id: r50721
2010-06-18SCI: Rewrap some overlong commentsMax Horn
svn-id: r50012
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
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-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-05SCI: drawMenuBar, drawStatus now called directly and w/o SciGuiMartin Kiewitz
svn-id: r47913
2010-02-01SCI: class menu renamed to GfxMenu - now getting called directly, also fix ↵Martin Kiewitz
for loading savedgames svn-id: r47792
2010-01-05More renamingFilippos Karapetis
svn-id: r47009
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007
2010-01-05SCI: Removed the old graphics codeFilippos Karapetis
svn-id: r47005
2009-12-21Fixed menus in multilingual SCI01 gamesFilippos Karapetis
svn-id: r46460
2009-11-12The menu bar code is no longer used in the new graphics code, and the menu ↵Filippos Karapetis
state is no longer stored in saved games svn-id: r45854
2009-11-03SCI/newgui: SciGuiMenu partially implementedMartin Kiewitz
svn-id: r45634
2009-11-02SCI: Fix warning about unused variableMax Horn
svn-id: r45614
2009-11-02SCI: SciGuiMenu created, kMenu-related stuff now using SciGuiMartin Kiewitz
svn-id: r45612
2009-10-30- Removed status_bar_foreground and status_bar_background variables from the ↵Filippos Karapetis
engine state - Implemented clearMenuBar() in the new graphics code - Removed the "status_bar" command, which was used to set custom colors for the status bar svn-id: r45538
2009-10-30Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full ↵Filippos Karapetis
screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup. svn-id: r45536
2009-10-29Moved some menu code outside the INCLUDE_OLDGFX safeguardsFilippos Karapetis
svn-id: r45496
2009-10-28Changed some of the menu code to use new graphics functionsFilippos Karapetis
svn-id: r45493
2009-10-28Wording. Added warnings for unimplemented menu-related functions in the new ↵Filippos Karapetis
GUI code svn-id: r45489
2009-10-28Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵Filippos Karapetis
(defined in sci.h) svn-id: r45459
2009-10-22Fixed a crash when selecting menu itemsFilippos Karapetis
svn-id: r45334
2009-10-19Changed mapPointer() to accept a Common::Rect, thus removing the reference ↵Filippos Karapetis
to gfx_widgets.h svn-id: r45242
2009-10-18SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicitMax Horn
svn-id: r45234
2009-10-09SCI: drawMenuBar/clearMenuBar now using gui class, currently unimplemented ↵Martin Kiewitz
in newgui, but so wont get affected by oldgui switching to visualScreen anymore (e.g. qfg2) svn-id: r44837
2009-10-07- Cleaned up the cursor codeFilippos Karapetis
- Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760
2009-10-05SCI/newgui: changed the way dithering works on ega games, also default value ↵Martin Kiewitz
change for kDrawStatus svn-id: r44679
2009-10-05SCI: kDrawStatus changed, dont call gui if no text receivedMartin Kiewitz
svn-id: r44674
2009-10-05SCI: kDrawStatus now calls s->gui->drawStatus with NULL if no text givenMartin Kiewitz
svn-id: r44673
2009-10-05SVN/newgui: kDrawStatus implementedMartin Kiewitz
svn-id: r44670
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
2009-10-01SCI: cleanupWillem Jan Palenstijn
svn-id: r44528
2009-10-01Rewrote weird-looking code, which might lead to undefined behavior, ↵Filippos Karapetis
according to GNU svn-id: r44523
2009-09-29- Changed the unimplemented debug SCI kernel functions (InspectObj, ↵Filippos Karapetis
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging - Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack - Removed kUnknown() and kStub() - Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now svn-id: r44461
2009-09-27SCI: Major string handling update.Willem Jan Palenstijn
All string access to segments should now work with both raw and non-raw (reg_t) segments, using the new utility functions in segMan. There will likely be regressions. svn-id: r44388
2009-09-25SCI: Fix a memory leakMax Horn
svn-id: r44357
2009-09-14SCI: Rename SegManager::kernelDeref*() methods to SegManager::deref*()Max Horn
svn-id: r44083
2009-09-14SCI: kernelDeref*() functions are now seSegmentManager methodsMax Horn
svn-id: r44082
2009-09-06SCI: Rename resManager -> resMan; segManager -> segManMax Horn
svn-id: r43980
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-09-02SCI: Renamed kernel_dereference_* to kernelDeref*, and added kernelDerefStringMax Horn
svn-id: r43907
2009-09-02SCI: funct_nr is not used in 99% of all opcodes -- hide it in those (to be ↵Max Horn
removed eventually) svn-id: r43905
2009-08-25- Replaced more cases of EngineState parametersFilippos Karapetis
- Made some version comparisons for old SCI0 versions easier to read - Removed the GET_SEL32SV macro svn-id: r43729