Commit Graph

112 Commits

Author SHA1 Message Date
5ddc55be52 replaced CHUNK_SIZE by RECT_SIZE everywhere, and change the use (and remove... 2023-03-06 21:03:35 +00:00
91ed3c6a84 draw on map 2022-11-30 15:13:52 +01:00
dad73ba2a3 fix clamp clippy errors 2022-11-28 14:26:27 +01:00
cf6a764aa4 update toolchain to 2022-09-23 2022-09-25 15:58:32 +02:00
2c15d0af56 Reduce overhead of messaging systems. 2022-09-14 21:04:53 -07:00
986d104faa Update Rust toolchain. 2022-09-08 15:43:53 -07:00
120ee6b6c0 Fix typos 2022-07-15 18:59:37 +02:00
5e5698249b Remove unnecessarily qualified paths 2022-07-15 14:49:46 +02:00
273c5ed2f0 Temporary noise solution 2022-07-04 18:07:00 +02:00
5a965d21c7 replace vector copying with an iterator 2022-06-07 21:38:17 +02:00
6d3ea3172c separate orders by professions and everyone
cleanup and fix
strictly this population growth logic is wrong, but identical to the existing one
standardize on production, remove more dead code
fix example + rustfmt
separate csv logic from tick (intention is to move it into economy)
remove the format call from economy (inactive debugging code)
remove more formatting
rustfmt
small clippy fix
Reduce precision on output
move csv code
move rest of sim2 mod into economy (context)
remove more unused parts
keep things a bit more coherent
remove pub
make more functions and fields private
remove outdated input, fix other, print names, move output to proper abstraction
remove dead code
2022-06-07 18:30:05 +02:00
f36e74e383 Fix deprecated function use 2022-05-28 23:53:30 +02:00
66fe458623 Improve water.rs usability
Will have an accompanying book update
2022-05-06 13:12:11 +01:00
affdf3131f update a bunch of dependencies, including clap3 2022-04-04 11:43:29 +02:00
7621a21560 Primitive fixes 2022-03-13 03:34:49 +00:00
e21f04d456 Add entity spawn on painter 2022-03-09 21:40:23 +00:00
54b69e37a5 Implement giant trees in site2 2022-02-02 02:33:37 +00:00
201a5ac2c7 stricten some rules and fix some clippy warnings 2022-01-30 20:16:21 +01:00
bf48bd5346 update toolchain to nightly-2021-12-19 2021-12-23 13:04:24 +01:00
453c4c149e fix more examples and satisfy code quality checks 2021-12-20 18:09:34 +00:00
a2a3a20aad Added ice to cold water 2021-12-20 18:03:52 +00:00
596307c9b7 Remove unused clippy suppressions 2021-12-05 17:59:02 +00:00
d9dd49552b Tygyh/resolve all '# allow(clippy needless update)]' error supressions 2021-11-29 09:32:55 +00:00
aa93b4b53c update other binaries 2021-11-20 20:19:48 +01:00
3018942291 Merge branch 'juliancoffee/resizeable_map' into 'master'
Add size parameter to map_file opts

See merge request veloren/veloren!2975
2021-11-19 22:50:24 +00:00
de087ae992 Added site2 worldgen feature 2021-11-01 22:53:38 +00:00
e380425001 Add continent_scale_hack setting 2021-10-30 16:40:37 +01:00
e660aafed3 Nicer lake borders 2021-10-10 13:41:57 +01:00
54eb97b9de Reduce number of map layers and remove unneeded alpha channel 2021-07-24 19:54:40 -07:00
b15f426ee5 Resolve all approved error supressions 2021-07-18 17:11:46 +00:00
5cc2fc8182 Resolve all '#[allow(clippy::or_fun_call))]' error supressions 2021-07-15 13:49:59 +02:00
468cfe84e7 clippy fixes in tests 2021-07-12 13:35:26 +02:00
5dfef5a563 Spawn dungeon entrances depending on the Site origin biome 2021-07-07 00:35:50 +02:00
f9c263faf6 Add benchmark for color quantization using the rtree crate. 2021-07-01 13:41:37 -04:00
47b3b5e5d9 Generate palette info from block statistics, and benchmark how well it compresses. 2021-06-28 22:11:19 -04:00
3f3f8a40c5 Use SQL transactions in world_block_statistics to try to speed it up. 2021-06-28 15:50:58 -04:00
024b6c52ef Add block statistics generator to world/examples. 2021-06-28 15:02:57 -04:00
957ba5d218 Use new dungeons in dungeon_voxel_export, remove old dungeon sampling function, and add more of world/examples to CI. 2021-06-27 15:35:43 -04:00
6af988b806 Fix tests and examples to point to site2 dungeons. 2021-06-24 23:21:49 -04:00
79d7e79776 Accelerate econsim using arrays instead of hashmaps 2021-06-20 16:00:37 +00:00
a77b156cd2 Added dungeon shape to MagicaVoxel export example 2021-06-14 14:43:00 +02:00
23eca4c3f6 Re-disable incremental just for common-systems, small fix in plugin
crate, more new clippy fixes
2021-05-31 20:44:57 -04:00
5380fc4eac Clear the economy database when creating it. 2021-05-28 16:14:31 -04:00
3684cf0454 Fix economy data not properly being used to price trades, resulting in default prices being applied at most towns.
Also add an exporter from econsim results to sqlite to aid in debugging the economy (which revealed this bug).
2021-05-28 15:09:29 -04:00
eb3cc2fd22 Merge branch 'aweinstock/heightmap_visualization' into 'master'
Add heightmap visualization to world/examples.

See merge request veloren/veloren!2246
2021-05-08 16:02:11 +00:00
560c58663e Add max-convolution to heightmap visualization, and specify required-features for it to make CI work. 2021-05-08 11:19:37 -04:00
6e3a74b476 rayon::join creates a global threadpool, which is only used in /world
instead just use the same threadpool for everything
helps with debugging problems with GDB
using threadpool.install() to also be used when `into_par_iter()` is called
2021-05-04 21:06:07 +02:00
a8a89cd6d3 Add heightmap visualization to world/examples. 2021-05-03 16:05:05 -04:00
be39054767 Make terrain compression a checkbox instead of a bandwidth (throughput?) heuristic. 2021-05-03 00:09:44 -04:00
f0824af80a Move chunk_compression_benchmarks from bin to examples. 2021-05-03 00:09:24 -04:00