aboutsummaryrefslogtreecommitdiff
path: root/doc/texture_packs.txt
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-16 22:16:04 +0100
committersfan5 <sfan5@live.de>2021-01-29 17:34:41 +0100
commitedd8c3c664ad005eb32e1968ce80091851ffb817 (patch)
treeaf80ed33fa80879ac97c6875fdbb930b857617ad /doc/texture_packs.txt
parente6e5910cb432f0fb25a8af3dc6cb9950fd9a05f5 (diff)
downloadminetest-edd8c3c664ad005eb32e1968ce80091851ffb817.tar.gz
minetest-edd8c3c664ad005eb32e1968ce80091851ffb817.tar.bz2
minetest-edd8c3c664ad005eb32e1968ce80091851ffb817.zip
Drop never documented 'alpha' property from nodedef
Includes minimal support code for practical reasons. We'll need it for a slightly different purpose next commit.
Diffstat (limited to 'doc/texture_packs.txt')
0 files changed, 0 insertions, 0 deletions
hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "config.h" #if USE_LEVELDB #include "database-leveldb.h" #include "log.h" #include "filesys.h" #include "exceptions.h" #include "util/string.h" #include "leveldb/db.h" #define ENSURE_STATUS_OK(s) \ if (!(s).ok()) { \ throw DatabaseException(std::string("LevelDB error: ") + \ (s).ToString()); \ } Database_LevelDB::Database_LevelDB(const std::string &savedir) { leveldb::Options options; options.create_if_missing = true; leveldb::Status status = leveldb::DB::Open(options, savedir + DIR_DELIM + "map.db", &m_database); ENSURE_STATUS_OK(status); } Database_LevelDB::~Database_LevelDB() { delete m_database; } bool Database_LevelDB::saveBlock(const v3s16 &pos, const std::string &data) {