aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/diskplayerscene.cpp
AgeCommit message (Collapse)Author
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