aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
AgeCommit message (Collapse)Author
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
2011-11-21TOLTECS: Change deltaValue to be an int8, as char isn't always signedFilippos Karapetis
2011-11-21TOLTECS: Remove empty implementation of syncSoundSettings()Filippos Karapetis
2011-11-21TOLTECS: Cleanup, removed an obsolete TODOFilippos Karapetis
2011-11-21TOLTECS: Add missing namespace commentFilippos Karapetis
2011-11-21TOLTECS: Savegame changesFilippos Karapetis
- Add support for savegame removal - Remove kyra-specific code - Add save play time and creation date
2011-11-21TOLTECS: Removed TODO.txt. Contents now on Wiki Toltecs Engine Page.D G Turner
2011-11-20TOLTECS: Change the updateScreen() logic a bitTorbjörn Andersson
Updating the screen when getMillis() % 10 is 0 seems sub-optimal to me. It could be true several iterations in a row (shouldn't be harmful, since updateScreen is assumed to be cheap if the screen hasn't changed) or we could miss it every single time. Let's measure the time between updates instead, just to be safer.
2011-11-20TOLTECS: silence a couple gcc warningsAlex Bevilacqua
2011-11-20TOLTECS: Removed duplicate assignmentFilippos Karapetis
2011-11-20TOLTECS: Fixed typo in logicFilippos Karapetis
2011-11-20TOLTECS: Fixed compilation after the latest changes to GUI optionsFilippos Karapetis
2011-11-20TOLTECS: Slight cleanup of the audio codeFilippos Karapetis
2011-11-20TOLTECS: Always hide the game interface when showing a movieFilippos Karapetis
2011-11-20TOLTECS: Stop all sounds when exitingFilippos Karapetis
2011-11-20TOLTECS: CleanupFilippos Karapetis
2011-11-20TOLTECS: Updated TODOFilippos Karapetis
2011-11-20TOLTECS: Updated TODOFilippos Karapetis
2011-11-20TOLTECS: Updated TODOFilippos Karapetis
- Updated locations where the animation hack is necessary - Fixed crashes on scene changes (with a TODO) - MIDI Music is always XMIDI - sfClearScreen() doesn't seem to be necessary
2011-11-20TOLTECS: Fixed music loopingFilippos Karapetis
2011-11-20TOLTECS: Fixed typoFilippos Karapetis