2020-09-09 17:06:22 +00:00
|
|
|
#pragma once
|
|
|
|
#include <map>
|
|
|
|
|
2020-09-17 09:04:00 +00:00
|
|
|
#include "contrib/JSON.hpp"
|
2020-10-03 02:05:20 +00:00
|
|
|
#include "NPCManager.hpp"
|
2020-09-17 09:04:00 +00:00
|
|
|
|
2020-09-09 19:09:01 +00:00
|
|
|
namespace TableData {
|
2020-10-03 15:21:36 +00:00
|
|
|
extern std::map<int32_t, std::vector<WarpLocation>> RunningSkywayRoutes;
|
2020-10-06 21:59:12 +00:00
|
|
|
extern std::map<int32_t, int> RunningNPCRotations;
|
2020-10-07 17:29:59 +00:00
|
|
|
extern std::map<int32_t, BaseNPC*> RunningMobs;
|
2020-10-03 02:05:20 +00:00
|
|
|
|
2020-09-09 17:06:22 +00:00
|
|
|
void init();
|
2020-09-09 19:09:01 +00:00
|
|
|
void cleanup();
|
2020-10-07 17:29:59 +00:00
|
|
|
void loadGruntwork(int32_t*);
|
2020-10-06 19:53:21 +00:00
|
|
|
void flush();
|
2020-09-17 16:59:30 +00:00
|
|
|
|
|
|
|
int getItemType(int);
|
2020-09-25 18:42:31 +00:00
|
|
|
void loadPaths(int*);
|
2020-09-24 14:14:37 +00:00
|
|
|
void constructPathSkyway(nlohmann::json::iterator);
|
2020-09-25 18:42:31 +00:00
|
|
|
void constructPathSlider(nlohmann::json, int, int);
|
2020-10-13 19:44:43 +00:00
|
|
|
void constructPathNPC(nlohmann::json::iterator, int id=0);
|
2020-09-09 19:09:01 +00:00
|
|
|
}
|