aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default/textures/cactus_top.png
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 22:21:12 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:45 +0200
commit9fc78cbece4d26307dab814d8073fc0a1db90bf9 (patch)
tree3e89252f1ed2eb3805c69e7d55e09f3bb658c405 /data/mods/default/textures/cactus_top.png
parente4dff41560f49473f3aeddfdfe6c37e286bf4d7e (diff)
downloadminetest-9fc78cbece4d26307dab814d8073fc0a1db90bf9.tar.gz
minetest-9fc78cbece4d26307dab814d8073fc0a1db90bf9.tar.bz2
minetest-9fc78cbece4d26307dab814d8073fc0a1db90bf9.zip
Fix flowing water being always opaque
Diffstat (limited to 'data/mods/default/textures/cactus_top.png')
0 files changed, 0 insertions, 0 deletions
0' href='#n140'>140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
--Minetest
--Copyright (C) 2014 sapier
--
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 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 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.

ui = {}
ui.childlist = {}
ui.default = nil

--------------------------------------------------------------------------------
function ui.add(child)
	--TODO check child
	ui.childlist[child.name] = child

	return child.name
end

--------------------------------------------------------------------------------
function ui.delete(child)

	if ui.childlist[child.name] == nil then
		return false
	end