1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 13:19:56 +00:00
openmw-tes3mp/components/misc
elsid 675c0ab72f
Apply uniform random deviation to AI reaction timer
This allows to distribute AI reaction calls over time.

Before this change actors appearing at the same frame will react in the same
frame over and over because AI reaction period is constant. It creates a
non-uniform CPU usage over frames. If a single frame has too many AI reactions
it may cause stuttering when there are too many actors on a scene for current
system.

Another concern is a synchronization of actions between creatures and NPC.
They start to go or hit at the same frame that is unnatural.
2021-03-20 14:47:54 +01:00
..
barrier.hpp Use some C++17 where it makes the code more readable 2020-10-22 07:15:16 +02:00
constants.hpp Get rid of ECLD and dependencies 2020-06-17 13:09:16 +04:00
convert.hpp Add pathgrid to navmesh as off mesh connection 2020-06-12 21:04:02 +02:00
coordinateconverter.hpp Add pathgrid to navmesh as off mesh connection 2020-06-12 21:04:02 +02:00
endianness.hpp Add unit test for swapEndiannessInplace(). Part of Bug #5837 2021-02-09 13:09:36 -05:00
frameratelimiter.hpp Fix frame rate limit 2021-02-12 00:03:11 +01:00
guarded.hpp Add detournavigator test for multiple worker threads 2020-04-26 22:00:55 +02:00
helpviewer.cpp Add link to opencs documentation on readthedocs, available through 2020-04-18 20:54:21 +00:00
helpviewer.hpp Add link to opencs documentation on readthedocs, available through 2020-04-18 20:54:21 +00:00
mathutil.hpp Merge branch 'movement_refactoring' into 'master' 2020-08-27 11:54:30 +00:00
messageformatparser.cpp Implement 'g' flag 2018-08-13 20:31:11 +01:00
messageformatparser.hpp Implement 'g' flag 2018-08-13 20:31:11 +01:00
objectpool.hpp Use RAII for object ptr from pool 2020-07-04 01:15:27 +02:00
resourcehelpers.cpp Revert "Don't force DDS file usage (fixes #1392)" 2018-06-04 17:08:09 +02:00
resourcehelpers.hpp Add back resource handling workarounds to the gui code 2015-05-01 18:37:24 +02:00
rng.cpp Apply uniform random deviation to AI reaction timer 2021-03-20 14:47:54 +01:00
rng.hpp Apply uniform random deviation to AI reaction timer 2021-03-20 14:47:54 +01:00
stringops.hpp An attempt to fix the MSVC2017 build 2020-01-09 20:42:06 +04:00
timer.hpp Apply uniform random deviation to AI reaction timer 2021-03-20 14:47:54 +01:00
utf8stream.hpp Use utf8 lowercase function for journal index to avoid code duplication 2018-05-24 12:53:06 +04:00
weakcache.hpp Move WeakCache to components/misc 2018-09-28 16:47:47 +04:00