oweals/minetest.git
12 years agoRemove mbtowc warnings
Andreas Zwinkau [Tue, 3 Jul 2012 21:11:06 +0000 (23:11 +0200)]
Remove mbtowc warnings

As mbtowc(_, _, 1) reads at most one char, everything other than a
return value of 1 is an error. Since the input strings are static,
an assert protects against future changes.

Likewise, wctomb should currently never encounter a character, which
actually needs a multibyte representation.

12 years agoActually fix facedir-rotated nodes placed using minetest.env:place_node()
Perttu Ahola [Sat, 21 Jul 2012 18:23:15 +0000 (21:23 +0300)]
Actually fix facedir-rotated nodes placed using minetest.env:place_node()

12 years agoFix hovering after mining a block underneath you while sneaking
Matthew I [Tue, 26 Jun 2012 18:01:02 +0000 (14:01 -0400)]
Fix hovering after mining a block underneath you while sneaking

12 years agoRotate facedir-rotated top and bottom textures too, and re-implement nodebox side...
Perttu Ahola [Sat, 21 Jul 2012 17:23:32 +0000 (20:23 +0300)]
Rotate facedir-rotated top and bottom textures too, and re-implement nodebox side rotation

12 years agoFacedir rotation of nodebox textures
Perttu Ahola [Sat, 21 Jul 2012 15:59:12 +0000 (18:59 +0300)]
Facedir rotation of nodebox textures

12 years agoCheck whether node is known before reading definition in __builtin:item:on_step()
Perttu Ahola [Sat, 21 Jul 2012 13:36:14 +0000 (16:36 +0300)]
Check whether node is known before reading definition in __builtin:item:on_step()

12 years agoFix signed overflow in getPointedThing
Bad-Command [Wed, 4 Jul 2012 19:06:19 +0000 (15:06 -0400)]
Fix signed overflow in getPointedThing

12 years agoFix typo in scriptapi.cpp in minetest.get_craft_recipe()
Perttu Ahola [Sat, 21 Jul 2012 12:32:46 +0000 (15:32 +0300)]
Fix typo in scriptapi.cpp in minetest.get_craft_recipe()

12 years agoServer-side checking of digging; disable_anticheat setting
Perttu Ahola [Sat, 21 Jul 2012 11:38:49 +0000 (14:38 +0300)]
Server-side checking of digging; disable_anticheat setting

12 years agoBITCH, THIS IS 0.4.0. 0.4.0
Perttu Ahola [Sat, 21 Jul 2012 00:37:07 +0000 (03:37 +0300)]
BITCH, THIS IS 0.4.0.

12 years agoDefine M_PI on MSVC
Perttu Ahola [Sat, 23 Jun 2012 13:06:03 +0000 (16:06 +0300)]
Define M_PI on MSVC

12 years agoAdd a random-ish contributor list to credit screen
Perttu Ahola [Fri, 20 Jul 2012 23:56:50 +0000 (02:56 +0300)]
Add a random-ish contributor list to credit screen

12 years agoCheck for table type when reading groups from Lua
darkrose [Sun, 15 Jul 2012 06:50:42 +0000 (16:50 +1000)]
Check for table type when reading groups from Lua

12 years agoAdd minetest.get_craft_recipe()
darkrose [Wed, 11 Jul 2012 18:46:10 +0000 (04:46 +1000)]
Add minetest.get_craft_recipe()

12 years agoAdd support for "textures/all" (and thus texture packs) to server
darkrose [Sat, 23 Jun 2012 17:10:17 +0000 (03:10 +1000)]
Add support for "textures/all" (and thus texture packs) to server

12 years agoMake lava buckets work as fuel in minimal game
darkrose [Fri, 20 Jul 2012 16:41:14 +0000 (02:41 +1000)]
Make lava buckets work as fuel in minimal game

12 years agoRemove trenches from map generator (cyisfor) (glitches: read below)
darkrose [Fri, 20 Jul 2012 17:07:01 +0000 (03:07 +1000)]
Remove trenches from map generator (cyisfor) (glitches: read below)

This causes glitches in very high cliffs by not making mud "flow" down from
them. Those are quite rare currently because of the lame height differences
generated.

12 years agoMessage cleanups (consistency) and prevent /me when not allowed to shout
Calinou [Sun, 24 Jun 2012 21:18:16 +0000 (23:18 +0200)]
Message cleanups (consistency) and prevent /me when not allowed to shout

