Переименовывание в LuaVox

This commit is contained in:
2025-02-05 09:54:09 +06:00
parent fbf0727d18
commit cef88fc199
29 changed files with 52 additions and 42 deletions

View File

@@ -3,7 +3,7 @@
#include <cstdint>
#include <glm/ext.hpp>
namespace AL {
namespace LV {
namespace Pos {
struct Local4_u {
@@ -125,7 +125,7 @@ struct LightPrism {
namespace std {
#define hash_for_pos(type) template <> struct hash<AL::Pos::type> { std::size_t operator()(const AL::Pos::type& obj) const { return std::hash<AL::Pos::type::Key>()((AL::Pos::type::Key) obj); } };
#define hash_for_pos(type) template <> struct hash<LV::Pos::type> { std::size_t operator()(const LV::Pos::type& obj) const { return std::hash<LV::Pos::type::Key>()((LV::Pos::type::Key) obj); } };
hash_for_pos(Local4_u)
hash_for_pos(Local16_u)
hash_for_pos(Local16)
@@ -133,4 +133,4 @@ hash_for_pos(GlobalChunk)
hash_for_pos(GlobalRegion)
#undef hash_for_pos
}
}

View File

@@ -11,7 +11,7 @@
#include <boost/asio/experimental/awaitable_operators.hpp>
namespace AL {
namespace LV {
using namespace boost::asio::experimental::awaitable_operators;

View File

@@ -1,7 +1,7 @@
#include "Common/Abstract.hpp"
#include <iostream>
namespace AL {
namespace LV {
template<typename VecType>
bool calcBoxToBoxCollide(const VecType vec1_min, const VecType vec1_max,

View File

@@ -6,7 +6,7 @@
#include <mutex>
#include <boost/thread.hpp>
namespace AL {
namespace LV {
template<typename T>
class Lockable {

View File

@@ -3,7 +3,7 @@
#include <boost/pool/pool_alloc.hpp>
namespace AL {
namespace LV {
template<unsigned PageSize_PowOf2, unsigned CountPageInChunk_PowOf2, unsigned MaxSize = 0, typename Mutex = boost::details::pool::default_mutex, typename UserAllocator = boost::default_user_allocator_new_delete>
struct BoostPool {

View File

@@ -2,7 +2,7 @@
#include <TOSLib.hpp>
#include <boost/asio/buffer.hpp>
namespace AL::Net {
namespace LV::Net {
using namespace TOS;

View File

@@ -10,7 +10,7 @@
#include <boost/thread.hpp>
#include <boost/circular_buffer.hpp>
namespace AL::Net {
namespace LV::Net {
class Server : public AsyncObject {
protected: