fp: Add building selector UI
This commit is contained in:
@@ -263,6 +263,7 @@ struct FP_Game
|
||||
bool build_mode;
|
||||
bool build_mode_can_place_building;
|
||||
bool debug_ui;
|
||||
Dqn_usize build_mode_building_index;
|
||||
};
|
||||
|
||||
struct FP_GameAStarNode
|
||||
@@ -281,3 +282,15 @@ struct FP_GameFindClosestEntityResult
|
||||
Dqn_V2 pos;
|
||||
};
|
||||
|
||||
struct FP_GamePlaceableBuilding
|
||||
{
|
||||
FP_EntityType type;
|
||||
uint32_t state;
|
||||
};
|
||||
|
||||
FP_GamePlaceableBuilding const PLACEABLE_BUILDINGS[] = {
|
||||
{FP_EntityType_AirportTerry, FP_EntityAirportTerryState_Idle},
|
||||
{FP_EntityType_ChurchTerry, FP_EntityChurchTerryState_Idle},
|
||||
{FP_EntityType_ClubTerry, FP_EntityClubTerryState_Idle},
|
||||
{FP_EntityType_KennelTerry, FP_EntityKennelTerryState_Idle},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user