aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/menu.cpp
AgeCommit message (Collapse)Author
2014-03-02TOLTECS: Reduce the scope of one more variableStrangerke
2014-03-02TOLTECS: Apply CppCheck performance recommendationsStrangerke
2014-02-18TOLTECS: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-03TOLTECS: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03TOLTECS: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-01-04TOLTECS: When a new dialog opens, highlight active item (if any)Torbjörn Andersson
We do this by acting as if the mouse just moved to its current position. I first noticed this on the original save/load dialogs.
2013-01-04TOLTECS: Scroll original save/load dialog to bottom on openingTorbjörn Andersson
This doesn't behave quite like the original - it seems the original does not take the fake last entry into account when saving? - but I think it's actually a bit more consistent this way.
2013-01-04TOLTECS: Hide/show arrows in original save/load dialogsTorbjörn Andersson
The arrows are only visible when there are savegames to scroll to in that direction.
2013-01-04TOLTECS: Small adjustments to the dialogs to better match originalTorbjörn Andersson
There are still lots of things that don't look or act quite like the original, but it's getting late here.
2013-01-02TOLTECS: Fix the colors of the arrows in the sound volume screenFilippos Karapetis
2013-01-02TOLTECS: Add an option to use the ScummVM save/load screensFilippos Karapetis
2013-01-02TOLTECS: Some more menu color fixesFilippos Karapetis
2013-01-02TOLTECS: Fix more menu colorsFilippos Karapetis
2013-01-02TOLTECS: Fix menu colorsFilippos Karapetis
2012-10-03TOLTECS: Fix menu positining in the simplest way I can think ofTorbjörn Andersson
All this does is to offset the image when copying it to the screen, and offset the position when checking for clickable items at specific coordinates. It looks and works right to me. I guess that just leaves the buildColorTransTable2() function, but I'm useless for that so someone else will have to look into it.
2012-10-03TOLTECS: Added TODO comment about main menu positionTorbjörn Andersson
I'm guessing that the unused _top variable is what causes the main menu to be drawn at the wrong position at the very start of the game. At that point, it's 30 which seems to be by how much the Y coordinate is off.
2012-10-02TOLTECS: Draw shaded rects to "front screen", not "background"Torbjörn Andersson
The shadeRect() function is called just once (at the time of writing) and immediately afterwards the "front screen" is copied to the "background". Therefore, drawing to the background doesn't seem to make any sense. The colors are wrong, but I assume that's for the same reason that the text colors are wrong as well.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-21TOLTECS: Replace ceil with integer maths.Johannes Schickel
This removes an unnecessary use of floating point maths.
2012-09-11TOLTECS: Open the save menu with F5 and the load menu with F9Filippos Karapetis
Also, this changes the dialog skip key to space instead of escape
2012-09-11TOLTECS: Implement volume handling and toggling of speech/textFilippos Karapetis
2012-06-16TOLTECS: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-01-29TOLTECS: Some formatting fixes.Torbjörn Andersson
2011-11-26TOLTECS: Don't call c_str() on the return value of Common::String::format()Filippos Karapetis
2011-11-26TOLTECS: Reduce code duplicationFilippos Karapetis
2011-11-20TOLTECS: Removed duplicate assignmentFilippos Karapetis
2011-11-20TOLTECS: Implemented Quit game functionality in the menuFilippos Karapetis
2011-11-20TOLTECS: Disabled some leftover unnecessary debug outputFilippos Karapetis
2011-11-20TOLTECS: Some cleanup of the menu codeFilippos Karapetis
2011-11-20TOLTECS: Bugfixes for the game menuFilippos Karapetis
- The game's background is now restored when the menu closes - Fixed a memory leak - Removed dead code
2011-11-20TOLTECS: Fix Compilation After Graphics::Surface PixelFormat changes.David Turner
2011-11-20TOLTECS: Added comments on main game loop, and added a FIXMEFilippos Karapetis
2011-11-20TOLTECS: Reduced header dependenciesFilippos Karapetis
2011-11-20TOLTECS: Fix compilationBenjamin Haisch
2011-11-20TOLTECS: - More work on the menu system, saving and loading from there is ↵Benjamin Haisch
now possible - Add blastSprite method which draws a sprite directly to the frontScreen without the renderQueue - Add F10 scancode in sfHandleInput to open the menu
2011-11-20TOLTECS: - Work on the menu system (use strings from resources instead of ↵Benjamin Haisch
hardcoded ones) - ...and load the system strings from the resource on startup - Only redraw menu screen when required - Change parameters for some text functions from byte* to const byte* - Rename some mouse vars
2011-11-20TOLTECS: - Don't add test entries to the save/loadgame menuBenjamin Haisch
2011-11-20TOLTECS: Fixed compilationBenjamin Haisch
2011-11-20TOLTECS: Silenced warningFilippos Karapetis
2011-11-20TOLTECS: Misc fixes in the menu systemBenjamin Haisch
2011-11-20TOLTECS: Implemented scrolling in the savegame listBenjamin Haisch
2011-11-20TOLTECS: More work on the menu; started the savegame page and implemented ↵Benjamin Haisch
editing of the savegame description
2011-11-20TOLTECS: More work on the menu; started with the saveload menu page and ↵Benjamin Haisch
fixed some early bugs
2011-11-20TOLTECS: More work on the menuBenjamin Haisch
2011-11-20TOLTECS: Started implementing the menu from scratchBenjamin Haisch
2011-11-20TOLTECS: Silenced some warningsFilippos Karapetis
2011-11-20TOLTECS: Reworked the ArchiveReader and ResourceCache classes.Benjamin Haisch
ResourceCache needs more work since resources are never freed (which is bad).
2011-11-20TOLTECS: - Added menu system prototype (may change later)Benjamin Haisch
- Added movie player (still incomplete, sound is not yet implemented) Both are not yet hooked to the engine. - Added code for microtile arrays (from the SEL - Simple DirectMedia Layer Extension Library project), under the LGPL This will be used as dirty rectangle "manager". This is experimental for now, it may be removed later.