Commit Graph

237 Commits

Author SHA1 Message Date
338b377ef4 Remove write to Body from Buff.
Also fix tests and add an inner PhysicsState type that is Copy, to make
it easier to facilitate reading Last<PhysicsState> and read deltas.
2022-09-28 13:54:09 -07:00
Sam
7c5917e9a9 Removed mutable pos/vel/ori writes from character state system. Added a movementstate component. 2022-09-28 13:54:08 -07:00
cead27989b Don't parallelize spatial grid construction.
Instead, let the single threaded systems run more in parallel.  This is
the beginning of an effort to make physics run concurrently with almost
all other systems.
2022-09-28 13:54:07 -07:00
cc6d904c75 Parallelize spatial grid construction.
This solution may or may not actually work well.  An incremental
solution may be better.
2022-09-28 13:47:33 -07:00
cf6a764aa4 update toolchain to 2022-09-23 2022-09-25 15:58:32 +02:00
c2b453f6f1 update toolchain to 2022-09-08
This reverts commit 6c9deee491.
This reverts commit a32b269252.
2022-09-24 00:04:40 +02:00
2c15d0af56 Reduce overhead of messaging systems. 2022-09-14 21:04:53 -07:00
a32b269252 steal sharps clippy improvements to the old nightly 2022-09-11 16:10:56 +02:00
986d104faa Update Rust toolchain. 2022-09-08 15:43:53 -07:00
54c48c7112 Extract buff executor into own function 2022-09-06 15:50:04 +03:00
flo
9339971032 Music Instruments 2022-08-28 18:48:18 +00:00
flo
e882e62c08 seachapel 2022-08-24 21:50:53 +00:00
ffe7b2158d put light_emitters in par_loop to improve the runtime of the campfire lit out loop 2022-07-18 20:56:28 +02:00
120ee6b6c0 Fix typos 2022-07-15 18:59:37 +02:00
5e5698249b Remove unnecessarily qualified paths 2022-07-15 14:49:46 +02:00
e4909650e1 update hashbrown, specs, and tracy 2022-07-06 15:41:59 +02:00
6a355c58f2 Remove instance from PoiseChange 2022-06-29 18:36:05 +03:00
eabbfe6a51 Remove damage batch option + crit_mult 2022-06-29 17:31:54 +03:00
559d5ca804 Some changes to DamageSources + various code qual changes 2022-06-29 17:31:43 +03:00
5360a7c93e Tons of code quality changes, added damage rounding option 2022-06-29 17:31:37 +03:00
202d558246 Instance number generated inside projectile constructor, remove crit field 2022-06-29 17:31:07 +03:00
6c75ad6ef8 Code quality changes and comments 2022-06-29 17:30:54 +03:00
ac5bf53c42 Instance numbers for HpChanges 2022-06-29 17:30:50 +03:00
7a1e19d42c Crits now only glob with eachother, now show up like healing
Still a WIP, need to change crits to being non-floating and try implementing crits popping, need to remove some debugging stuff later
2022-06-29 17:30:29 +03:00
94f193fbe0 Damage outcomes are now emitted with health change events
Being healed and damaged at the same time still leads to issues - needs to be sorted out
2022-06-29 17:29:19 +03:00
a55cbbbf11 move the character_state test to the systems crate (where the infrastructure is complete) 2022-06-08 07:47:20 +02:00
17661d9655 Revert "massivly decrease the effects of bigger tick times on the pos calculatuion by moving the block friction calcuation into the inner iterator"
This reverts commit 819dae754e.

I wanted to have it in the commit history though
2022-06-07 22:57:40 +02:00
819dae754e massivly decrease the effects of bigger tick times on the pos calculatuion by moving the block friction calcuation into the inner iterator
do physics always after character_behavior as this one is saying how the input should be handled
2022-06-07 22:57:17 +02:00
997b330f19 add physics tests that verify the status quo 2022-06-07 22:53:34 +02:00
Sam
5e57eabd11 Code changes and msm 2022-05-30 20:25:31 -04:00
2bf8e1865f Skiing and ice skating 2022-05-27 17:19:52 +00:00
Sam
81c83c5e83 Items with components can now have their name modified by the components. Also addressed more review. NO ASSETS 2022-05-16 15:11:15 -04:00
cea55143ce Change outcomes to eventbus 2022-05-09 19:58:13 +00:00
3fcf95061e before buff was around 5ms - 6ms on 100 players 2022-05-08 19:49:21 +02:00
144d6d41f7 Extract 'calculate_projection_and_collision_dist' function 2022-05-02 09:14:17 +00:00
fa49248c31 switch to upstream vek again 2022-04-28 09:10:55 +02:00
cffa980f24 Fixed being able to sneak on mount 2022-04-16 16:56:47 +00:00
aee1aa7c1d Merge branch 'holychowders/prevent_undesired_movement_on_agent_interaction' into 'master'
Agent Perception: Improve Awareness System

See merge request veloren/veloren!3263
2022-03-26 00:28:18 +00:00
cf66eccb75 Use Rust 2021 postfix .into_iter() 2022-03-15 16:34:56 +01:00
df91f665d7 Agent Perception: Restrict when idling agents respond to sounds.
- Prevent utterances and other sounds from causing undesired jitters and
  fleeing, such as those caused by greeting villagers.
- Agents will no longer flee from quieter weapon sounds such as melee.
2022-03-12 16:58:06 -06:00
Sam
bc7c088a12 More sensible vertical limit to what melee attacks can hit 2022-03-03 20:03:32 -05:00
94a9b407c2 Fix waypoints being movable 2022-02-28 19:20:37 +00:00
6d795b6ecd Campfire heals pets when owner sits 2022-02-22 09:23:07 +00:00
6d34a6b544 wallrunning 2022-02-09 19:34:23 -05:00
72e270368d Merge branch 'aweinstock/resolve-clippy-lints' into 'master'
Globally allow more clippy lints and reconfigure complexity to be less verbose

See merge request veloren/veloren!3052
2022-01-30 22:53:36 +00:00
f3f08936d8 Decrease too-many-arguments-threshold and type-complexity-threshold. 2022-01-30 20:16:21 +01:00
5f8957d8ef Globally allow the clippy lints {new_without_default, many_single_char_names, identity_op, type_complexity, too_many_arguments}. 2022-01-30 20:16:20 +01:00
7b5d9508b6 Create 'ColliderData' struct and implement it in 'resolve_e2e_collision' function 2022-01-30 19:50:32 +01:00
fba89517de Move Veloren to 2021 edition 2022-01-26 16:46:40 +02:00
bb48267827 Fix warnings 2022-01-23 19:03:47 +01:00