Commit Graph

17 Commits

Author SHA1 Message Date
ice_iix ca14ea595b Fix clippy warnings: casting u8 to f64 may become silently lossy if types change
https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#cast_lossless
2018-11-04 14:21:10 -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 0d8696286c Update Cargo.tomls to Rust edition 2018, fix crate imports. Closes #13 2018-11-04 12:15:34 -08:00
ice_iix be46377842 Remove unused macros and imports to appease compiler warnings
https://github.com/iceiix/steven/issues/1
2018-09-29 23:52:47 -07:00
Thinkofname 2cc00f086b Implement collisions for stairs 2016-04-21 22:39:34 +01:00
Thinkofname 287867dbcd Add a collidable flag to Material 2016-04-21 21:47:39 +01:00
Thinkofname 1c898b594e Fix door collisions 2016-04-21 20:57:50 +01:00
Thinkofname bb5032fd30 Remove the steven_id system 2016-04-20 21:52:04 +01:00
Scetch 7588b20bd0 Block fixes and some cleanup. 2016-04-20 14:54:32 -04:00
Scetch dab2c3fc89 Default block material to solid. 2016-04-13 10:50:08 -04: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
Scetch 64ec2e4d3b Cleaning up blocks a little bit. 2016-04-08 11:30:41 -04:00
Scetch b037fb1e5c Fix layered snow collision 2016-04-07 14:55:47 -04:00
Thinkofname c117f28b2a Block entity support, implement signs 2016-04-04 22:08:24 +01:00
Scetch 7c31332dc8 Implement more block collisions. 2016-04-03 23:55:20 -04:00
Thinkofname 98ecd348c6 Replace usages of x,y,z for block positions with Position 2016-04-03 20:53:40 +01:00
Thinkofname 92d773bd72 Move blocks into its own crate to speed up compile times 2016-04-03 18:26:52 +01:00
Renamed from src/world/block/mod.rs (Browse further)