aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/entity.cpp
AgeCommit message (Collapse)Author
2014-02-18NEVERHOOD: Make GPL headers consisten in themselves.Johannes Schickel
2013-07-30NEVERHOOD: Silence noisy compiler warning.D G Turner
This is due to NULL being used. Switching to nullptr which is equivalent i.e. 0 should silence this.
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
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: Fix Klaymen "grow" animation after drinking the potionjohndoe123
- Remove static sprite 0x50C027A8 Scene2803/Scene2803Small because the resource doesn't exist! - Remove some old comments - Fix resource extData handling which fixes some crashes - Enable reusing deleted sound/music slots in SoundMan (was disabled for debugging)
2013-05-08NEVERHOOD: Some cleanup:johndoe123
- Remove _name field from Entity (wasn't really maintained by me and became useless) - Remove obsolete TODOs - Add STICK_LAST_FRAME constant for better readability - Remove commented out callbackList TODOs (these were so far never used with over 90% of the game implemented)
2013-05-08NEVERHOOD: Add Entity::setSoundPan and use it in the DiskplayerScenejohndoe123
2013-05-08NEVERHOOD: Change sound stuff in Module2200johndoe123
- Add Entity::stopSound
2013-05-08NEVERHOOD: Change sound stuff in Module1700johndoe123
- Add Entity::setSoundVolume
2013-05-08NEVERHOOD: Change sound stuff in Module1100johndoe123
- Implement Entity::isSoundPlaying
2013-05-08NEVERHOOD: Change sound playingjohndoe123
Sounds can now be loaded/played by an entity without declaring/initializing a SoundResource which is a little nicer. I implemented this so far for Module1000 only, rest will follow.
2013-05-08NEVERHOOD: Move code from entity.h to new entity.cppjohndoe123
2013-05-08NEVERHOOD: More work on Scene1001 and Klaymanjohndoe123
- Fix a bug in Klayman's walking - The lever can now be used - Other stuff is still missing - Remove entity.cpp since it's not needed
2013-05-08NEVERHOOD: Add morejohndoe123
- SpriteResource and PaletteResource resource classes - Extend BaseSurface to be able to draw SpriteResources onto it - Implement Entity base class (this may need some work concerning the update/message callbacks later since I'm not sure if the way it's done now is portable)