Commit Graph
61292 Commits
Author SHA1 Message Date
Filippos Karapetis 6bdc262c07 NEVERHOOD: Move some more cheat code to the cheat console command 2013-06-12 11:35:48 +03:00
Filippos Karapetis 323fe8c45b NEVERHOOD: Stop all sounds before restoring / restarting
This fixes the static heard when loading a saved game to a scene with
music, when the current scene also has music
2013-06-12 11:35:47 +03:00
Filippos Karapetis 9d489e82ce NEVERHOOD: Remove or silence by default some more debug output 2013-06-12 11:35:47 +03:00
Strangerke eedf510c2d HOPKINS: Fix glitch in Polish demo when leaving the first room
Thanks Greencis for reporting it
2013-06-12 08:22:41 +02:00
Torbjörn Andersson 72e2fbc1ae NEVERHOOD: Fix GCC warnings about shadowed variables 2013-06-11 18:26:26 +02:00
Filippos Karapetis 974e7e80a8 NEVERHOOD: Remove cheat debug code, and introduce a new command, "cheat" 2013-06-11 18:57:14 +03:00
johndoe123 d4f3f6baa4 NEVERHOOD: Fix warning about shadowed variable 2013-06-11 11:39:28 +02:00
johndoe123 add321c930 NEVERHOOD: Try to fix the Smacker issues inside of SmackerPlayer only (instead the numerous classes using it)
SmackerPlayer now creates a surface in the constructor and deletes it in the destructor. There will be only this surface during the lifetime of the player, so there shouldn't be any issues any more when the player is reused for different Smacker files. This is imo nicer than to remove/add the surface.
I kept the several openSmacker since it wraps some code which is nice.
2013-06-11 11:33:05 +02:00
Filippos Karapetis 19e92a09fc NEVERHOOD: Fix crashes in scene 3009 (cannon scene), and add a FIXME 2013-06-11 11:47:50 +03:00
Filippos Karapetis 8fee784965 NEVERHOOD: Cleanup, merge some duplicate code 2013-06-11 11:47:50 +03:00
Strangerke 90a8b1b781 HOPKINS: Fix glitch at the end of the intro caused by a double long fade out
Thanks Greencis for reporting it
2013-06-11 08:21:01 +02:00
Strangerke daebd2657a TONY: Add detection for German "Shoe Box", bug #3582420 2013-06-11 08:11:45 +02:00
Strangerke 9c0297bc9e TONY: Add detection for English version unpacked
Thanks Tomaso for reporting the problem
2013-06-11 07:54:49 +02:00
Torbjörn Andersson ad38029e6e TONY: Remove varargs from mpalQueryCORO(). CID 1002105
It didn't always reach va_end(), but rather than adding a call it
makes more sense to just drop the varargs from it, since it didn't
use it anyway.
2013-06-10 20:07:33 +02:00
johndoe123 36a88d2f72 NEVERHOOD: Check that the supplied nhc.exe is the correct one 2013-06-10 12:01:37 +02:00
Filippos Karapetis 0d3902b345 NEVERHOOD: Change the debuglevel of the scene changing debug output
These are shown on each scene change, but should no longer be needed
to be enabled by default, since we can now use the debugger to check
and change the current scene
2013-06-10 10:33:31 +03:00
Matthew Hoops 8dace22f97 COMMON: Fix custom NE resource type names 2013-06-09 21:18:33 -04:00
Filippos Karapetis a01b8a5174 NEVERHOOD: Fix crash when viewing videos in the video viewer
The crash was caused by stale pointers, exactly the same as in commit
2e4f64066d
2013-06-10 03:42:44 +03:00
Strangerke 4d56fe773d HOPKINS: Fix code formatting 2013-06-09 23:12:34 +02:00
Filippos Karapetis d00f5c0aa7 NEVERHOOD: Add a console command to display the current surfaces 2013-06-09 17:13:23 +03:00
Filippos Karapetis 9e0c843c9f NEVERHOOD: Remove superfluous check 2013-06-09 17:11:24 +03:00
Filippos Karapetis f2d0f76939 NEVERHOOD: Fix a memory leak when changing modules 2013-06-09 16:08:40 +03:00
Filippos Karapetis a14cb193a9 NEVERHOOD: Add a debug console, together with a command to change rooms 2013-06-09 16:07:45 +03:00
Torbjörn Andersson 3dfe25504a SAGA: Add "fallthrough" comments to switch. CID 1003742, 1003743
I'm almost certain these are intentional fallthroughs. It makes
sense to handle the little-endian cases like the big-endian ones,
with the added FLAG_LITTLE_ENDIAN.
2013-06-08 23:51:29 +02:00
Torbjörn Andersson 2f0e43bb2e LURE: Fix bad operator in "hotspot" debug command, CID 1004147 2013-06-08 23:27:25 +02:00
Willem Jan Palenstijn dd003b6a28 COMMON: Add basic documentation for RDFT 2013-06-08 22:03:22 +02:00
Johannes Schickel bc358b77a8 COMMON: Improve comment in CosineTable::CosineTable.
This commit changes the comment to use the same variable names as we do in the
code. Furthermore, it also makes the comment a bit easier to grasp.
2013-06-08 21:56:48 +02:00
Johannes Schickel 4da5d11e1f COMMON: Try to document the SineTable/CosineTable table entries. 2013-06-08 21:56:48 +02:00
Johannes Schickel 4efc9b152c COMMON: Save memory by allocating only required entries in Cosine-/SineTable.
The tables only contain (2^bitPrecision)/2 entries. The code allocated twice
as many entries previously.
2013-06-08 21:47:52 +02:00
Johannes Schickel 21f87070af COMMON: Fix regression in SineTable creation.
This is a regression from f4ba8a6485. The
commit replaced the static cosine and sine tables with dynamically created
ones. In the process of that a copy&paste error happened which made the sine
table use the layout of the cosine table. This commit now changes the
dynamically created sine tables to conform to the layout of the previous
static tables.
2013-06-08 21:47:51 +02:00
Johannes Schickel 190ec9c2b6 Merge pull request #336 from madmoose/smacker-8-bit-audio-fix
VIDEO: Wrap 8-bit smacker audio properly
2013-06-08 08:17:51 -07:00
Tobia Tesan 4401f40f72 WINTERMUTE: Prevent warning about duplicate files when autodetecting.
Removed a call to BaseFileManager::registerPackages() in
WintermuteEngine::getGameInfo(), as the constructor for BaseFileManager
already calls registerPackages() once; another call should thus be
superfluous.
2013-06-06 23:34:06 +02:00
Tobia Tesan 4105805505 WINTERMUTE: Fix for unnecessary "WARNING: getChildren() failed for path:"
FSNode::getChildren() was called assuming that it returns 0 iff success.
Actually, it's the other way around.
2013-06-06 23:33:50 +02:00
Alyssa Milburn ac070ae0c0 MOHAWK: Use addSubDirectoryMatching for LB paths. 2013-06-06 21:41:47 +02:00
Alyssa Milburn 7840b5e4b9 COMMON: Add depth/flat parameters to addSubDirectoryMatching. 2013-06-06 21:41:14 +02:00
Dmitry Smirnov 1d0df53355 BUILD: GNU Hurd & kFreeBSD support
From: Petr Salinger <Petr.Salinger@seznam.cz>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711320
Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
2013-06-06 18:51:26 +02:00
Willem Jan Palenstijn c9f0e8149d ALL: Fix typo (succesful -> successful)
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2013-06-06 16:45:59 +02:00
Filippos Karapetis 7456a2ca23 TINSEL: Revert the incorrect flagging of DW2 entries as CD versions
This reverts the changes done to the DW2 entries in commit d4a354c1.