12 years agoHandle nil placer as it might occur when using minetest.env:place_node. (Uberi)
darkrose [Fri, 20 Jul 2012 17:12:38 +0000 (03:12 +1000)]
Handle nil placer as it might occur when using minetest.env:place_node. (Uberi)

12 years agoRemove util/old/genmap.py, because it is uselessly old
Perttu Ahola [Thu, 19 Jul 2012 18:17:31 +0000 (21:17 +0300)]
Remove util/old/genmap.py, because it is uselessly old

12 years agoAllow defining player's inventory form in Lua
Perttu Ahola [Thu, 19 Jul 2012 11:09:16 +0000 (14:09 +0300)]
Allow defining player's inventory form in Lua

12 years agoFix /builtin/misc.lua:47: attempt to call method 'is_player' (a nil value)
Perttu Ahola [Mon, 18 Jun 2012 21:50:07 +0000 (00:50 +0300)]
Fix /builtin/misc.lua:47: attempt to call method 'is_player' (a nil value)

12 years agoFix random glitches in transparent animations
Perttu Ahola [Sun, 17 Jun 2012 21:21:23 +0000 (00:21 +0300)]
Fix random glitches in transparent animations

12 years agoAdd pointed_thing to lua_api.txt
Perttu Ahola [Sun, 17 Jun 2012 16:47:55 +0000 (19:47 +0300)]
Add pointed_thing to lua_api.txt

12 years agoHopefully fix includes on mingw
Perttu Ahola [Sun, 17 Jun 2012 15:05:13 +0000 (18:05 +0300)]
Hopefully fix includes on mingw

12 years agoIncrement protocol version
Perttu Ahola [Sun, 17 Jun 2012 14:49:12 +0000 (17:49 +0300)]
Increment protocol version

12 years agoExplain node boxes in lua_api.txt
Perttu Ahola [Sun, 17 Jun 2012 14:23:58 +0000 (17:23 +0300)]
Explain node boxes in lua_api.txt

12 years agoCustom boxy nodes (stairs, slabs) and collision changes
Kahrl [Mon, 19 Mar 2012 03:25:09 +0000 (04:25 +0100)]
Custom boxy nodes (stairs, slabs) and collision changes

12 years agoOptimize headers
Perttu Ahola [Sun, 17 Jun 2012 01:00:31 +0000 (04:00 +0300)]
Optimize headers

12 years agoProperly and efficiently use split utility headers
Perttu Ahola [Sat, 16 Jun 2012 23:40:36 +0000 (02:40 +0300)]
Properly and efficiently use split utility headers

12 years agoInitially split utility.h to multiple files in util/
Perttu Ahola [Sat, 16 Jun 2012 22:29:13 +0000 (01:29 +0300)]
Initially split utility.h to multiple files in util/

12 years agoMention node drawtypes in lua_api.txt
Perttu Ahola [Sat, 16 Jun 2012 20:42:04 +0000 (23:42 +0300)]
Mention node drawtypes in lua_api.txt

12 years agoFix /setpassword and /clearpassword
Perttu Ahola [Sat, 16 Jun 2012 20:35:11 +0000 (23:35 +0300)]
Fix /setpassword and /clearpassword

12 years agoFix "Node placement prediction failed for (places __default) - Name not known"
Perttu Ahola [Sat, 16 Jun 2012 19:45:35 +0000 (22:45 +0300)]
Fix "Node placement prediction failed for (places __default) - Name not known"

12 years agoAdd desynchronize_mapblock_texture_animation setting and improve minetest.conf.exampl...
Perttu Ahola [Sat, 16 Jun 2012 19:37:20 +0000 (22:37 +0300)]
Add desynchronize_mapblock_texture_animation setting and improve minetest.conf.example a bit

12 years agoFix build error due to DEBUGFILE
Perttu Ahola [Sat, 16 Jun 2012 18:36:54 +0000 (21:36 +0300)]
Fix build error due to DEBUGFILE

12 years agoRevert back proper crack texture
Perttu Ahola [Sat, 16 Jun 2012 17:48:05 +0000 (20:48 +0300)]
Revert back proper crack texture

12 years agoClean up constants.h a bit
Perttu Ahola [Sat, 16 Jun 2012 15:15:06 +0000 (18:15 +0300)]
Clean up constants.h a bit

12 years agoAllow node cracking animations of any length
Perttu Ahola [Sat, 16 Jun 2012 15:02:56 +0000 (18:02 +0300)]
Allow node cracking animations of any length

12 years agoRemove tiles and special_tiles from node definition prototype because otherwise the...
Perttu Ahola [Sat, 16 Jun 2012 15:02:26 +0000 (18:02 +0300)]
Remove tiles and special_tiles from node definition prototype because otherwise the old names can't be used

