mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Tool specific pointing and blocking pointable type (#13992)
This commit is contained in:
parent
fb461d21a5
commit
5958714309
39 changed files with 676 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue