aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/scenery.cpp
AgeCommit message (Collapse)Author
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-07GOB: Fix object videos with more than 255 framesSven Hesse
A regression of the CoktelDecoder rewrite. svn-id: r53043
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-08-22GOB - Fix 2 bugs in Fascination Hebrew, now playable.Arnaud Boutonné
Again, thanks SylvainTV for the debugging efforts svn-id: r52288
2010-08-16Fascination - (SylvainTV) Always free anims when initializing the scenary. ↵Arnaud Boutonné
(Hopefully) Fixes every window display issues in lab, villa, picture labo, and lounge. svn-id: r52109
2010-08-08GOB: Handle VMD subtitles againSven Hesse
svn-id: r51916
2010-08-08GOB: Fix a VMD slot seeking regressionSven Hesse
svn-id: r51914
2010-08-08GOB: Partly fixing VMD slot playingSven Hesse
svn-id: r51913
2010-08-08GOB: Fix playing of slot videosSven Hesse
The actual frame content is still not there, though :P svn-id: r51911
2010-08-08GOB: Adapt the remaining bits to the new VideoPlayer interfaceSven Hesse
svn-id: r51895
2010-08-08GOB: Add constants for different surfaces/spritesSven Hesse
Add static const int kFrontSurface = 20; static const int kBackSurface = 21; static const int kAnimSurface = 22; static const int kCursorSurface = 23; static const int kCaptureSurface = 30; to class Draw and substitute the raw numbers in other files with those aliases, for readability. svn-id: r51852
2010-08-08GOB: Stub the new VideoPlayer interfaceSven Hesse
This is will be the new, less convoluted interface for playing videos within the gob engine. No actual functionality is implemented yet, and old functions are mostly commented out for now. svn-id: r51851
2010-08-08VIDEO: Stub a VideoDecoder-like CoktelDecoderSven Hesse
This creates a new CoktelDecoder class using the VideoDecoder interface, which will eventually become the new way to decode PreIMD, IMD and VMD videos. Since the VideoPlayer in gob is not yet ready for this, we're disabling all video playback in the gob engine for now. svn-id: r51850
2009-07-28Changing stuff around a bit so alignment requirements won't increaseSven Hesse
svn-id: r42857
2009-07-28Silencing two "empty loop body" warningsSven Hesse
svn-id: r42856
2009-07-24Adding subtitle support to WoodruffSven Hesse
svn-id: r42705
2009-06-25Plugging some memory leaksSven Hesse
svn-id: r41859
2009-06-24Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own ↵Sven Hesse
class svn-id: r41839
2009-06-22Putting evalBoolResult() and evalExpr() into ScriptSven Hesse
svn-id: r41760
2009-06-22Encapsulating script file accessSven Hesse
svn-id: r41753
2009-06-06GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to ↵Max Horn
SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references svn-id: r41299
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2008-06-19Only try playing object videos when the game version supports that (only ↵Sven Hesse
Woodruff, for now) svn-id: r32737
2008-05-26Changed anim/static PieceDesc loading, to allow for more sanity checks.Sven Hesse
This should take care of all invalid reads in renderStatic(), updateStatic() and updateAnim() svn-id: r32292
2008-05-24Added updateStatic()'s sanity checks to renderStatic() as well.Sven Hesse
Fixes an invalid read when entering the red light district svn-id: r32246
2008-05-17Fixing the "object videos not minding drawing order / limits" glitch in WoodruffSven Hesse
svn-id: r32146
2008-05-13Implemented support for object videos with more than 256 frames, this fixes ↵Sven Hesse
a lockup when entering the bar svn-id: r32087
2008-05-08Restructured sound codeSven Hesse
svn-id: r31937
2008-05-07Draw order related fixes.Sven Hesse
This also (finally) fixes the Gob3 draw order glitch (for real, this time) svn-id: r31915
2008-05-01Fixing object video related segfaultSven Hesse
svn-id: r31797
2008-04-27Implemented support for VMDs substituting object animations.Sven Hesse
Still far from being complete (and correct), but it's a start... - Only VMD "command" -3 is followed - Not all animation types are working - Timing is still off in most cases - Offsets are generally OK, but not always - No sound yet - Shouldn't segfault randomly, but I'm not entirely sure ;) svn-id: r31750
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-10-30Fixing the scenery/overlay redrawing in WoodruffSven Hesse
svn-id: r29324
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-25Some more safety checks and the first room's background can be seenSven Hesse
svn-id: r28204
2007-06-16Fixed invalid read from odd address in some cases (Gob1 EGA on PalmOS)Chris Apers
svn-id: r27487
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-09Fixed the background glitchSven Hesse
svn-id: r26438
2007-04-05- Minor cleanupSven Hesse
- Added Inter_v3 (for new opcode o3_getTotTextItemPart) - Some fixes to let Gob3 start with the first screen svn-id: r26383
2007-04-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
2007-03-29Fixing curly bracket styleSven Hesse
svn-id: r26326
2007-03-20Major clean-up, including:Sven Hesse
- Cutting down the code-dup - Plucking leaks - Removing dead/unused code - Properly naming "word_2342F"-style variables and functions (removing the warnings alongside) - Fleshing out the "stubby" functions - Moving functions and variables to more appropriate/logical places - Re-ordering functions and variables - Re-structuring functions - Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up) - Formatting - Getting rid off the classes "Anim", "Pack" and "Timer", along with their files svn-id: r26252
2007-03-02- Fixed the actor freeze issue in the garage in Bargon AttackSven Hesse
- Some minor fixes svn-id: r25921
2007-02-17- Added a warning when o1_checkData()/o2_checkData() can't find the file ↵Sven Hesse
it's supposed to check - Fixed the actor drawn over the background glitch in Bargon Attack - Plugged some leaks svn-id: r25651
2007-01-05Fixed the loading delay bug I introduced with the playing from CD fix (#1626308)Sven Hesse
svn-id: r25006
2006-07-08- Fixed a few mistakes that added up to look correct, fixing bargon's cursorSven Hesse
- Updated cursor drawing in general svn-id: r23429
2006-06-13More READ_LE_* -> MemoryReadStream conversion + minor cleanupSven Hesse
svn-id: r23089
2006-06-13Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTableSven Hesse
svn-id: r23078
2006-06-12Using MemoryReadStream for Scenery::loadAnim()Sven Hesse
svn-id: r23073
2006-06-12Fixing loading of Scenery::_animations[] + small gob2 cleanupSven Hesse
svn-id: r23066