aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2005-04-28Out dated and pointless now.Travis Howell
svn-id: r17850
2005-04-28Add Macintosh version of putttime.Travis Howell
svn-id: r17849
2005-04-28Added new handleMouseOver to allow further refactoring of the V2 specific ↵Max Horn
verb code; added a TODO comment regarding the blast code svn-id: r17848
2005-04-28Refactor HE actor post/pre-processing code a bit (some more cleanup for HE90 ↵Max Horn
could probably be done, but I'll leave that to the HE folks for now :-) svn-id: r17847
2005-04-28Forgot to commit this, oops :-/Max Horn
svn-id: r17846
2005-04-28Comment on some MM NES oddity, I hope somebody can explain this :-)Max Horn
svn-id: r17845
2005-04-27Slightly more elegant LauncherDialog connector.Marcus Comstedt
svn-id: r17844
2005-04-27Added eos() method.Marcus Comstedt
svn-id: r17843
2005-04-27Patch #1186744 (Common line-drawing function)Max Horn
svn-id: r17842
2005-04-27Call blitCursor() when changing scaler to give it the opportunity to switchTorbjörn Andersson
between blurry and non-blurry cursor scaling, even if the scale factor remains unchanged. svn-id: r17841
2005-04-27Minor cleanup.Travis Howell
svn-id: r17840
2005-04-27Rename function.Travis Howell
svn-id: r17839
2005-04-27Minor clean up, HE games should always copy strings directly.Travis Howell
svn-id: r17838
2005-04-27Fix glitch when skipping AUX sequence in freddi.Travis Howell
Add missing bits of AUX code. svn-id: r17837
2005-04-27some load-save preparetionAndrew Kurushin
svn-id: r17836
2005-04-27Correct actor clipping in HE games.Travis Howell
The original games rect clipping was not as strict. svn-id: r17835
2005-04-27Use a pointer ref for RGBtoYUV, instead of an array, so that we can choose ↵Max Horn
to allocate RGBtoYUV on the heap; added a comment that tries to explain why RGBtoYUV and LUT16to32 are evil and slow and how they could be removed svn-id: r17834
2005-04-27Fix comment (copy & paste are evil)Max Horn
svn-id: r17833
2005-04-27Add feature flag for HE games which appear to have localized versions.Travis Howell
Allows accurate filtering of filename in subtitles. svn-id: r17832
2005-04-27Add some basic support for pjgames.Travis Howell
svn-id: r17831
2005-04-27fixed filehandling bugRobert Göffringmann
svn-id: r17830
2005-04-26Added a few more commentsMax Horn
svn-id: r17829
2005-04-26Use kVerbVirtScreen were appropriate; removed unused param from initVirtScreenMax Horn
svn-id: r17828
2005-04-26desaturatePalette is V8 specificMax Horn
svn-id: r17827
2005-04-26Fixed incorrect use of kMainVirtScreenMax Horn
svn-id: r17826
2005-04-26Save _hePalettes in HE99+ games.Travis Howell
svn-id: r17825
2005-04-26Save addtion HE opcodes specific variables.Travis Howell
svn-id: r17824
2005-04-26Since we don't store _CLUT_offs anymore, we can clean up the code related to ↵Max Horn
it now svn-id: r17823
2005-04-26Make use of the new loadRoomSubBlocks (which only loads static room data ↵Max Horn
now) in the save/load code; this also means we have to save a bit less data, and reduce code duplication svn-id: r17822
2005-04-26Clean up HE save/load code, at the cost of savegame compatibility (v71he and ↵Max Horn
upwards) svn-id: r17821
2005-04-26Comment correctionsMax Horn
svn-id: r17820
2005-04-26Added/corrected some comments; moved NES costume init code to a more ↵Max Horn
appropriate place, and cleaned it up svn-id: r17819
2005-04-26Removed the ugly saveOrLoadCursorImages hack and instead properly overload ↵Max Horn
ScummEngine::saveOrLoad; did the same for the V7 IMuseDigital save/load code svn-id: r17818
2005-04-26Call setupVolumes in a more appropriate part of the save/load codeMax Horn
svn-id: r17817