aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
AgeCommit message (Collapse)Author
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: Make aborting movies more reliableTorbjörn Andersson
Before, the main updateInput() might swallow attempts at aborting movies. Now all events are handled by the movie player's own handleInput(). As a side effect, it's no longer necessary to check if a movie is playing before removing subtitles when pressing space.
2013-01-04TOLTECS: Remove unnecessary calls to quitGame()Torbjörn Andersson
Calling quitGame() simply creates a new quit event. There's no need to do that when catching a quit event.
2013-01-04TOLTECS: Adjust verb drawing to look more like originalTorbjörn Andersson
Both the "wobble" and the positions were slightly off. I didn't want to change _verbLineY because for one thing it doesn't seem to affect the drawing of the verbs, and for another it seems to be stored in savegames because... squirrel!
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: Don't allow dialog skipping while movies are playingTorbjörn Andersson
2013-01-02TOLTECS: Silence Valgrind warningsTorbjörn Andersson
At the very least, _mainPalette[] was being used (partly?) uninitialised in buildColorTransTable(), causing lots of warnings.
2013-01-02TOLTECS: Cleanup of the script debug messagesFilippos Karapetis
2013-01-02TOLTECS: Add a debug consoleFilippos Karapetis
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
2013-01-02TOLTECS: CleanupFilippos Karapetis
2012-11-19TOLTECS: Remove unused, but set, variable, start.D G Turner
2012-10-06TOLTECS: Improve the shake screen effects during moviesTorbjörn Andersson
I don't know how often the original shook the screen (perhaps as often as it could?), but at least we now have the opportunity to shake the screen more than once per movie frame.
2012-10-06TOLTECS: Hide the mouse cursor while a movie is playing, like the originalFilippos Karapetis
Thanks to eriktorbjorn for noticing this
2012-10-06TOLTECS: Wait a bit after drawing each frameFilippos Karapetis
This reduces the CPU load considerably (it's around 10% now, down from 50%)
2012-10-06TOLTECS: Remove redundant screen updatesFilippos 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: Improve audio/video sync in the movie playerTorbjörn Andersson
At least on my computer, the sound would stall frequently after a while because the delay between frame was calculated from frame to frame. Now it's calculated from the start of the sound instead.
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-14TOLTECS: Adapt the movie chunk buffer allocation codeFilippos Karapetis
Thanks to wjp and LordHoto for their feedback
2012-09-11TOLTECS: Don't show movie subtitles when subtitles are disabledFilippos Karapetis
2012-09-11TOLTECS: Stop reallocating the chunk buffer on each movie frameFilippos Karapetis
This somewhat reduces the stuttering in the intro movie (but it's still there)
2012-09-11TOLTECS: Remove a superfluous seekFilippos Karapetis
2012-09-11TOLTECS: Read the sound rate for each video fileFilippos Karapetis
2012-09-11TOLTECS: Store channel volume/panning information in saved gamesFilippos Karapetis
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-07-03TOLTECTS: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-06-16TOLTECS: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
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-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2012-01-29TOLTECS: Some formatting fixes.Torbjörn Andersson
2011-12-05TOLTECS: Removed two goto statementsFilippos Karapetis
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-25TOLTECS: Add detection for Hungarian variant from bug #3440641.D G Turner
2011-11-24TOLTECS: findPath() endian fixes.Joost Peters
2011-11-24TOLTECS: Fix crash on Big EndianJoost Peters
2011-11-24TOLTECS: Save music in saved gamesFilippos Karapetis
Also, move all music resource related code into its own class
2011-11-21TOLTECS: Sync scene sounds when saving/loadingFilippos Karapetis