aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/diskplayerscene.cpp
AgeCommit message (Collapse)Author
2019-12-05NEVERHOOD: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2016-05-21NEVERHOOD: Reduce audio header dependenciesOri Avtalion
2014-02-18NEVERHOOD: Make GPL headers consisten in themselves.Johannes Schickel
2013-12-25NEVERHOOD: Change more message values to enumsFilippos Karapetis
2013-12-23NEVERHOOD: Add names to some message IDsFilippos Karapetis
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
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-06-11NEVERHOOD: Cleanup, merge some duplicate codeFilippos Karapetis
2013-06-10NEVERHOOD: Fix crash when viewing videos in the video viewerFilippos Karapetis
The crash was caused by stale pointers, exactly the same as in commit 2e4f64066da7c08edcd17b5c66c6463887b836b4
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: Merge CollisionMan into Scene classjohndoe123
2013-05-08NEVERHOOD: Rename some CollisionMan methods/fieldsjohndoe123
- Remove fallback detector (I think it's not needed) - Rename Scene insertMouse methods
2013-05-08NEVERHOOD: Remove more old commentsjohndoe123
- Add the remaining idle stuff to Klayman
2013-05-08NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of ↵johndoe123
setting stuff "manually"
2013-05-08NEVERHOOD: Make use of NDrawRect::setjohndoe123
2013-05-08NEVERHOOD: Rename stuff in Sprite:johndoe123
- processDelta() to updateBounds() - getRect() to getCollisionBounds() - _drawRect to _drawOffset - _rect to _collisionBounds - _deltaRect to _collisionBoundsOffset
2013-05-08NEVERHOOD: Move setting of debug variables to the GameModulejohndoe123
2013-05-08NEVERHOOD: Remove Scene::_surfaceFlag which also is obsolete nowjohndoe123
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: Add Entity::setSoundPan and use it in the DiskplayerScenejohndoe123
2013-05-08NEVERHOOD: Replace most of the literal digits in get/setSubVar with constantsjohndoe123
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 DiskplayerScenejohndoe123
- Add SmackerPlayer::isDone() - Fix puzzle key variable handling - Update globalvars.txt
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: Change sound stuff in DiskplayerScenejohndoe123
2013-05-08NEVERHOOD: More renaming (mostly in Klayman and AnimatedSprite)johndoe123
2013-05-08NEVERHOOD: Major renaming:johndoe123
- Give better names to animation callback functions/vars - Give better names to animation functions (previously known as subXXXX - not completed yet) - Add dumpAllResources (which is a lie, since it only dumps animations for now) - More renaming to come
2013-05-08NEVERHOOD: Add Scene::setPalette for simpled palette creation and use itjohndoe123
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