mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-04 22:40:05 +00:00
27 lines
776 B
C++
27 lines
776 B
C++
#pragma once
|
|
#include <map>
|
|
|
|
#include "contrib/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*> RunningEggs;
|
|
|
|
void init();
|
|
void cleanup();
|
|
void loadGruntwork(int32_t*);
|
|
void flush();
|
|
|
|
int getItemType(int);
|
|
void loadPaths(int*);
|
|
void loadDrops();
|
|
void loadEggs(int32_t* nextId);
|
|
void constructPathSkyway(nlohmann::json::iterator);
|
|
void constructPathSlider(nlohmann::json, int, int);
|
|
void constructPathNPC(nlohmann::json::iterator, int id=0);
|
|
}
|