12 years agoUpdate field names to non-deprecated ones in node definition prototype
Perttu Ahola [Sat, 16 Jun 2012 14:05:21 +0000 (17:05 +0300)]
Update field names to non-deprecated ones in node definition prototype

12 years agoUse new field names and reorder fields a bit in minimal game
Perttu Ahola [Sat, 16 Jun 2012 13:10:08 +0000 (16:10 +0300)]
Use new field names and reorder fields a bit in minimal game

12 years agoNode texture animation
Perttu Ahola [Sat, 16 Jun 2012 00:40:45 +0000 (03:40 +0300)]
Node texture animation

12 years agoAdd comment about ItemSAO being deprecated
Perttu Ahola [Mon, 11 Jun 2012 19:10:48 +0000 (22:10 +0300)]
Add comment about ItemSAO being deprecated

12 years agoAdd some missing object properties to doc/lua_api.txt
Perttu Ahola [Sun, 10 Jun 2012 12:04:24 +0000 (15:04 +0300)]
Add some missing object properties to doc/lua_api.txt

12 years agoNode placement client-side prediction
Perttu Ahola [Sun, 10 Jun 2012 09:46:48 +0000 (12:46 +0300)]
Node placement client-side prediction

12 years agoRemove a random old comment and a #define from game.cpp
Perttu Ahola [Sat, 9 Jun 2012 10:40:07 +0000 (13:40 +0300)]
Remove a random old comment and a #define from game.cpp

12 years agoAdd experimental_tester_tool_1.png to minimal game (was accidentally left out)
Perttu Ahola [Fri, 8 Jun 2012 13:45:45 +0000 (16:45 +0300)]
Add experimental_tester_tool_1.png to minimal game (was accidentally left out)

12 years agoMove genmap.py and pnoise.py to old/
Perttu Ahola [Fri, 8 Jun 2012 12:50:27 +0000 (15:50 +0300)]
Move genmap.py and pnoise.py to old/

12 years agoUpdate minetestmapper.py to support the current map format (and previous ones)
Perttu Ahola [Fri, 8 Jun 2012 12:17:03 +0000 (15:17 +0300)]
Update minetestmapper.py to support the current map format (and previous ones)

12 years agoUpdate and fix doc/mapformat.txt; make current format more solid in mapblock.cpp
Perttu Ahola [Fri, 8 Jun 2012 11:57:02 +0000 (14:57 +0300)]
Update and fix doc/mapformat.txt; make current format more solid in mapblock.cpp

12 years agoDon't deprecate minetest.register_on_placenode and minetest.register_on_dignode
Perttu Ahola [Thu, 7 Jun 2012 22:51:23 +0000 (01:51 +0300)]
Don't deprecate minetest.register_on_placenode and minetest.register_on_dignode

12 years agoAdd disallow_empty_password setting
Perttu Ahola [Wed, 6 Jun 2012 23:11:28 +0000 (02:11 +0300)]
Add disallow_empty_password setting

12 years agoCall this 0.4.dev-20120606 0.4.dev-20120606
Perttu Ahola [Wed, 6 Jun 2012 21:40:04 +0000 (00:40 +0300)]
Call this 0.4.dev-20120606

12 years agoAdd minetest.serialize() and minetest.deserialize()
Perttu Ahola [Wed, 6 Jun 2012 21:03:42 +0000 (00:03 +0300)]
Add minetest.serialize() and minetest.deserialize()

12 years agoAllow groups in crafting recipes
Perttu Ahola [Wed, 6 Jun 2012 20:39:17 +0000 (23:39 +0300)]
Allow groups in crafting recipes

12 years agoRemove obsolete "footprints" default setting from defaultsettings.cpp
Perttu Ahola [Wed, 6 Jun 2012 17:04:05 +0000 (20:04 +0300)]
Remove obsolete "footprints" default setting from defaultsettings.cpp

12 years agoAllow replacements in cooking and fuel recipes
Kahrl [Sat, 11 Feb 2012 17:10:13 +0000 (18:10 +0100)]
Allow replacements in cooking and fuel recipes

12 years agoFix small errors in lua_api.txt
Perttu Ahola [Tue, 5 Jun 2012 21:15:33 +0000 (00:15 +0300)]
Fix small errors in lua_api.txt

12 years agoAdd after_destruct and cache the existence of on_construct, on_destruct and after_des...
Perttu Ahola [Tue, 5 Jun 2012 20:51:37 +0000 (23:51 +0300)]
Add after_destruct and cache the existence of on_construct, on_destruct and after_destruct for quick skipping when a node does not have them

