aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.cpp
AgeCommit message (Collapse)Author
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-06-28NEVERHOOD: Fix graphics glitch when opening the menuFilippos 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-11NEVERHOOD: Remove cheat debug code, and introduce a new command, "cheat"Filippos 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-09NEVERHOOD: Remove superfluous checkFilippos Karapetis
2013-06-09NEVERHOOD: Fix a memory leak when changing modulesFilippos Karapetis
2013-05-08NEVERHOOD: Move module files to own subdirectoryjohndoe123
2013-05-08NEVERHOOD: Fix some logic bugs and minor changesjohndoe123
- 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-08NEVERHOOD: Changed the save/load menu to allow gaps in saved games to ↵johndoe123
simplify game deletion
2013-05-08NEVERHOOD: Add Screen::saveParams and Screen::restoreParams, called when ↵johndoe123
etnering/leaving the menu
2013-05-08NEVERHOOD: Don't allow main menu until _canRequestMainMenu is setjohndoe123
- Clean up GameModule
2013-05-08NEVERHOOD: Add support for loading/saving games with the game's own menujohndoe123
- Add LoadGameMenu class
2013-05-08NEVERHOOD: Implement restart functionality (from both main menu and game logic)johndoe123
- Some minor cleanup
2013-05-08NEVERHOOD: Rename "Klayman" to "Klaymen" (the correct name of the game's hero)johndoe123
2013-05-08NEVERHOOD: Don't load a DataResource if the same data is already loaded; ↵johndoe123
this fixes a nasty bug in several scenes which use message lists from a DataResource
2013-05-08NEVERHOOD: Rework the car track scenes in Module2500 and Module2700johndoe123
- Move findClosestTrack code from several scenes to new Tracks::findTrackPoint - Remove const kScene2706 arrays and use it from the dat instead
2013-05-08NEVERHOOD: Move Scene2804::initCrystalColors() to ↵johndoe123
GameModule::initCrystalColorsPuzzle() - Add Scene::isMessageList2, only used in Scene2101
2013-05-08NEVERHOOD: Clean up DiskplayerScenejohndoe123
- 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-08NEVERHOOD: Remove some obsolete TODOsjohndoe123
2013-05-08NEVERHOOD: Implement savegame loading via GMM (in-game saving/loading still ↵johndoe123
TODO)
2013-05-08NEVERHOOD: Add support for the demo versionjohndoe123
- Remove debug resource dumping code - Fix Scene1501 (pictures without sound weren't displayed/too fast) - Move main loop to mainLoop method
2013-05-08NEVERHOOD: Improve frame-exact seeking for Scene2802johndoe123
Thanks to clone2727 for his help!
2013-05-08NEVERHOOD: Fix AsCommonCar turningjohndoe123
2013-05-08NEVERHOOD: Fix Klaymen "grow" animation after drinking the potionjohndoe123
- 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-08NEVERHOOD: Simplify resource loadingjohndoe123
- Renamne and clean up
2013-05-08NEVERHOOD: Remove more old commentsjohndoe123
- Add the remaining idle stuff to Klayman
2013-05-08NEVERHOOD: New _sceneNum in Module2800johndoe123
- Very slightly improved the speed in SmackerPlayer::gotoFrame()
2013-05-08NEVERHOOD: Fix Klaymen in Scene1403 (*facepalm*)johndoe123
2013-05-08NEVERHOOD: Add initCubeSymbolsPuzzlejohndoe123
- 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-08NEVERHOOD: Add initCodeSymbolsPuzzlejohndoe123
2013-05-08NEVERHOOD: More work on the menu system:johndoe123
- 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-08NEVERHOOD: Clean up Module2700 (like the ones before)johndoe123
- Add Scene2703 and Scene2732
2013-05-08NEVERHOOD: Clean up Module2500 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module2400 (like the ones before)johndoe123
- Fix Klayman::stTurnToFront()
2013-05-08NEVERHOOD: Clean up Module2200 (like the ones before)johndoe123
- Rename SceneInfo140 to HallOfRecordsInfo
2013-05-08NEVERHOOD: Clean up Module2100 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module2000 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1900 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1700 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1600 (like the ones before)johndoe123
- Remove AsScene1608Door because the corresponding animation resource didn't exist!
2013-05-08NEVERHOOD: Clean up Module1500 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1400 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1300 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1200 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1100:johndoe123
- Rename stuff - Remove superfluous braces - Add a comment to the "which" code in each scene - Use a seperate _sceneNum instead of _vm->gameState().sceneNum
2013-05-08NEVERHOOD: Clean up Module1000:johndoe123
- Rename stuff - Remove superfluous braces - Add a comment to the "which" code in each scene - Use a seperate _sceneNum instead of _vm->gameState().sceneNum - Remove code related to unused resource preloading and debug messages
2013-05-08NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of ↵johndoe123
setting stuff "manually"
2013-05-08NEVERHOOD: Move setting of debug variables to the GameModulejohndoe123
2013-05-08NEVERHOOD: Rewrite GameModule::initMemoryPuzzle() to use ↵johndoe123
NonRepeatingRandomNumbers - Change NonRepeatingRandomNumbers