aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/movie.cpp
AgeCommit message (Collapse)Author
2014-02-18TOLTECS: Make GPL headers consistent in themselves.Johannes Schickel
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-04-26TOLTECS: Remove dead codeFilippos Karapetis
The clearSprites() method is a leftover from the older sprite drawing code
2013-01-22TOLTECS: Whitespace fixes and explanation of some magic valuesFilippos Karapetis
2013-01-13TOLTECS: Fix bug #3599370 - "TOLTECS: Text on intro video not shown as per ↵Filippos Karapetis
original"
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-02TOLTECS: Don't allow dialog skipping while movies are playingTorbjörn Andersson
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-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-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
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-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-20TOLTECS: Slight cleanup of the audio codeFilippos Karapetis
2011-11-20TOLTECS: Always hide the game interface when showing a movieFilippos Karapetis
2011-11-20TOLTECS: Fix bugsBenjamin Haisch
- Save scene parameters before playing a movie and restore them afterwards (fixes crash) - Fix text disappearing too fast - Implement script function sfGetCameraChanged - Replace nop script functions with stubs which print debug info when called - Some cleanup, remove obsolete TODOs
2011-11-20TOLTECS: Fix compilation after sound->audio directory rename.David Turner
2011-11-20TOLTECS: Reduced header dependenciesFilippos Karapetis
2011-11-20TOLTECS: - Fix regression in movie player (use drawScreen instead of ↵Benjamin Haisch
updateScreen)
2011-11-20TOLTECS: Fixed compilation with current SVN changesBenjamin Haisch
2011-11-20TOLTECS: Fixed compilation with the latest trunk changes.Filippos Karapetis
This change also unveiled a serious problem: the same include files are used EVERYWHERE (e.g. code manipulating the screen is using sound includes). Added a FIXME concerning this
2011-11-20TOLTECS: Fixed compilationBenjamin Haisch
2011-11-20TOLTECS: Fixed compilation with the latest sound changes in the trunkFilippos Karapetis
2011-11-20TOLTECS: Fixed compilationBenjamin Haisch
2011-11-20TOLTECS: - Fixed compilation after Fingolfin's latest series of commitsBenjamin Haisch
- Added a warning for the yet unimplemented palette transparency code - Removed "debug" calls from script, they weren't that useful - Removed unneccessary delete in the MoviePlayer - Fixed the renderer (hopefully?)
2011-11-20TOLTECS: - Implemented RTLBenjamin Haisch
- Fixed return values in savegame/loadgame - Some minor cleanup
2011-11-20TOLTECS: - Listing savestates via command line or LauncherBenjamin Haisch
- Loading/Saving during run time Other savestate functions yet todo. I'll probably remove the "original" in-game menu and move everything to the GMM.
2011-11-20TOLTECS: - Fixed Screen::updateTalkText (text x position was read ↵Benjamin Haisch
incorrectly and font color wasn't nibble-swapped) - Hooked up the movie player; movies can be aborted with Escape (not with mouse clicks at the moment because I was too lazy to implement it; funny, writing this explanation probably took longer :))
2011-11-20TOLTECS: Implemented preliminary sound playback; some stuff is still missing ↵Benjamin Haisch
(correct volumes etc.)
2011-11-20TOLTECS: Added sound to the movie player (finally). Still TODO: Ability to ↵Benjamin Haisch
abort movies.
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.