1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

Add an SSCSM controller and environment skeleton

This commit is contained in:
Desour 2024-12-17 11:30:13 +01:00
parent 5f5ea13251
commit 7935a63ed4
13 changed files with 468 additions and 2 deletions

View file

@ -53,6 +53,8 @@ struct MapNode;
struct PlayerControl;
struct PointedThing;
struct ItemVisualsManager;
class ClientScripting;
class SSCSMController;
namespace scene {
class IAnimatedMesh;
@ -100,8 +102,6 @@ private:
std::map<u16, u32> m_packets;
};
class ClientScripting;
class Client : public con::PeerHandler, public InventoryManager, public IGameDef
{
public:
@ -588,6 +588,9 @@ private:
std::vector<ModSpec> m_mods;
StringMap m_mod_vfs;
// SSCSM
std::unique_ptr<SSCSMController> m_sscsm_controller;
bool m_shutdown = false;
// CSM restrictions byteflag