aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/sound.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Fix member var initializationsjohndoe123
2013-05-08NEVERHOOD: Delete all sound/music items on exitjohndoe123
- Minor cleanup
2013-05-08NEVERHOOD: Rework the sound systemjohndoe123
- Move code from the manager classes to the sound/music classes
2013-05-08NEVERHOOD: Remove obsolete TODOsjohndoe123
2013-05-08NEVERHOOD: Add enum for the resource typesjohndoe123
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: Simplify resource loadingjohndoe123
- Renamne and clean up
2013-05-08NEVERHOOD: Add initCubeSymbolsPuzzlejohndoe123
- Add microtiles to the screen update to eliminate overdraw (microtiles code taken from the Toltecs engine) - Fix sprite dimensions in AsScene1402PuzzleBox which caused a crash - Fix screen shaking in Scene1402 (the puzzle box and bridge parts now shake along :) - Use addSoundItem/addMusicItem in the SoundMan instead of directly using push_back on the resp. arrays - Remove old code and comments
2013-05-08NEVERHOOD: Rename stuff in Module1200johndoe123
- Remove unused countdowns/code in AsScene1201Creature - Fix AudioResourceMan::isSoundPlaying
2013-05-08NEVERHOOD: Fix resource file reading by introducing ↵johndoe123
SafeMutexedSeekableSubReadStream which locks a mutex during reads and also lock the same mutex in BlbArchive::load; loading resources while music is playing shouldn't mess up the file position now - Fix loading of non-existent resources (not elegant and not checked everywhere yet, the resource system is subject to a minor rewrite anyway) - Rename more Klayman stuff
2013-05-08NEVERHOOD: Add sound lists to all modules which have themjohndoe123
2013-05-08NEVERHOOD: Implement the actual audio codejohndoe123
Sounds and music play now in some scenes (I didn't change the comments to code in all modules yet) - Fix calcHash to ignore non-alphanumeric characters, this fixes at least one animation glitch (when inserting tapes into the player) - Move SoundResource to sound.cpp
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: Implement the SoundMan; no sound is played yet since the ↵johndoe123
important code doesn't exist yet