aboutsummaryrefslogtreecommitdiff
path: root/src/sound.h
AgeCommit message (Collapse)Author
2022-07-09Sounds: Various little improvements (#12486)SmallJoker
Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
2022-06-20Re-order sound-related code (#12382)SmallJoker
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
2020-10-01(se)SerializeString: Include max length in the nameSmallJoker
This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions
2019-01-03Proselytize the network. Use IEEE F32 (#8030)SmallJoker
* Proselytize the network. Use IEEE F32 * Remove unused V2F1000 functions
2018-03-24Cleanup sound manager class (#7158)Loïc Blot
* Cleanup sound manager client * Use some const refs * Use auto on iterators * Drop unused parameters * Move sound_openal.* to client folder * Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
2017-10-09Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot
* Update clang from 4.0 to 5.0
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-11Sound: Add pitch option (#5960)Rui
* Sound: Add pitch option
2017-05-04LINT fix since cloud API mergeLoic Blot
2017-05-03Sound API: Add fading soundsBrandon
2017-04-21Fix various performance issues reported by cppcheck + code style (CI) (#5635)Loïc Blot
* Make CI happy with code style on master * guiFileSelectMenu: remove useless includes * some performance fixes pointed by cppcheck * remove some useless casts * TextDest: remove unused setFormSpec function
2017-04-20Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)Loïc Blot
* Also remove 2 non declared but defined functions * Make some functions around const ref changes const
2017-04-07Clang-format: fix some header files and remove them from whitelistLoic Blot
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Optimize headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-04-06Handle failing openal init properly, add enable_sound and sound_volume settingsPerttu Ahola
2012-03-25Almost support loading sounds from serverPerttu Ahola
2012-03-24Lua API for playing soundsPerttu Ahola
2012-03-24Add sounds, tune thingsPerttu Ahola
2012-03-24Add event manager and use it to trigger soundsPerttu Ahola
2012-03-24c55sound continuedPerttu Ahola
2012-03-24celeron55's sound system initial frameworkPerttu Ahola