Working on taxi car

This commit is contained in:
Vladislav Khorev committed 2026-07-14 14:07:53 +03:00
1 parent 38e45d67b8
commit 35a2a91178
21 files changed
+26446 -45

No files matched your search

+15
View File
@@ -19,6 +19,7 @@
#include <functional>
#include <cstdint>
#include <unordered_map>
namespace ZL
{
@@ -133,6 +134,16 @@ namespace ZL
bool playBattleMusic = false;
std::shared_ptr<Texture> carTexture;
VertexRenderStruct carMesh;
std::shared_ptr<Texture> carWheelTexture;
VertexRenderStruct carWheelMesh;
void setup(const LocationSetup& params, Quest::QuestJournal* journal, AudioPlayerAsync* audioPlayer);
void setupNavigation(const std::vector<std::string>& paths);
bool switchNavigation(int index);
@@ -145,10 +156,12 @@ namespace ZL
void drawGameDarklands();
void drawGameNight();
void drawNightShadowDepthPass(const PointLight& light);
void drawNpcCar();
bool setNavigationAreaAvailable(const std::string& areaName, bool available);
void update(int64_t deltaMs);
void updateNpcCar(int64_t deltaMs);
void handleDown(int64_t fingerId, int eventX, int eventY, int mx, int my);
void handleUp(int64_t fingerId, int mx, int my);
@@ -160,6 +173,8 @@ namespace ZL
void setDialogueFlag(const std::string& flag, int value);
int getDialogueFlag(const std::string& flag) const;
void onTaxiCalled();
// ---- Save / Load ----
// Serialises LocationState + all Character/InteractiveObject sub-states + Lua globals.
void save(nlohmann::json& out) const override;