oweals/minetest.git
12 years agoImprove player movement speed checking
Perttu Ahola [Sat, 26 Nov 2011 12:30:57 +0000 (14:30 +0200)]
Improve player movement speed checking

12 years agoPlayer movement speed and node access distance checking
Perttu Ahola [Sat, 26 Nov 2011 12:03:56 +0000 (14:03 +0200)]
Player movement speed and node access distance checking

12 years agoIf available, use local textures instead of those sent by server
Perttu Ahola [Sat, 26 Nov 2011 11:32:23 +0000 (13:32 +0200)]
If available, use local textures instead of those sent by server

12 years agoFix TNT script
Perttu Ahola [Sat, 26 Nov 2011 10:47:31 +0000 (12:47 +0200)]
Fix TNT script

12 years agoMake lighting update occur immediately after ClientActiveObject addition to make...
Perttu Ahola [Sat, 26 Nov 2011 10:40:25 +0000 (12:40 +0200)]
Make lighting update occur immediately after ClientActiveObject addition to make objects show up much more responsively

12 years agoReshape LuaEntityCAO implementation a bit and make TNT to blink
Perttu Ahola [Sat, 26 Nov 2011 10:35:30 +0000 (12:35 +0200)]
Reshape LuaEntityCAO implementation a bit and make TNT to blink

