Commit Graph
26 Commits
Author SHA1 Message Date
Eugene Sandulenko 6ad8df4873 SCUMM: Fix some class initializations 2016-11-19 17:30:16 +01:00
Johannes Schickel 3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +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
Max Horn 0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
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-04-12 16:53:15 +02:00
Max Horn 557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Torbjörn Andersson 0e1c4fccca Hopefully fixed the regression described in bug #2299682 ("FT: Crash in the 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-11-17 20:36:10 +00:00
Max Horn f8ccd2dede SCUMM: Got rid of class Chunk
svn-id: r34518
2008-09-13 22:41:30 +00:00
Max Horn 71a204d63c SCUMM: Merged class BaseChunk & Chunk; got rid of MemoryChunk
svn-id: r34516
2008-09-13 20:04:19 +00:00
Johannes Schickel 311e9165ed Proper delete[] formatting (this time all occurences should've been changed...)
svn-id: r31929
2008-05-07 15:09:10 +00:00
Johannes Schickel 600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn 5e2fe7dc7f cleanup
svn-id: r25910
2007-02-28 15:04:02 +00:00
Max Horn e7dc2c0d0c Workaround for bug #1586894
svn-id: r24582
2006-11-01 21:09:25 +00:00
Max Horn 10478617c6 SCUMM: Take advantage of the fact that Chunk now is a ReadStream subclass
svn-id: r24546
2006-10-28 01:28:41 +00:00
Max Horn 9698d133a6 SCUMM: Changed class Chunk (and subclasses) to inherit from Common::SeekableReadStream
svn-id: r24544
2006-10-28 01:20:19 +00:00
Max Horn 3652229147 SCUMM: Got rid of smush/chunk_type.h
svn-id: r24543
2006-10-28 00:45:58 +00:00
Max Horn 48e5ec67ff SCUMM: Further SMUSH audio channel cleanup; this time unified some code, and got rid of one set of memory buffers
svn-id: r24542
2006-10-28 00:18:13 +00:00
Max Horn d90762c430 SCUMM: Changed SaudChannel to return 8bit mono data (the mixer will do any necessary conversions for us, no need to waste memory like this); fix SmushMixer to not allocate buffers twice as big as necessary
svn-id: r24541
2006-10-28 00:04:50 +00:00
Max Horn 2b2be1a18d SCUMM: Unified some more SMUSH audio channel code
svn-id: r24538
2006-10-27 22:49:31 +00:00
Max Horn ec653efc8b SCUMM: Unified some SMUSH audio channel code
svn-id: r24536
2006-10-27 22:26:33 +00:00
Max Horn ad3723ac43 Replaced Chunk::ChunkString by tag2str
svn-id: r24325
2006-10-15 01:27:38 +00:00
Torbjörn Andersson 6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Max Horn 8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn 26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00