Commit Graph
57 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko 44d8aa33fb LAB: Do not rewind stream on music change. Fixes #7015 2020-08-29 02:17:18 +02:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis b61ade788e LAB: Call checkRoomMusic() when changing a room 2016-01-14 23:41:33 +02:00
Filippos Karapetis 374a76c89f LAB: Use the sample speed value instead of a define for game music 2016-01-14 23:41:33 +02:00
Filippos Karapetis 0f45658259 LAB: Fix accidental change to code style 2016-01-14 23:41:31 +02:00
Filippos Karapetis cb0f7e8a92 LAB: Cleanup and reorder the music code 2016-01-14 23:41:29 +02:00
Filippos Karapetis 7aafcaca1a LAB: Move music reset code into a separate function 2016-01-14 23:41:28 +02:00
Filippos Karapetis ab8382418d LAB: Do not pause the background music when a sound effect is played 2015-12-27 21:42:51 +02:00
Filippos Karapetis 70822b32b0 LAB: Some more cleanup to the music code 2015-12-27 21:42:05 +02:00
Filippos Karapetis f0ee57b6db LAB: Remove now unused define 2015-12-27 21:31:10 +02:00
Filippos Karapetis f382321fb3 LAB: Reorder a function 2015-12-27 21:20:22 +02:00
Filippos Karapetis c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Willem Jan Palenstijn a49ffcd87b LAB: Remove some unnecessary casts 2015-12-27 13:52:34 +01:00
Filippos Karapetis 662649319b LAB: Simplify fillBuffer() 2015-12-27 14:36:02 +02:00
Filippos Karapetis 764d261873 LAB: Unify the sound flags code for music and sound effects 2015-12-27 14:36:01 +02:00
Filippos Karapetis 684830082b LAB: Simplify resetMusic() 2015-12-27 14:36:01 +02:00
Filippos Karapetis e2d019f9d1 LAB: Rename _lastMusicRoom to _curRoomMusic 2015-12-27 14:36:00 +02:00
Filippos Karapetis bce260bb5f LAB: Get rid of _doReset
This resulted in calling resetMusic() twice
2015-12-27 14:36:00 +02:00
Filippos Karapetis d1b5d41005 LAB: Clean up sound effect looping, starting and stopping code 2015-12-26 12:45:48 +02:00
Strangerke c9049f2329 LAB: Remove left-over long size specifiers 2015-12-23 21:43:17 +01:00
Filippos Karapetis 9d53245f73 LAB: Get rid of _waitTillFinished
There is no point waiting for looping sound effects to end
2015-12-23 21:43:16 +01:00
Strangerke be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke 10baf6b9a2 LAB: Finish moving function comments to header 2015-12-23 21:35:33 +01:00
Strangerke ae9c2fea51 LAB: Replace char* by Common::String in several functions 2015-12-23 21:35:31 +01:00
Strangerke a4d3bda5c1 LAB: Use an array of Common::Strings instead of bytes in Action 2015-12-23 21:35:31 +01:00
Strangerke d827faf156 LAB: Rename a parameter for consistency with other function definitions 2015-12-23 21:35:30 +01:00
Filippos Karapetis 406710bac6 LAB: Plug a memory leak in the sound effects code 2015-12-23 21:35:29 +01:00
Filippos Karapetis 5c480485d4 LAB: Simplify the Amiga music flags 2015-12-23 21:34:10 +01:00
Filippos Karapetis 4d5856a95e LAB: Handle the music encoding of the Amiga version 2015-12-23 21:34:10 +01:00
D G Turner 28bfce3de7 LAB: Correct variable shadows function compiler warning. 2015-12-23 21:34:09 +01:00
Filippos Karapetis bc25b6be55 LAB: Change the graphics and audio code to use Common::File directly 2015-12-23 21:34:08 +01:00
Strangerke 5ed11d721c LAB: Verify the appropriate use of parenthesis in if statements 2015-12-23 21:34:06 +01:00
Strangerke 83126e84ee LAB: Make the use of nullptr consistent through the engine 2015-12-23 21:34:06 +01:00
Filippos Karapetis dffaffdd09 LAB: Simplify calls to initMusic() 2015-12-23 21:34:02 +01:00
Filippos Karapetis 40b16afcab LAB: Get rid of _unstoppableSoundEffect
_loopSoundEffect is used for the exact same purpose
2015-12-23 21:34:02 +01:00
Strangerke 47368c157e LAB: Review Music declaration, some refactoring and renaming 2015-12-23 21:34:02 +01:00
Strangerke 6668b76edc LAB: Remove some more useless g_lab 2015-12-23 21:34:02 +01:00
Eugene Sandulenko 9af853b6ab LAB: Reduced last reducable header: anim.h 2015-12-23 21:33:58 +01:00
Eugene Sandulenko 66f2935a22 LAB: Reduced header dependency: dispman.h, eventman.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko 9a9b752c0e LAB: More header dependency redux 2015-12-23 21:33:57 +01:00
Eugene Sandulenko d8e01fe23a LAB: Reduce header dependency from music.h 2015-12-23 21:33:56 +01:00
Eugene Sandulenko eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Strangerke 2d0fab7f4c LAB: Use // for comments 2015-12-23 21:33:55 +01:00
Strangerke ae056a767b LAB: Use doxygen format for function comments 2015-12-23 21:33:55 +01:00
Filippos Karapetis 0e886461d0 LAB: Replace some uses of malloc() with new 2015-12-23 21:33:53 +01:00
Filippos Karapetis 156ad539ff LAB: Move readSound() into the Music class 2015-12-23 21:33:53 +01:00
Strangerke 803dbcee90 LAB: Move _rooms to LabEngine, some renaming 2015-12-23 21:33:52 +01:00
Strangerke b3269dc80d LAB: Move readMusic to the Music class 2015-12-23 21:33:52 +01:00
Filippos Karapetis 3ac02c1196 LAB: Simplify file handling code 2015-12-23 21:33:50 +01:00