Commit Graph

123 Commits

Author SHA1 Message Date
6dfa146484 Mitgated RUSTSEC-2019-0014 by updating noise and
disabling its default features, specifically `image`,
which had the vulnerability.
2019-11-05 11:14:39 +00:00
21ceb6994b Updated lockfile. 2019-10-30 23:25:18 +01:00
20248a4818 feat: store items as RON files
When a new item is created, a ron file will be used as a template
2019-10-24 23:47:26 +02:00
2fad65c749 Merge branch 'imbris/graphic-cache' into 'master'
Rework GraphicCache to use multiple texture atlases if necessary and put large images in their own textures.

See merge request veloren/veloren!609
2019-10-24 05:27:09 +00:00
2703c8afe1 Move serverside client to a component and communications into server ecs systems 2019-10-23 23:50:06 -04:00
b09bddda79 Make clients subscribed to nearby regions and only send physics updates from those regions. 2019-10-23 22:43:02 -04:00
24d1f6d970 Add initial region system implementation 2019-10-23 22:39:42 -04:00
8bb54976eb Rework GraphicCache to use multiple texture atlases and put large images in their own textures. 2019-10-19 21:28:30 -04:00
eb65e4411f WIP (testing) Update conrod_core
This is a `cargo update -p conrod_core` to bring in updates to
`veloren/conrod/conrod_core` to add support for copy and paste.

Ref: veloren/conrod!2

Fixes #171
2019-10-19 15:12:37 +09:00
8ae2692b6e Allow canceling chunk generation.
Currently we only do this when no players are in range of the chunk.  We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.

We now check an atomic flag for every column sample in a chunk.  We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-10-16 11:39:41 +00:00
30c9fcc911 Fix bug that metrics took a random port always introduced in !584
also removed the duplicate port from the server creation process, using the server settings struct now
2019-10-11 14:19:55 +02:00
4b80f88085 Bind random port for ServerMetrics 2019-10-11 09:06:34 +00:00
1998ed2fdd load structures from ron files / transfer static structure lists to ron files 2019-10-10 20:53:13 -03:00
20c520a044 Change the version number to 0.4 2019-10-10 15:48:01 +02:00
75df4600bd Switch portpicker dependemcy to git
A pull request to fix has been created on original repository. But
since 0.4 is coming out pretty soon, let's swithc to this fork
temporary.
2019-10-07 15:35:20 +00:00
86619d4192 Fix crashing due to error in Alsa.
This uses a more recent version of cpal (a dependency of rodio hence the
rodio change) which seems to have fixed a crash due to
'device not available: "Invalid argument"' coming from Alsa.

The change in cpal also made some functions now return `Result` instead
of a bare type which I dealt with by using `expect` to minimize how far
these changes fan out into the code but maybe this isn't ideal.

Fixing https://gitlab.com/veloren/veloren/issues/280 - Crash with ALSA
2019-10-06 11:24:42 +02:00
b13f9f37f7 Revert "Merge branch 'angelonfira/change-memory-allocator-to-jemalloc' into 'master'"
This reverts merge request !547
2019-10-06 01:31:47 +00:00
e1bab6afe0 Added jemalloc for Linux systems 2019-10-05 17:57:29 -04:00
9ef98ce1a5 Remove heaptrack 2019-10-05 17:57:29 -04:00
43cae5ea64 Fix discord rich presence 2019-10-05 15:35:59 +00:00
193ff105e2 Update client-side password hashing to argon2 2019-10-05 13:12:20 +00:00
9aba318df2 Hash the passwords client-side 2019-10-04 16:44:31 +00:00
12bdefd146 Updated cargo.lock 2019-10-03 17:20:16 -04:00
03bf74f414 Updated toolchain version and a bunch of deps. 2019-10-03 17:19:22 -04:00
bced3cb638 feat(voxygen): add logo for windows executable 2019-10-02 16:57:08 +02:00
f182733074 Small cache experiments 2019-09-22 22:19:07 -04:00
5487c8b7bc Update lockfile. 2019-09-17 16:12:26 +02:00
1dfbe40731 Made the worldgen noise generators seed from the RNG and got rid of zerocopy. 2019-09-17 16:05:08 +02:00
3f2e22f039 Exponential interpolation for linear damping
With an additional approximation to allow for the same size jumps given different framerates.
2019-09-09 19:11:40 +00:00
49b08b55c7 switch from hyper http to rouille for http server 2019-09-09 10:07:25 +02:00
b05e51152f update version, revert from static prometheus back to normal because static doesnt supprot registries, and implement most of the metrics except for entity count 2019-09-09 09:54:30 +02:00
8d3fb40419 first implementation of prometheus in veloren for git hash, tick times, chunks loaded, player online, entity count and light count 2019-09-09 09:48:44 +02:00
000efebfd1 Updated cargo lock 2019-09-08 11:28:56 -04:00
d322384bec common: Add benchmark for Chonk 2019-09-06 15:44:36 +02:00
0fe5b66dce Use latest version of Rodio instead of custom branch 2019-09-05 03:04:53 -06:00
f53904b534 More sprites, ui fixes, lianas 2019-09-01 19:04:03 +00:00
269d179243 Remove vek patch, it's on crates.io now 2019-08-26 17:26:16 +02:00
c4879307af Update to github vek repo 2019-08-26 13:12:45 +02:00
a715a84ea7 Implement unstoppable rolling 2019-08-26 13:12:42 +02:00
cb4374160c Removed unsafe. 2019-08-19 00:55:04 +02:00
5054f1e87d remove palette dependency 2019-08-16 00:01:20 -04:00
be0e0e52a8 Improve colors 2019-08-15 23:59:09 -04:00
cb25c45dec Move shaders, start asset reloading system 2019-08-15 23:56:12 -04:00
42e065d425 [Common] Switch mutexes and channels. 2019-08-16 00:19:54 +02:00
593deb828b [Server] Switched mpsc for crossbeam::channel. 2019-08-16 00:10:46 +02:00
fda47fc322 [Voxygen] Switch mutexes to parking_lot and channels to crossbeam. 2019-08-16 00:07:09 +02:00
b4a46f3e6e Finished switch to hashbrown. 2019-08-11 22:38:28 +02:00
ed4909670d Use hashbrown instead of fxhashmap in world. 2019-08-11 22:10:36 +02:00
22f318833c Migrate client to hashbrown. 2019-08-11 21:54:20 +02:00
0bbef0d851 Use hashbrown in voxygen instead of a billion different shitty maps. 2019-08-11 21:52:23 +02:00