aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/navigationscene.cpp
AgeCommit message (Collapse)Author
2013-05-27NEVERHOOD: Fix invalid memory access in navigation scenesTorbjörn Andersson
When a new Smacker is opened, the old Smacker surface is deleted and a new one is created. Therefore, it has to be removed from the scene and the new one has to be added.
2013-05-08NEVERHOOD: Merge CollisionMan into Scene classjohndoe123
2013-05-08NEVERHOOD: Simplify resource loadingjohndoe123
- Renamne and clean up
2013-05-08NEVERHOOD: Move setting of debug variables to the GameModulejohndoe123
2013-05-08NEVERHOOD: Remove TODOs concerning the original engine's debug codejohndoe123
- Add Scene1202 palette effect - Add AsScene1405Tile sound panning - Clean up some old comments
2013-05-08NEVERHOOD: Work on the resource system:johndoe123
- Remove unused stuff - Shuffle some stuff around
2013-05-08NEVERHOOD: Use constants for the numbers in get/setGlobalVarjohndoe123
Now the code is much more readable - Still TODO is to do the same with get/setSubVar
2013-05-08NEVERHOOD: Rename stuff in the Scene class and clean up a littlejohndoe123
- Try to stay close to the actual frame rate - Also use the Smacker frame rate when a video is playing to keep videos in sync with the audio
2013-05-08NEVERHOOD: Enable/fixup navigation scene sound update code in several modulesjohndoe123
- Rename some NavigationScene stuff
2013-05-08NEVERHOOD: Add most SoundMan remaining callsjohndoe123
Except for those which need a sound hash array (later)
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: Merge the three mouse classes into Mouse, introduce ↵johndoe123
insertMouse433 etc. methods and use them
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: New modules Module1200, Module1400, Module1700 and Module1800johndoe123
- Implement CollisionMan::removeSprite
2013-05-08NEVERHOOD: Implement Scene1005johndoe123
- Add FontSurface - Add DataResource - Fix NavigationScene, only accept input when interactive
2013-05-08NEVERHOOD: Implement NavigationScenejohndoe123
- Work on the SmackerDecoder, create the surface immediately when a file is opened