mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-10-04 17:22:46 +00:00
dongresource
cee09f6344
All packet handlers and helper functions that are only used in the source file they're declared in have been taken out of the namespaces in the corresponding header files, have been marked static, and have been reordered to avoid the need for declarations at the top of each source file. Each source file now contains a "using namespace" directive so that the static functions don't need to prefix the source file's symbols with their namespace. All redundant namespace prefixes found have been removed. An unused nano power resetting function in NanoManager has been removed.
18 lines
482 B
C++
18 lines
482 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 flush();
|
|
}
|