- Overriding methods are clearly indicated with `override` keywords
- Remove redundant `virtual` keywords from destructors of subclasses
- Introduce `SPUnsupported()`, replacing most uses of
`SPNotImplemented()`, which now serves as a dynamic "TODO" marker
The global RNG state is now protected from simultaneous accesses by
employing a mutex.
Performance sensitive code requiring generation of a large number of
random numbers can utilize `LocalRNG`. This is not thread-safe but
provides a much greater throughput. `LocalRNG` is seeded by the global
RNG only at construction time.
Fixes#652.
The sound gain is now constant and does not change regardless of the
distance. This imitates the behavior often seen in other first-person
shooters.
Switching from "Play" to "PlayLocal" only affects the way the gain is
computed since "HeadshotFeedback.opus" is a stereo sound file and there-
fore not spatialized by any known audio backends.
This also introduces a config variable named "cg_hitFeedbackSoundGain"
that allows users to adjust the volume of the hit feedback sound.
* Add satisfying headshot bangs like in classic
* add whack sound
* Update Client_Update.cpp
* Add files via upload
* Moved to Resources/Sounds/Feedback
* Play only if inflicted by LocalPlayer
Also lowered volume
* Update AUTHORS
* Update Credits.inc
Center message takes up too much space on smaller screens (e.g. mine is
800x600), especially on killstreaks or intense CTF servers. So, you can
either disable all center messages ("0"), enable all default ones ("1")
or disable your kill center messages("2").
To make killfeed easier to read it is advised to make local kill icons
be black (stands out the most).