- MaterialProperties material;
-
- // NOTE: Move relevant properties to here from elsewhere
-
- void reset()
- {
- // This isn't exactly complete due to lazyness
- // TODO: Make it completely reset everything
-#ifndef SERVER
- inventory_texture = NULL;
-
- post_effect_color = video::SColor(0, 0, 0, 0);
- for(u16 j=0; j<CF_SPECIAL_COUNT; j++){
- special_materials[j] = NULL;
- special_aps[j] = NULL;
- }
-#endif
- for(u32 i=0; i<6; i++)
- tname_tiles[i] = "";
- for(u16 j=0; j<CF_SPECIAL_COUNT; j++)
- mspec_special[j] = MaterialSpec();
- tname_inventory = "";
- alpha = 255;
- backface_culling = true;
- used_texturenames.clear();
- param_type = CPT_NONE;
- is_ground_content = false;
- light_propagates = false;
- sunlight_propagates = false;
- solidness = 2;
- visual_solidness = 0;
- walkable = true;
- pointable = true;
- diggable = true;
- climbable = false;
- buildable_to = false;
- wall_mounted = false;
- air_equivalent = false;
- often_contains_mineral = false;
- dug_item = "";
- initial_metadata = NULL;
- liquid_type = LIQUID_NONE;
- liquid_alternative_flowing = CONTENT_IGNORE;
- liquid_alternative_source = CONTENT_IGNORE;
- liquid_viscosity = 0;
- light_source = 0;
- damage_per_second = 0;
- selection_box = NodeBox();
- material = MaterialProperties();
- }
-
- ContentFeatures()
- {
- reset();
- }
-
- ~ContentFeatures();
-