Perttu Ahola
|
0f2b932e92
|
Initial NodeMetaRef stuff
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
34bd1b3032
|
Lua interface for ActiveBlockModifier
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
8924588511
|
Remove creation of builtin.lua defined minetest.registered_* tables in C
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
19a1ac1f34
|
For consistency, implement calling of on_chat_message callbacks in C
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
30648d1cc9
|
Implement callback registration in Lua instead of C
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
842eb5da28
|
Replace old active block random node modifying things with actual ActiveBlockModifiers
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
05df2ee8a4
|
Add chat message callback and send functions
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
ab3911ba9e
|
Print errors from local log to chat
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
013921782b
|
Add a third log output interface method
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
c449e5f20a
|
Use log_deregister_thread in EmergeThread
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
6e0de7b42c
|
Add log_remove_output and log_deregister_thread
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
2e42391b86
|
Fix mod dependency sort
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
fd8b9a3a44
|
Warn about unsatisfied dependencies
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
5c1cb01936
|
Make blocks to be loaded from disk when the active block area reaches them
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
ec4f58741b
|
Fix a random commented-out piece of lighting code, altough it doesn't work any better
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
4ce6e5f0c5
|
Optimize lighting by a tiny bit
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
a8a82e0b21
|
Sort mods by dependencies defined by modpath/depends.txt in each mod (not mandatory)
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
739cb87385
|
Fix default value of visual in LuaEntityProperties
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
8492796a5c
|
Allow server-side teleporting
|
2011-11-29 19:13:55 +02:00 |
|
Perttu Ahola
|
218b626016
|
Fix and tune player movement checks (make them very loose)
|
2011-11-29 19:13:55 +02:00 |
|
Kahrl
|
f42c57d9a8
|
Add IDropAction and related stuff
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
82a460ec90
|
Improve luaentity sprite functionality (and add some random stuff)
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
1d36e68346
|
Fix liquid source backface culling (was not turned off)
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
41c473cf5e
|
Fix player getting thrown underground after connecting
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
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 |
|
Perttu Ahola
|
769cc9879f
|
Add on_generated hook
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
0dbb31afeb
|
Improve player movement speed checking
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
1bfc3c1eb9
|
Player movement speed and node access distance checking
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
8bd178c2e5
|
If available, use local textures instead of those sent by server
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
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 |
|
Perttu Ahola
|
70363847aa
|
Reshape LuaEntityCAO implementation a bit and make TNT to blink
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
1ce749c86a
|
Optimize active block modifier stuff (was left horribly unoptimized after making content ids dynamic)
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
08c9b6037d
|
Re-implement give_initial_stuff
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
57a2bd056c
|
Exception handling in Lua setting get
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
234bf99743
|
Lua setting getter
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
f93144fee7
|
remove get_nodedef
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
945d01fd9e
|
on_newplayer and on_respawnplayer callbacks
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
908db7c1d2
|
Make node definitions available to Lua
|
2011-11-29 19:13:52 +02:00 |
|
Perttu Ahola
|
77337271fc
|
Remove give_initial_stuff
|
2011-11-29 19:13:52 +02:00 |
|
Kahrl
|
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 |
|
Perttu Ahola
|
1f53ca5f4c
|
Modify CONTENT_AIR and CONTENT_IGNORE handling in nodedef.cpp
|
2011-11-29 19:13:52 +02:00 |
|
Perttu Ahola
|
425db289d5
|
Fix random node definition stuff
|
2011-11-29 19:13:52 +02:00 |
|
Perttu Ahola
|
61ffe1eac4
|
builtin.lua
|
2011-11-29 19:13:52 +02:00 |
|
Perttu Ahola
|
9e7ad1e2aa
|
Add object reference to Lua on_place/dig/punchnode parameters
|
2011-11-29 19:13:52 +02:00 |
|
Perttu Ahola
|
ae9f183cda
|
Fix "warning: comparison between signed and unsigned integer expressions"
|
2011-11-29 19:13:52 +02:00 |
|
Perttu Ahola
|
ff1ae29f97
|
Duplicate last tile image automatically to all for lua node definitions
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
fdf6eecd59
|
Make map generator more responsive
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
651657edfd
|
Print out number of blocks in memory at unload
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
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 |
|
Perttu Ahola
|
6153a2fb10
|
Improve debug stack printing interface
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
e5650bb549
|
Make liquid_alternative_* to be strings
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
18bb0ea1ea
|
Mode node definition loading from Lua (still not finished), fix metadata creation from name
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
6a8f9135de
|
Store metadata as metadata name in node definition
|
2011-11-29 19:13:51 +02:00 |
|
Perttu Ahola
|
704d8a62bf
|
Set block modified flag when node metadata inventory is modified
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
3b3ca65562
|
Add names to NodeMetadata
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
697ff926ce
|
Add Lua node definition stuff (not complete)
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
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 |
|
Perttu Ahola
|
0bf3a15886
|
Random Lua tweaks/fixes
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
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 |
|
Perttu Ahola
|
290e921920
|
Relatively snappy object-ground collision detection
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
94feb62b08
|
When digging a node, don't switch to punching an object without raising button
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
941176cd65
|
Default to saving stuff more often to minimize lag caused by a single save
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
251b015210
|
Don't print 'Blocks modified by: ' in Map::timerUpdate if no blocks were written
|
2011-11-29 19:13:50 +02:00 |
|
Perttu Ahola
|
616bad96af
|
Don't print all block saves to verbosestream; rather print counts of distinct modifiers
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
1b765b9740
|
Add reason parameter to setModified and print it out to verbosestream when saving block
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
0ce0c8fcfb
|
Improve LuaEntity velocity/acceleration handling (by kahrl); implement staticdata interface to Lua
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
811ac5ac3a
|
Mess up with node definitions to make CONTENT_IGNORE be correctly interpreted when creating meshes
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
901d98b687
|
Optimize map generator for the dynamic content ids a bit
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
4503b03b26
|
Make added nodes give the corresponding NodeItem as of now (placeholder code)
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
0e64406b06
|
Fix tool wear
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
1220b642eb
|
Falling sand and gravel
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
cc03718d3c
|
Node place/dig Lua callbacks
|
2011-11-29 19:13:49 +02:00 |
|
Perttu Ahola
|
4f021fc7dd
|
Remove crafting definitions from content_craft.cpp
|
2011-11-29 19:13:48 +02:00 |
|
Perttu Ahola
|
cebbaf1664
|
Catch SerializationError in CCraftDefManager::getCraftResult()
|
2011-11-29 19:13:48 +02:00 |
|
Perttu Ahola
|
227e067512
|
Add note about craft_get_result() not being used anymore, but don't remove before it's contents have been transferred to scripts
|
2011-11-29 19:13:48 +02:00 |
|
Perttu Ahola
|
9d5b458479
|
Crafting definition in scripts
|
2011-11-29 19:13:48 +02:00 |
|
Perttu Ahola
|
8dd3622c6d
|
Improve item serialization
|
2011-11-29 19:13:48 +02:00 |
|
Perttu Ahola
|
564c3a9c96
|
Allow inputting nodename of MaterialItem in ItemSpec::checkItem
|
2011-11-29 19:13:48 +02:00 |
|
Perttu Ahola
|
4725e5c52e
|
Fix another silly mistake making CONTENT_IGNORE definition not being what it should
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
106027fc29
|
Fix silly misspelling in mapgen that made junglegrass to be CONTENT_IGNORE
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
d1298fe5e7
|
Actually fill in the NewNameGetter names to allow map generator operation and crafting
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
eabfb370ac
|
MapNode constructor to allow ndef+name
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
62164d955c
|
Initial node definition stuff
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
a5545593ba
|
Fix camera MaterialItem draw logic
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
f68fa667c8
|
Clean InventoryItem interface a bit
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
7a29b14a20
|
Improved MaterialItem (stores nodename)
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
df8346ef4d
|
Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code
|
2011-11-29 19:13:47 +02:00 |
|
Perttu Ahola
|
c0f6395cf0
|
Node definition names
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
50d63e4b0a
|
Add name field to ContentFeatures
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
6a417c538f
|
Remove burn time definitions from FurnaceNodeMetadata
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
7fae32095a
|
Remove old comments
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
37a5f8a30b
|
Move cook result properly to ContentFeatures
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
f107967fdc
|
Remove node content-dependent stuff from map.cpp
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
a793533d1a
|
Remove content_mapnode.h and nodedef.h #includes
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
3318d0b4b8
|
Remove content dependencies from mapblock.cpp
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
81f1cc662f
|
Remove #include <content_mapnode.h> from game.cpp
|
2011-11-29 19:13:46 +02:00 |
|
Perttu Ahola
|
28fe2987a0
|
Saner sized sapling
|
2011-11-29 19:13:45 +02:00 |
|
Perttu Ahola
|
26abf6fd82
|
Cut down content transfer verbosity
|
2011-11-29 19:13:45 +02:00 |
|
Perttu Ahola
|
594b189569
|
Cut down TextureSource verbosity
|
2011-11-29 19:13:45 +02:00 |
|
Perttu Ahola
|
7696a38543
|
Improve loading screen and protocol
|
2011-11-29 19:13:45 +02:00 |
|