oweals/minetest.git
12 years agoMake add_entity return a reference to added entity (or nil)
Perttu Ahola [Mon, 2 Jan 2012 10:48:25 +0000 (12:48 +0200)]
Make add_entity return a reference to added entity (or nil)

12 years agoClean up InvRef documentation in default/init.lua a bit
Perttu Ahola [Mon, 2 Jan 2012 01:18:23 +0000 (03:18 +0200)]
Clean up InvRef documentation in default/init.lua a bit

12 years agoImprove mini Lua reference
Perttu Ahola [Tue, 6 Dec 2011 17:02:42 +0000 (19:02 +0200)]
Improve mini Lua reference

12 years agoAdd ObjectRef:get_inventory() and add stuff to documentation comments
Perttu Ahola [Tue, 6 Dec 2011 16:59:52 +0000 (18:59 +0200)]
Add ObjectRef:get_inventory() and add stuff to documentation comments

12 years agoWorking implementation of experimental:luafurnace
Perttu Ahola [Tue, 6 Dec 2011 16:07:13 +0000 (18:07 +0200)]
Working implementation of experimental:luafurnace

12 years agoRandom fixes to InvRef related stuff and a broken luafurnace
Perttu Ahola [Tue, 6 Dec 2011 15:23:58 +0000 (17:23 +0200)]
Random fixes to InvRef related stuff and a broken luafurnace

12 years agoAdd InvRef:get_list() and InvRef:set_list() and fix some things (untested)
Perttu Ahola [Tue, 6 Dec 2011 14:22:08 +0000 (16:22 +0200)]
Add InvRef:get_list() and InvRef:set_list() and fix some things (untested)

12 years agoAdd minetest.get_inventory(location), untested
Perttu Ahola [Tue, 6 Dec 2011 13:55:05 +0000 (15:55 +0200)]
Add minetest.get_inventory(location), untested

12 years agoA small robustness addition to ItemStack
Perttu Ahola [Tue, 6 Dec 2011 13:32:41 +0000 (15:32 +0200)]
A small robustness addition to ItemStack

12 years agoRename InvStack to ItemStack
Perttu Ahola [Tue, 6 Dec 2011 13:28:56 +0000 (15:28 +0200)]
Rename InvStack to ItemStack

12 years agoAdd InvRef and InvStack (currently untested and unusable)
Perttu Ahola [Tue, 6 Dec 2011 13:21:56 +0000 (15:21 +0200)]
Add InvRef and InvStack (currently untested and unusable)

