aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
AgeCommit message (Collapse)Author
2013-05-14TOLTECS: Fix operator order (pre-decrement instead of post-decrement)Filippos Karapetis
A typo in commit 98fa064. Thanks to LordHoto for pointing that out
2013-05-14TOLTECS: Fix bug #3613032 - "TOLTECS: Crash during peace pipe coughing scene"Filippos Karapetis
Check for the end of the movie resource before buffering more audio chunks. This avoids reading past the end of the movie resource. Also, clean up some movie related checks
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2013-04-26TOLTECS: Ignore invalid script opcodes (script bugs) - bug #3604025Filippos Karapetis
The original ignores invalid opcodes as well, according to johndoe
2013-04-26TOLTECS: Remove dead codeFilippos Karapetis
The clearSprites() method is a leftover from the older sprite drawing code
2013-03-15TOLTECS: Work around undefined subtitle behaviour at script loadingTorbjörn Andersson
It may be because of an underlying bug, but there is at least one case where a script is unloaded and replaced by another script while that script slot still has an active subtitle. This causes it to print random garbage for me, and may be causing crashes for others. I've discussed this patch with johndoe, and he was ok with it, so let's see how it works out.
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2013-01-22TOLTECS: Don't change the archive position when loading a resource (bug ↵Filippos Karapetis
#3601567)
2013-01-22TOLTECS: Whitespace fixes and explanation of some magic valuesFilippos Karapetis
2013-01-13TOLTECS: Fix bug #3600166 - "TOLTECS: Parrot speech cuts off Fenimore's in ↵Filippos Karapetis
Cemetery"
2013-01-13TOLTECS: Replace a magic value with its appropriate enumFilippos Karapetis
2013-01-13TOLTECS: Whitespace fixesFilippos Karapetis
2013-01-13TOLTECS: Fix bug #3599370 - "TOLTECS: Text on intro video not shown as per ↵Filippos Karapetis
original"
2013-01-13TOLTECS: Whitespace fixesFilippos Karapetis
2013-01-08TOLTECS: Fix script bug #3599964 - "TOLTECS: Crash when entering cave"Filippos Karapetis
2013-01-06TOLTECS: Add detection for the English demo and correct the German oneFilippos Karapetis
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