Commit Graph
53 Commits
Author SHA1 Message Date
Colin Snover 87285ef609 SWORD25: Fix possible redefinition of FLT_EPSILON 2017-11-17 22:47:59 -06:00
ottogin 25c852f1a5 SWORD25: Fix frozen/flickering title menu movie
Fixes bug #6978: Unload old movie before loading a new one
2016-03-14 03:29:03 +03:00
Christian Krause d39f93af68 SWORD25: Draw next movie frame only when an update is needed
This fixes the problem that the movies are played too fast
and get out of sync with additionally played speech samples.
2015-05-03 12:19:17 +02:00
Johannes Schickel bad7cdd3a6 SWORD25: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel 1550e9804b SWORD25: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Matthew Hoops 92432a136b VIDEO: Convert TheoraDecoder to the new AdvancedVideoDecoder API 2012-08-13 16:25:03 -04:00
Johannes Schickel 5f65cf9679 SWORD25: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Matthew Hoops 9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Johannes Schickel 0e17497110 SWORD25: Do not cast away const qualifier. 2012-04-05 00:40:30 +02:00
Paul Gilbert fcae7bb497 SWORD25: Fix to properly signal when movie playback has ended 2011-05-19 21:52:45 +10:00
Matthew Hoops 14e1cc728f SWORD25: Properly use endOfVideo() 2011-05-18 10:05:14 -04:00
Matthew Hoops e6452518dd SWORD25: Begin fixing the TheoraDecoder implementation
getFrameRate() and endOfVideo() have been fixed so it can be used as a standalone decoder. a/v sync still needs to be fixed
2011-05-15 02:20:49 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel c3669443ec SWORD25: Prefer Surface::format over Surface::bytesPerPixel. 2011-04-17 20:58:07 +02:00
Max Horn 357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00
Filippos Karapetis 2e42c2d11d SWORD25: Some translations, and a bugfix. Disabled a hack.
Translated some comments, and pushed the indirect rendering define to the header
file, so that the engine won't try and update the screen with direct movie rendering.
Also, the thumbnail hack has been disabled, as it doesn't really work (at least not for
me: all the thumbnails are gray)

svn-id: r55663
2011-01-30 20:34:47 +00:00
Filippos Karapetis 04af67d736 SWORD25: Fixed compilation
svn-id: r55463
2011-01-23 14:57:21 +00:00
Filippos Karapetis 00a0f8d15d SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
svn-id: r55462
2011-01-23 14:49:50 +00:00
Matthew Hoops 375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Max Horn e761f76653 SWORD25: Get rid of most of the 'kernel service/superclass' code
svn-id: r53835
2010-10-25 22:41:25 +00:00
Eugene Sandulenko 6629efc676 SWORD25: Enforced code formatting rules in rest of the engine
svn-id: r53626
2010-10-19 21:03:33 +00:00
Eugene Sandulenko bbd95da899 SWORD25: Fix engine exit when running without theoradec
svn-id: r53622
2010-10-19 20:52:06 +00:00
Eugene Sandulenko d94435eebd SWORD25: Enforce code naming conventions in gfx/graphicengine*
svn-id: r53621
2010-10-19 20:51:21 +00:00
Paul Gilbert 96585f24d9 SWORD25: Fix unloading of movies so the menu animation properly loops
svn-id: r53474
2010-10-15 10:52:23 +00:00
Eugene Sandulenko f67bbc4ecc SWORD25: Attempt to optimize movie rendering
Current code makes about 5 blits of each frame which is a huge
overhead. This code is an attempt to make that 1. Doesn't work yet
as the rendering pipe keeps blitting invisible pictures.

svn-id: r53459
2010-10-14 20:44:44 +00:00
Filippos Karapetis 96e05a1ff9 SWORD25: Hopefully fix compilation when libtheora is not present
svn-id: r53439
2010-10-13 17:42:56 +00:00
Filippos Karapetis d83a70af43 SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure)
svn-id: r53418
2010-10-13 13:32:30 +00:00
Filippos Karapetis f2d9319d9e SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure)
svn-id: r53417
2010-10-13 13:27:55 +00:00
Filippos Karapetis 681ec59292 SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.h
This define can be used to disable building of the Theora decoder, and thus makes
libtheora optional (therefore resolving an item in the Sword25 TODO). Disabling the
Theora decoder will effectively disable the game's videos

Note that running the game with the Theora decoder disabled is still untested

svn-id: r53416
2010-10-13 13:07:16 +00:00
Eugene Sandulenko bf22def884 SWORD25: Enforce code naming conventions in fmv/*
svn-id: r53388
2010-10-13 00:06:37 +00:00
Eugene Sandulenko 8582c1ad57 SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine
svn-id: r53380
2010-10-13 00:02:51 +00:00
Eugene Sandulenko e5ac21dcac SWORD25: Fix some warnings
svn-id: r53338
2010-10-12 23:44:14 +00:00
Eugene Sandulenko 06bce68860 SWORD25: Comply to the code conventions for several classes
svn-id: r53310
2010-10-12 23:32:32 +00:00
Eugene Sandulenko 086f5961b6 SWORD25: unsigned int -> uint
svn-id: r53309
2010-10-12 23:30:00 +00:00
Eugene Sandulenko 77cfc17075 SWORD25: Formatting fixes
svn-id: r53302
2010-10-12 23:23:48 +00:00
Eugene Sandulenko 3b80a93782 SWORD25: Put back changes accidentally removed in previous merge.
svn-id: r53301
2010-10-12 23:23:29 +00:00
Paul Gilbert 3d3f1db15c SWORD25: Merge of my pending changes to movie playback
svn-id: r53300
2010-10-12 23:23:10 +00:00
Eugene Sandulenko 579d872e96 SWORD25: Bugfixes for video playback.
svn-id: r53299
2010-10-12 23:22:46 +00:00
Eugene Sandulenko f06db87a0e SWORD25: Implement playback. Blitting is TODO.
svn-id: r53298
2010-10-12 23:22:24 +00:00
Eugene Sandulenko 384468c014 SWORD25: Started to hook TheoraDecoder. Crashes at startup.
svn-id: r53297
2010-10-12 23:22:01 +00:00
Eugene Sandulenko f71295ab6d Revert "SWORD25: Commit of in-progress MoviePlayer code"
This reverts commit cb95db7cc0.

svn-id: r53296
2010-10-12 23:21:28 +00:00
Paul Gilbert cb95db7cc0 SWORD25: Commit of in-progress MoviePlayer code
Frames aren't being corrected decoded yet; still trying to locate the cause

svn-id: r53295
2010-10-12 23:20:33 +00:00
Eugene Sandulenko b01994a53b SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.

svn-id: r53261
2010-10-12 22:59:01 +00:00
Eugene Sandulenko be44216e5c SWORD25: eliminated BS_ prefix in all but kernel/
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko 485ff15d23 SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/
svn-id: r53258
2010-10-12 22:53:49 +00:00
Eugene Sandulenko 47904bc7b2 SWORD25: Mass-astyle.
svn-id: r53222
2010-10-12 22:35:55 +00:00
Eugene Sandulenko 9b3e26e7a2 SWORD25: Start for VideoDecoder-compatible Theora player.
svn-id: r53206
2010-10-12 22:22:33 +00:00
Eugene Sandulenko bed623b11e SWORD25: Fix compilation
svn-id: r53193
2010-10-12 22:15:10 +00:00