ice_iix
2af7307d8b
Remove inferred 'static lifetime on const, Rust 1.17+
...
No longer needed since it is inferred automatically:
https://rust-lang-nursery.github.io/edition-guide/rust-2018/ownership-and-lifetimes/simpler-lifetimes-in-static-and-const.html
2018-11-04 13:37:57 -08:00
ice_iix
411e4f69a6
Remove unnecessary 'extern crate's in Rust 2018 edition, import macros
...
https://rust-lang-nursery.github.io/edition-guide/print.html#no-more-extern-crate
https://rust-lang-nursery.github.io/edition-guide/rust-2018/macros/macro-changes.html
https://github.com/iceiix/steven/pull/13#issuecomment-435702507
2018-11-04 12:39:23 -08:00
ice_iix
a40cd43a2e
Update to use crate:: for current crate, for Rust 2018 edition
...
From `cargo fix --edition`, see https://rust-lang-nursery.github.io/edition-guide/print.html#the-crate-keyword-refers-to-the-current-crate
2018-11-04 12:06:00 -08:00
iceiix
de6cd2044e
Update to serde_json 1.0 ( #6 )
...
* Replace find() with get()
* Update for renamed as_string->as_str and as_boolean->as_bool
https://github.com/serde-rs/json/releases/tag/v0.8.0
Value::as_string() has been renamed to as_str() and Value::as_boolean() has been renamed to as_bool() to improve consistency
https://github.com/serde-rs/json/issues/126
* No serde_json::Value::I64/U64/F64 anymore, only Number
* Update from lookup() to pointer(), using JSON pointer syntax
https://github.com/iceiix/steven/pull/6#issuecomment-432472123
* Remove unused and removed ObjectBuilder import
* Use into_iter().collect() to convert BTreeMap to serde_json::Map
* Change parse_rules to accept serde_json::Map instead of BTreeMap
* Remove unused serde_json macro_use
* Update Cargo.lock
2018-10-23 18:47:21 -07:00
ice_iix
fe99910550
Update to image 0.20.0
2018-09-30 17:21:05 -07:00
ice_iix
d6fa1d0a0b
Fix warning: unnecessary parentheses around function argument, new in nightly-2018-02-15
2018-09-29 23:28:38 -07:00
ice_iix
84cbc3d00e
Fix illegal use of floating point in pattern, https://github.com/iceiix/steven/issues/1 https://github.com/rust-lang/rust/issues/41620
2018-09-29 17:50:02 -07:00
llogiq
5e0c041a71
Fixed another batch of clippy warnings
...
Those are mostly readability-related. Also did a cargo update.
2016-09-15 15:15:52 +01:00
Thinkofname
f8be801eac
Improve biome color handling
2016-04-24 20:09:24 +01:00
Thinkofname
a7c586b2e9
Optimize the types used for blocks.
...
Reduces the size of a block from 16 bytes -> 8 bytes on my 64 bit machine.
2016-04-09 13:48:42 +01:00
Thinkofname
ff83cd7367
Remove dead code from the last commit
2016-04-08 00:21:57 +01:00
Thinkofname
456411c816
Fix model rescaling
2016-04-07 23:55:18 +01:00
Thinkofname
3fb58a1b2c
Smooth biome colors + biome bug fixes
2016-04-04 15:05:24 +01:00
Thinkofname
98ecd348c6
Replace usages of x,y,z for block positions with Position
2016-04-03 20:53:40 +01:00
llogiq
0b8cc33c17
Fixed various clippy warnings
2016-04-03 01:26:31 +01:00
Thinkofname
480b7afd3b
Multipart model support
2016-03-31 14:59:40 +01:00
Thinkofname
4fde9161fe
Fix texture rotation issues
2016-03-30 00:36:07 +01:00
Thinkofname
81dd2adc42
Model loading changes and a few more block fixes
2016-03-29 14:52:07 +01:00
Thinkofname
af33935f47
Implement update_state for doors + fixes for various blocks
2016-03-29 13:44:46 +01:00
Thinkofname
6ef08d73b1
Fix lighting bugs with stairs
2016-03-27 23:57:35 +01:00
Thinkofname
7f1e859a87
Implement more blocks
2016-03-26 18:48:10 +00:00
Thinkofname
c70f9548c6
Follow some of clippy's suggestions
2016-03-26 14:24:26 +00:00
Thinkofname
0855424e52
Move Direction and BlockVertex into better locations
2016-03-26 11:46:37 +00:00
Thinkofname
d5274c0b5b
Add a workaround for leaves' culling changes
2016-03-25 21:15:13 +00:00
Thinkofname
c8a2914cc2
Fix a crash in certain biomes
2016-03-25 14:17:54 +00:00
Thinkofname
3738c5a0c0
Liquid rendering
2016-03-25 09:47:39 +00:00
Thinkofname
04fe88321f
Fix crash when starting without vanilla resources
2016-03-25 00:18:46 +00:00
Thinkofname
99a500b4dd
Implement biome colors
2016-03-24 19:39:14 +00:00
Thinkofname
f8b8c5eea4
Initial work on implementing biomes
2016-03-24 19:20:26 +00:00
Thinkofname
302466a518
Finish rotation handling for models
2016-03-24 18:27:43 +00:00
Thinkofname
480bfcba5e
Add a few more blocks
2016-03-24 18:09:28 +00:00
Thinkofname
12b1dd6445
Initial block model support
2016-03-24 15:39:57 +00:00