12 years agoplace_node, dig_node and punch_node; an in-game tester tool; remove old code
Perttu Ahola [Tue, 5 Jun 2012 20:09:18 +0000 (23:09 +0300)]
place_node, dig_node and punch_node; an in-game tester tool; remove old code

12 years agoFix NDT_RAILLIKE tweakings
Perttu Ahola [Tue, 5 Jun 2012 18:51:01 +0000 (21:51 +0300)]
Fix NDT_RAILLIKE tweakings

12 years agoShadily clean up NDT_RAILLIKE to surely differ from the few leftover non-LGPLv2 parts...
darkrose [Tue, 5 Jun 2012 16:18:12 +0000 (02:18 +1000)]
Shadily clean up NDT_RAILLIKE to surely differ from the few leftover non-LGPLv2 parts from the standpoint of copyright law.

12 years agoClean and optimize clouds.cpp enough to not really contain any of the small amount...
Perttu Ahola [Tue, 5 Jun 2012 15:26:10 +0000 (18:26 +0300)]
Clean and optimize clouds.cpp enough to not really contain any of the small amount of non-LGPLv2/later code left

12 years agoSwitch the license to be LGPLv2/later, with small parts still remaining as GPLv2...
Perttu Ahola [Tue, 5 Jun 2012 14:56:56 +0000 (17:56 +0300)]
Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors

12 years agoUpdate translation template po/minetest.pot
Perttu Ahola [Mon, 4 Jun 2012 20:29:14 +0000 (23:29 +0300)]
Update translation template po/minetest.pot

12 years agoUse gettext for more basic user interface strings
Perttu Ahola [Mon, 4 Jun 2012 20:24:31 +0000 (23:24 +0300)]
Use gettext for more basic user interface strings

12 years agoRemove misdesigned exception from ReliablePacketBuffer
Perttu Ahola [Mon, 4 Jun 2012 19:43:33 +0000 (22:43 +0300)]
Remove misdesigned exception from ReliablePacketBuffer

12 years agoAdd ignore_world_load_errors configuration option and provide better error messages
Perttu Ahola [Mon, 4 Jun 2012 19:34:22 +0000 (22:34 +0300)]
Add ignore_world_load_errors configuration option and provide better error messages

12 years agoImprove GUIMessageMenu (move and resize elements based on size of text)
Perttu Ahola [Mon, 4 Jun 2012 19:33:47 +0000 (22:33 +0300)]
Improve GUIMessageMenu (move and resize elements based on size of text)

12 years agoFix loading of old signs
Perttu Ahola [Mon, 4 Jun 2012 15:19:23 +0000 (18:19 +0300)]
Fix loading of old signs

12 years agoCall this 0.4.dev-20120603 0.4.dev-20120603
Perttu Ahola [Sun, 3 Jun 2012 21:37:51 +0000 (00:37 +0300)]
Call this 0.4.dev-20120603

12 years agoAdd InvRef:is_empty(listname) and make chests/furnaces not diggable if not empty...
darkrose [Sun, 3 Jun 2012 10:37:55 +0000 (20:37 +1000)]
Add InvRef:is_empty(listname) and make chests/furnaces not diggable if not empty in minimal game

12 years agoAdd can_dig callback
darkrose [Sun, 3 Jun 2012 10:02:10 +0000 (20:02 +1000)]
Add can_dig callback

12 years agofix locked chest to not destroy denied items (minimal game)
darkrose [Sun, 3 Jun 2012 07:59:56 +0000 (17:59 +1000)]
fix locked chest to not destroy denied items (minimal game)

12 years agoAdd fire visualization to minimal furnace menu
Perttu Ahola [Sun, 3 Jun 2012 15:32:26 +0000 (18:32 +0300)]
Add fire visualization to minimal furnace menu

12 years agoUpdate inventory menu from formspec on-the-fly
Perttu Ahola [Sun, 3 Jun 2012 15:30:34 +0000 (18:30 +0300)]
Update inventory menu from formspec on-the-fly

