aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/menu.cpp
AgeCommit message (Collapse)Author
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.