ice_iix
77cd4ecf35
Use field init shorthand, instead of x:x, just x,
...
https://rust-lang-nursery.github.io/edition-guide/rust-2018/data-types/field-init-shorthand.html
find src -name '*.rs' -exec perl -pe 's/\b(\w+): \1,/$1,/g' -i {} \;
2018-11-04 13:43:30 -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
ice_iix
db02f9e790
Update try!() to new ? syntax for Rust 2018 edition
...
Not automatically updated, see https://users.rust-lang.org/t/why-does-cargo-fix-replace-try-with-r-try-instead-of/21972/3
There are other tools to replace it, btu this is what I used:
find src -name '*.rs' -exec perl -MRegexp::Common -0777 -pe'$bp=$RE{balanced}{-parens=>"()"}; s/try\!($bp)/substr($1, 1, length($1) - 2) . "?"/ges' -i {} \;
2018-11-04 11:48:51 -08:00
ice_iix
fc18e9836f
Remove anonymous trait parameters, name _ for Rust 2018
...
https://rust-lang-nursery.github.io/edition-guide/rust-2018/trait-system/no-anon-params.html
2018-11-04 11:48:34 -08:00
iceiix
90aaeaf16a
Support beta Rust release. Closes #8 ( #11 )
...
* Remove seemingly unneeded const on MetadataKey<T> new
* Change biome temperature/moisture to integer, x100 to remove floating-point so can use within stable 'const fn'
* Remove unstable const_fn feature, now using stable const fn: see https://www.reddit.com/r/rust/comments/9msqfn/const_fn_soon_on_stable_rust/
* Test on Rust beta (awaiting 1.31 release for stable)
* Update readme for beta Rust support
2018-11-02 16:57:23 -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
bfbd4fe05a
Clean up the protocol implementation to use generics instead of trait objects
2016-04-08 18:46:07 +01:00
Thinkofname
c117f28b2a
Block entity support, implement signs
2016-04-04 22:08:24 +01:00
Thinkofname
1544543c6a
Optimize chunk loading
2016-04-04 12:37:21 +01:00
Thinkofname
98ecd348c6
Replace usages of x,y,z for block positions with Position
2016-04-03 20:53:40 +01:00
Thinkofname
a3a0c02213
Fix a bit::Map overflow on 32 bit machines
2016-04-02 16:24:50 +01:00
Thinkofname
646381968b
Handle block updates from the server
2016-03-31 15:26:07 +01:00
Thinkofname
80f2121bf7
Initial entity work, moved self handling to an entity
2016-03-26 22:21:47 +00:00
Thinkofname
c70f9548c6
Follow some of clippy's suggestions
2016-03-26 14:24:26 +00:00
Thinkofname
25a743703c
Implement stairs
2016-03-26 13:21:19 +00:00
Thinkofname
0855424e52
Move Direction and BlockVertex into better locations
2016-03-26 11:46:37 +00:00
Thinkofname
ba29de40ae
Update to 1.9.0
2016-03-25 20:56:45 +00:00
Thinkofname
12b1dd6445
Initial block model support
2016-03-24 15:39:57 +00:00
Thinkofname
ce1c286801
Implement chunk loading
2016-03-21 14:05:13 +00:00
Thinkofname
5f17aead7e
Base implementation for worlds/blocks
2016-03-18 22:24:30 +00:00
Thinkofname
f1e31886a3
Allow searching for entities within the manager
2016-03-18 10:25:09 +00:00
Thinkofdeath
c2166b5582
Implementation of components for the entity component system
2016-03-17 22:18:25 +00:00
Thinkofdeath
70b6738d87
Update copyright
2016-03-16 18:25:35 +00:00
Thinkofdeath
f1b940fdd1
Clean up
2016-03-16 18:01:33 +00:00
Thinkofdeath
3704b9eeb8
Reformat using rustfmt
2015-10-07 19:36:59 +01:00
Thinkofdeath
302af6393d
Tidy up
2015-09-29 20:09:36 +01:00
Thinkofdeath
fcacd91e3a
Clean up
2015-09-25 15:20:55 +01:00
Thinkofdeath
64d0768fb4
Basic logo work
2015-09-21 13:08:06 +01:00
Thinkofdeath
72e27968eb
Add license
2015-09-17 16:23:07 +01:00
Thinkofdeath
5aef272d43
Base of ui complete
2015-09-17 16:04:25 +01:00
Thinkofdeath
ab2336ffca
Complete protocol implementation
2015-09-12 20:31:26 +01:00