1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Digging time groups WIP

This commit is contained in:
Perttu Ahola 2012-02-28 19:45:23 +02:00
parent f21291211c
commit 562ac3bce9
21 changed files with 695 additions and 704 deletions

View file

@ -23,12 +23,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "common_irrlicht.h"
#include <string>
#include <iostream>
#include <set>
#include <map>
#include "mapnode.h"
#ifndef SERVER
#include "tile.h"
#endif
#include "materials.h" // MaterialProperties
class IItemDefManager;
class ITextureSource;
class IGameDef;
@ -149,6 +148,7 @@ struct ContentFeatures
*/
std::string name; // "" = undefined node
std::map<std::string, int> groups; // Same as in itemdef
// Visual definition
enum NodeDrawType drawtype;
@ -194,7 +194,6 @@ struct ContentFeatures
u8 light_source;
u32 damage_per_second;
NodeBox selection_box;
MaterialProperties material;
// Compatibility with old maps
// Set to true if paramtype used to be 'facedir_simple'
bool legacy_facedir_simple;