aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/navigationscene.cpp
AgeCommit message (Collapse)Author
2013-09-14NEVERHOOD: Rename the "room" command to "scene" and enhance itFilippos Karapetis
The naming has been changed from "room" to "scene", in order to keep it consistent with the rest of the engine. The scene command now also displays resource information about the current scene when invoked without parameters
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-07-01NEVERHOOD: Slight cleanup to the navigation scene codeFilippos Karapetis
2013-06-11NEVERHOOD: Try to fix the Smacker issues inside of SmackerPlayer only ↵johndoe123
(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-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