Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-08 | COMMON: Rename ConfigFile to INIFile. | Johannes Schickel | |
This clears up that 'ConfigFile' is actually a class handling only INI-files. | |||
2013-08-07 | Merge pull request #365 from lordhoto/protected-pixels | Johannes Schickel | |
Make Graphics::Surface::pixels protected. | |||
2013-08-04 | SCUMM: Fix backwards-in-same-array case of v72he::copyArray. | Alyssa Milburn | |
2013-08-04 | SCUMM: Add detection/version for Moonbase Commander v1.1. | Alyssa Milburn | |
2013-08-04 | SCUMM: Add comment about getPixels uses in BaseCostumeRenderer. | Johannes Schickel | |
2013-08-04 | SCUMM: Fix Loom (and some other graphics regressions). | Johannes Schickel | |
These are regressions from c05cb7f3bbcf4d64d4a938e0eb42065d8f3d3038. They were caused by VirtualScreen::getPixels differing from Surface::getBasePtr and I accidently used the former in some cases in the conversion. I also fixed a bug in debugger.cpp which exchanged x and y. | |||
2013-08-03 | SCUMM: Do not set Surface::pixels directly anymore. | Johannes Schickel | |
2013-08-03 | SCUMM: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | SCUMM: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2013-07-21 | SCUMM: Fix test before running VAR_SAVELOAD_SCRIPT2 (CID 1004135) | Torbjörn Andersson | |
This doesn't really make any difference because either both VAR_SAVELOAD_SCRIPT and VAR_SAVELOAD_SCRIPT2 exist, or neither does. But it feels more correct this way. | |||
2013-07-18 | Merge pull request #345 from countingpine/patch-1 | Johannes Schickel | |
SCUMM: More precise Player_Mac::durationToSamples | |||
2013-07-16 | SCUMM: Better Player_Mac::durationToSamples | countingpine | |
Uses the fact that 4*480*480 == 225 << 12, and the identity (a*b)>>n == (a>>n)*b + ((a%(1<<n))*b)>>n (assuming non-overflowing math), except the rhs uses smaller intermediate values and does not overflow(*). Compared to the original code, this uses 1 fewer division and eliminates the rounding error. (*) Technical note: In some cases the right hand side of the above identity still has possibilities of intermediate overflow, but only if b > (1 << n), or if (b << n) overflows, neither of which are true here. | |||
2013-07-15 | INSANE: Fix CID 1003734. Missing break in switch | Eugene Sandulenko | |
2013-07-15 | INSANE: Fix CID 1003733. Missing break in switch. | Eugene Sandulenko | |
In fact the code was wrong there due to copy-paste error | |||
2013-07-14 | JANITORIAL: Remove trailing whitespace | Sven Hesse | |
2013-07-09 | SCUMM: Add another French Windows version of Pajama Sam 2. | Kirben | |
2013-07-06 | SCUMM: Fix initGM() buffer overflow (CID 1032513) | Torbjörn Andersson | |
We're clearly using 12 bytes, not 11. | |||
2013-06-23 | SCUMM: Corrected Russian Full Throttle variant names | Eugene Sandulenko | |
2013-06-22 | SCUMM: Added another Russian variant of Full Throttle | Eugene Sandulenko | |
2013-06-04 | SCUMM: Verify sample width in Digital iMUSE callback. CID 1002112 | Torbjörn Andersson | |
Verify that 'bits' really is one of 8, 12 or 16 before decoding the data. It's probably always the case (unless the data files are damaged) but if it isn't we'll either try to queue NULL to the audio stream, or queue the same buffer more than once, or free the buffer more than once. All of which are bad, though Coverity only noticed the last of these cases. | |||
2013-06-02 | SCUMM: Remove unused variable _quit | Torbjörn Andersson | |
CID 1003018 | |||
2013-05-11 | SCUMM: Clean-up of Roland GS code | tcarey | |
1. Remove _sc55 bool. All Roland GS-capable devices have MT-32 sound/drum maps, so they should always be used when _enable_gs is set. 2. Always enable _native_mt32 if Roland GS mode is selected. I don't know why I never did this originally, since _enable_gs is automatically disabled for SCUMM v6+ games that use General MIDI tracks instead of MT-32 music. 3. Set master tune for GS devices to 442.0kHz. This is the master tune setting for the MT-32. | |||
2013-05-02 | COMMON: Change kPlatformPC to kPlatformDOS | Matthew Hoops | |
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows. | |||
2013-05-01 | SCUMM: Change NUM_SCRIPT_LOCALS to NUM_SCRIPT_LOCAL | Torbjörn Andersson | |
For consistency with NUM_SCRIPT_SLOT. | |||
2013-05-01 | SCUMM: Fix out-of-bounds access in runScript() debug messages | Torbjörn Andersson | |
I believe this fixes CID 1003954, 1003957, 1003958, 1003962 and 1003966. | |||
2013-04-30 | SCUMM: Cleanup | Torbjörn Andersson | |
We only need to initialize 'args' in runInventoryScript() when we are actually using them. | |||
2013-04-30 | SCUMM: Use correct array size when calling initializeLocals() | Torbjörn Andersson | |
The initializeLocals() function assumes that it can copy 25 elements when being provided an array of values. But this array was frequently a lot smaller than that. I've introduced a constant for the number of locals (though VirtualMachineState has one more for some reason), and fixed the array sizes in a number of places. CID 1003951, 1003952, 1003953, 1003955, 1003956, 1003959, 1003960, 1003961, 1003963, 100394, 1003965 | |||
2013-04-29 | SCUMM HE: fix crash introduced in a10ad272a84 | Eugene Sandulenko | |
2013-04-29 | SCUMM: Fix o100_videoOps subOp 0 | Matthew Hoops | |
football2002 endzone videos now display | |||
2013-04-28 | SCUMM HE: Plug memory leak. CID 1003582 | Eugene Sandulenko | |
2013-04-24 | SCUMM: Fix non-terminated string. CID 1003867 | Eugene Sandulenko | |
2013-04-23 | SCUMM: Fix football2002 field coordinates | Matthew Hoops | |
2013-04-22 | SCUMM: Fix a bug in football's nextPoint U32 opcode | Matthew Hoops | |
Seems to fix bug #3495704 | |||
2013-04-21 | INSANE: Fix potential buffer overflow. CID 1003866 | Eugene Sandulenko | |
2013-04-18 | ENGINES: Remove a bunch of unused private member variables | Max Horn | |
All instances uncovered by clang warnings. | |||
2013-04-06 | SCUMM: Add Italian Windows version of Freddi Fish 4. | Kirben | |
2013-04-03 | SCUMM: Add Italian Windows demos of Freddi Fish 4 and Putt-Putt Enters the Game. | Kirben | |
2013-04-02 | SCUMM: Hardly-even-worth-mentioning cleanup. | Torbjörn Andersson | |
2013-04-02 | SCUMM: Fix bug #3575444: "FT: Enemy behaviour in biker fight" | Eugene Sandulenko | |
Also fixed enemy behavior along the way. No wonder it differed from the original! | |||
2013-04-02 | SCUMM: More fixes in INSANE | Eugene Sandulenko | |
2013-03-30 | SCUMM: Fix more bugs in INSANE | Eugene Sandulenko | |
2013-03-30 | SCUMM: Fix several bugs in INSANE | Eugene Sandulenko | |
2013-03-30 | SCUMM: Fix bug #3546434: "SCUMM: FT glitches in Vulture encounter on old ↵ | Eugene Sandulenko | |
mine road" There was a missing Sfx call. | |||
2013-02-23 | ALL: Fix typo (existant->existent) | Willem Jan Palenstijn | |
2013-01-27 | SCUMM: Update handling of non so resources in Loom Mac. | Johannes Schickel | |
This changes the warning to a debug and also updates the comment a bit. Thanks to eriktorbjorn for checking Loom Mac in an emulator. | |||
2013-01-27 | SCUMM: Work around bug #3602239 ("Mac Loom crashes using opening...") | Torbjörn Andersson | |
Skip music resources that don't have the "so" (song?) tag. It is better than asserting, now that it turns out that they do exist. | |||
2013-01-26 | Merge pull request #301 from lordhoto/c++11-playground | Johannes Schickel | |
RFC: Allow use of override and nullptr. Also allow C++11 compilation. | |||
2013-01-09 | SCUMM: Cleanup ScummEngine_v80he::createSound() | Matthew Hoops | |
Added some comments to make it more readable. Switched usage of a temporary buffer and a double memcpy with a memmove. Also fixed a potential out-of-bounds write, thanks to LordHoto. | |||
2013-01-09 | SCUMM: Silence C++11 narrowing warnings. | Johannes Schickel | |
2013-01-02 | JANITORIAL: Fix or silence a couple of Clang analyzer warnings | Torbjörn Andersson | |
Clang will produce plenty of warnings (most of them seem to be of the "if the stars align the wrong way, this may happen" variety), but I don't have the time or patience to look at all of them. |