aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_nodedef.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Re-order sound-related code (#12382)SmallJoker2022-06-201-1/+1
| | | | | | | | 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.
* Modernize source code: last part (#6285)Loïc Blot2017-08-201-2/+2
| | | | | | | | | | | * 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
* Pass clang-format on various cpp/header files (#5559)Loïc Blot2017-04-231-2/+3
|
* Tests: Modularize unit testingkwolekr2015-04-261-0/+66
Split unit tests into separate files under src/unittest/ Give better unittest diagnostics Clean up some code