Working on location exterior
This commit is contained in:
1 parent
3a73f3fbde
commit
ffd5bd01a4
35 files changed
+72176
-124
No files matched your search
@@ -109,6 +109,12 @@ namespace ZL
|
||||
void navigationEditorSave();
|
||||
void navigationEditorReload();
|
||||
|
||||
void gameObjectEditorPlaceTree();
|
||||
void gameObjectEditorSave();
|
||||
|
||||
std::vector<GameObjectData> editorPlacedObjects;
|
||||
int editorPlacedObjectCounter = 0;
|
||||
|
||||
// Set by Game when the user's primary pointer (left mouse / single touch)
|
||||
// has crossed the tap-vs-drag threshold and is now rotating the camera.
|
||||
bool cameraDragging = false;
|
||||
@@ -152,9 +158,15 @@ namespace ZL
|
||||
void loadTriggerZones(const std::string& jsonPath, const char* zipFile);
|
||||
void updateTriggerZones(const Eigen::Vector3f& playerPos);
|
||||
void nudgeCharacterAside(Character* standing, const Eigen::Vector3f& awayFrom);
|
||||
int findNpcIndex(const Character* npc) const;
|
||||
void fireBumpCallbacks(Character* mover, Character* standing);
|
||||
|
||||
std::unordered_map<Character*, Eigen::Vector3f> lastCharacterPositions;
|
||||
std::unordered_map<Character*, int64_t> replanCooldownRemainingMs;
|
||||
|
||||
static constexpr float NPC_BUMP_CALLBACK_COOLDOWN = 5.0f;
|
||||
std::unordered_map<int, float> npcBumpedByPlayerCooldown;
|
||||
std::unordered_map<int, float> npcBumpsPlayerCooldown;
|
||||
};
|
||||
|
||||
} // namespace ZL
|
||||
Reference in new issue
Block a user