veloren/common
Imbris 0d8aa16d89 Avoid duplicate searches in the inventory for required items when
interacting with sprites and rustfmt decides to format a bunch of
stuff...

* Add PartialEq impls between ItemDefinitionId<'_> and
  ItemDefinitionIdOwned.
* Remove unused Serialize and Deserialize derives from
  ItemDefinitionId<'_>
* Add Inventory::get_slot_of_item_by_def_id which acts like
  Inventory::get_slot_of_item but accepts a ItemDefinitionIdOwned
  reference instead of an Item reference.
* Add some TODOs for some potential optimizations
* Rustfmt decided now was the time to format some random stuff I didn't
  touch. Maybe I fixed something it was getting stuck on???? But some
  files I didn't make any changes (although might have inadvertantly saved
  them when viewing in editor (with fmt on save)).
* InvSlotId passed to SpriteInteract character state instead of
  refinding the item in the inventory (if it moved we simply give up on
  the state as if the requirements weren't met). (overall in this change
  3 searches for the item in the inventory are reduced to a single one)
2023-03-11 10:24:30 -05:00
..
assets Update dot_vox dependency 2023-01-22 18:00:39 +01:00
base Update tracy 2022-05-26 00:04:03 -04:00
benches Various minor optimisations 2022-10-12 13:57:14 +01:00
dynlib update dependencies 2022-09-22 11:57:55 +02:00
ecs fix clippy errors 2022-11-28 14:08:11 +01:00
frontend Reduce overhead of messaging systems. 2022-09-14 21:04:53 -07:00
net move client commands to voxygen + add Admin to be shared with client for permissions + unit test for alphabetical server command 2023-01-27 20:31:56 -05:00
src Avoid duplicate searches in the inventory for required items when 2023-03-11 10:24:30 -05:00
state move client commands to voxygen + add Admin to be shared with client for permissions + unit test for alphabetical server command 2023-01-27 20:31:56 -05:00
systems More spot features 2023-03-03 23:21:37 +00:00
build.rs Removed existing LFS check 2023-01-18 22:31:33 +00:00
Cargo.toml Switch from custom macro for grouping cfgs to cfg_if since rustfmt can't see through macros but is hardcoded to parse cfg_if and follow the module names inside it. 2023-03-11 08:06:46 -05:00