aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood
AgeCommit message (Collapse)Author
2013-08-08Merge pull request #369 from fingolfin/fix-neverhoodFilippos Karapetis
NEVERHOOD: Remove NRect constructor
2013-08-05NEVERHOOD: Remove NRect constructorMax Horn
Otherwise, every global variable of type NRect requires a constructor to be run, which can cause portability issue.
2013-08-03NEVERHOOD: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03NEVERHOOD: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-07-30NEVERHOOD: Silence noisy compiler warning.D G Turner
This is due to NULL being used. Switching to nullptr which is equivalent i.e. 0 should silence this.
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-07-09NEVERHOOD: Fix incorrect sound heard when pressing the ladder buttonFilippos Karapetis
When the ladder is down, pressing the ladder button shouldn't do anything
2013-07-04NEVERHOOD: Move the TODO into our wikiFilippos Karapetis
It can now be found at http://wiki.scummvm.org/index.php/Neverhood/TODO
2013-07-03NEVERHOOD: Add a new console command, "playsound"Filippos Karapetis
2013-07-03NEVERHOOD: Fix typo in variable nameFilippos Karapetis
2013-07-03NEVERHOOD: Fix save slot selectionFilippos Karapetis
My initial suggestion to fix the issue was made in 163023a, which broke the save slot selection logic. The actual save slot selection problem was fixed in commit 2ca36ab
2013-07-01NEVERHOOD: Fix cursor glitch before looking down the lowered bridgeFilippos Karapetis
The navigation scene type used was wrong, resulting in cursor glitches when moving the mouse cursor at the screen edges
2013-07-01NEVERHOOD: Fix mouse cursor in the statue screen with the ladder buttonFilippos Karapetis
The mouse cursor resource hash used in that scene was incorrect, resulting in broken palette
2013-07-01NEVERHOOD: Fix sound effect heard when the castle elevator door opensFilippos Karapetis
The condition where the elevator door opening sound is heard is triggered twice. Now, we prevent it being triggered a second time.
2013-07-01NEVERHOOD: Fix display of the dynamites on shelves in the dynamite roomFilippos Karapetis
2013-07-01NEVERHOOD: Slight cleanup to the navigation scene codeFilippos Karapetis
2013-07-01NEVERHOOD: Fix the second tape sprite in the whale roomFilippos Karapetis
The second tape is now correctly faced to the right
2013-06-28NEVERHOOD: Handle invalid save_slot more gracefully on startupTorbjörn Andersson
If the specificed savegame doesn't exist, start the game from the beginning. Before, it would just hang. The error handling is still quite primitive, though.
2013-06-28NEVERHOOD: Fix incorrect checks for the waterfall soundsFilippos Karapetis
Some of the "wall broken" checks were inverse, resulting in the waterfall sound being incorrectly heard when the wall was broken. Also, simplified some of the "wall broken" checks
2013-06-28NEVERHOOD: Use the ScummVM dialogs for saving/loadingFilippos Karapetis
An option has been added to use the original ones, if needed
2013-06-28NEVERHOOD: Remove superfluous description from a console commandFilippos Karapetis
2013-06-28NEVERHOOD: Add missing music when entering the Hall of Records buildingFilippos Karapetis
The "Everybody Way Oh" theme should be played in both of the first two rooms of the Hall of Records building
2013-06-28NEVERHOOD: Fix graphics glitch when opening the menuFilippos Karapetis
2013-06-28NEVERHOOD: Fix scene entrance when restoring in the Aqua (music) houseFilippos Karapetis
This looks to be a logic error in the constructor of module 2400, since all the other modules do not create scenes with the global entrance number when they are instantiated without an entrance (i.e. when loading). With that logic error, all the code that handled Kleymen's entrance to a scene after restoring was incorrectly skipped
2013-06-26NEVERHOOD: Stop sound updates while the main menu is activeFilippos Karapetis
2013-06-25NEVERHOOD: Fix bug in Module 1100, scene 2 which made the "Klayman, up here" ↵johndoe123
scene was unreachable. Sound bug still present, though.
2013-06-22NEVERHOOD: Fix warningEugene Sandulenko
2013-06-17NEVERHOOD: Fix Smacker errors in Scene1317 (bug #3613666)johndoe123
2013-06-15NEVERHOOD: Fix 2 off-by-one errors in the savegame slot selection boxFilippos Karapetis
2013-06-12NEVERHOOD: Hook the dump vars debug code into a command, "dumpvars"Filippos Karapetis
Also, did some minor cleanup of the console commands (alphabetical reordering)
2013-06-12NEVERHOOD: Fix a slight glitch with the symbols cheat commandFilippos Karapetis
Now, the countdown to show the next symbol is properly reset when the command is used
2013-06-12NEVERHOOD: Move some more cheat code to the cheat console commandFilippos Karapetis
2013-06-12NEVERHOOD: Stop all sounds before restoring / restartingFilippos Karapetis
This fixes the static heard when loading a saved game to a scene with music, when the current scene also has music
2013-06-12NEVERHOOD: Remove or silence by default some more debug outputFilippos Karapetis
2013-06-11NEVERHOOD: Fix GCC warnings about shadowed variablesTorbjörn Andersson
2013-06-11NEVERHOOD: Remove cheat debug code, and introduce a new command, "cheat"Filippos Karapetis
2013-06-11NEVERHOOD: Fix warning about shadowed variablejohndoe123
2013-06-11NEVERHOOD: Try to fix the Smacker issues inside of SmackerPlayer only ↵johndoe123
(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-11NEVERHOOD: Fix crashes in scene 3009 (cannon scene), and add a FIXMEFilippos Karapetis
2013-06-11NEVERHOOD: Cleanup, merge some duplicate codeFilippos Karapetis
2013-06-10NEVERHOOD: Change the debuglevel of the scene changing debug outputFilippos Karapetis
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-10NEVERHOOD: Fix crash when viewing videos in the video viewerFilippos Karapetis
The crash was caused by stale pointers, exactly the same as in commit 2e4f64066da7c08edcd17b5c66c6463887b836b4
2013-06-09NEVERHOOD: Add a console command to display the current surfacesFilippos Karapetis
2013-06-09NEVERHOOD: Remove superfluous checkFilippos Karapetis
2013-06-09NEVERHOOD: Fix a memory leak when changing modulesFilippos Karapetis
2013-06-09NEVERHOOD: Add a debug console, together with a command to change roomsFilippos Karapetis
2013-06-02NEVERHOOD: Fix crash in scene 1105 (teddy bear panel)Torbjörn Andersson
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-01NEVERHOOD: Removed debug (?) code that bypassed puzzleTorbjörn Andersson
The effect of the removed code was to bypass the potion-mixing puzzle while shrunken. The puzzle works fine for me, so there's no reason to keep this bypass. Also, it caused a dead code warning, CID 1022345.
2013-05-31NEVERHOOD: Made multi-line function-line macros saferTorbjörn Andersson
Wrapped the code in the SetUpdateHandler(), SetMessageHandler(), SetSpriteUpdate(), SetFilterX(), SetFilterY() and NextState() macros in "do { ... } while (0)". Otherwise you may fool yourself because in "if (condition) macro();" the "if" will only cover the first statement of the macro. CID 1022340, 1022341, 1022342, 1022343
2013-05-28NEVERHOOD: Silence two compiler warnings about set but unused variables.D G Turner