mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 15:00:06 +00:00
26 lines
740 B
C++
26 lines
740 B
C++
#pragma once
|
|
#include <map>
|
|
|
|
#include "JSON.hpp"
|
|
#include "NPCManager.hpp"
|
|
|
|
namespace TableData {
|
|
extern std::map<int32_t, std::vector<WarpLocation>> RunningSkywayRoutes;
|
|
extern std::map<int32_t, int> RunningNPCRotations;
|
|
extern std::map<int32_t, int> RunningNPCMapNumbers;
|
|
extern std::map<int32_t, BaseNPC*> RunningMobs;
|
|
extern std::map<int32_t, BaseNPC*> RunningGroups;
|
|
extern std::map<int32_t, BaseNPC*> RunningEggs;
|
|
|
|
void init();
|
|
void cleanup();
|
|
void loadGruntwork(int32_t*);
|
|
void flush();
|
|
|
|
void loadPaths(int*);
|
|
void loadDrops();
|
|
void loadEggs(int32_t* nextId);
|
|
void constructPathSkyway(nlohmann::json::iterator);
|
|
void constructPathNPC(nlohmann::json::iterator, int id=0);
|
|
}
|