12 years agoAdd default: to everything in default/init.lua (...hopefully doesn't break anything)
Perttu Ahola [Sun, 1 Jan 2012 19:31:47 +0000 (21:31 +0200)]
Add default: to everything in default/init.lua (...hopefully doesn't break anything)

12 years agoFix segfault when generating stuff on world boundaries
Perttu Ahola [Sun, 1 Jan 2012 19:01:55 +0000 (21:01 +0200)]
Fix segfault when generating stuff on world boundaries

12 years agoCorrectly pop stuff from the Lua stack in script_load()
Perttu Ahola [Sat, 31 Dec 2011 12:41:57 +0000 (14:41 +0200)]
Correctly pop stuff from the Lua stack in script_load()

12 years agoAdd virtual destructors to abstract classes
Giuseppe Bilotta [Fri, 9 Dec 2011 10:20:19 +0000 (11:20 +0100)]
Add virtual destructors to abstract classes

IRespawnInitiator and InventoryActions are abstract classes, but they
were missing a virtual destructor. Define it, even if it does nothing
and its absence most likely makes no difference other tha causing
warnings during compile.

12 years agoFix mirrored sign texture
Perttu Ahola [Wed, 28 Dec 2011 16:29:33 +0000 (18:29 +0200)]
Fix mirrored sign texture

12 years agoAdd wooden planks to creative inventory
Perttu Ahola [Wed, 28 Dec 2011 16:24:09 +0000 (18:24 +0200)]
Add wooden planks to creative inventory

12 years agoAdd EnvRef:get_objects_inside_radius(pos, radius)
Perttu Ahola [Wed, 28 Dec 2011 16:18:08 +0000 (18:18 +0200)]
Add EnvRef:get_objects_inside_radius(pos, radius)

12 years agoAdd get_look_dir(), get_look_pitch() and get_look_yaw() for players
Perttu Ahola [Wed, 28 Dec 2011 15:34:07 +0000 (17:34 +0200)]
Add get_look_dir(), get_look_pitch() and get_look_yaw() for players

12 years agoFix minetest.env:get_player_by_name(nil) causing segfault and similar things
Perttu Ahola [Wed, 28 Dec 2011 14:25:29 +0000 (16:25 +0200)]
Fix minetest.env:get_player_by_name(nil) causing segfault and similar things

12 years agoExtend load screen maximum time
Perttu Ahola [Sun, 11 Dec 2011 14:52:19 +0000 (16:52 +0200)]
Extend load screen maximum time

12 years agoAdd minetest.get_modpath(modname)
Perttu Ahola [Sun, 11 Dec 2011 14:49:40 +0000 (16:49 +0200)]
Add minetest.get_modpath(modname)

12 years agoadd_luaentity->add_entity in mods/experimental
Perttu Ahola [Sat, 10 Dec 2011 23:52:37 +0000 (01:52 +0200)]
add_luaentity->add_entity in mods/experimental

12 years agoCall this 0.4.dev-20111209-1 0.4.dev-20111209-1
Perttu Ahola [Fri, 9 Dec 2011 09:36:47 +0000 (11:36 +0200)]
Call this 0.4.dev-20111209-1

12 years agoEnforce modname naming convention
Perttu Ahola [Sun, 4 Dec 2011 16:26:05 +0000 (18:26 +0200)]
Enforce modname naming convention

12 years agoDelete unknown LuaEntities when punched
Perttu Ahola [Sun, 4 Dec 2011 14:25:27 +0000 (16:25 +0200)]
Delete unknown LuaEntities when punched

12 years agoImprove /spawnentity a bit
Perttu Ahola [Sun, 4 Dec 2011 14:20:54 +0000 (16:20 +0200)]
Improve /spawnentity a bit

12 years agoRename EnvRef:add_luaentity to EnvRef:add_entity
Perttu Ahola [Sun, 4 Dec 2011 14:08:37 +0000 (16:08 +0200)]
Rename EnvRef:add_luaentity to EnvRef:add_entity

12 years agoAdd EnvRef:get_node_light(pos, timeofday)
Perttu Ahola [Sun, 4 Dec 2011 13:55:37 +0000 (15:55 +0200)]
Add EnvRef:get_node_light(pos, timeofday)

12 years agoProperly use time_from_last_punch for limiting PvP punch damage
Perttu Ahola [Sun, 4 Dec 2011 12:43:01 +0000 (14:43 +0200)]
Properly use time_from_last_punch for limiting PvP punch damage

12 years agoUse plain IBillboardSceneNode instead of MyBillboardSceneNode (improves
Kahrl [Sun, 4 Dec 2011 02:28:30 +0000 (03:28 +0100)]
Use plain IBillboardSceneNode instead of MyBillboardSceneNode (improves
Irrlicht 1.8 compat); also find dungeon master's fireball texture
again; add /spawnentity command

12 years agoCheck symlinks with stat() to know if they are directories or not
Perttu Ahola [Sun, 4 Dec 2011 11:02:00 +0000 (13:02 +0200)]
Check symlinks with stat() to know if they are directories or not

12 years agoAdd support for unix filesystems which yield DT_UNKNOWN in dirent->d_type, falling...
Perttu Ahola [Sun, 4 Dec 2011 10:49:58 +0000 (12:49 +0200)]
Add support for unix filesystems which yield DT_UNKNOWN in dirent->d_type, falling back on stat().

12 years agoFix player not dying when beated to death by other player
Perttu Ahola [Sun, 4 Dec 2011 01:56:22 +0000 (03:56 +0200)]
Fix player not dying when beated to death by other player

12 years agoFix getting two old-style minerals per digged node
Perttu Ahola [Sun, 4 Dec 2011 01:47:55 +0000 (03:47 +0200)]
Fix getting two old-style minerals per digged node

12 years agoDetermine light_propagates from paramtype
Perttu Ahola [Sun, 4 Dec 2011 01:45:02 +0000 (03:45 +0200)]
Determine light_propagates from paramtype

12 years agoAdd experimental TNT's old name as an alias
Perttu Ahola [Sun, 4 Dec 2011 00:16:23 +0000 (02:16 +0200)]
Add experimental TNT's old name as an alias

12 years agoAdd furnace to legacy aliases
Perttu Ahola [Sun, 4 Dec 2011 00:15:05 +0000 (02:15 +0200)]
Add furnace to legacy aliases

12 years agoMake ToolItem and MaterialItem to convert names by aliases at creation time too ...
Perttu Ahola [Sun, 4 Dec 2011 00:12:45 +0000 (02:12 +0200)]
Make ToolItem and MaterialItem to convert names by aliases at creation time too (necessary for eg. crafting)

12 years agoFix fence name
Perttu Ahola [Sun, 4 Dec 2011 00:12:43 +0000 (02:12 +0200)]
Fix fence name

12 years agoCall this 0.4.dev-20111204-1 0.4.dev-20111204-1
Perttu Ahola [Sat, 3 Dec 2011 23:24:47 +0000 (01:24 +0200)]
Call this 0.4.dev-20111204-1

12 years agoConvert CraftItems directly to the name pointed by alias; necessary due to lua defini...
Perttu Ahola [Sat, 3 Dec 2011 23:16:22 +0000 (01:16 +0200)]
Convert CraftItems directly to the name pointed by alias; necessary due to lua definition table

12 years agoFix wrong checked node names in bucket
Perttu Ahola [Sat, 3 Dec 2011 23:15:09 +0000 (01:15 +0200)]
Fix wrong checked node names in bucket

12 years agoAdd some aliases to bucket
Perttu Ahola [Sat, 3 Dec 2011 22:51:19 +0000 (00:51 +0200)]
Add some aliases to bucket

12 years agoDon't initialize ItemCAOs with stick.png
Perttu Ahola [Sat, 3 Dec 2011 22:45:12 +0000 (00:45 +0200)]
Don't initialize ItemCAOs with stick.png

12 years agoFix craftitem aliases
Perttu Ahola [Sat, 3 Dec 2011 22:44:29 +0000 (00:44 +0200)]
Fix craftitem aliases

12 years agoMove default_treeprop.png to treeprop.png
Perttu Ahola [Sat, 3 Dec 2011 22:40:04 +0000 (00:40 +0200)]
Move default_treeprop.png to treeprop.png

12 years agoCraftitem aliases
Perttu Ahola [Sat, 3 Dec 2011 22:39:20 +0000 (00:39 +0200)]
Craftitem aliases

12 years agoFix log message in tooldef.cpp
Perttu Ahola [Sat, 3 Dec 2011 22:35:08 +0000 (00:35 +0200)]
Fix log message in tooldef.cpp

12 years agoModify a commit in tooldef.cpp and nodedef.cpp
Perttu Ahola [Sat, 3 Dec 2011 22:33:05 +0000 (00:33 +0200)]
Modify a commit in tooldef.cpp and nodedef.cpp

12 years agoTool aliases
Perttu Ahola [Sat, 3 Dec 2011 22:22:34 +0000 (00:22 +0200)]
Tool aliases

12 years agoAdd serialization for node aliases to let client show inventory images correctly
Perttu Ahola [Sat, 3 Dec 2011 22:07:02 +0000 (00:07 +0200)]
Add serialization for node aliases to let client show inventory images correctly

12 years agoNode definition aliases
Perttu Ahola [Sat, 3 Dec 2011 21:50:31 +0000 (23:50 +0200)]
Node definition aliases

12 years agoEven more texture fixing
Perttu Ahola [Sat, 3 Dec 2011 20:33:22 +0000 (22:33 +0200)]
Even more texture fixing

12 years agoRename lump_of_* to *_lump
Perttu Ahola [Sat, 3 Dec 2011 20:31:12 +0000 (22:31 +0200)]
Rename lump_of_* to *_lump

12 years agoFix the previous commit
Perttu Ahola [Sat, 3 Dec 2011 19:31:39 +0000 (21:31 +0200)]
Fix the previous commit

12 years agoClean and fix mods/experimental/init.lua
Perttu Ahola [Sat, 3 Dec 2011 19:30:54 +0000 (21:30 +0200)]
Clean and fix mods/experimental/init.lua

12 years agoMore texture naming fixes
Perttu Ahola [Sat, 3 Dec 2011 19:22:29 +0000 (21:22 +0200)]
More texture naming fixes

12 years agoRename textures of default mod
Perttu Ahola [Sat, 3 Dec 2011 19:10:02 +0000 (21:10 +0200)]
Rename textures of default mod

12 years agoRemove iron apple from default
Perttu Ahola [Sat, 3 Dec 2011 18:31:41 +0000 (20:31 +0200)]
Remove iron apple from default

12 years agoMake global names in default mod use good naming convention and move backwards-compat...
Perttu Ahola [Sat, 3 Dec 2011 18:25:21 +0000 (20:25 +0200)]
Make global names in default mod use good naming convention and move backwards-compatibility definitions to mods/legacy

12 years agoRename cookresult_item to cookresult_itemstring
Perttu Ahola [Sat, 3 Dec 2011 16:45:04 +0000 (18:45 +0200)]
Rename cookresult_item to cookresult_itemstring

12 years agoadd EnvRef:get_node_or_nil()
Perttu Ahola [Sat, 3 Dec 2011 16:37:50 +0000 (18:37 +0200)]
add EnvRef:get_node_or_nil()

12 years agoAdd ABM required neighbor check
Perttu Ahola [Sat, 3 Dec 2011 16:18:59 +0000 (18:18 +0200)]
Add ABM required neighbor check

12 years agoFix bucket texture names
Perttu Ahola [Sat, 3 Dec 2011 15:40:58 +0000 (17:40 +0200)]
Fix bucket texture names

12 years agoAllow digging unknown nodes
Perttu Ahola [Sat, 3 Dec 2011 11:56:39 +0000 (13:56 +0200)]
Allow digging unknown nodes

12 years agoShow infotext for unknown nodes
Perttu Ahola [Sat, 3 Dec 2011 11:51:16 +0000 (13:51 +0200)]
Show infotext for unknown nodes

12 years agoShow infotext for unknown items placed on ground
Perttu Ahola [Sat, 3 Dec 2011 11:46:19 +0000 (13:46 +0200)]
Show infotext for unknown items placed on ground

12 years agoCall this 0.4.dev-20111203-3 0.4.dev-20111203-3
Perttu Ahola [Sat, 3 Dec 2011 10:02:45 +0000 (12:02 +0200)]
Call this 0.4.dev-20111203-3

12 years agoOn SIGINT in main menu, don't connect before shutting down
Perttu Ahola [Sat, 3 Dec 2011 10:02:27 +0000 (12:02 +0200)]
On SIGINT in main menu, don't connect before shutting down

12 years agoinventorycube: use all three specified textures; also moved mesh creation / modificat...
Kahrl [Sat, 3 Dec 2011 07:40:32 +0000 (08:40 +0100)]
inventorycube: use all three specified textures; also moved mesh creation / modification functions to mesh.cpp; in lua, inventorycube is now called minetest.inventorycube

12 years agoDo not broadcast an empty chat message when someone tries to log in with the wrong...
Kahrl [Mon, 21 Nov 2011 00:42:52 +0000 (01:42 +0100)]
Do not broadcast an empty chat message when someone tries to log in with the wrong password

12 years agoNotify player whose password is being changed
Kahrl [Mon, 21 Nov 2011 00:35:44 +0000 (01:35 +0100)]
Notify player whose password is being changed

12 years agoCall this 0.4.dev-20111203-2 0.4.dev-20111203-2
Perttu Ahola [Sat, 3 Dec 2011 09:45:26 +0000 (11:45 +0200)]
Call this 0.4.dev-20111203-2

12 years agoNote about debug.txt in error message dialog when mod fails to load
Perttu Ahola [Sat, 3 Dec 2011 09:44:47 +0000 (11:44 +0200)]
Note about debug.txt in error message dialog when mod fails to load

12 years agoChange naming convention to be modname:* instead of modname_* (sorry modders!)
Perttu Ahola [Sat, 3 Dec 2011 09:41:52 +0000 (11:41 +0200)]
Change naming convention to be modname:* instead of modname_* (sorry modders!)

12 years agoFix note about run-in-place mod search path in mods/default/init.lua
Perttu Ahola [Sat, 3 Dec 2011 02:00:42 +0000 (04:00 +0200)]
Fix note about run-in-place mod search path in mods/default/init.lua

12 years agoSet version 0.4.dev-20111203-1 0.4.dev-20111203-1
Perttu Ahola [Sat, 3 Dec 2011 01:46:19 +0000 (03:46 +0200)]
Set version 0.4.dev-20111203-1

12 years agoAdd usermods/ to mod search paths and print out the paths at server startup
Perttu Ahola [Sat, 3 Dec 2011 01:43:20 +0000 (03:43 +0200)]
Add usermods/ to mod search paths and print out the paths at server startup

12 years agoProperly handle mod name conflicts
Perttu Ahola [Sat, 3 Dec 2011 01:32:30 +0000 (03:32 +0200)]
Properly handle mod name conflicts

12 years agoBetter mod loading error handling
Perttu Ahola [Sat, 3 Dec 2011 01:23:14 +0000 (03:23 +0200)]
Better mod loading error handling

12 years agoAdd world/mods to mod search path
Perttu Ahola [Sat, 3 Dec 2011 00:55:54 +0000 (02:55 +0200)]
Add world/mods to mod search path

12 years agoRemove accidental stupid naming in craftitem example
Perttu Ahola [Sat, 3 Dec 2011 00:48:06 +0000 (02:48 +0200)]
Remove accidental stupid naming in craftitem example

12 years agoEnforced mod global naming convention and better error reporting
Perttu Ahola [Sat, 3 Dec 2011 00:45:55 +0000 (02:45 +0200)]
Enforced mod global naming convention and better error reporting

12 years agoFix script error reporting a bit
Perttu Ahola [Fri, 2 Dec 2011 20:49:54 +0000 (22:49 +0200)]
Fix script error reporting a bit

12 years agoFix ActiveObject creation for fast player respawns
Perttu Ahola [Fri, 2 Dec 2011 15:30:22 +0000 (17:30 +0200)]
Fix ActiveObject creation for fast player respawns

12 years agoFix sending of player hp (was sent all the time)
Perttu Ahola [Fri, 2 Dec 2011 15:19:42 +0000 (17:19 +0200)]
Fix sending of player hp (was sent all the time)

12 years agoRemove unnecessary debug output from mods/default/init.lua
Perttu Ahola [Fri, 2 Dec 2011 14:24:56 +0000 (16:24 +0200)]
Remove unnecessary debug output from mods/default/init.lua

12 years agoShow bare hand when no item is selected
Perttu Ahola [Fri, 2 Dec 2011 13:20:42 +0000 (15:20 +0200)]
Show bare hand when no item is selected

12 years agoSet version to 0.4.dev-20111202-1 0.4.dev-20111202-1
Perttu Ahola [Fri, 2 Dec 2011 11:00:42 +0000 (13:00 +0200)]
Set version to 0.4.dev-20111202-1

12 years agoFix mod licensing and add a mention about sound licensing in README.txt
Perttu Ahola [Fri, 2 Dec 2011 10:58:46 +0000 (12:58 +0200)]
Fix mod licensing and add a mention about sound licensing in README.txt

12 years agoScript-defined creative inventory
Perttu Ahola [Fri, 2 Dec 2011 10:43:57 +0000 (12:43 +0200)]
Script-defined creative inventory

12 years agoRename "build" privilege to "interact" (backwards-compatibly, of course)
Perttu Ahola [Fri, 2 Dec 2011 10:18:19 +0000 (12:18 +0200)]
Rename "build" privilege to "interact" (backwards-compatibly, of course)

12 years agoRename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"
Perttu Ahola [Fri, 2 Dec 2011 10:12:07 +0000 (12:12 +0200)]
Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"

12 years agoRemove obsolete createPickedUpItem()
Perttu Ahola [Fri, 2 Dec 2011 09:54:23 +0000 (11:54 +0200)]
Remove obsolete createPickedUpItem()

12 years agoAdd time_from_last_punch to Lua API
Perttu Ahola [Fri, 2 Dec 2011 09:51:41 +0000 (11:51 +0200)]
Add time_from_last_punch to Lua API

12 years agoAdd a note about mods being under CC BY-SA 3.0 like textures
Perttu Ahola [Fri, 2 Dec 2011 09:40:04 +0000 (11:40 +0200)]
Add a note about mods being under CC BY-SA 3.0 like textures

12 years ago+ middle-click now empties the inventory slot properly
Mark Holmquist [Thu, 1 Dec 2011 23:16:41 +0000 (15:16 -0800)]
+ middle-click now empties the inventory slot properly

12 years agoAdd enable_pvp setting
Perttu Ahola [Fri, 2 Dec 2011 09:25:47 +0000 (11:25 +0200)]
Add enable_pvp setting

12 years agoMake unlimited player transfer distance configurable
Perttu Ahola [Fri, 2 Dec 2011 09:22:09 +0000 (11:22 +0200)]
Make unlimited player transfer distance configurable