80 Commits

Author SHA1 Message Date
Filippos Karapetis
9534ee0152 NEVERHOOD: Slight cleanup in Module2800::updateScene() 2013-09-17 11:48:18 +03:00
Filippos Karapetis
7625ae6718 NEVERHOOD: Move StaticScene into scene.h/.cpp 2013-09-14 12:39:57 +03:00
Max Horn
a993b8dc30 NEVERHOOD: Remove NRect constructor
Otherwise, every global variable of type NRect requires a constructor to be
run, which can cause portability issue.
2013-08-05 11:49:03 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Filippos Karapetis
37ebaa3763 NEVERHOOD: Fix incorrect sound heard when pressing the ladder button
When the ladder is down, pressing the ladder button shouldn't do
anything
2013-07-09 06:28:41 +03:00
Filippos Karapetis
0146b00148 NEVERHOOD: Fix typo in variable name 2013-07-03 05:48:55 +03:00
Filippos Karapetis
1b7681e9e2 NEVERHOOD: Fix cursor glitch before looking down the lowered bridge
The navigation scene type used was wrong, resulting in cursor glitches
when moving the mouse cursor at the screen edges
2013-07-01 12:46:01 +03:00
Filippos Karapetis
7804c9cc7f NEVERHOOD: Fix mouse cursor in the statue screen with the ladder button
The mouse cursor resource hash used in that scene was incorrect,
resulting in broken palette
2013-07-01 12:34:47 +03:00
Filippos Karapetis
318200cd86 NEVERHOOD: Fix sound effect heard when the castle elevator door opens
The condition where the elevator door opening sound is heard is
triggered twice. Now, we prevent it being triggered a second time.
2013-07-01 05:07:14 +03:00
Filippos Karapetis
5de6a876a9 NEVERHOOD: Fix display of the dynamites on shelves in the dynamite room 2013-07-01 04:42:13 +03:00
Filippos Karapetis
04dc01109f NEVERHOOD: Fix the second tape sprite in the whale room
The second tape is now correctly faced to the right
2013-07-01 04:25:50 +03:00
Filippos Karapetis
0658a88737 NEVERHOOD: Fix incorrect checks for the waterfall sounds
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-28 18:09:35 +03:00
Filippos Karapetis
02f11ec76f NEVERHOOD: Add missing music when entering the Hall of Records building
The "Everybody Way Oh" theme should be played in both of the first two
rooms of the Hall of Records building
2013-06-28 13:48:16 +03:00
Filippos Karapetis
63624f8bfa NEVERHOOD: Fix scene entrance when restoring in the Aqua (music) house
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-28 11:20:40 +03:00
johndoe123
0634f51696 NEVERHOOD: Fix bug in Module 1100, scene 2 which made the "Klayman, up here" scene was unreachable. Sound bug still present, though. 2013-06-25 22:49:01 +02:00
johndoe123
f449268380 NEVERHOOD: Fix Smacker errors in Scene1317 (bug #3613666) 2013-06-17 09:21:16 +02:00
Filippos Karapetis
6bdc262c07 NEVERHOOD: Move some more cheat code to the cheat console command 2013-06-12 11:35:48 +03:00
Filippos Karapetis
9d489e82ce NEVERHOOD: Remove or silence by default some more debug output 2013-06-12 11:35:47 +03:00
Filippos Karapetis
974e7e80a8 NEVERHOOD: Remove cheat debug code, and introduce a new command, "cheat" 2013-06-11 18:57:14 +03: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
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
Filippos Karapetis
d00f5c0aa7 NEVERHOOD: Add a console command to display the current surfaces 2013-06-09 17:13:23 +03: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
251b760b99 NEVERHOOD: Removed debug (?) code that bypassed puzzle
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-06-01 16:47:56 +02:00
D G Turner
d11a1eea94 NEVERHOOD: Silence two compiler warnings about set but unused variables. 2013-05-28 02:07:02 +01:00
johndoe123
753d5e8922 Merge pull request #334 from salty-horse/neverhood
NEVERHOOD: Fix incorrect dark palette in Scene2206
2013-05-27 02:52:07 -07:00
D G Turner
539c6314b1 NEVERHOOD: Fix uninitialized variable. 2013-05-21 23:54:18 +01:00
Ori Avtalion
f4054c5c2f NEVERHOOD: Fix incorrect dark palette in Scene2206 2013-05-19 01:05:42 +03:00
johndoe123
78e0d6a3f1 NEVERHOOD: Move module files to own subdirectory 2013-05-08 20:49:19 +02:00