Move lerp to td init, add variable gap size

This commit is contained in:
Gent
2020-09-17 05:04:00 -04:00
parent 6a78a301c9
commit a5ffe26c44
4 changed files with 35 additions and 36 deletions

View File

@@ -5,8 +5,6 @@
#include <unordered_map>
#define LERP_GAP 3000
struct WarpLocation;
struct TransportRoute {
@@ -20,7 +18,7 @@ struct TransportLocation {
namespace TransportManager {
extern std::map<int32_t, TransportRoute> Routes;
extern std::map<int32_t, TransportLocation> Locations;
extern std::map<int32_t, std::vector<WarpLocation>> SkywayPaths;
extern std::map<int32_t, std::queue<WarpLocation>> SkywayPaths;
extern std::unordered_map<CNSocket*, std::queue<WarpLocation>> SkywayQueue;
void init();