1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 02:15:22 +02:00

Tool specific pointing and blocking pointable type (#13992)

This commit is contained in:
cx384
2024-01-22 18:27:08 +01:00
committed by GitHub
parent fb461d21a5
commit 5958714309
39 changed files with 676 additions and 67 deletions

View File

@@ -35,6 +35,7 @@ class Client;
#include "constants.h" // BS
#include "texture_override.h" // TextureOverride
#include "tileanimation.h"
#include "util/pointabilities.h"
class IItemDefManager;
class ITextureSource;
@@ -395,8 +396,8 @@ struct ContentFeatures
// This is used for collision detection.
// Also for general solidness queries.
bool walkable;
// Player can point to these
bool pointable;
// Player can point to these, point through or it is blocking
PointabilityType pointable;
// Player can dig these
bool diggable;
// Player can climb these