Commit Graph
185 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 9dab832214 NEVERHOOD: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Torbjörn Andersson 58f2920371 NEVERHOOD: Only lock out monster cave from demo, not the other exit
You should still be able to return back to the TNT room. It's just the
monster cave that's cut off from the demo.
2021-09-14 11:29:37 +02:00
Torbjörn Andersson 4a54e4bfaa NEVERHOOD: Don't crash when entering monster cave in the big demo
The demo doesn't include the cave, so show the thank you screen instead.
Otherwise, it will crash when loading a non-existing resource.
2021-09-14 07:30:06 +02:00
Henrik "Henke37" Andersson fc700de0f5 NEVERHOOD: Unlock TNT room back door in big demo 2020-08-24 22:31:23 +02:00
Henrik "Henke37" Andersson e5bd3ed180 NEVERHOOD: Lock out unavailable ride in demo 2020-08-24 22:31:23 +02:00
D G Turner 2050ae13b6 NEVERHOOD: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-05 22:37:54 +00:00
Johannes Schickel 6563171e7b NEVERHOOD: Make GPL headers consisten in themselves. 2014-02-18 02:39:36 +01:00
johndoe123 6cfa27c2d5 NEVERHOOD: Fix bug #6478 "NEVERHOOD: No footstep sounds" 2014-01-06 16:11:56 +01:00
Torbjörn Andersson bb4a6c2899 NEVERHOOD: Add mousewheel support to original save/load dialogs 2014-01-06 14:47:17 +01:00
Torbjörn Andersson ab17bfb3d6 NEVERHOOD: Use constants for messages in a couple of places
Ideally, we should always use constants of course. But I guess we
don't yet have sensible names for all messages.
2014-01-06 14:37:56 +01:00
Filippos Karapetis 962e2fd550 NEVERHOOD: Change more message values to enums 2013-12-25 17:10:42 +02:00
Filippos Karapetis 8d7b10f7c3 NEVERHOOD: Add names to some message IDs 2013-12-23 21:03:35 +02:00
Strangerke 29659ba948 NEVERHOOD: Fix spacing errors 2013-11-24 18:52:47 +01:00
Filippos Karapetis c1226b7d4a NEVERHOOD: Split the code that stops all music and sound effects 2013-09-17 03:27:11 +03:00
Sven Hesse 989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Filippos Karapetis 7564be51d7 NEVERHOOD: Fix graphics glitch when opening the menu 2013-06-28 13:23:18 +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 974e7e80a8 NEVERHOOD: Remove cheat debug code, and introduce a new command, "cheat" 2013-06-11 18:57:14 +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 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
johndoe123 78e0d6a3f1 NEVERHOOD: Move module files to own subdirectory 2013-05-08 20:49:19 +02:00
johndoe123 583f9abaf9 NEVERHOOD: Fix some logic bugs and minor changes
- Fix video speed in the very last scene (Scene1317)
- Fix back door not opening in Scene1401
- Fix projector not moving in Scene1402
- Fix projector not appearing in Scene1403
- Fix wrong Klaymen walking in Scene2205
- Fix wrong scene change in Module2300
- Fix symbols not appearing in Scene3011
- Define out some remaining logic debug code
- Remove some obsolete comments
- Reduce debug output
- Use a List instead of an Array when building the microtiles rectangles
2013-05-08 20:47:43 +02:00
johndoe123 a03879963f NEVERHOOD: Changed the save/load menu to allow gaps in saved games to simplify game deletion 2013-05-08 20:47:43 +02:00
johndoe123 c96d2475b1 NEVERHOOD: Add Screen::saveParams and Screen::restoreParams, called when etnering/leaving the menu 2013-05-08 20:47:42 +02:00
johndoe123 53a81d11b8 NEVERHOOD: Don't allow main menu until _canRequestMainMenu is set
- Clean up GameModule
2013-05-08 20:47:42 +02:00
johndoe123 379a8cbbe0 NEVERHOOD: Add support for loading/saving games with the game's own menu
- Add LoadGameMenu class
2013-05-08 20:47:42 +02:00
johndoe123 490d447ed1 NEVERHOOD: Implement restart functionality (from both main menu and game logic)
- Some minor cleanup
2013-05-08 20:47:42 +02:00
johndoe123 4389d32974 NEVERHOOD: Rename "Klayman" to "Klaymen" (the correct name of the game's hero) 2013-05-08 20:47:41 +02:00
johndoe123 e51bea9b4e NEVERHOOD: Don't load a DataResource if the same data is already loaded; this fixes a nasty bug in several scenes which use message lists from a DataResource 2013-05-08 20:47:40 +02:00
johndoe123 18ce1acc12 NEVERHOOD: Rework the car track scenes in Module2500 and Module2700
- Move findClosestTrack code from several scenes to new Tracks::findTrackPoint
- Remove const kScene2706 arrays and use it from the dat instead
2013-05-08 20:47:40 +02:00
johndoe123 df43b8bd68 NEVERHOOD: Move Scene2804::initCrystalColors() to GameModule::initCrystalColorsPuzzle()
- Add Scene::isMessageList2, only used in Scene2101
2013-05-08 20:47:40 +02:00
johndoe123 a98d9aa58a NEVERHOOD: Clean up DiskplayerScene
- Enable return to launcher
- Remove obsolete comments
- Remove braces in single-line statements
- Remove unused non-transparent drawing code in BaseSurface::copyFrom
- Clean up mouse cursor insertion code in Scene class
2013-05-08 20:47:39 +02:00
johndoe123 fa205be892 NEVERHOOD: Remove some obsolete TODOs 2013-05-08 20:47:39 +02:00
johndoe123 30178e46e5 NEVERHOOD: Implement savegame loading via GMM (in-game saving/loading still TODO) 2013-05-08 20:47:39 +02:00
johndoe123 0f1aa64fd0 NEVERHOOD: Add support for the demo version
- Remove debug resource dumping code
- Fix Scene1501 (pictures without sound weren't displayed/too fast)
- Move main loop to mainLoop method
2013-05-08 20:47:38 +02:00
johndoe123 060287a4f8 NEVERHOOD: Improve frame-exact seeking for Scene2802
Thanks to clone2727 for his help!
2013-05-08 20:47:38 +02:00
johndoe123 9a1d9883ad NEVERHOOD: Fix AsCommonCar turning 2013-05-08 20:47:38 +02:00
johndoe123 b2934eb166 NEVERHOOD: Fix Klaymen "grow" animation after drinking the potion
- Remove static sprite 0x50C027A8 Scene2803/Scene2803Small because the resource doesn't exist!
- Remove some old comments
- Fix resource extData handling which fixes some crashes
- Enable reusing deleted sound/music slots in SoundMan (was disabled for debugging)
2013-05-08 20:47:38 +02:00
johndoe123 cc015e3d24 NEVERHOOD: Simplify resource loading
- Renamne and clean up
2013-05-08 20:47:38 +02:00
johndoe123 1b9807b312 NEVERHOOD: Remove more old comments
- Add the remaining idle stuff to Klayman
2013-05-08 20:47:38 +02:00
johndoe123 370f00e808 NEVERHOOD: New _sceneNum in Module2800
- Very slightly improved the speed in SmackerPlayer::gotoFrame()
2013-05-08 20:47:38 +02:00
johndoe123 325c85fc41 NEVERHOOD: Fix Klaymen in Scene1403 (*facepalm*) 2013-05-08 20:47:38 +02:00
johndoe123 1904e944c5 NEVERHOOD: Add initCubeSymbolsPuzzle
- Add microtiles to the screen update to eliminate overdraw
  (microtiles code taken from the Toltecs engine)
- Fix sprite dimensions in AsScene1402PuzzleBox which caused a crash
- Fix screen shaking in Scene1402
  (the puzzle box and bridge parts now shake along :)
- Use addSoundItem/addMusicItem in the SoundMan instead of
  directly using push_back on the resp. arrays
- Remove old code and comments
2013-05-08 20:47:37 +02:00
johndoe123 685ce4e312 NEVERHOOD: Add initCodeSymbolsPuzzle 2013-05-08 20:47:37 +02:00
johndoe123 6be5c11713 NEVERHOOD: More work on the menu system:
- Add handling of ascii and system key input
- Fix TextSurface::drawChar()
- Pause audio when entering the menu, resume it again afterwards
- Add TextEditWidget
- Add SaveGameMenu (doesn't actually save anything yet and needs more work)
2013-05-08 20:47:37 +02:00
johndoe123 c539060460 NEVERHOOD: Clean up Module2700 (like the ones before)
- Add Scene2703 and Scene2732
2013-05-08 20:47:36 +02:00
johndoe123 28e613c68b NEVERHOOD: Clean up Module2500 (like the ones before) 2013-05-08 20:47:35 +02:00