Perttu Ahola
e4daa4c065
Make players be again visible from a long distance
2011-12-02 01:08:14 +02:00
Perttu Ahola
08a10b8a6a
Remove stuff made obsolete by making players more ActiveObject-like and raise protocol version number by one (because it is not compatible at all anymore)
2011-12-01 23:55:57 +02:00
Perttu Ahola
af32240545
Players are more like objects + related stuff
2011-12-01 23:33:48 +02:00
Perttu Ahola
ee0d3bacbc
Player-is-SAO WIP
2011-12-01 18:23:58 +02:00
Perttu Ahola
9dcfa882b1
Fix non-fancy leaves not making faces with water
2011-12-01 14:48:52 +02:00
Perttu Ahola
cb589b1f99
Make non-fancy leaf texture to go in texture atlas too
2011-12-01 14:12:47 +02:00
Perttu Ahola
e6e3eef0ef
Add ServerActiveObject::removingFromEnvironment()
2011-12-01 13:22:33 +02:00
Perttu Ahola
0e113a4c81
Remove +"^[forcesingle" from ContentFeatures::setInventoryTexture, because 1) it was not used, 2) if it will be used, it won't need to do that anymore
2011-12-01 13:01:37 +02:00
Perttu Ahola
1da3a8e24b
Fix getTextureRaw to always return an image that is not in the texture atlas and fix plain "^[forcesingle" handling
2011-12-01 13:00:27 +02:00
Perttu Ahola
3509714951
Fix loading of legacy MaterialItems (was loaded as a quite random type)
2011-12-01 12:50:32 +02:00
Perttu Ahola
146be1f0b6
Fix texture atlas not being created correctly
2011-12-01 12:43:17 +02:00
Kahrl
2ca00fa585
Fix processing of the default_password setting. It is now actually used as the plaintext password for new users. Also add /setpassword and /clearpassword server commands that can be used by admins with the PRIV_PASSWORD privilege, and update the /help message.
2011-12-01 12:06:39 +02:00
Kahrl
1901158b3e
Make camera.cpp Irrlicht 1.8-compatible by calling ITexture::lock differently depending on the irrlicht version.
2011-12-01 11:56:06 +02:00
Perttu Ahola
f4272ccf8f
Enable simple drag and drop in inventory
2011-12-01 11:32:51 +02:00
Perttu Ahola
4196b0d341
Inventory move-to-slot hilighting
2011-12-01 11:25:55 +02:00
Giuseppe Bilotta
aab50cd2cc
Fix conditional bug in inventory
...
A spurious semicolon after the conditional checking for the drop count
to be not higher than the owned count caused the subsequent
count = getCount()
to be always executed. Fix by removing the extra semicolon.
2011-12-01 10:41:24 +02:00
Giuseppe Bilotta
96c30452f9
Fix structs being declared as classes
...
Some compilers complain when a class is declared as a struct or vice
versa. Fix by making sure that the correct tag is used both in
declaration and definition.
2011-12-01 10:39:47 +02:00
Perttu Ahola
b6539399f4
Fix deadlock if MeshUpdateThread asks new textures while it is being stopped (happened if texture data was transferred slowly)
2011-12-01 02:41:52 +02:00
Perttu Ahola
8b8ef8acc0
Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them not being filled correctly on some systems and compilers
2011-12-01 01:58:31 +02:00
Perttu Ahola
d8d6d0dc95
Do not assert if count becomes larger than getStackMax() in InventoryItem::add(); it is nicer for scripting and overall hacking this way, because rising it higher than the limit is does not break anything. It should be, and is, enforced elsewhere where appropriate.
2011-12-01 00:07:21 +02:00
Perttu Ahola
f6c6c4f917
Load count 0 in itemstring as 1
2011-12-01 00:04:21 +02:00
Perttu Ahola
1b61ca412b
ObjectRef:get_player_name, ObjectRef:inventory_set_list, ObjectRef:inventory_get_list
2011-11-30 23:38:18 +02:00
Perttu Ahola
cd563473fa
Add ObjectRef:punch and ObjectRef:right_click to Lua API
2011-11-30 20:54:54 +02:00
Perttu Ahola
a244e367ea
Add get_wielded_itemstring, get_wielded_item, damage_wielded_item and make getacceleration visible in API
2011-11-30 20:36:07 +02:00
Perttu Ahola
347216d654
Reworked the inventory move handling code, hopefully fixed more problems than caused
2011-11-30 19:49:34 +02:00
Perttu Ahola
49e4f55b09
Fix player getting reset to 0,0 at connect if being far from 0,0
2011-11-30 00:39:36 +02:00
Perttu Ahola
ccfec0400f
Modify builtin ABMs to have lower interval and higher trigger non-chance
2011-11-29 23:22:44 +02:00
Perttu Ahola
e109ed5cef
Proper player inventory and hp modification tracking and sending accordingly
2011-11-29 23:18:20 +02:00
Perttu Ahola
b2c905d800
Tune main menu a bit and show version number in there
2011-11-29 22:34:58 +02:00
Perttu Ahola
4bcff65ad0
Better version match fail messages from server
2011-11-29 22:23:03 +02:00
Perttu Ahola
103d4793f0
Create the necessary API for /giveme and /give and implement those commands; also sort out the scripts a bit
2011-11-29 21:30:22 +02:00
Perttu Ahola
2a610b011a
Handle items with m_count==0 sanely when placing
2011-11-29 21:05:53 +02:00
Perttu Ahola
cd030639a4
Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE
2011-11-29 21:05:36 +02:00
Perttu Ahola
6d23fb2592
Do not install the static lua library file
2011-11-29 19:27:41 +02:00
Perttu Ahola
bc48cf076d
Remove content_inventory.{h,cpp}
2011-11-29 19:13:59 +02:00
Perttu Ahola
be2ecf9186
Quick fix to a bug that makes it possible to raise water levels everywhere with one source
2011-11-29 19:13:59 +02:00
Perttu Ahola
bd1e5f4fc8
Add missing files for a previous commit
2011-11-29 19:13:58 +02:00
Kahrl
d6b30dd3a5
CraftItem rework and Lua interface
2011-11-29 19:13:58 +02:00
Perttu Ahola
1c19f959db
Fix active_object_count and active_object_count_wider not getting updated between ABM calls causing huge amounts of DMs and rats and stuff
2011-11-29 19:13:58 +02:00
Perttu Ahola
dde22d26a8
Add NULL terminations to EnumString definitions
2011-11-29 19:13:57 +02:00
Perttu Ahola
c8211ceb3e
Some MSVC fixes
2011-11-29 19:13:57 +02:00
Perttu Ahola
c910ead4db
Fix CMake install data path
2011-11-29 19:13:57 +02:00
Perttu Ahola
fe64f2b673
Silly MSVC doesn't know how to handle type conversions for parameters of pow(). Help it.
2011-11-29 19:13:57 +02:00
Perttu Ahola
a91eb36277
Update installation in CMakeLists.txt
2011-11-29 19:13:57 +02:00
Perttu Ahola
026979e39d
Rename menu background to menubg.png, move unknown_block.png and unknown_object.png to client, make generating a placeholder image for the filename "" not cause an error
2011-11-29 19:13:57 +02:00
Perttu Ahola
705f142b8d
GenericNodeMetadata and an example furnace
2011-11-29 19:13:57 +02:00
Perttu Ahola
e880cc40e9
Fix stuff in inventory.{cpp,h}
2011-11-29 19:13:57 +02:00
Perttu Ahola
7bb4b7911b
Comment out debug output in ServerEnvironment::activateBlock
2011-11-29 19:13:57 +02:00
Perttu Ahola
fadf248892
Handle ActiveBlockModifier intervals properly, down to 1s
2011-11-29 19:13:57 +02:00
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
Perttu Ahola
cde35d1606
Clean nodefeat and content_mapnode a bit
2011-11-29 19:13:45 +02:00
Perttu Ahola
9fc78cbece
Fix flowing water being always opaque
2011-11-29 19:13:45 +02:00
Perttu Ahola
e4dff41560
Fix MaterialProperties serialization (constant_time was missing)
2011-11-29 19:13:45 +02:00
Perttu Ahola
2f2392f783
Improve glass
2011-11-29 19:13:45 +02:00
Perttu Ahola
c3703ded95
Fix NDT_PLANTLIKE scaling to always keep the bottom at ground level
2011-11-29 19:13:44 +02:00
Perttu Ahola
e5fd010a6c
Replace direct irrlicht texture fetching in CAO content with TextureSource
2011-11-29 19:13:44 +02:00
Perttu Ahola
ba762bcd49
Clean mapnode.h and fix other files accordingly
2011-11-29 19:13:44 +02:00
Perttu Ahola
6da8cb00e2
Node definitions transfer
2011-11-29 19:13:44 +02:00
Perttu Ahola
eed727c61b
Completely generalized mesh generation; ContentFeatures serialization
2011-11-29 19:13:44 +02:00
Perttu Ahola
89e7bacd99
Clean more
2011-11-29 19:13:44 +02:00
Perttu Ahola
ff34955a0d
Remove commented out code
2011-11-29 19:13:44 +02:00
Perttu Ahola
a48a0e77eb
Prepare more for node definition serialization
2011-11-29 19:13:43 +02:00
Perttu Ahola
cf6e22e9a6
Better node texture generation
2011-11-29 19:13:43 +02:00
Perttu Ahola
c1202a2ecc
Update inventory texture too
2011-11-29 19:13:43 +02:00
Perttu Ahola
01ae0daea5
Properly update textures in node definitions
2011-11-29 19:13:43 +02:00
Perttu Ahola
45fc45a49e
Sending of textures WIP
2011-11-29 19:13:43 +02:00
Perttu Ahola
7bdc328a71
Fix yet-another serialization error in utility.h and set constructor of Buffer take const data for copying
2011-11-29 19:13:43 +02:00
Perttu Ahola
e71744b918
Modify mod and texture directory hierarchies
2011-11-29 19:13:43 +02:00
Perttu Ahola
40e7a1a5c9
Update TODO list in scriptapi.cpp
2011-11-29 19:13:43 +02:00
Perttu Ahola
9e1c4533b8
Move tool definitions to script
2011-11-29 19:13:43 +02:00
Perttu Ahola
4b8e4dae58
Tool definition transfer to client
2011-11-29 19:13:42 +02:00
Perttu Ahola
0754f2a7af
ToolDefManager serialization
2011-11-29 19:13:42 +02:00
Perttu Ahola
8d2d28f1dc
ToolDefinition serialization
2011-11-29 19:13:42 +02:00
Perttu Ahola
e9620d9c8c
Make fence post selection box smaller and create code to allow node placement to the side of a static box
2011-11-29 19:13:42 +02:00
Perttu Ahola
de51f87e05
Tune gravel and picks
2011-11-29 19:13:42 +02:00
Perttu Ahola
1afed48a2c
Make possible and do update textures in node definitions after late texture atlas making
2011-11-29 19:13:42 +02:00
Perttu Ahola
c6fd2986d4
GameDef compiles
2011-11-29 19:13:42 +02:00
Perttu Ahola
abceeee92f
Create framework for getting rid of global definitions of node/tool/item/whatever types
2011-11-29 19:13:41 +02:00
Perttu Ahola
5fc791ac9a
Move tool stuff to tool.{h,cpp}
2011-11-29 19:13:41 +02:00
Perttu Ahola
72884bf85f
Tune the tool speed thing
2011-11-29 19:13:41 +02:00
Perttu Ahola
f97d4355be
New kind of tool speed and wear calculation thingy
2011-11-29 19:13:41 +02:00
Perttu Ahola
96b71236ed
Clean headers a bit
2011-11-29 19:13:41 +02:00
Perttu Ahola
3b77a63d5d
Allocate MapBlock::m_node_metadata on heap to allow less header bloat
2011-11-29 19:13:41 +02:00
Perttu Ahola
64fa59e24f
Generic NodeMetadata text input
2011-11-29 19:13:41 +02:00
Perttu Ahola
79c9f14aec
Generalize selection boxes
2011-11-29 19:13:41 +02:00
Perttu Ahola
2ef414d05f
Set the BS constant to be floating-point; this removes the need for floating point numbers when dividing it
2011-11-29 19:13:41 +02:00
Perttu Ahola
77cf27b82b
Clean code and modify comments in mapnode_contentfeatures.h
2011-11-29 19:13:40 +02:00
Perttu Ahola
64996422c0
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
f8c9b70379
Scripting: Allow multiple global step callbacks and improve documentation
2011-11-29 19:13:40 +02:00
Perttu Ahola
7b802c547d
Handle undefined objects better
2011-11-29 19:13:40 +02:00
Perttu Ahola
73bb3bc595
Scripting WIP: Add global environment step function on_step
2011-11-29 19:13:40 +02:00
Perttu Ahola
1320d07068
Scripting WIP: dynamic object stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
0b97ad8384
ServerRemotePlayer implements ServerActiveObject
2011-11-29 19:13:40 +02:00
Perttu Ahola
75a0ca6bd6
Scripting WIP
2011-11-29 19:13:40 +02:00
Perttu Ahola
38944467d3
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
23adfff4fe
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
b35adfbd2d
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
526eedf98e
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
dcedfdacd1
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
ea8d6d7abd
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
f145d498a6
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
41c91391fc
Scripting WIP; Lua entity step callback works
2011-11-29 19:13:39 +02:00
Perttu Ahola
a6a1e6ed1a
random scripting work-in-progress
2011-11-29 19:13:39 +02:00
Perttu Ahola
bfc68d3151
Scripting WIP
2011-11-29 19:13:38 +02:00
Perttu Ahola
ee8b6d3444
Move images to data/textures and fix some path stuff; hope that installation still works
2011-11-29 19:11:04 +02:00
Perttu Ahola
2115a766f6
Make it actually build
2011-11-29 19:11:04 +02:00
Perttu Ahola
d1a5e97a7f
Add Lua
2011-11-29 19:11:04 +02:00
Perttu Ahola
7372282a72
Better spawn position finding and checking
2011-11-13 03:17:42 +02:00
Perttu Ahola
045e32b6ec
Fix water-glass and water-lava surfaces
2011-11-08 16:17:38 +02:00
Perttu Ahola
763da10c7b
Reset block usage timer on client only if it is very probably drawn
2011-11-08 02:13:22 +02:00
Kahrl
1c98ec94da
Make Connection::Receive return the data via a SharedBuffer reference, so the caller doesn't have to choose the right buffer size in advance.
...
Conflicts:
src/test.cpp
2011-11-07 11:21:42 +02:00
Kahrl
28660b4c1a
utility.h: Change Buffer's interface to be more compatible with SharedBuffer's interface, connection.h: use Buffer instead of SharedBuffer in command and event queues
2011-11-07 11:19:56 +02:00
Perttu Ahola
fa72e65b59
Add new Connection test in test.cpp in case needed in the future (commented out), improve comments in test.cpp a bit
2011-11-07 11:15:43 +02:00
Perttu Ahola
7d5d676eac
Infinite packet flood test for debugging the new network layer
2011-11-07 01:20:58 +02:00
Constantin Wenger
61f2cc45c2
Command-line signal handling for Windows
2011-11-06 19:24:44 +02:00
Perttu Ahola
c1d92d72e1
Make water invisible next to underwater glass
2011-11-05 23:30:27 +02:00
Perttu Ahola
d0fdfd44c5
Add option to set water opaque (mainly for stylistic choice)
2011-11-03 23:06:57 +02:00
Perttu Ahola
f5995337e8
Fix flowing liquid spacing; water and lava next to each other will glitch a bit but it isn't as bad as this was
2011-11-03 23:04:56 +02:00
Perttu Ahola
e9fd3def90
Make CONTENT_IGNORE to not block the view when occlusion culling
2011-11-03 20:45:44 +02:00
Perttu Ahola
a2af490b7b
Disable mipmapping because it is sometimes ugly
2011-11-03 20:17:18 +02:00
Perttu Ahola
4964daa5be
Possible fix to bases of islands/hills getting culled out too early
2011-11-03 15:10:58 +02:00
Perttu Ahola
718086f383
Tune occlusion culling a bit more
2011-11-03 13:35:32 +02:00
Perttu Ahola
339b7588d2
Tune occlusion culling a bit
2011-11-03 13:35:09 +02:00
Perttu Ahola
0ac5f6a7ca
Very simple occlusion culling
2011-11-03 12:48:08 +02:00
Perttu Ahola
1726b82a16
occlusion culling fix, a little reshaping of map rendering for more useful profiler output and dynamic profiler text size
2011-11-02 18:13:56 +02:00
Perttu Ahola
03db16d55b
Remove trailing / or \ in path_userdata (probably fixes world deletion on Windows)
2011-11-02 13:43:00 +02:00
Perttu Ahola
0c20973c17
Add 3d cloud checkbox in main menu (and rename setting from enable_2d_clouds to enable_3d_clouds)
2011-11-02 12:50:21 +02:00
Perttu Ahola
899404f3b1
Fix an obvious bug in utility.h
2011-11-01 14:54:11 +02:00
Perttu Ahola
6aab526989
Attempt a workaround to the network layer segfault
2011-10-30 11:59:23 +02:00
Perttu Ahola
c349708eab
Make it to compile on MSVC2010
2011-10-21 18:37:43 +03:00
Perttu Ahola
7f25183936
Some tuning in m_max_packets_per_second algorithm
2011-10-21 11:52:26 +03:00
Perttu Ahola
4b6138e69b
Improve Connection with threading and some kind of congestion control
2011-10-20 23:04:09 +03:00
Perttu Ahola
b6fcbc5fba
Default max_simultaneous_block_sends_server_total to 2 to make network not cough too much on the fixed block sending code
2011-10-19 19:34:47 +03:00
Perttu Ahola
ed870a7237
Fix apple inventory texture
2011-10-19 02:36:46 +03:00
Perttu Ahola
3a06fb8831
Fix and tune block sending
2011-10-19 02:17:23 +03:00
Perttu Ahola
d47120aeb3
Add enable_2d_clouds setting for usage on lower-end machines
2011-10-18 23:55:55 +03:00
Perttu Ahola
9b907dd65a
Try to tune fog to work well on high-end machines also
2011-10-18 21:08:31 +03:00
Perttu Ahola
28f2fdb6de
Fix possible NULL dereference in MobV2CAO::step
2011-10-18 19:53:34 +03:00
Perttu Ahola
4e1055543c
Tune map rendering and related diagnostics
2011-10-18 19:18:01 +03:00
Perttu Ahola
8ead29a302
set backface culling off again for torches, ladders, rails and signs
2011-10-18 18:32:35 +03:00
Perttu Ahola
fe98fe342a
...Make the the server buildable again after the last commit
2011-10-18 17:20:54 +03:00
Perttu Ahola
554f7f120c
Improve rendering and fix tiling in mesh generation
2011-10-18 13:56:35 +03:00
Perttu Ahola
05ab58cd14
Automate texture listing for texture atlas making
2011-10-18 11:31:23 +03:00
Perttu Ahola
eae2d35ca5
Fix client profiler print interval
2011-10-18 10:36:52 +03:00
Perttu Ahola
85002883bd
Better handling of SendFailedException in Connection
2011-10-18 03:42:23 +03:00
Perttu Ahola
22b07bdb30
Fix object duplication bug
2011-10-18 02:58:15 +03:00
Perttu Ahola
fe338745a3
Make active_block_range default to 2
2011-10-18 00:41:17 +03:00
Perttu Ahola
6ce0c61dc0
Fix possible NULL pointer access in MobV2CAO
2011-10-18 00:41:02 +03:00
Perttu Ahola
78f4142f4f
Add /clearobjects
2011-10-18 00:01:50 +03:00
Perttu Ahola
ea1fda5ebc
Made a scheme to get rid of the objects in the worst object flooded blocks
2011-10-17 20:57:58 +03:00
Perttu Ahola
67db77b8b3
Modify default active block range
2011-10-17 20:41:43 +03:00
Perttu Ahola
64c4d00693
F2 toggles profiler display in client
2011-10-17 20:40:55 +03:00
Perttu Ahola
6661d9be1a
Attempt to fix objects getting multiplicated by objects getting deactivated in a different block than where they were loaded and then the original block, from where the static object was removed, not getting saved at unload
2011-10-17 20:19:37 +03:00
Perttu Ahola
9a62a909bc
Add a log message to SEnv and make it load objects if there are < 51 of them, to load blocks that were limited to 50
2011-10-17 19:44:28 +03:00
Perttu Ahola
93f4d2b3f1
Catch SendFailedException when replying back in Connection::Receive()
2011-10-17 18:02:26 +03:00
Perttu Ahola
558a133044
Display RTT (round trip time, ping) on client status text
2011-10-17 17:18:50 +03:00
Perttu Ahola
5037efdea9
Add some rendering statistics to profiler
2011-10-17 17:06:28 +03:00
Perttu Ahola
e9888c8e25
Workaround for blocks having a huge amount of active objects; add log messages related to active objects for investigation
2011-10-17 11:52:38 +03:00
Perttu Ahola
3daaff3a42
Remove very floody log message of MobV2SAO
2011-10-17 11:45:06 +03:00
celeron55
d39f98aeb0
Improve active object handling log output
2011-10-17 10:47:06 +03:00
celeron55
30c21b4abd
Fix partly double printed debug.txt
2011-10-17 10:46:16 +03:00
Perttu Ahola
cfd19dcdb5
Fix punching of oerkkis
2011-10-17 01:58:38 +03:00
Perttu Ahola
b0481b9db1
Fix chest not working after walked away and came back
2011-10-17 01:04:22 +03:00
Perttu Ahola
5f39885975
Improve inventory debug output
2011-10-17 01:03:45 +03:00
Perttu Ahola
9ff8067426
Fix items showing up as sticks when placed in world
2011-10-17 00:08:27 +03:00
Perttu Ahola
162619a426
Fix to-transparend conversion of backgrounds of sprite image files that don't have an alpha channel
2011-10-16 23:41:43 +03:00
Perttu Ahola
2419d0029a
Some more profiler stuff to get the hang on what really uses CPU
2011-10-16 22:39:35 +03:00
Perttu Ahola
b8f2dcea4d
Improve debug profiler usage for investigating CPU usage of server
2011-10-16 21:16:44 +03:00
Perttu Ahola
07d000cc54
When granting or revoking privileges, notify the target player too
2011-10-16 20:03:43 +03:00
Perttu Ahola
6470743e51
Make dungeon masters not shoot the walls with no reason
2011-10-16 19:39:20 +03:00
Perttu Ahola
143dce6672
When player times out, log the action as a timeout rather than regular quitting
2011-10-16 19:38:56 +03:00
Perttu Ahola
96b2d1fd29
Check NULL pointer properly in some new code trying to log new stuff
2011-10-16 18:50:30 +03:00
Perttu Ahola
369177aa80
Better player damage prevention when falling on unloaded blocks, not involving getting stuck in there.
2011-10-16 18:45:17 +03:00
Perttu Ahola
0bf533f753
Switch more stuff to use the logging thing and fix segfault on player leave from server as introduced in a previous switch-to-logging commit
2011-10-16 16:28:12 +03:00
Perttu Ahola
67a6bc4ab5
Fix map delete on windows (concatenate paths correctly with / or \ depending on OS)
2011-10-16 16:16:47 +03:00
Perttu Ahola
b65a5aceb0
Use the logger; also, default to not showing much crap in console. Use --info-on-stderr to enable crap.
2011-10-16 14:57:53 +03:00
Perttu Ahola
4846846a2d
Initially add small and tight logging facility
2011-10-16 12:45:00 +03:00
Perttu Ahola
414c614893
Add peaceful / not peaceful distinction in mobs and the only_peaceful_mobs setting
2011-10-16 11:52:33 +03:00
Perttu Ahola
4914eb29d1
Replace M_PI with PI
2011-10-16 00:24:51 +03:00
Perttu Ahola
825953bbdc
Fix some "Conditional jump or move depends on uninitialised value(s)" valgrind detections
2011-10-15 23:07:43 +03:00
Perttu Ahola
fd6452749e
Resource file handling for exe icon for MinGW
2011-10-15 17:05:16 +03:00
Perttu Ahola
7c2639ddd9
Make view bobbing amount configurable
2011-10-15 16:32:24 +03:00
Perttu Ahola
3f58028d31
Make dungeon masters though and make oerkkis disappear when they get to you (because hitting them doesn't work for some unknown reason)
2011-10-15 16:04:25 +03:00
Perttu Ahola
94dfececf6
strict_protocol_version_checking setting; PROTOCOL_VERSION in clientserver.h; clean up defaultsettings.cpp and minetest.conf.example
2011-10-15 15:02:28 +03:00
Perttu Ahola
74febd5c31
Handle death and respawn better
2011-10-15 14:46:59 +03:00
Perttu Ahola
5341bf59c2
Improve mobv2
2011-10-15 12:17:21 +03:00
Perttu Ahola
43a28f04fa
mobv2
2011-10-15 02:28:57 +03:00
Perttu Ahola
080002f8ed
Lock mutex when accessing m_env in Server::~Server
2011-10-14 12:39:25 +03:00
Perttu Ahola
853a78681e
In CMake scripts: New version number, fix MSVC stuff
2011-10-14 09:55:39 +03:00
Perttu Ahola
9e46cbf7ea
Header file tweaking; mainly for speed
2011-10-12 13:53:38 +03:00
Perttu Ahola
b60b58b627
Saner block modification flag operation for not saving everything always
2011-10-12 10:53:37 +03:00
Perttu Ahola
a7833cca22
Merge remote-tracking branch 'marktraceur/master'
2011-09-26 22:41:06 +03:00
Perttu Ahola
9a7471b740
Rotate wielded tool the right way and modify axe graphics accordingly
2011-09-26 16:10:54 +03:00
Perttu Ahola
061d4b4202
Merge branch 'view_bobbing_and_vielded_tool'
2011-09-26 15:10:02 +03:00
Perttu Ahola
2ecd53ce09
Fix single-frame lag in camera yaw/pitch, tune view bobbing and add wielded tool movement when walking and tweak stuff a bit
2011-09-26 15:09:04 +03:00
Perttu Ahola
b9e680d06c
Server user limit configuration option
2011-09-26 11:57:51 +03:00
Perttu Ahola
0ccc0ac927
Merge remote-tracking branch 'darkrose/master'
2011-09-26 11:57:28 +03:00
Joshua Beck
ae561d705f
Fixed null pointer dereference errors found by cppcheck
2011-09-24 02:11:43 -05:00
Mark Holmquist
bc01ae4cbd
Fixed merge issues with saplings, ready to pull now!
2011-09-23 18:19:47 -07:00
Mark Holmquist
319f43e6d2
Fixed saplings growing into trees (thanks so much, Kahrl!)
...
Put the random interval back to 1 in 50 chance. It's not as rare as rats, but rarer than grass.
2011-09-23 18:14:35 -07:00
Mark Holmquist
85f119e1e6
Adding (most) of the sapling functionality. It has yet to work, since MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
2011-09-23 18:13:53 -07:00
darkrose
8b875d71d1
remove content_* things from map.cpp
2011-09-23 18:04:48 +10:00
Perttu Ahola
789c88509c
Move PLATFORM_LIBS around to make sqlite3 link with libdl on some distros
2011-09-23 08:48:58 +03:00
Perttu Ahola
bdf54908aa
Make client report a newer version number to the server than 2011-07-31 does and make the server enforce it
2011-09-22 20:47:47 +03:00
darkrose
582e450bad
added locking chests - clean patch
2011-09-22 19:11:48 +10:00
Perttu Ahola
ae6d83a41e
Better apple tree generation
2011-09-21 23:31:55 +03:00
Kahrl
3e012122d1
Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h and refactored some other code into calls of that
2011-09-21 18:37:29 +02:00
Kahrl
a4a2c34831
reduce view bobbing slightly
2011-09-21 15:54:06 +02:00
Kahrl
36af9bb027
Create a separate scene manager for the wielded tool. This fixes the glitchyness in large map coordinates and some depth buffer problems. (The tool doesn't bob anymore when walking, this will be fixed later.) Fix MSVC build (thanks to dannydark).
2011-09-21 01:42:52 +02:00
Kahrl
6599002149
fix a numerical problem, but tool is still jittery
2011-09-20 18:25:29 +02:00
Kahrl
cbd2bcf102
Fix jittery view bobbing at large map coordinates again. Wielded tool still has problems there
2011-09-20 18:19:26 +02:00
Kahrl
01f3ae1c50
Digging animation
2011-09-20 11:06:16 +02:00
Kahrl
eaff4616ad
fix some normals
2011-09-19 17:11:53 +02:00
Kahrl
ab42549b1e
Wielded tool updates, leaves and glass work now
2011-09-19 17:08:42 +02:00
Kahrl
02726f0003
Convert any inventory item into a mesh, bring back InventoryItem::getImageRay(), some const-correctness fixes
2011-09-19 06:37:24 +02:00
Kahrl
36bcbca9ac
Added sprite extruder
2011-09-19 03:01:11 +02:00
Kahrl
4ed837bcfa
trying some view bobbing changes
2011-09-18 17:02:30 +02:00
Kahrl
54f3796f91
Oops, up vector is needed.
2011-09-18 02:24:43 +02:00
Kahrl
ae66d611f2
This looks more like MC view bobbing, but still not even close
2011-09-18 02:17:39 +02:00
Perttu Ahola
b22cb69a15
Merge remote-tracking branch 'sfan5/apple-trees'
2011-09-16 19:09:13 +03:00
Kahrl
40707e3c5b
SQLite needs to be linked with -ldl on some Linux distros.
2011-09-16 19:06:45 +03:00
Kahrl
acfb2bb8bc
Revert some changes that could lead to slower map transfer and increaed network load.
2011-09-16 18:03:58 +02:00
Kahrl
63266928a5
Made wielded tool move slightly (and smoothly) during view bobbing. Making the tool be a child node of an empty scene node instead of the camera scene node seemingly fixed the uncontrollable tool jitter, too.
2011-09-15 01:53:42 +02:00
Kahrl
fc92da4324
View bobbing is slower in the water.
2011-09-15 01:53:42 +02:00
sfan5
88dc8c694e
Added Iron Apple which heals 4 Hearts
2011-09-12 20:10:17 +02:00
sfan5
785a2fd23a
Changed the Heal Amount of Apples from 6 to 2
2011-09-12 19:44:26 +02:00
sfan5
4328a6442b
Fixed duplication bug
2011-09-11 19:17:14 +02:00
sfan5
6496b1cf1f
Removed Spaces
2011-09-11 18:16:07 +02:00
sfan5
c0caedc373
Added Apple Trees
2011-09-11 17:50:44 +02:00
Kahrl
524cf237b8
inventory displays tool breakage bar again
2011-09-08 17:45:39 +02:00
Kahrl
e4cb004460
trying something else... also replaced M_PI by PI everywhere
2011-09-08 16:10:44 +02:00
Kahrl
71418639d3
attempting to merge Queatz/the-wielded-tool and kahrl/viewbobbing, something doesn't work right yet
2011-09-08 14:21:56 +02:00
Kahrl
f2ec226521
minor view bobbing improvements
2011-09-08 13:34:28 +02:00
Kahrl
0931d4b7ff
make it slightly less annoying :o)
2011-09-08 13:14:59 +02:00
Kahrl
ccadebabba
Implemented view bobbing (testing simple lemniscate shape)
2011-09-08 13:03:55 +02:00
Kahrl
18771a39cf
Commented out debug statements again
2011-09-08 01:24:47 +02:00
Kahrl
baf7da9d4a
Collected and moved existing camera infrastructure from game.cpp to camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.
2011-09-08 01:08:47 +02:00
Kahrl
c0b35fa429
Removed unused camera_position and camera_direction fields from Client. Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.
2011-09-07 19:21:28 +02:00
JacobF
f31b0a3361
Display which tool the player is holding
...
And some simple animation when trying to dig...
2011-09-07 10:56:04 -04:00
Perttu Ahola
d28ea57083
Note about texture atlas
2011-09-07 01:27:04 +03:00
Perttu Ahola
8e26c5c066
Add note about trans_table_19.
2011-09-07 01:19:48 +03:00
Perttu Ahola
5c1074aa7d
Remove block file from disk when saved to database
2011-09-06 20:28:45 +03:00
JacobF
bd72091150
Pause in unloaded territory instead of collide
2011-09-06 20:07:43 +03:00
Perttu Ahola
faf3d7902a
Make Connection::Send cancel silently if peer doesn't exist.
2011-09-06 19:39:23 +03:00
Perttu Ahola
3c30ab2807
Speed up periodical map unloading by moving beginSave() and endSave() to outer loop in Map::timerUpdate()
2011-09-06 19:16:36 +03:00
Perttu Ahola
310fa10035
Merge remote-tracking branch 'queatz/sqlite-map'
2011-09-06 18:04:02 +03:00
Perttu Ahola
bc847e8cc2
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
2011-09-06 17:52:03 +03:00
Perttu Ahola
b82952bdba
Fix some texture stuff: remove item_fence.png, use fence.png, remove inexisting cactus.png from texture atlas (replace with nothing because cactus is rare)
2011-09-06 17:13:24 +03:00
Kahrl
570a8dbf22
allow specifying a fixed seed in the config file for generating the map (fixed_map_seed)
2011-09-06 17:05:17 +03:00
JacobF
c68ea19e8d
Now SAOs will reflect changes to their temporary inventory object
...
Also, the temp item wasn't being deleted, might have been a memory leak.
Now you will only eat 1 item off a stack
2011-09-06 16:36:11 +03:00
JacobF
d670c831c2
These numbers were well exceeding 2^32...
2011-09-04 17:01:28 -04:00
JacobF
d1a16f24cf
Initial sqlite3 maps.
...
* The map will reside in world/map.sqlite
* It will load from the sectors folder but will not save there
2011-09-02 19:07:14 -04:00
JacobF
2d872ce3fa
Furnace was crashing stuff again
2011-09-02 17:33:06 -04:00
JacobF
e3c58eff1c
Merge branch 'master' of /media/Field/Software/minetest-queatz/minetest-sqlite/.. into sqlite-map
2011-09-02 16:59:17 -04:00
JacobF
99de37ff94
Update to SQLite 3.7.7.1
2011-09-01 18:27:30 -04:00
JacobF
5e3b9e3578
* Furnace would say it was overloaded when it had a non-cookable source
...
* I didn't understand that expression last fix and now the furnace would burn fuel
even when it had no source item.
2011-09-01 15:39:15 -04:00
JacobF
6415528f96
If there was no source item in a furnace it would cause a segmentation fault.
2011-08-30 11:38:53 -04:00
Perttu Ahola
4af1f2963c
Merge remote-tracking branch 'kahrl/dissector'
2011-08-30 14:24:33 +03:00
Perttu Ahola
ba0322f353
Merge remote-tracking branch 'queatz/mmb10'
2011-08-30 14:24:23 +03:00
Perttu Ahola
1a705523c0
Merge remote-tracking branch 'queatz/furnace-is-not-blackhole'
2011-08-30 14:24:12 +03:00
Perttu Ahola
87b9e5467d
Merge remote-tracking branch 'queatz/furnace-is-not-out-nor-can-rat-escape'
2011-08-30 14:24:07 +03:00
Perttu Ahola
625dac8d8c
Merge remote-tracking branch 'queatz/privs'
2011-08-30 14:23:44 +03:00
JacobF
134e49cc8e
Merged 2 branches because they relied on each other.
...
This one contains these changes from main c55:
* Adds a function to check if there is room for a specific item
* Using that, you can now pick up rats if you have a full inventory and a not full rat stack
* Furnace would cook only 1 item if that item used the last available result slot, now it will continue
* Furnace will say it's overloaded
* Furnace won't wait until the next step to start on the next item
- This caused small fuels to cook slower than meant to
- Also caused furnaces to say they were out of fuel after finishing the last fuel item
2011-08-25 19:27:50 -04:00
Kahrl
3edf2bb417
dissector branch: fix description of TOCLIENT_PLAYERITEM in clientserver.h
2011-08-25 21:31:28 +02:00
JacobF
e278742c5e
Middle mouse click will move 10 items around at a time.
2011-08-25 12:43:19 -04:00
JacobF
ef08163c38
Don't remove furnace if something is inside it.
2011-08-24 18:53:06 -04:00
JacobF
2e82268a67
If a user doesn't have build rights, don't allow them to move items to and from their inventory
2011-08-23 22:08:09 -04:00
JacobF
00bdfad5f6
The password box in the mainmenu is focused if there is already a name and address filled in
2011-08-23 22:06:35 -04:00
Perttu Ahola
efd8dabd91
Lava is now better visible inside water. (a crappy hack)
2011-08-23 03:01:01 +03:00
Perttu Ahola
e4f443a57a
Inventory transparency; very loosely based on sapier's commits.
...
Also contains some commented-out code for testing out different looks
in the future.
2011-08-23 00:33:38 +03:00
Perttu Ahola
d4df20a913
if creative mode and player has no build privileges, cannot drop items.
2011-08-22 22:55:17 +03:00
Perttu Ahola
db495668ae
Fixed water mesh generation acting weird next to sand
2011-08-22 22:44:43 +03:00
Perttu Ahola
996c653490
Fix byte count in serialization of "F1000"
...
Some access violations and segfaults and strange behaviour might have
been caused by this.
2011-08-22 22:17:26 +03:00
Perttu Ahola
4acad897cf
Fixed some protocol comment errors in clientserver.h and elsewhere
...
-- TOCLIENT_OBJECTDATA: peer ID field is missing
-- TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD: added: init length should be u32, not u16
2011-08-22 22:04:46 +03:00
Giuseppe Bilotta
b37fffc2c5
Hopefully fix 'dangling water'
...
If a block has (at least visible) liquids, the block below should also
be flowed in.
2011-08-22 21:45:13 +03:00
Perttu Ahola
a99450ab72
Possibly fixed the extremely rare PeerNotFound loop bug.
...
See explanation in http://2pktfkt.de/irc/minetest-delta/2011-08-22.html
2011-08-22 21:27:11 +03:00
Perttu Ahola
5415256a52
Merge remote-tracking branch 'oblomov/me_cmd'
2011-08-22 14:46:54 +03:00
Perttu Ahola
836e43db60
Merge remote-tracking branch 'oblomov/new_input'
2011-08-22 14:46:52 +03:00
Giuseppe Bilotta
9c94538fb7
Change way commands are displayed in chat window
2011-08-22 13:43:53 +02:00
Giuseppe Bilotta
53eedd3ba4
Introduce hotkey for calling up a command window
...
This is just a chat window with the / text pre-loaded.
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
42134bb49e
Send KEY_END when (re)creating a text input
...
This ensures that on creation and when resizing the cursor is at the end
of the text rather than at the beginnig.
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
0488bf54d3
/me command
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
da19aee307
Server now supports replies without prefix
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
d2c0b4905a
Defines for server command context flags
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
153f07fdfb
Remove distinction between /# and / commands
...
No need to make the server command syntax more complicated than
necessary. If the need ever arise, we'll find some other way to
distinguish the client commands. Also, the /# syntax is deprecated and
will be made obsolete in time.
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
7e610aece5
Overhaul the input system
...
This allows us to map the keys which are not considered in
irrlicht's EKEY_CODE system, such as \, [, /, ] etc.
2011-08-22 13:01:11 +02:00
Giuseppe Bilotta
16aedc0ef6
Fix typos in key names
2011-08-22 12:52:15 +02:00
Perttu Ahola
6596e585fe
Flowing lava updates lighting
2011-08-22 13:19:07 +03:00
Perttu Ahola
f98eda4d52
Merge remote-tracking branch 'oblomov/liquid_fixes'
2011-08-22 12:53:18 +03:00
Perttu Ahola
23717510c2
Merge branch 'lava'
2011-08-22 12:53:02 +03:00
Giuseppe Bilotta
c51564ab5b
Optimize for viscosity 1
2011-08-16 20:38:44 +02:00
Giuseppe Bilotta
1eb14c7743
Viscous fluids
2011-08-16 20:37:46 +02:00
Giuseppe Bilotta
56e9f97294
Make sure all neighbors of changed fluids are activated
...
This should fix the remaining cases of fluid not advancing or not
retreating.
2011-08-16 18:05:28 +02:00
Giuseppe Bilotta
774faf4e85
Let the liquids flow in the open
...
No need to curb their spread artificially.
2011-08-16 17:42:28 +02:00
Giuseppe Bilotta
d0711821f3
Ensure air neighbors to liquids that can flow are enqueued for transformation
2011-08-16 17:42:14 +02:00
Giuseppe Bilotta
7024b45197
Ensure param2 is set correctly in transformLiquids
2011-08-16 16:50:38 +02:00
Giuseppe Bilotta
5fce673a56
Use defines for liquid levels
2011-08-16 16:50:38 +02:00
Perttu Ahola
29c9d3d5f4
Implemented MEET_OTHER
2011-08-16 12:23:19 +03:00
Giuseppe Bilotta
708f1c336e
transformLiquid: small optimization and whitespace cleanup
2011-08-16 06:42:11 +02:00
Perttu Ahola
dc4ac0b96f
small fix to transformLiquids
2011-08-15 18:49:44 +03:00
Perttu Ahola
296748d32e
Fixed liquid mesh generation
2011-08-15 17:45:35 +03:00