summaryrefslogtreecommitdiffstats
path: root/src/sound
Commit message (Collapse)AuthorAgeFilesLines
* Better datadir mod supportkrzys-h2014-05-183-17/+12
|
* fixed m_oldMusic.push_back(nullptr) and segfaultandreymal2014-03-021-7/+9
|
* Added option to set pause audio in Scenekrzys-h2014-02-214-11/+5
|
* Added a check when trying to play a music fileerihel2014-02-211-6/+8
|
* Changed max channels to fix compilation errorerihel2014-02-021-2/+1
|
* Changed max number of sound channelserihel2014-02-021-1/+3
|
* Minor changes to sound support.erihel2014-01-185-48/+135
| | | | | | * changed channel limit from 64 to 2048 that will decrease if error is found while trying to play sound * added id to each channel to avoid collisions when more than 1 object tries to modify a sound * minor formatting changes
* Code for changing music in pause modekrzys-h2013-12-316-10/+108
| | | | As requested by @Emxx52. Only code for now, we don't have the music yet. Temporairly in developements builds music will change to Prototype (in CBot editor) and Constructive Destruction (in SatCom)
* Don't stop music when SatCom or pause menu is openedkrzys-h2013-12-281-11/+1
|
* Added smooth transition in music - issue #205krzys-h2013-12-284-25/+84
|
* Sound support changeserihel2013-12-196-222/+41
| | | | | | * removed 2d sound * fixed listener orientation (propably issue #235) * removed unused code and minor refactoring
* Include the OpenAL headers using the "al.h" form, as recommended by its ↵Didier 'OdyX' Raboud2013-10-244-7/+7
| | | | CMake finder script
* Fixed some memory issuesPiotr Dziwinski2013-05-271-0/+3
| | | | * invalid pointer, uninitialized buffer
* Refactored sound codePiotr Dziwinski2013-05-2710-507/+824
| | | | | * fixed formatting and naming to be uniform with rest of code * moved default implementation of CSound to cpp module
* Fixed code formattingPiotr Dziwinski2013-05-275-46/+46
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Fix for issue #202 with 3D sound disablederihel2013-05-031-3/+7
|
* Improved music cachekrzys-h2013-05-021-7/+8
|
* Updated Main Mnu musickrzys-h2013-05-021-1/+2
| | | | For now only code - we need to wait for PiXeL to give us new music :)
* Removed some warningskrzys-h2013-05-011-1/+1
| | | | + fix for previous commit
* Removed sound081.wavkrzys-h2013-05-011-1/+1
| | | | It wasn't used in Colobot and caused errors because we removed it from data package.
* Minor refactoringkrzys-h2013-05-011-4/+4
|
* Added new Intro music (by PiXeL)krzys-h2013-04-291-0/+1
|
* * Fix a problem with CleanUp function trying to clean up music cache twiceerihel2013-04-261-2/+5
|
* Small fix to music cachekrzys-h2013-04-201-2/+2
|
* Added music files cachekrzys-h2013-04-133-9/+40
|
* Implemented AudioChange (partially)krzys-h2013-04-133-38/+28
| | | | | There is some issues due to #173 Issue #172
* * More work on sounderihel2013-04-123-20/+77
|
* * Fixed problem with 2D sound modeerihel2013-04-112-3/+2
|
* * Fixed problem with MuteAll and some sounds not playing after muting other ↵erihel2013-04-094-12/+36
| | | | sounds (like game menu sound)
* * Adjusted pan computing function from original game (2D sound should work ↵erihel2013-04-083-31/+91
| | | | | | correctly) * Set max sound distance to 110.0f to match original colobot (for issue #123)
* * Set distance model to fix issue #123erihel2013-04-071-0/+1
|
* * Sound are too quiet in 3D mode, for now added support for 2D sound option ↵erihel2013-04-071-7/+21
| | | | in menu. In 2D mode sounds are normal (Issue #123)
* * Removed warning while compiling brain.cpperihel2013-03-303-35/+28
| | | | | * Fix for issue #130 * Fix for issue #128 with wrong sound pitch
* * Adjusted sound volume to game settingserihel2013-03-142-6/+6
| | | | * Added fabs to remove logs about pitch having negative values
* Removed unnecessary printPiotr Dziwinski2013-02-281-1/+0
|
* * Changed AdjustFrequency formulaerihel2013-02-242-4/+7
| | | | * Changed SetVolume to match orginal game formula
* CInstanceManager refactoringPiotr Dziwiński2013-02-175-19/+4
| | | | | | | | | * removed classes managed by CInstanceManager except for CObject, CPyro, CBrain and CPhysics because of dependencies * refactored instance searching to use existing singleton instances of CApplication, CEngine and CRobotMain and calling their getter functions
* * Fixed sound pitch causing segfaulterihel2013-01-163-16/+39
| | | | | | * Sound support should now compile fine with MXE * Added cache for 3 music files to speedup loading * Updated howto
* * Removed aluterihel2013-01-147-67/+170
| | | | | * Using libsndfile to load sounds and music * Added support for playing music files
* * Fixed pitch calculation (sound in cut scenes will work as well as robot ↵erihel2013-01-096-63/+69
| | | | | | | tracks sound) * Fixed applying effects to sounds * Changed volume to range 0.0-1.0 except for values in UI
* * Fixed problem with freeing buffers while conneted to a source resulting ↵erihel2013-01-044-12/+45
| | | | | | with "Unable to unload buffer message" * Fixed posible segfault while trying to play sound after not loading file properly
* * Fixed segault when could not set sound pitch (bad logger call)erihel2012-12-283-19/+21
| | | | | * All 81 audio files should be loaded instead of 69 high quality * Changed volume ajustment formula to proper one
* * Changed Ret to Get methods in sound moduleerihel2012-12-252-11/+11
| | | | | * Added video settings to profile * Resolution change is now posibble but restart is required
* * Changed log level in sound moduleerihel2012-12-253-7/+7
| | | | | * Fixed warnings in sound module * Fixed problem with map loading when locale with different number separator
* sound fixerihel2012-12-204-112/+6
|
* removing plugins for gold version (for mxe cross compiling)erihel2012-12-2011-3/+1
|
* Put common CXX flags in common variablesDidier Raboud2012-12-192-2/+4
| | | | | CMAKE_CXX_FLAGS is taken into account in all builds; build-type-specific flags are appended to it.
* Don't enforce CMake build type on users.Didier Raboud2012-12-191-1/+3
| | | | Only set CMAKE_BUILD_TYPE to Debug when no value is provided.
* Merge branch 'master' into devPiotr Dziwinski2012-12-151-1/+1
|\
| * Add FindLTDL cmake moduleDidier Raboud2012-12-141-1/+1
| | | | | | | | | | | | | | As mentionned in FindLTDL.cmake, this is code that is hereby relicensed under GPLv3. closes #68