aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Rename more Klayman stuff (not much left :)johndoe123
2013-05-08NEVERHOOD: Fix resource file reading by introducing ↵johndoe123
SafeMutexedSeekableSubReadStream which locks a mutex during reads and also lock the same mutex in BlbArchive::load; loading resources while music is playing shouldn't mess up the file position now - Fix loading of non-existent resources (not elegant and not checked everywhere yet, the resource system is subject to a minor rewrite anyway) - Rename more Klayman stuff
2013-05-08NEVERHOOD: Rename many Klayman functions/variablesjohndoe123
2013-05-08NEVERHOOD: Add most SoundMan remaining callsjohndoe123
Except for those which need a sound hash array (later)
2013-05-08NEVERHOOD: Implement the actual audio codejohndoe123
Sounds and music play now in some scenes (I didn't change the comments to code in all modules yet) - Fix calcHash to ignore non-alphanumeric characters, this fixes at least one animation glitch (when inserting tapes into the player) - Move SoundResource to sound.cpp
2013-05-08NEVERHOOD: More work on the SoundManjohndoe123
- Also changed all sound related function calls which are still TODO to the new names
2013-05-08NEVERHOOD: Add support for shadow sprites, used only for the shadow of the ↵johndoe123
car/vehicle thing
2013-05-08NEVERHOOD: Implement Scene2403johndoe123
2013-05-08NEVERHOOD: Implement Scene2406johndoe123
2013-05-08NEVERHOOD: Implement Scene2402johndoe123
2013-05-08NEVERHOOD: Start with Module2400johndoe123
- Implement Scene2401
2013-05-08NEVERHOOD: Implement Scene2504 and add all car track scenesjohndoe123
2013-05-08NEVERHOOD: Start with Module2500johndoe123
- Implement Scene2501 - Add Scene::removeSprite
2013-05-08NEVERHOOD: Implement Scene2812johndoe123
2013-05-08NEVERHOOD: Implement Scene2822johndoe123
2013-05-08NEVERHOOD: Implement Scene2810johndoe123
- Also add globalvars.txt, a (currently almost empty) list of global game variables with descriptions
2013-05-08NEVERHOOD: Implement Scene2807johndoe123
2013-05-08NEVERHOOD: Implement Scene2804johndoe123
- Fix dispenser in Scene2808 (wasn't clickable) - Add Palette::fillBaseWhite - Minor renaming in Module2800
2013-05-08NEVERHOOD: Implement Scene2809johndoe123
- Fix some setMessageList parameters - Add scene 10 in Module2800
2013-05-08NEVERHOOD: Implement Class488 (renaming TODO)johndoe123
2013-05-08NEVERHOOD: Implement Scene2808johndoe123
2013-05-08NEVERHOOD: Implement Scene2806 (Class469 TODO)johndoe123
2013-05-08NEVERHOOD: Implement Scene2803bjohndoe123
- Also some more Klayman stuff used by that scene
2013-05-08NEVERHOOD: Implement Scene2805johndoe123
2013-05-08NEVERHOOD: Start with Module2800 and add Scene2801johndoe123
2013-05-08NEVERHOOD: More renamingjohndoe123
2013-05-08NEVERHOOD: Add Scene2702 (needs cleanup)johndoe123
2013-05-08NEVERHOOD: Add Scene2701johndoe123
2013-05-08NEVERHOOD: Add Scene2706johndoe123
- Move calcDistance from Class521 to graphics.cpp
2013-05-08NEVERHOOD: More work in Module2700johndoe123
2013-05-08NEVERHOOD: Add Scene2609 and hook Module2600 to the GameModulejohndoe123
2013-05-08NEVERHOOD: Start with Module2600 (missing Scene2609)johndoe123
2013-05-08NEVERHOOD: Add floor button to Scene1401johndoe123
2013-05-08NEVERHOOD: Add Module2100 and Scene2101 (not complete yet)johndoe123
2013-05-08NEVERHOOD: Add Module1900 and Scene1901, Scene1907johndoe123
(Scene1908 is actually only used in another module...)
2013-05-08NEVERHOOD: Add Scene1609johndoe123
- Use Scene::insertSprite<> in all scenes
2013-05-08NEVERHOOD: Add Module1600 and Scene1608 (stuff will be renamed later)johndoe123
2013-05-08NEVERHOOD: Add Scene1109johndoe123
- Also fix some bugs regarding a missing parameter to setMessageList in various scenes
2013-05-08NEVERHOOD: Start with Module1100 and add Scene1105johndoe123
2013-05-08NEVERHOOD: Replace InsertKlayman macros with template functions (still weird ↵johndoe123
but nicer)
2013-05-08NEVERHOOD: Move createModuleXXX/updateModuleXXX methodsjohndoe123
There are merged into createModule and updateModule in the GameModule class
2013-05-08NEVERHOOD: Move createSceneXXX/updateSceneXXX methodsjohndoe123
They are merged into createScene and updateScene for the other already implemented modules (I hope I didn't break too much :)
2013-05-08NEVERHOOD: Rename Palette2::addPalette to addBasePalette to prepare the ↵johndoe123
merge of the Palette/Palette2 classes
2013-05-08NEVERHOOD: Merge createSceneXXX/updateSceneXXX methods into createScene and ↵johndoe123
updateScene for Module1000
2013-05-08NEVERHOOD: Merge scene-specific createSceneXXX/updateSceneXXX methods into ↵johndoe123
createScene and updateScene (for Module2200 only so far)
2013-05-08NEVERHOOD: Remove unused resource preloading stuff (probably resource ↵johndoe123
preloading is not needed since the original game ran off slow double/quad-speed cd drives and preloading reduced stuttering while playing back then) - Add Klayman animation speedup
2013-05-08NEVERHOOD: Add Module::updateChild and use it (in most places)johndoe123
2013-05-08NEVERHOOD: Multiple changes to make the game logic code cleaner (hopefully :)johndoe123
- Introduce Scene::insertStaticSprite to create static sprites instead of the old "addSprite(new StaticSprite" (not used everywhere yet) - Introduce macro InsertKlayman to create the Klayman object - Change sendMessage semantics from "receiver->sendMessage(num,arg,sender)" to "sendMessage(receiver,num,arg)", the sender is always the sending object ("this") - Similar changes using macros will follow - And fixed a bug in the elevator
2013-05-08NEVERHOOD: Add Scene1317johndoe123
- Fix SmackerPlayer (last frame was dropped, this hopefully doesn't break other stuff...)
2013-05-08NEVERHOOD: Add Scene1308 (renaming of stuff todo)johndoe123