12 years agoAdd texture modification [lowpart:percent:filename
Perttu Ahola [Sun, 3 Jun 2012 14:57:30 +0000 (17:57 +0300)]
Add texture modification [lowpart:percent:filename

12 years agoImplement image[<X>,<Y>;<W>,<H>;<texture name>] and allow floating-point values in...
Perttu Ahola [Sun, 3 Jun 2012 14:18:08 +0000 (17:18 +0300)]
Implement image[<X>,<Y>;<W>,<H>;<texture name>] and allow floating-point values in formspec

12 years agoReshape inventory menu code
Perttu Ahola [Sun, 3 Jun 2012 13:03:19 +0000 (16:03 +0300)]
Reshape inventory menu code

12 years agoAdd a bit of unit test for inventory
Perttu Ahola [Sat, 2 Jun 2012 21:33:12 +0000 (00:33 +0300)]
Add a bit of unit test for inventory

12 years agoFix loading of legacy chests
Perttu Ahola [Sat, 2 Jun 2012 21:32:49 +0000 (00:32 +0300)]
Fix loading of legacy chests

12 years agoUse proper furnace cook time
Perttu Ahola [Sat, 2 Jun 2012 12:54:42 +0000 (15:54 +0300)]
Use proper furnace cook time

12 years agoAdd ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string...
Perttu Ahola [Sat, 2 Jun 2012 12:47:36 +0000 (15:47 +0300)]
Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players

12 years agoMake GUIinventoryMenu::drawList more robust with invalid data
Perttu Ahola [Sat, 2 Jun 2012 12:28:12 +0000 (15:28 +0300)]
Make GUIinventoryMenu::drawList more robust with invalid data

12 years agoLua implementation of furnace with visible active state
darkrose [Sat, 2 Jun 2012 10:26:20 +0000 (20:26 +1000)]
Lua implementation of furnace with visible active state

12 years agoImplement locked chest; add after_place_node and after_dig_node node callbacks
Perttu Ahola [Sat, 2 Jun 2012 10:20:30 +0000 (13:20 +0300)]
Implement locked chest; add after_place_node and after_dig_node node callbacks

12 years agominetest.get_craft_result
Perttu Ahola [Sat, 2 Jun 2012 09:19:44 +0000 (12:19 +0300)]
minetest.get_craft_result

12 years agoNodeMetaRef:{to,from}_table and lua_api.txt additions
Perttu Ahola [Sat, 2 Jun 2012 08:01:28 +0000 (11:01 +0300)]
NodeMetaRef:{to,from}_table and lua_api.txt additions

12 years agoProperly handle dropping of items from nodes, and disallow moving items directly...
Perttu Ahola [Fri, 1 Jun 2012 21:42:56 +0000 (00:42 +0300)]
Properly handle dropping of items from nodes, and disallow moving items directly between nodes

12 years agoon_metadata_inventory_{move,offer,take}
Perttu Ahola [Fri, 1 Jun 2012 21:33:51 +0000 (00:33 +0300)]
on_metadata_inventory_{move,offer,take}

12 years agoImplement sign using form field protocol
Perttu Ahola [Fri, 1 Jun 2012 17:51:15 +0000 (20:51 +0300)]
Implement sign using form field protocol

12 years agoConvert legacy chest inventory list "0" to "main"
Perttu Ahola [Fri, 1 Jun 2012 16:51:45 +0000 (19:51 +0300)]
Convert legacy chest inventory list "0" to "main"

12 years agoProperly create metadata inventories in minimal
Perttu Ahola [Fri, 1 Jun 2012 16:51:24 +0000 (19:51 +0300)]
Properly create metadata inventories in minimal

12 years agoImprove GUIInventoryMenu error messages more
Perttu Ahola [Fri, 1 Jun 2012 16:50:00 +0000 (19:50 +0300)]
Improve GUIInventoryMenu error messages more

12 years agoAdd proper error messages to GUIInventoryMenu when inventory lists are invalid
Perttu Ahola [Fri, 1 Jun 2012 16:33:20 +0000 (19:33 +0300)]
Add proper error messages to GUIInventoryMenu when inventory lists are invalid

12 years agoRandom node metadata things
Perttu Ahola [Fri, 1 Jun 2012 16:03:09 +0000 (19:03 +0300)]
Random node metadata things

12 years agoAttempt to begin to implement chests and furnace in Lua (with problems)
Perttu Ahola [Fri, 1 Jun 2012 15:07:22 +0000 (18:07 +0300)]
Attempt to begin to implement chests and furnace in Lua (with problems)

12 years agoAdd node on_construct, on_destruct callbacks and update lua_api.txt
Perttu Ahola [Fri, 1 Jun 2012 14:24:54 +0000 (17:24 +0300)]
Add node on_construct, on_destruct callbacks and update lua_api.txt

12 years agoStrip unneeded variables from NodeMetadata
darkrose [Fri, 1 Jun 2012 13:10:53 +0000 (23:10 +1000)]
Strip unneeded variables from NodeMetadata