aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_sapling.png
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-03-07 23:22:54 +0000
committerkwolekr <kwolekr@minetest.net>2013-03-11 19:27:13 -0400
commiteb90c3d92dac8a04019ccca875a9162739ddd7f1 (patch)
treea711e2ce9988c4b4560cb849838c8c502b6d38dc /games/minimal/mods/default/textures/default_sapling.png
parent6a1670dbc31cc0e44178bbd9ad34ff0d5981a060 (diff)
downloadminetest-eb90c3d92dac8a04019ccca875a9162739ddd7f1.tar.gz
minetest-eb90c3d92dac8a04019ccca875a9162739ddd7f1.tar.bz2
minetest-eb90c3d92dac8a04019ccca875a9162739ddd7f1.zip
Move l_get_all_craft_recipes to scriptapi_craft
Diffstat (limited to 'games/minimal/mods/default/textures/default_sapling.png')
0 files changed, 0 insertions, 0 deletions
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. */ #pragma once #include "irrlichttypes.h" /* Lower level lighting stuff */ // This directly sets the range of light. // Actually this is not the real maximum, and this is not the brightest, the // brightest is LIGHT_SUN. // If changed, this constant as defined in builtin/game/constants.lua must // also be changed. #define LIGHT_MAX 14 // Light is stored as 4 bits, thus 15 is the maximum. // This brightness is reserved for sunlight #define LIGHT_SUN 15 inline u8 diminish_light(u8 light) { if (light == 0) return 0; if (light >= LIGHT_MAX) return LIGHT_MAX - 1; return light - 1; }