1
0
forked from 0ad/0ad
0ad/source
wraitii 7350b9042e Don't poll territory in Position component
CmpPosition::TurnStart checks whether the territory changed underneath
each entityevery turn. The only user of this is TerritoryDecay
(structures, for the most part). It is rather inefficient to have this
done for all entities.
The simplest solution is to listen to position-changed messages in
TerritoryDecay instead. This should hardly ever happen in vanilla 0
A.D., except in Atlas, so it's basically free.

This sort of reverts 19965ce37a (original implementation) and
c44b48bd59.

Accepted By: Freagarach (concept only)
Differential Revision: https://code.wildfiregames.com/D5009
This was SVN commit r27673.
2023-06-13 15:48:03 +00:00
..
collada Forbids using more than 64 bones for GPU skinning. 2021-12-13 19:22:27 +00:00
graphics Adds CStrIntern for FXAA and dummy shader names for consistency. 2023-04-16 22:39:36 +00:00
gui Bug fix: Use sort order asc by default instead of desc 2023-01-12 19:10:28 +00:00
i18n No owning raw pointers in L10n.cpp. 2023-01-10 22:19:56 +00:00
lib Check the validity of a couple pointers in low-level tests, refs #5288. 2023-05-18 16:52:29 +00:00
lobby Upgrade gloox to the development trunk version on Windows, refs #3004. This commit needs a rebuild of the glooxwrapper. 2023-01-26 15:43:42 +00:00
maths Reduces uniforms sizes for the Canvas2D shader. 2022-10-09 10:44:51 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Fix the removal of implicit conversions in libfmt 10 by using explicit casts. 2023-05-31 12:03:04 +00:00
pch Removes ogl.h from PCH. 2023-02-20 20:06:53 +00:00
ps Fix two oversights. 2023-05-10 16:02:53 +00:00
renderer Fixes Vulkan hazards reported by validation layers. 2023-06-05 16:32:18 +00:00
rlinterface Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
scriptinterface Use override in classes derived from AbstractProfileTable. 2023-01-10 22:32:08 +00:00
simulation2 Don't poll territory in Position component 2023-06-13 15:48:03 +00:00
soundmanager Moves uniform and texture binding to CDeviceCommandContext. 2022-05-02 20:57:22 +00:00
third_party Switches VMA to Vulkan 1.1. 2023-03-11 19:12:54 +00:00
tools Fix compilation with GCC 13. 2023-05-13 12:08:23 +00:00
main.cpp Adds PS::span and std::string_view to CmdLineArgs. 2022-10-04 19:08:39 +00:00
test_setup.cpp Implement a global task manager using a pool of worker threads 2021-06-03 14:48:38 +00:00