Event driven engine, further work.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <ostream>
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include "luastack.hpp"
|
||||
@@ -23,7 +24,8 @@ enum WorldType {
|
||||
|
||||
using StringVec = std::vector<std::string>;
|
||||
using StringPair = std::pair<std::string, std::string>;
|
||||
using LuaSource = std::vector<StringPair>;
|
||||
using LuaSourceVec = std::vector<StringPair>;
|
||||
using LuaSourcePtr = std::unique_ptr<LuaSourceVec>;
|
||||
using HashValue = std::pair<uint64_t, uint64_t>;
|
||||
using IdVector = std::vector<int64_t>;
|
||||
|
||||
@@ -76,7 +78,7 @@ std::string trim(std::string s);
|
||||
double distance_squared(double x1, double y1, double x2, double y2);
|
||||
|
||||
// Read the lua source code from the specified directory.
|
||||
LuaSource read_lua_source(const std::string &directory);
|
||||
LuaSourcePtr read_lua_source(const std::string &directory);
|
||||
|
||||
// An XYZ coordinate, general purpose.
|
||||
struct XYZ {
|
||||
|
||||
Reference in New Issue
Block a user