veloren/voxygen/src/settings
Imbris 334937568e Add an entity view distance setting that allows limiting the distance
entities are synced from and displayed in.

NOTE: Syncing entities work at the granularity regions which are
multi-chunk squares but the display of entities in voxygen is limited in
a circle with the radiues of the supplied distance.

Additional details and changes:
* Added `ViewDistances` struct in `common` that contains separate
  terrain and entity view distances (the entity view distance will be
  clamped by the terrain view distance in uses of this).
* View distance requests from the client to the server now use this
  type.
* When requesting the character or spectate state the client now passes
  its desired view distances. This is exposed as a new parameter on
  `Client::request_character`/`Client::request_spectate`. And the client
  no longer needs to send a view distance request after entering these
  states. This also allows us to avoid needing to initialize `Presence`
  with a default view distance value on the server.
* Removed `DerefFlaggedStorage` from `Presence` and `RegionSubscription` since the
  change tracking isn't used for these components.
* Add sliders in voxygen graphics and network tabs for this new setting.
  Show the clamped value as well as the selected value next to the
  slider.
* Rename existing "Entities View Distance" slider (which AFAIK controls
  the distance at which different LOD levels apply to figures) to
  "Entities Detail Distance" so we can use the former name for this new
  slider.
2022-08-25 23:24:43 -04:00
..
audio.rs Fix crash when Gap Between Songs is set to 0.0; changed name to Music Spacing 2022-08-11 02:56:40 +00:00
chat.rs Add a client-side mutelist 2022-06-14 20:35:01 +00:00
control.rs character viewpoint 2022-08-09 18:45:45 +02:00
gamepad.rs Merge branch 'flo666/change-gamepad-mapping' into 'master' 2021-09-30 18:48:42 +00:00
gameplay.rs Discord Activity 2022-08-15 15:58:37 +00:00
graphics.rs Add an entity view distance setting that allows limiting the distance 2022-08-25 23:24:43 -04:00
interface.rs Address review 2022-06-29 17:31:58 +03:00
language.rs remove some reexports 2021-07-29 22:18:34 +02:00
mod.rs Remove unnecessarily qualified paths 2022-07-15 14:49:46 +02:00
networking.rs Discord Activity 2022-08-15 15:58:37 +00:00