0ad/binaries/data
Vantha a89ce596a4
Revamp GetTemplateDataHelper
This patch is primarily meant as preparation in order to be able to
reuse this logic for GetEntityState calls in the future.

Key changes:
- Clearer API by providing different functions for different purposes.
- Slight performance optimisation by storing parameters in a context
object and pulling the info from there instead of redeclaring a lambda
each time, which it seems Spidermonkey struggled to optimise well.
- Allow computing only partial template data, specified by passing a
list of desired components. (to be used more in the future)
- Make it so the naming and structure of template data and matches 1:1
with the data in entity states. This makes accessing values from them
more consistent and would also allow e.g. adopting data between the two
in the future.
2026-08-08 17:21:44 +02:00
..
config Fixes missing window preview on Alt+Tab 2026-07-14 19:54:00 +02:00
l10n Update Transifex configurations for the new API using the tx migrate command specified on https://github.com/transifex/cli/releases 2023-04-27 13:06:30 +00:00
mods Revamp GetTemplateDataHelper 2026-08-08 17:21:44 +02:00
tests Use @stylistic/brace-style for eslint 2026-01-12 21:33:52 +01:00
tools/atlas Add Fallback Font support 2025-05-28 01:01:03 -05:00