ice_iix
4c45ada7ef
Fix clippy::drop_non_drop on MaybeUninit<T> in ecs
...
std::mem::drop was called on a value which does not implement `Drop`,
specifically std::mem::MaybeUninit<T>. According to the Clippy warning,
this only extends its contained lifetime. Change to assume_init_drop().
2022-10-30 15:18:46 -07:00
ice_iix
526dfa65b6
Fix clippy::uninit_assumed_init, use MaybeUninit<T>
2021-06-18 19:32:26 -07:00
ice_iix
c4690bba32
Use add(x) instead of offset(x as isize), fixes ptr_offset_with_cast
2020-06-30 18:56:08 -07:00
ice_iix
8fb5491e15
Add missing default implementations (new_without_default)
2020-06-29 18:42:07 -07:00
iceiix
518b6a07f8
Reformat all source with cargo fmt ( #335 )
2020-06-21 12:17:24 -07:00
ice_iix
8502c031f8
Update to Rust 1.40.0. Closes #253
...
* Update mem::uninitialized to MaybeUninit
* Update to Rust version 1.40 in AppVeyor
* Update readme for Rust version requirement
2020-01-04 17:26:26 -08:00
ice_iix
c88631b124
Fix bare trait objects warning, add explicit `dyn`
2019-11-02 15:46:06 -07:00
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
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
0e23e1d86f
Fix entities not correctly being removed on switching servers
2016-04-08 21:39:00 +01:00
Thinkofname
c117f28b2a
Block entity support, implement signs
2016-04-04 22:08:24 +01:00
llogiq
0b8cc33c17
Fixed various clippy warnings
2016-04-03 01:26:31 +01:00
Thinkofname
9c30d8f971
Handle systems for the ecs in a safe way ( Fixes #26 )
2016-04-02 23:51:51 +01:00
Thinkofname
ed5fb8c93d
Initial work on player models
2016-03-28 14:15:21 +01:00
Thinkofname
93c58aad89
Remove unsafe Proxy system
2016-03-27 17:45:12 +01:00
Thinkofname
e36a0f4579
Various bug fixes for entity handling. TODO: Smite this system from orbit, it sucks
2016-03-27 17:08:38 +01:00
Thinkofname
347244c65c
Clean up lifetimes in the ecs
2016-03-27 14:42:02 +01:00
Thinkofname
6a692ba37d
Allow for tracking for component removals and additions
2016-03-27 14:25:34 +01:00
Thinkofname
26bca302aa
Minor tweaks
2016-03-27 13:27:31 +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
7776690446
Initial implementation for systems
2016-03-18 10:32:48 +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