aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/smush
AgeCommit message (Collapse)Author
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-10-18BADA: Misc changes merged from appstore releaseChris Warren-Smith
2011-08-22SCUMM: Revert "Avoid calling malloc with new_size=0"Willem Jan Palenstijn
This reverts commit d6f7e5933657e2e6fcbd1accf9f8a4b77454daec, and marks the issue with a FIXME. The problem is that it not only skips the malloc, but also the other code in that block.
2011-08-21BADA: Avoid calling malloc with new_size=0Chris Warren-Smith
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-23ASM: Defines do not get mangleddhewg
2011-04-13SCUMM: Resolve some code duplicationMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-02-14SCUMM: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-30SCUMM: Fix Valgrind mismatched delete errors in SMUSH channel base class.David Turner
This was due to the SMUSH channel base class using new/delete to manage buffer, but the imuse_channel and saud_channel classes which subclass and override this using malloc/free. The more C++ solution of moving all to new/delete was tried, but the buffer is passed into a MemoryReadStream and free()'d there, so all classes have been moved to malloc/free instead. This is not a critical problem as the buffers are byte primitive type anyway. svn-id: r55660
2010-10-18SCUMM: Fix out of bound access (discovered by Code Analysis in MS VS2010; ↵Max Horn
thanks to aquadran for helping verify the fix) svn-id: r53575
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18Switch from Common::tag2string(foo).c_str() to tag2str(foo)Max Horn
svn-id: r48276
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-08Switch SCUMM from AppendableAudioStream to QueuingAudioStreamMax Horn
svn-id: r47183
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-09-23ops, remove some ancient changePaweł Kołodziejski
svn-id: r44268
2009-09-23this should fix bug #2820389Paweł Kołodziejski
svn-id: r44267
2009-09-11Remove excess spaces.Travis Howell
svn-id: r44029
2009-09-06Minor constness fixesBertrand Augereau
svn-id: r43974
2009-07-03Added more GCC_PRINTF attributes, and fixed resulting warnings in format stringsMax Horn
svn-id: r42054
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-11Silenced warning.Torbjörn Andersson
svn-id: r40464
2009-05-11Fix bug #2678272: "FT: Russian version crashes on windows and psp"Eugene Sandulenko
svn-id: r40461
2009-03-20SCUMM: Split intern.h into multiple headersMax Horn
svn-id: r39567
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-17Hopefully fixed the regression described in bug #2299682 ("FT: Crash in the ↵Torbjörn Andersson
intro (regression in r34516)"), after discussing with Fingolfin. We didn't use to check the size of the STRK chunk before, and he didn't remember why we do now, so I've removed that test again. svn-id: r35107
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-09-29Since no one has come up with any better suggestion... this should fix #2123258Torbjörn Andersson
("COMI: Crash after video (SAN) play"). The eos() function won't return true until we've tried to read *past* the end of the stream. svn-id: r34689
2008-09-16Modified uncompress in common/zlib.h to return a bool, so that we don't have ↵Max Horn
to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts) svn-id: r34576
2008-09-13SCUMM: Got rid of class ChunkMax Horn
svn-id: r34518
2008-09-13SCUMM: Merged class Chunk & FileChunkMax Horn
svn-id: r34517
2008-09-13SCUMM: Merged class BaseChunk & Chunk; got rid of MemoryChunkMax Horn
svn-id: r34516
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-01Merging more of the GSoC 2008 RTL branch: SCUMMMax Horn
svn-id: r34253
2008-08-24remove broken code, but i'll add better feature into compression toolPaweł Kołodziejski
svn-id: r34119
2008-08-18do away with the smush force redraw hackKostas Nakos
svn-id: r33991
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051