0ad/source/simulation2
phosit 5586802b86
Use a coroutine for Loader tasks
Some tasks are invoked multiple times. Normally those tasks are broken
up inside a loop and had to be continued there. With coroutines that is
easier as it's possible to suspend inside a loop.

Coroutines which are lambdas should not capture anythig as the lifetime
of the captured values might end before the coroutine completes. For
that purpose `std::bind_front` is used.
2025-12-21 15:51:46 +01:00
..
components Introduce a namespace in Loader 2025-12-13 18:58:17 +01:00
docs Remove UNUSED 2025-06-26 17:25:05 +02:00
helpers Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
scripting Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
serialization Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
system Fix EntityMap::iterator 2025-11-11 21:35:01 +01:00
tests Use range based for loop in TestSerializerPerf 2025-12-13 18:58:17 +01:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Use a coroutine for Loader tasks 2025-12-21 15:51:46 +01:00
Simulation2.h Use a coroutine for Loader tasks 2025-12-21 15:51:46 +01:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00