aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-03Use File::size() instead of stat() to find the size of a file.Torbjörn Andersson
svn-id: r17900
2005-05-03Add a few more HE demos.Travis Howell
svn-id: r17899
2005-05-02Const correctnessMax Horn
svn-id: r17898
2005-05-02Don't let drawSprite() modify the SpriteInfo struct.Torbjörn Andersson
svn-id: r17897
2005-05-02Add temporary hack for wizImages using compression type 2 for now.Travis Howell
svn-id: r17896
2005-05-02Add work around for script bug in the first version of pajama.Travis Howell
svn-id: r17895
2005-05-02Cleanup. Most of is simply moves the credits code out of Logic and intoTorbjörn Andersson
Screen. I've also added an unused "splash screen" function that displays the image that used to be shown by CacheNewCluster() while copying a data file from CD to hard disk. ScummVM doesn't do that, but it's a nice image that I wish we could do something useful with, and it's easier to have the code here for reference than having to dig through old revisions of the resource manager. svn-id: r17894
2005-05-02Don't assert that "domain" is valid. One of the cases where this functionTorbjörn Andersson
is called is when parsing the command-line, and we can't really expect the user to always type something sensible. svn-id: r17893
2005-05-02Add missing case for pajama.Travis Howell
Fixes music in MusicRm. svn-id: r17892
2005-05-01WhitespaceTorbjörn Andersson
svn-id: r17891
2005-05-01This bugfix might warrant a mention.Torbjörn Andersson
svn-id: r17890
2005-05-01If the sound ends before the cutscene, fall back on same synchronizingTorbjörn Andersson
mechanism as in the no sound case. In particular, don't hang while waiting for the sound to play far enough to go to the next frame. This should fix bug #1192646. svn-id: r17889
2005-05-01Always check for _numDirtyRects overflow in addDirtyRect(). The 'mouseRect'Torbjörn Andersson
case didn't. This fixes bug #1193344. svn-id: r17888
2005-05-01Missed two.Travis Howell
svn-id: r17887
2005-05-01Add feature flag for HE games with 16bit color.Travis Howell
svn-id: r17886
2005-05-01HE80+ games store current charset numberin VAR80.Travis Howell
Fixes crash in bb2demo. svn-id: r17885
2005-05-01Correction to copyHEPaletteColor()Travis Howell
Use checkRange(), like original. svn-id: r17884
2005-05-01Add extra cases for bb2demo.Travis Howell
svn-id: r17883
2005-05-01This should fix the negative frequency bug that caused some sound effectsTorbjörn Andersson
to not be played, and probably fixes wrong frequency on some that were played. It's all guesswork, though. I don't know if this is what the original did. svn-id: r17882
2005-05-01VAR 78 controls platform in HE80+ games.Travis Howell
svn-id: r17881
2005-05-01VAR_NUM_SOUND_CHANNELS is 88 in HE80+ games.Travis Howell
svn-id: r17880
2005-05-01Add extra cases for readdemo.Travis Howell
svn-id: r17879
2005-05-01Use correct safety check.Travis Howell
svn-id: r17878
2005-05-01Add missing safety checks.Travis Howell
svn-id: r17877
2005-04-30cleanup closestPtOnLineMax Horn
svn-id: r17876
2005-04-30Only allocate the actor sorting array onceMax Horn
svn-id: r17875
2005-04-30Convert windows path separators before opening wiz files.Eugene Sandulenko
svn-id: r17874
2005-04-30cleanupMax Horn
svn-id: r17873
2005-04-30Support for looping sounds.Torbjörn Andersson
svn-id: r17872
2005-04-30Reset additional fieldsTravis Howell
svn-id: r17871
2005-04-30Set sprite id & group number for wizImages.Travis Howell
svn-id: r17870
2005-04-30Add expanded _wizParams used by HE100 games.Travis Howell
Add u32 version variable. svn-id: r17869
2005-04-30Add a few case stubs for moondemo.Travis Howell
svn-id: r17868
2005-04-30Add missing case.Travis Howell
svn-id: r17867
2005-04-29Some sound resources in soccer2004 are compressed too.Travis Howell
Add Moonbase demo, as testing target only. svn-id: r17866
2005-04-29Added comment.Torbjörn Andersson
svn-id: r17865
2005-04-29Several HE100 games (moondemo/soccer2004) allow 1024 local scripts.Travis Howell
svn-id: r17864
2005-04-29Replaced rand()/srand() with RandomSource. Of course, util_getRandom() is aTorbjörn Andersson
pretty unnecessary function - we could call RandomSource directly - but let's take this one thing at a time. svn-id: r17863
2005-04-29Some limited - and quite possibly wrong - sound effects support. I haveTorbjörn Andersson
assumed, given their tiny size, that the sound samples are 8-bit mono. Looping is not implemented yet. Some sounds are skipped since the engine asks that they be played at a negative sample rate. (I think there is more to this than just a simple signed/unsigned issue, because they sound wrong even if I treat the frequency as unsigned.) svn-id: r17862
2005-04-29Add comment to NES-specifix gfx hack with virtual screensEugene Sandulenko
svn-id: r17861
2005-04-29OoopsTravis Howell
svn-id: r17860
2005-04-29Add HE90 version of processActors().Travis Howell
Add HE71 class, for HE71+ specifics. svn-id: r17859
2005-04-29Remove extra whitespace.Travis Howell
svn-id: r17858
2005-04-29pajama3 requires GF_HE_LOCALIZEDTravis Howell
Add freddi2 specific filter for (PU1/PU2) prefix in subtitles. svn-id: r17857
2005-04-28Moved blast text/object code to ScummEngine_v6Max Horn
svn-id: r17856
2005-04-28Moved bundle based localization code to ScummEngine_v7Max Horn
svn-id: r17855
2005-04-28Extract code works will any WriteStream, not just MemoryWriteStreamMax Horn
svn-id: r17854
2005-04-28Moved Stream::eos() to ReadStream::eos()Max Horn
svn-id: r17853
2005-04-28 save load preparetionAndrew Kurushin
svn-id: r17852
2005-04-28This should fix a crash which could happen when placing several objects tooTorbjörn Andersson
close to each other on the ground. (Happened to me on the first level after destroying the voodoo doll, where I'd drop the banana, the soap and the false nose close to each other on the ground after using them.) Reasoning behind the change: From what I understand, map_itemsMap[] contains information for each "cell" of the map about which objects are there. Each cell can contain two objects which are stored in the upper and lower byte of a 16-bit word. When dropping an object, it is written into map_itemsMap[], but not just to the indicated cell but also to a few of the surrounding ones. Presumably to make it easier to pick it up afterwards. When writing an object to a cell, we check if one of the bytes is already occupied. If it is, write to the other byte. Otherwise, write to that byte. (If both bytes are occupied, one will be overwritten.) The old code assumed that if one byte was free at position (x,y) the same byte would automatically be the free one in the surrounding cells. This could cause bad values in the array, since the item was added to an existing value, rather than replacing it. This new code makes the check for each cell that is modified. (It also gets rid of some code duplication.) svn-id: r17851