aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/scenery.cpp
AgeCommit message (Collapse)Author
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
2006-06-10More stub-filling + small clean-upSven Hesse
svn-id: r23012
2006-05-29- More GOB2 map conversionsSven Hesse
- Added Music_Dummy (for --music-driver=null) - Implemented IMDs. That took longer than I expected... On the bright side, Ween's intro now plays more correctly svn-id: r22754
2006-04-14- Seems like I forget a branch in Mult_v2::animate()Sven Hesse
- sub_1A52B is Scenery::updateStatic() svn-id: r21889
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-02-16Updating more opcodes for Gob2Sven Hesse
svn-id: r20731
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582