raidillon/engine/src/resources.rs
reo ef055a1bda Replace contexts with resources
- Implements a new macro to generate code for a new structure: TypeMap
- TypeMaps are wrappers for HashMaps that use TypeIDs as keys.
- Refactor the entire codebase to use the new resource structures.
- This commit is the first step towards getting rid of "god context objects everywhere".
2025-10-15 22:33:04 +03:00

3 lines
72 B
Rust

use raidillon_core::define_typemap;
define_typemap!(EngineResources,);