12 years agoOptimize active block modifier stuff (was left horribly unoptimized after making...
Perttu Ahola [Sat, 26 Nov 2011 10:34:52 +0000 (12:34 +0200)]
Optimize active block modifier stuff (was left horribly unoptimized after making content ids dynamic)

12 years agoRe-implement give_initial_stuff
Perttu Ahola [Sat, 26 Nov 2011 01:49:46 +0000 (03:49 +0200)]
Re-implement give_initial_stuff

12 years agoException handling in Lua setting get
Perttu Ahola [Sat, 26 Nov 2011 01:40:16 +0000 (03:40 +0200)]
Exception handling in Lua setting get

12 years agoLua setting getter
Perttu Ahola [Sat, 26 Nov 2011 01:37:09 +0000 (03:37 +0200)]
Lua setting getter

12 years agoremove get_nodedef
Perttu Ahola [Sat, 26 Nov 2011 01:22:54 +0000 (03:22 +0200)]
remove get_nodedef

12 years agoon_newplayer and on_respawnplayer callbacks
Perttu Ahola [Sat, 26 Nov 2011 01:20:19 +0000 (03:20 +0200)]
on_newplayer and on_respawnplayer callbacks

12 years agoliquid_type -> liquidtype
Perttu Ahola [Sat, 26 Nov 2011 01:19:25 +0000 (03:19 +0200)]
liquid_type -> liquidtype

12 years agoMake node definitions available to Lua
Perttu Ahola [Sat, 26 Nov 2011 00:26:19 +0000 (02:26 +0200)]
Make node definitions available to Lua

12 years agoRemove give_initial_stuff
Perttu Ahola [Fri, 25 Nov 2011 22:55:50 +0000 (00:55 +0200)]
Remove give_initial_stuff

12 years agoAdd node definitions in Lua and do not use content_mapnode_init anymore (except in...
Kahrl [Fri, 25 Nov 2011 22:09:36 +0000 (00:09 +0200)]
Add node definitions in Lua and do not use content_mapnode_init anymore (except in test.cpp)

12 years agoModify CONTENT_AIR and CONTENT_IGNORE handling in nodedef.cpp
Perttu Ahola [Fri, 25 Nov 2011 20:45:55 +0000 (22:45 +0200)]
Modify CONTENT_AIR and CONTENT_IGNORE handling in nodedef.cpp

12 years agoFix random node definition stuff
Perttu Ahola [Fri, 25 Nov 2011 20:06:50 +0000 (22:06 +0200)]
Fix random node definition stuff

12 years agoAdd builtin.lua
Perttu Ahola [Fri, 25 Nov 2011 19:52:09 +0000 (21:52 +0200)]
Add builtin.lua

12 years agobuiltin.lua
Perttu Ahola [Fri, 25 Nov 2011 19:32:12 +0000 (21:32 +0200)]
builtin.lua

12 years agoAdd object reference to Lua on_place/dig/punchnode parameters
Perttu Ahola [Fri, 25 Nov 2011 17:49:20 +0000 (19:49 +0200)]
Add object reference to Lua on_place/dig/punchnode parameters

12 years agoFix "warning: comparison between signed and unsigned integer expressions"
Perttu Ahola [Fri, 25 Nov 2011 17:45:04 +0000 (19:45 +0200)]
Fix "warning: comparison between signed and unsigned integer expressions"

12 years agoSome node definitions in Lua
Perttu Ahola [Fri, 25 Nov 2011 16:57:47 +0000 (18:57 +0200)]
Some node definitions in Lua

12 years agoDuplicate last tile image automatically to all for lua node definitions
Perttu Ahola [Fri, 25 Nov 2011 16:57:17 +0000 (18:57 +0200)]
Duplicate last tile image automatically to all for lua node definitions

12 years agoMake map generator more responsive
Perttu Ahola [Fri, 25 Nov 2011 16:17:59 +0000 (18:17 +0200)]
Make map generator more responsive

12 years agoPrint out number of blocks in memory at unload
Perttu Ahola [Fri, 25 Nov 2011 16:08:47 +0000 (18:08 +0200)]
Print out number of blocks in memory at unload

12 years agoDon't allow placing CONTENT_IGNORE with Map::setNode() because it is never useful...
Perttu Ahola [Fri, 25 Nov 2011 15:42:41 +0000 (17:42 +0200)]
Don't allow placing CONTENT_IGNORE with Map::setNode() because it is never useful and is only caused by bugs.

12 years agoImprove debug stack printing interface
Perttu Ahola [Fri, 25 Nov 2011 15:42:12 +0000 (17:42 +0200)]
Improve debug stack printing interface

12 years agoMake liquid_alternative_* to be strings
Perttu Ahola [Fri, 25 Nov 2011 15:00:50 +0000 (17:00 +0200)]
Make liquid_alternative_* to be strings

12 years agoMode node definition loading from Lua (still not finished), fix metadata creation...
Perttu Ahola [Fri, 25 Nov 2011 14:34:12 +0000 (16:34 +0200)]
Mode node definition loading from Lua (still not finished), fix metadata creation from name

12 years agoStore metadata as metadata name in node definition
Perttu Ahola [Fri, 25 Nov 2011 13:38:18 +0000 (15:38 +0200)]
Store metadata as metadata name in node definition

12 years agoSet block modified flag when node metadata inventory is modified
Perttu Ahola [Fri, 25 Nov 2011 13:19:42 +0000 (15:19 +0200)]
Set block modified flag when node metadata inventory is modified

12 years agoAdd names to NodeMetadata
Perttu Ahola [Fri, 25 Nov 2011 13:17:54 +0000 (15:17 +0200)]
Add names to NodeMetadata

12 years agoAdd Lua node definition stuff (not complete)
Perttu Ahola [Fri, 25 Nov 2011 12:58:42 +0000 (14:58 +0200)]
Add Lua node definition stuff (not complete)

12 years agoAdd texture modifier [brighten and modify [toalpha to modify existing texture, not...
Perttu Ahola [Tue, 22 Nov 2011 22:27:12 +0000 (00:27 +0200)]
Add texture modifier [brighten and modify [toalpha to modify existing texture, not read a new base

12 years agoRandom Lua tweaks/fixes
Perttu Ahola [Mon, 21 Nov 2011 12:56:03 +0000 (14:56 +0200)]
Random Lua tweaks/fixes

12 years agoMake object hit delay smaller for fun; actually it should be roughly zero and hit...
Perttu Ahola [Mon, 21 Nov 2011 12:40:16 +0000 (14:40 +0200)]
Make object hit delay smaller for fun; actually it should be roughly zero and hit damage should be calculated from the amount of time since last punch, limited to a maximum value

12 years agoRelatively snappy object-ground collision detection
Perttu Ahola [Mon, 21 Nov 2011 12:36:21 +0000 (14:36 +0200)]
Relatively snappy object-ground collision detection

12 years agoWhen digging a node, don't switch to punching an object without raising button
Perttu Ahola [Mon, 21 Nov 2011 12:34:43 +0000 (14:34 +0200)]
When digging a node, don't switch to punching an object without raising button

12 years agoDefault to saving stuff more often to minimize lag caused by a single save
Perttu Ahola [Mon, 21 Nov 2011 12:13:28 +0000 (14:13 +0200)]
Default to saving stuff more often to minimize lag caused by a single save

12 years agoDon't print 'Blocks modified by: ' in Map::timerUpdate if no blocks were written
Perttu Ahola [Mon, 21 Nov 2011 11:44:10 +0000 (13:44 +0200)]
Don't print 'Blocks modified by: ' in Map::timerUpdate if no blocks were written

12 years agoDon't print all block saves to verbosestream; rather print counts of distinct modifiers
Perttu Ahola [Mon, 21 Nov 2011 11:35:32 +0000 (13:35 +0200)]
Don't print all block saves to verbosestream; rather print counts of distinct modifiers

12 years agoAdd reason parameter to setModified and print it out to verbosestream when saving...
Perttu Ahola [Mon, 21 Nov 2011 11:29:16 +0000 (13:29 +0200)]
Add reason parameter to setModified and print it out to verbosestream when saving block

12 years agoImprove LuaEntity velocity/acceleration handling (by kahrl); implement staticdata...
Perttu Ahola [Mon, 21 Nov 2011 09:15:15 +0000 (11:15 +0200)]
Improve LuaEntity velocity/acceleration handling (by kahrl); implement staticdata interface to Lua

12 years agoMess up with node definitions to make CONTENT_IGNORE be correctly interpreted when...
Perttu Ahola [Sat, 19 Nov 2011 17:06:19 +0000 (19:06 +0200)]
Mess up with node definitions to make CONTENT_IGNORE be correctly interpreted when creating meshes

12 years agoOptimize map generator for the dynamic content ids a bit
Perttu Ahola [Sat, 19 Nov 2011 16:48:09 +0000 (18:48 +0200)]
Optimize map generator for the dynamic content ids a bit

12 years agoMake added nodes give the corresponding NodeItem as of now (placeholder code)
Perttu Ahola [Thu, 17 Nov 2011 22:05:00 +0000 (00:05 +0200)]
Make added nodes give the corresponding NodeItem as of now (placeholder code)

12 years agoFix tool wear
Perttu Ahola [Thu, 17 Nov 2011 14:50:06 +0000 (16:50 +0200)]
Fix tool wear

12 years agoFalling sand and gravel
Perttu Ahola [Thu, 17 Nov 2011 14:21:17 +0000 (16:21 +0200)]
Falling sand and gravel

12 years agoNode place/dig Lua callbacks
Perttu Ahola [Thu, 17 Nov 2011 09:22:24 +0000 (11:22 +0200)]
Node place/dig Lua callbacks

12 years agoFix crafted tools being a very tiny bit worn in default/init.lua
Perttu Ahola [Thu, 17 Nov 2011 08:23:20 +0000 (10:23 +0200)]
Fix crafted tools being a very tiny bit worn in default/init.lua

12 years agoRemove crafting definitions from content_craft.cpp
Perttu Ahola [Thu, 17 Nov 2011 08:19:31 +0000 (10:19 +0200)]
Remove crafting definitions from content_craft.cpp

12 years agoAdd classic crafting recipes to default/init.lua
Perttu Ahola [Thu, 17 Nov 2011 08:16:02 +0000 (10:16 +0200)]
Add classic crafting recipes to default/init.lua

12 years agoCatch SerializationError in CCraftDefManager::getCraftResult()
Perttu Ahola [Thu, 17 Nov 2011 08:13:38 +0000 (10:13 +0200)]
Catch SerializationError in CCraftDefManager::getCraftResult()

12 years agoAdd note about craft_get_result() not being used anymore, but don't remove before...
Perttu Ahola [Thu, 17 Nov 2011 00:30:52 +0000 (02:30 +0200)]
Add note about craft_get_result() not being used anymore, but don't remove before it's contents have been transferred to scripts

12 years agoCrafting definition in scripts
Perttu Ahola [Thu, 17 Nov 2011 00:28:46 +0000 (02:28 +0200)]
Crafting definition in scripts

12 years agoImprove item serialization
Perttu Ahola [Wed, 16 Nov 2011 20:47:37 +0000 (22:47 +0200)]
Improve item serialization

12 years agoAllow inputting nodename of MaterialItem in ItemSpec::checkItem
Perttu Ahola [Wed, 16 Nov 2011 17:10:49 +0000 (19:10 +0200)]
Allow inputting nodename of MaterialItem in ItemSpec::checkItem

12 years agoFix another silly mistake making CONTENT_IGNORE definition not being what it should
Perttu Ahola [Wed, 16 Nov 2011 14:56:55 +0000 (16:56 +0200)]
Fix another silly mistake making CONTENT_IGNORE definition not being what it should

12 years agoFix silly misspelling in mapgen that made junglegrass to be CONTENT_IGNORE
Perttu Ahola [Wed, 16 Nov 2011 14:52:36 +0000 (16:52 +0200)]
Fix silly misspelling in mapgen that made junglegrass to be CONTENT_IGNORE

12 years agoActually fill in the NewNameGetter names to allow map generator operation and crafting
Perttu Ahola [Wed, 16 Nov 2011 14:48:04 +0000 (16:48 +0200)]
Actually fill in the NewNameGetter names to allow map generator operation and crafting

12 years agoMapNode constructor to allow ndef+name
Perttu Ahola [Wed, 16 Nov 2011 14:47:20 +0000 (16:47 +0200)]
MapNode constructor to allow ndef+name

12 years agoInitial node definition stuff
Perttu Ahola [Wed, 16 Nov 2011 13:23:25 +0000 (15:23 +0200)]
Initial node definition stuff

12 years agoFix camera MaterialItem draw logic
Perttu Ahola [Wed, 16 Nov 2011 12:48:05 +0000 (14:48 +0200)]
Fix camera MaterialItem draw logic

12 years agoClean InventoryItem interface a bit
Perttu Ahola [Wed, 16 Nov 2011 12:44:01 +0000 (14:44 +0200)]
Clean InventoryItem interface a bit

12 years agoImproved MaterialItem (stores nodename)
Perttu Ahola [Wed, 16 Nov 2011 12:36:33 +0000 (14:36 +0200)]
Improved MaterialItem (stores nodename)

12 years agoDo not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper...
Perttu Ahola [Wed, 16 Nov 2011 12:08:31 +0000 (14:08 +0200)]
Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code

12 years agoNode definition names
Perttu Ahola [Wed, 16 Nov 2011 11:03:28 +0000 (13:03 +0200)]
Node definition names

12 years agoAdd name field to ContentFeatures
Perttu Ahola [Wed, 16 Nov 2011 07:36:19 +0000 (09:36 +0200)]
Add name field to ContentFeatures

12 years agoRemove burn time definitions from FurnaceNodeMetadata
Perttu Ahola [Wed, 16 Nov 2011 00:22:41 +0000 (02:22 +0200)]
Remove burn time definitions from FurnaceNodeMetadata

12 years agoRemove old comments
Perttu Ahola [Tue, 15 Nov 2011 23:37:29 +0000 (01:37 +0200)]
Remove old comments

12 years agoMove cook result properly to ContentFeatures
Perttu Ahola [Tue, 15 Nov 2011 23:34:09 +0000 (01:34 +0200)]
Move cook result properly to ContentFeatures

12 years agoRemove node content-dependent stuff from map.cpp
Perttu Ahola [Tue, 15 Nov 2011 23:15:32 +0000 (01:15 +0200)]
Remove node content-dependent stuff from map.cpp

12 years agoRemove content_mapnode.h and nodedef.h #includes
Perttu Ahola [Tue, 15 Nov 2011 23:15:07 +0000 (01:15 +0200)]
Remove content_mapnode.h and nodedef.h #includes

12 years agoRemove content dependencies from mapblock.cpp
Perttu Ahola [Tue, 15 Nov 2011 23:10:20 +0000 (01:10 +0200)]
Remove content dependencies from mapblock.cpp

12 years agoRemove #include <content_mapnode.h> from game.cpp
Perttu Ahola [Tue, 15 Nov 2011 22:34:33 +0000 (00:34 +0200)]
Remove #include <content_mapnode.h> from game.cpp

12 years agoSaner sized sapling
Perttu Ahola [Tue, 15 Nov 2011 22:32:34 +0000 (00:32 +0200)]
Saner sized sapling

12 years agoCut down content transfer verbosity
Perttu Ahola [Tue, 15 Nov 2011 22:20:22 +0000 (00:20 +0200)]
Cut down content transfer verbosity

12 years agoCut down TextureSource verbosity
Perttu Ahola [Tue, 15 Nov 2011 22:20:10 +0000 (00:20 +0200)]
Cut down TextureSource verbosity

12 years agoImprove loading screen and protocol
Perttu Ahola [Tue, 15 Nov 2011 21:58:56 +0000 (23:58 +0200)]
Improve loading screen and protocol

12 years agoClean nodefeat and content_mapnode a bit
Perttu Ahola [Tue, 15 Nov 2011 20:41:49 +0000 (22:41 +0200)]
Clean nodefeat and content_mapnode a bit

12 years agoFix flowing water being always opaque
Perttu Ahola [Tue, 15 Nov 2011 20:21:12 +0000 (22:21 +0200)]
Fix flowing water being always opaque

12 years agoFix MaterialProperties serialization (constant_time was missing)
Perttu Ahola [Tue, 15 Nov 2011 20:04:16 +0000 (22:04 +0200)]
Fix MaterialProperties serialization (constant_time was missing)

12 years agoImprove glass
Perttu Ahola [Tue, 15 Nov 2011 19:36:46 +0000 (21:36 +0200)]
Improve glass

12 years agoFix NDT_PLANTLIKE scaling to always keep the bottom at ground level
Perttu Ahola [Tue, 15 Nov 2011 19:13:22 +0000 (21:13 +0200)]
Fix NDT_PLANTLIKE scaling to always keep the bottom at ground level

12 years agoReplace direct irrlicht texture fetching in CAO content with TextureSource
Perttu Ahola [Tue, 15 Nov 2011 19:07:28 +0000 (21:07 +0200)]
Replace direct irrlicht texture fetching in CAO content with TextureSource

12 years agoClean mapnode.h and fix other files accordingly
Perttu Ahola [Tue, 15 Nov 2011 19:00:39 +0000 (21:00 +0200)]
Clean mapnode.h and fix other files accordingly

12 years agoNode definitions transfer
Perttu Ahola [Tue, 15 Nov 2011 18:32:56 +0000 (20:32 +0200)]
Node definitions transfer

12 years agoCompletely generalized mesh generation; ContentFeatures serialization
Perttu Ahola [Tue, 15 Nov 2011 17:58:36 +0000 (19:58 +0200)]
Completely generalized mesh generation; ContentFeatures serialization

12 years agoClean more
Perttu Ahola [Tue, 15 Nov 2011 13:46:52 +0000 (15:46 +0200)]
Clean more

12 years agoRemove commented out code
Perttu Ahola [Tue, 15 Nov 2011 13:35:03 +0000 (15:35 +0200)]
Remove commented out code

12 years agoPrepare more for node definition serialization
Perttu Ahola [Tue, 15 Nov 2011 13:32:09 +0000 (15:32 +0200)]
Prepare more for node definition serialization

12 years agoBetter node texture generation
Perttu Ahola [Tue, 15 Nov 2011 12:43:15 +0000 (14:43 +0200)]
Better node texture generation

12 years agoUpdate inventory texture too
Perttu Ahola [Tue, 15 Nov 2011 11:22:29 +0000 (13:22 +0200)]
Update inventory texture too

12 years agoProperly update textures in node definitions
Perttu Ahola [Tue, 15 Nov 2011 11:13:18 +0000 (13:13 +0200)]
Properly update textures in node definitions

12 years agoSending of textures WIP
Perttu Ahola [Tue, 15 Nov 2011 09:02:47 +0000 (11:02 +0200)]
Sending of textures WIP

12 years agoFix yet-another serialization error in utility.h and set constructor of Buffer take...
Perttu Ahola [Tue, 15 Nov 2011 08:52:00 +0000 (10:52 +0200)]
Fix yet-another serialization error in utility.h and set constructor of Buffer take const data for copying

12 years agoModify mod and texture directory hierarchies
Perttu Ahola [Tue, 15 Nov 2011 06:48:24 +0000 (08:48 +0200)]
Modify mod and texture directory hierarchies

12 years agoUpdate TODO list in scriptapi.cpp
Perttu Ahola [Tue, 15 Nov 2011 06:16:12 +0000 (08:16 +0200)]
Update TODO list in scriptapi.cpp

12 years agoSet traditional minetest durability values to tools
Perttu Ahola [Tue, 15 Nov 2011 00:20:41 +0000 (02:20 +0200)]
Set traditional minetest durability values to tools