mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
[ui] Attach text views to passage entities
Instead of creating new entities for the text views. This approximately halves the number of entities required to display flowed text, but also tests the ability to have an entity in multiple hierarchies (the goal of the ECS component and system changes).
This commit is contained in:
parent
fdc0dba58b
commit
41d25df0d2
17 changed files with 232 additions and 148 deletions
|
@ -55,7 +55,8 @@ typedef struct hud_subpic_s {
|
|||
uint32_t w, h;
|
||||
} hud_subpic_t;
|
||||
|
||||
extern struct ecs_registry_s *hud_registry;
|
||||
extern struct ecs_system_s hud_system;
|
||||
extern struct ecs_system_s hud_viewsys;
|
||||
|
||||
extern int hud_sb_lines;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue