lfs, current build
This commit is contained in:
@@ -19,6 +19,13 @@ namespace game::state::play
|
||||
std::vector<Entity> items{};
|
||||
int heldItemIndex{-1};
|
||||
int queuedRemoveItemIndex{-1};
|
||||
int pendingEatItemIndex{-1};
|
||||
int pendingEatEventID{-1};
|
||||
int pendingEatAnimationIndex{-1};
|
||||
glm::vec4 pendingEatRect{};
|
||||
bool isPendingEatRect{};
|
||||
bool isEatTextPending{};
|
||||
bool isEatTextOverCapacity{};
|
||||
|
||||
bool isItemHovered{};
|
||||
bool isItemHoveredPrevious{};
|
||||
@@ -30,16 +37,14 @@ namespace game::state::play
|
||||
bool isJustItemHeld{};
|
||||
bool isJustItemThrown{};
|
||||
|
||||
bool isQueueFinishFood{};
|
||||
|
||||
bool isItemFinished{};
|
||||
|
||||
glm::vec2 cursorPositionPrevious{};
|
||||
glm::vec2 cursorDeltaPrevious{};
|
||||
|
||||
std::vector<int> queuedItemIDs{};
|
||||
std::vector<int> returnItemIDs{};
|
||||
|
||||
std::vector<bool> discoveredItemIDs{};
|
||||
int spawnDelayTicks{};
|
||||
struct Particle
|
||||
{
|
||||
std::string label{};
|
||||
@@ -53,13 +58,18 @@ namespace game::state::play
|
||||
bool isMouseLeftDown{};
|
||||
bool isMouseLeftReleased{};
|
||||
bool isMouseRightClicked{};
|
||||
bool isMouseRightDown{};
|
||||
bool isAutomation{};
|
||||
int targetItemIndex{-1};
|
||||
};
|
||||
|
||||
std::optional<Input> inputOverride{};
|
||||
std::vector<Particle> particles{};
|
||||
|
||||
int spawn_delay_get(Entity&);
|
||||
bool spawn_possible_get(Entity&);
|
||||
bool spawn_available_get(Entity&);
|
||||
bool spawn_queue(Entity&, int itemID, bool isLimitIgnored = false);
|
||||
bool spawn_queue(Entity&);
|
||||
void update(Entity&, Entity&, AreaManager&, Text&, const glm::vec4& bounds, Canvas&);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user