1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-01 15:40:23 +02:00
Commit Graph

1922 Commits

Author SHA1 Message Date
739cb87385 Fix default value of visual in LuaEntityProperties 2011-11-29 19:13:55 +02:00
8492796a5c Allow server-side teleporting 2011-11-29 19:13:55 +02:00
218b626016 Fix and tune player movement checks (make them very loose) 2011-11-29 19:13:55 +02:00
f42c57d9a8 Add IDropAction and related stuff 2011-11-29 19:13:54 +02:00
82a460ec90 Improve luaentity sprite functionality (and add some random stuff) 2011-11-29 19:13:54 +02:00
b4e6ca63b5 Comment out print("on_generated: ...") in Lua 2011-11-29 19:13:54 +02:00
1d36e68346 Fix liquid source backface culling (was not turned off) 2011-11-29 19:13:54 +02:00
41c473cf5e Fix player getting thrown underground after connecting 2011-11-29 19:13:54 +02:00
b2ccbdffc1 Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock)) 2011-11-29 19:13:54 +02:00
769cc9879f Add on_generated hook 2011-11-29 19:13:54 +02:00
0dbb31afeb Improve player movement speed checking 2011-11-29 19:13:54 +02:00
1bfc3c1eb9 Player movement speed and node access distance checking 2011-11-29 19:13:54 +02:00
8bd178c2e5 If available, use local textures instead of those sent by server 2011-11-29 19:13:53 +02:00
b58dc083a9 Fix TNT script 2011-11-29 19:13:53 +02:00
65b2a2cb02 Make lighting update occur immediately after ClientActiveObject addition to make objects show up much more responsively 2011-11-29 19:13:53 +02:00
70363847aa Reshape LuaEntityCAO implementation a bit and make TNT to blink 2011-11-29 19:13:53 +02:00
1ce749c86a Optimize active block modifier stuff (was left horribly unoptimized after making content ids dynamic) 2011-11-29 19:13:53 +02:00
08c9b6037d Re-implement give_initial_stuff 2011-11-29 19:13:53 +02:00
57a2bd056c Exception handling in Lua setting get 2011-11-29 19:13:53 +02:00
234bf99743 Lua setting getter 2011-11-29 19:13:53 +02:00
f93144fee7 remove get_nodedef 2011-11-29 19:13:53 +02:00
945d01fd9e on_newplayer and on_respawnplayer callbacks 2011-11-29 19:13:53 +02:00
d99d27dcbe liquid_type -> liquidtype 2011-11-29 19:13:52 +02:00
908db7c1d2 Make node definitions available to Lua 2011-11-29 19:13:52 +02:00
77337271fc Remove give_initial_stuff 2011-11-29 19:13:52 +02:00
c1479a2732 Add node definitions in Lua and do not use content_mapnode_init anymore (except in test.cpp) 2011-11-29 19:13:52 +02:00
1f53ca5f4c Modify CONTENT_AIR and CONTENT_IGNORE handling in nodedef.cpp 2011-11-29 19:13:52 +02:00
425db289d5 Fix random node definition stuff 2011-11-29 19:13:52 +02:00
d2eed169ae Add builtin.lua 2011-11-29 19:13:52 +02:00
61ffe1eac4 builtin.lua 2011-11-29 19:13:52 +02:00
9e7ad1e2aa Add object reference to Lua on_place/dig/punchnode parameters 2011-11-29 19:13:52 +02:00
ae9f183cda Fix "warning: comparison between signed and unsigned integer expressions" 2011-11-29 19:13:52 +02:00
71bc20c453 Some node definitions in Lua 2011-11-29 19:13:52 +02:00
ff1ae29f97 Duplicate last tile image automatically to all for lua node definitions 2011-11-29 19:13:51 +02:00
fdf6eecd59 Make map generator more responsive 2011-11-29 19:13:51 +02:00
651657edfd Print out number of blocks in memory at unload 2011-11-29 19:13:51 +02:00
74770ab718 Don't allow placing CONTENT_IGNORE with Map::setNode() because it is never useful and is only caused by bugs. 2011-11-29 19:13:51 +02:00
6153a2fb10 Improve debug stack printing interface 2011-11-29 19:13:51 +02:00
e5650bb549 Make liquid_alternative_* to be strings 2011-11-29 19:13:51 +02:00
18bb0ea1ea Mode node definition loading from Lua (still not finished), fix metadata creation from name 2011-11-29 19:13:51 +02:00
6a8f9135de Store metadata as metadata name in node definition 2011-11-29 19:13:51 +02:00
704d8a62bf Set block modified flag when node metadata inventory is modified 2011-11-29 19:13:50 +02:00
3b3ca65562 Add names to NodeMetadata 2011-11-29 19:13:50 +02:00
697ff926ce Add Lua node definition stuff (not complete) 2011-11-29 19:13:50 +02:00
e8a9578774 Add texture modifier [brighten and modify [toalpha to modify existing texture, not read a new base 2011-11-29 19:13:50 +02:00
0bf3a15886 Random Lua tweaks/fixes 2011-11-29 19:13:50 +02:00
cebc8c78a4 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 2011-11-29 19:13:50 +02:00
290e921920 Relatively snappy object-ground collision detection 2011-11-29 19:13:50 +02:00
94feb62b08 When digging a node, don't switch to punching an object without raising button 2011-11-29 19:13:50 +02:00
941176cd65 Default to saving stuff more often to minimize lag caused by a single save 2011-11-29 19:13:50 +02:00