added liscence information

This commit is contained in:
Sokomine 2013-02-03 21:34:04 +01:00
parent d66a3ac74b
commit 752f73f9ee
4 changed files with 76 additions and 3 deletions

View File

@ -86,4 +86,21 @@ To import your file load and run your world and
5. Go and look for the content of your map. Make sure you have fly and fast privilege so you
can reach them. Turn sight to far.
Liscence
--------
Copyright (C) 2012/2013 Sokomine
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

View File

@ -1,3 +1,22 @@
--[[
Import maps from Minecraft Classic
Copyright (C) 2013 Sokomine
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--]]
minetest.register_privilege("mcimport", "Can import Minecraft Classic savefiles")
mcimport = {}

View File

@ -1,7 +1,25 @@
--[[
Import maps from Minecraft Classic
Copyright (C) 2013 Sokomine
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--]]
-- TODO: use real water if the water-node is sourrounded by anything but air (what is on top doesn't matter)
-- reads a level.dat file from minecraft classic and imports it
-- based on worldedit:deserialize
-- returns the number of nodes changed

View File

@ -1,5 +1,24 @@
-- Minetest 0.4 mod: default
-- See README.txt for licensing and other information.
--[[
Minetest 0.4 mod: default
See README.txt for further information.
Import maps from Minecraft Classic
Copyright (C) 2013 Sokomine
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--]]
WATER_ALPHA = 160
WATER_VISC = 1