fp: Add terry ghosting

This commit is contained in:
2023-10-07 15:29:56 +11:00
parent fd0612ac1c
commit 19f8649870
13 changed files with 57 additions and 9 deletions
+1
View File
@@ -223,6 +223,7 @@ static FP_GameEntity *FP_Game_MakeEntityPointerFV(FP_Game *game, DQN_FMT_STRING_
result->parent = FP_Game_ActiveParentEntityPointer(game);
result->name = TELY_ChunkPool_AllocFmtFV(game->chunk_pool, fmt, args);
result->buildings_visited = FP_SentinelList_Init<FP_GameEntityHandle>(game->chunk_pool);
result->action.sprite_alpha = 1.f;
// NOTE: Attach entity as a child to the parent
FP_GameEntity *parent = result->parent;