Commit Graph
97 Commits
Author SHA1 Message Date
Eugene Sandulenko 6ad8df4873 SCUMM: Fix some class initializations 2016-11-19 17:30:16 +01:00
Ori Avtalion 3ad6af92f2 SCUMM: Reduce audio header dependencies 2016-05-21 13:55:38 +03:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis 666a4f3a57 SCUMM: Adapt wording for the fix in commit f1c64c2afe 2015-02-03 12:35:17 +02:00
Thierry Crozat f1c64c2afe SCUMM: Fix handling of string resources in smash player for Steam mac games
The Dig Steam/mac uses LF instead of CRLF for end of line.
This fixes display of subtitles in that version. This also fixes the crash
described in bug #6796.
2015-02-03 08:51:06 +00:00
Johannes Schickel 3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Matthew Hoops 0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Max Horn 4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Max Horn 658080deed ALL: Avoid using is* macros from ctype.h
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.
2012-02-15 16:51:37 +01:00
Littleboy b694a78f62 ANALYSIS: Add static casts to is* functions
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-06-23 08:52:52 -04: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
Johannes Schickel bb9e82c3b3 SCUMM: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:33 +01:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Max Horn a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Max Horn 4e99cfc549 Switch from Common::tag2string(foo).c_str() to tag2str(foo)
svn-id: r48276
2010-03-18 15:04:38 +00:00
Max Horn 1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Max Horn dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00: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
Max Horn 7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Max Horn c489259353 Switch SCUMM from AppendableAudioStream to QueuingAudioStream
svn-id: r47183
2010-01-08 22:10:19 +00:00
Torbjörn Andersson 72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Paweł Kołodziejski 63208a20fd ops, remove some ancient change
svn-id: r44268
2009-09-23 10:49:18 +00:00
Paweł Kołodziejski 66df660e2a this should fix bug #2820389
svn-id: r44267
2009-09-23 10:40:13 +00:00
Torbjörn Andersson 2ba1da41e8 Silenced warning.
svn-id: r40464
2009-05-11 19:04:06 +00:00
Eugene Sandulenko efbc0f139b Fix bug #2678272: "FT: Russian version crashes on windows and psp"
svn-id: r40461
2009-05-11 18:34:54 +00:00
Max Horn 6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn 9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Torbjörn Andersson 8fc8531f70 Since no one has come up with any better suggestion... this should fix #2123258
("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-29 20:40:58 +00:00
Max Horn 706fb37061 Modified uncompress in common/zlib.h to return a bool, so that we don't have 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-16 11:42:21 +00:00
Max Horn f8ccd2dede SCUMM: Got rid of class Chunk
svn-id: r34518
2008-09-13 22:41:30 +00:00
Max Horn 15d16b94a7 SCUMM: Merged class Chunk & FileChunk
svn-id: r34517
2008-09-13 20:22:52 +00:00
Max Horn 655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Max Horn 5ceb635420 Merging more of the GSoC 2008 RTL branch: SCUMM
svn-id: r34253
2008-09-01 20:20:20 +00:00
Paweł Kołodziejski 1f04462011 remove broken code, but i'll add better feature into compression tool
svn-id: r34119
2008-08-24 07:54:36 +00:00
Kostas Nakos b809665671 do away with the smush force redraw hack
svn-id: r33991
2008-08-18 17:24:25 +00:00
Christopher Page e9c6b03fc7 SCUMM works with new GMM implementation
svn-id: r33001
2008-07-11 01:22:37 +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
Eugene Sandulenko ac54f3a26f Patch #1858158: BUILD: Plugin building cleanup
svn-id: r30041
2007-12-28 07:52:56 +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 0cccbb29d6 Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
svn-id: r28877
2007-09-08 11:15:27 +00:00
Max Horn 86d015c055 Added FIXME comments regarding use of AudioStream::openStreamFile
svn-id: r28112
2007-07-15 19:26:00 +00:00
Max Horn f4c0b853cc Fixed sound factory messup caused by my previous commit
svn-id: r28111
2007-07-15 19:24:00 +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 00b9bc7b36 Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
svn-id: r26594
2007-04-25 19:31:23 +00:00
Lars Persson 4c82e3ac23 Special filehandling for Symbian OS not needed in smushplayer anymore.
svn-id: r26106
2007-03-12 19:53:36 +00:00
Max Horn 5e2fe7dc7f cleanup
svn-id: r25910
2007-02-28 15:04:02 +00:00