mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Update changelog, update client/src/bin/* with changes in Client API
This commit is contained in:
parent
7d88baef42
commit
d3c90f9078
13
CHANGELOG.md
13
CHANGELOG.md
@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Added a Craft All button.
|
- Added a Craft All button.
|
||||||
- Server: Vacuum database on startup
|
- Server: Vacuum database on startup
|
||||||
- SeaChapel, greek/latin inspired dungeon for ocean biome coasts
|
- SeaChapel, greek/latin inspired dungeon for ocean biome coasts
|
||||||
|
- Entity view distance setting added (shown in graphics and network tabs). This setting controls
|
||||||
|
the distance at which entities are synced to the client and which entities are displayed in.
|
||||||
|
This is clamped to be no more than the current overall view distance setting.
|
||||||
|
- View distance settings that are lowered by the server limit (or other factors) now display an
|
||||||
|
extra ghost slider cursor when set above the limit (instead of snapping back to the limit).
|
||||||
|
Limits on the view distance by the server no longer affect the settings saved on the client.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Use fluent for translations
|
- Use fluent for translations
|
||||||
@ -23,6 +29,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- /kill_npcs no longer leaves drops behind and also has bug causing it to not destroy entities
|
- /kill_npcs no longer leaves drops behind and also has bug causing it to not destroy entities
|
||||||
fixed.
|
fixed.
|
||||||
- Default present mode changed to Fifo (aka 'Vsync capped').
|
- Default present mode changed to Fifo (aka 'Vsync capped').
|
||||||
|
- Old "Entity View Distance" setting renamed to "Entity Detail Distance" (since this controls the
|
||||||
|
distance at which lower detail models are used for entities).
|
||||||
|
- Present mode options renamed for clarity: Fifo -> 'Vsync capped', Mailbox -> 'Vsync uncapped',
|
||||||
|
Immediate -> 'Vsync off'.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
@ -35,6 +45,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
tries to display the trade window when rejoining)
|
tries to display the trade window when rejoining)
|
||||||
- Cancel trades for an entity when it is deleted (note this doesn't effect trades between players
|
- Cancel trades for an entity when it is deleted (note this doesn't effect trades between players
|
||||||
since their entities are not removed).
|
since their entities are not removed).
|
||||||
|
- Fixed bug where the view distance selection was not immediately applied to entity syncing when
|
||||||
|
first joining a server and when changing the view distance (previously this required moving to a
|
||||||
|
new chunk for the initial setting or subsequent change to apply).
|
||||||
|
|
||||||
## [0.13.0] - 2022-07-23
|
## [0.13.0] - 2022-07-23
|
||||||
|
|
||||||
|
@ -221,7 +221,10 @@ impl BotClient {
|
|||||||
|
|
||||||
let c = list.characters.get(0).unwrap();
|
let c = list.characters.get(0).unwrap();
|
||||||
if let Some(id) = c.character.id {
|
if let Some(id) = c.character.id {
|
||||||
client.request_character(id);
|
client.request_character(id, common::ViewDistances {
|
||||||
|
terrain: 5,
|
||||||
|
entity: 5,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
info!("ingame done");
|
info!("ingame done");
|
||||||
|
@ -111,7 +111,6 @@ fn run_client(
|
|||||||
let mut client = runtime
|
let mut client = runtime
|
||||||
.block_on(Client::new(addr, runtime_clone, &mut None))
|
.block_on(Client::new(addr, runtime_clone, &mut None))
|
||||||
.expect("Failed to connect to the server");
|
.expect("Failed to connect to the server");
|
||||||
client.set_view_distance(opt.vd);
|
|
||||||
|
|
||||||
// Login
|
// Login
|
||||||
// NOTE: use a no-auth server
|
// NOTE: use a no-auth server
|
||||||
@ -159,6 +158,10 @@ fn run_client(
|
|||||||
.character
|
.character
|
||||||
.id
|
.id
|
||||||
.expect("Why is this an option?"),
|
.expect("Why is this an option?"),
|
||||||
|
common::ViewDistances {
|
||||||
|
terrain: opt.vd,
|
||||||
|
entity: opt.vd,
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
// If this is the admin client then adminify the other swarm members
|
// If this is the admin client then adminify the other swarm members
|
||||||
|
Loading…
Reference in New Issue
Block a user