Added first pass on swap chain. Still needs Render Target View and various stuff.

+ Reformat all files
This commit is contained in:
2025-02-09 22:19:17 -05:00
parent d5e09e28bf
commit d90a0bdf83
37 changed files with 944 additions and 636 deletions

View File

@@ -30,8 +30,7 @@ namespace Game
};
template <typename EntityType>
concept EntityConcept = requires(EntityType entity)
{
concept EntityConcept = requires(EntityType entity) {
requires std::same_as<decltype(entity.Kind), const Juliet::Class*>;
requires std::same_as<decltype(entity.Base), Entity*>;
};

View File

@@ -13,7 +13,7 @@ namespace Game
// May be this should contains the allocator for each entity types
};
void InitEntityManager();\
void InitEntityManager();
EntityManager& GetEntityManager();
void RegisterEntity(EntityManager& manager, Entity* entity);
}
void RegisterEntity(EntityManager& manager, Entity* entity);
} // namespace Game