We only distinguish between floppy and CD versions if a game had both a
CD and a floppy version released. DW2 was only released as a CD version,
so the extra flagging of the DW2 entries as CD was redundant, and caused
confusion regarding previous saved games to users that readded the DW2
detection entries after this change
2013-06-06 01:26:02 +03:00
Strangerke b23c5d9522 HOPKINS: Fix glitch occurring in the intro of the Linux Demo.
Thanks greencis for reporting it
2013-06-06 00:24:35 +02:00
Willem Jan Palenstijn d12a3ac129 BUILD: install tony.dat 2013-06-05 22:56:38 +02:00
Torbjörn Andersson 9f83f9b6f7 LURE: Use correct deallocator, CID 1004041
The memory was allocated with Memory::alloc(), so it should be
freed with Memory::dealloc(), not delete.
2013-06-05 19:38:37 +02:00
Strangerke af76409408 HOPKINS: Fix 2 glitches reported by greencis in win95 demos 2013-06-05 08:24:11 +02:00
Torbjörn Andersson 08be916049 SCUMM: Verify sample width in Digital iMUSE callback. CID 1002112
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-04 06:11:41 +02:00
Torbjörn Andersson 1cc0e9cb88 TONY: Fix memory leak on save game failure (CID 1003579)
Though shouldn't it also alert the user to the failure?
2013-06-02 22:13:59 +02:00
Torbjörn Andersson 9d28a6f531 TONY: Fix potential memory leak
Unfortunately, I'm not sure where and when this function is called.
But this should be correct. CID 1003575
2013-06-02 22:00:25 +02:00
Torbjörn Andersson 52be12830b NEVERHOOD: Fix crash in scene 1105 (teddy bear panel)
Leaving the panel in scene 1105 only worked if the panel was open.
If the panel was closed, nothing would happen on the first click,
and on the second it would crash. If I understood this correctly,
it was because trying to leave while the panel was closed would
(incorrectly) mark it as open, and then it would crash when trying
to remove the objects behind the panel from the scene.
2013-06-02 10:54:37 +02:00
Torbjörn Andersson f8c0d354af SCUMM: Remove unused variable _quit
CID 1003018
2013-06-02 09:43:59 +02:00
Johannes Schickel 0e5bcd207b Merge pull request #332 from bluegr/roland_gs_cleanup
SCUMM: iMuse - Clean-up of Roland GS code (updated)
2013-06-01 19:40:27 -07:00
Tarek Soliman 39b0886186 MAEMO: Update debian/changelog 2013-06-01 21:06:42 -05:00
Torbjörn Andersson 86721390d2 LURE: Add missing va_end()
CID 1002106
2013-06-01 22:39:31 +02:00