aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Document orientation parameter of set_attach (#6473)raymoo2017-09-281-1/+1
|
* Add static_save property to luaentites to not save them statically. (#5112)orwell962017-09-285-0/+13
| | | | | | | | | | | | * Add no_static_save property to luaentites to not save them statically. This allows for temporary objects that would get deleted anyway as soon as they are loaded again without the static saving overhead. * Use positive meaning for static_save object property * Invert meaning also for the LUA parameter Note: getboolfield() does not change &result when field does not exist, so it defaults to the default value in the header file, which is 'true'. * Extend push_object_properties()
* Server: affect bind_addr on constructor instead of start() (#6474)Loïc Blot2017-09-284-28/+25
| | | bind_addr is already ready when using constructor as we read is.IPv6 from it, instead pass the whole address
* Fix some forgotten u16 -> session_t in ad7daf7b52348e1b71aa803be10de5b2134cba11Loic Blot2017-09-273-32/+32
|
* Fix recent commit: std::max -> std::fmax for floats (#6469)Paramat2017-09-271-2/+2
| | | | Fixes commit a455297d297c0819a7eff89e51e5f01a5ac731c3 <cmath> header was already present in commit.
* Lint fixLoic Blot2017-09-271-4/+5
|
* Add session_t typedef + remove unused functions (#6470)Loïc Blot2017-09-2724-284/+295
| | | | | | * Add session_t typedef + remove unused functions u16 peer_id is used everywhere, to be more consistent and permit some evolutions on this type in the future (i'm working on a PoC), uniformize u16 peer_id to SessionId peer_id
* Update version correctly again (#6462)SmallJoker2017-09-262-15/+15
| | | | | | | * Update version correctly again Partial revert of PR 6331 * It doesn't update automatically
* Update JsonCPP to 1.8.3 (#6466)Loïc Blot2017-09-2610-103/+549
| | | | | | | | | | * Update JsonCPP to 1.8.3 * Fix deprecated functions Json::FastWriter, Json::StyledWriter and Json::Reader are marked deprecated since 1.1 and are deprecated in 0.8 but not shown at compilation time. Use new methods to serialize/deserialize
* preview: try to send mod channel messages 4 seconds after joining, not after ↵Loic Blot2017-09-261-6/+6
| | | | loading mod
* Add mute setting (toggled by the mute key and in the volume menu) (#6415)DTA72017-09-264-34/+70
| | | | * Add mute setting (toggled by the mute key and in the volume menu)
* Implement mod communication channels (#6351)Loïc Blot2017-09-2637-39/+1206
| | | | | | | | | | Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method
* Can_zoom player object property: Add missing documentationparamat2017-09-251-0/+2
|
* Positional sound: Limit volume when closer than 1 nodeparamat2017-09-251-4/+10
| | | | | | | | | | | | | Change OpenAL distance model from AL_INVERSE_DISTANCE to AL_INVERSE_DISTANCE_CLAMPED to avoid excessive volume when very close to the sound location, for example MTG doors, and MTG fire sounds which are combined at an average position and often located in air nodes. Because AL_REFERENCE_DISTANCE has been reduced to 1 node (the distance under which gain is clamped), multiply volume by the same factor to keep sound gains the same as before, since the gain is calculated as: gain = (AL_REFERENCE_DISTANCE / distance)
* Fix blocks written by vmanip not being marked as modifiedsfan52017-09-232-1/+3
| | | | | This bug can be triggered by e.g. calling minetest.place_schematic() and stopping the server immediately afterwards.
* Set placer to nil instead of a non-functional one in item_OnPlace (#6449)DTA72017-09-213-10/+16
| | | | | | * Set placer to nil instead of a non-functional one This requires nil checks in core.rotate_node and core.rotate_and_place.
* on_death: Fix callback number of pushed arguments (Fixes #6451)SmallJoker2017-09-211-1/+1
|
* keycode.cpp: use std::unordered_map for keypress cacheLoic Blot2017-09-211-3/+3
|
* Fix compile error in openbsd (#6430)jcalve2017-09-201-0/+1
| | | Include the header that defines AF_INET and AF_INET6
* Rooted plantlike drawtype: Add remaining documentationparamat2017-09-191-9/+20
| | | | Plus a small clarification of 'glasslike framed' documentation.
* Leveled nodebox: Change levels from 1/63rds to 1/64thsparamat2017-09-183-22/+33
| | | | | Add missing documentation of leveled nodebox to lua_api.txt, plus a little cleaning up nearby.
* Biome API: Revert biomes, decos, ores being relative to water levelparamat2017-09-1716-99/+42
| | | | | | | Feature is unnecessary and would greatly complicate future development, it would also make 'get biome at pos' extremely complex. Mgv7: Revert option to repeat surface biomes in floatlands, which depended on the above.
* Biome generation: Fix layers of 'filler' nodes at biome y limitsparamat2017-09-171-0/+1
| | | | | | | | | Error was exposed by commit a1389c38658fe69c3bd25c3099bae9a4e51ed401 'nplaced' was not set to U16_MAX when biome 'stone' was placed, so when biome was recalculated in a column of stone, the 'nplaced' value caused a few remaining filler nodes to be placed. Occurs when the lower biome has a deeper depth of 'top' plus 'filler' than the upper biome.
* Fix Rotate Node Placement (#6424)tenplus12017-09-161-2/+6
| | | This properly checks for creative mode or privilege when using fixed rotate_node() function.
* Correct tooltip_append_itemstring terminology (#6421)DTA72017-09-164-6/+6
|
* Fix addModsFormConfig typo (#6420)Greg2017-09-162-4/+4
|
* Generate biomes: Recalculate biome at biome lower limitparamat2017-09-162-18/+9
| | | | Prevents biome nodes passing below the defined y_min of that biome.
* Add setting to display the itemstring after the tooltip in the inventory. ↵DTA72017-09-154-12/+13
| | | | | | (#6413) * Add setting to display the itemstring after the tooltip in the inventory.
* ServerEnv: Clean up object lifecycle handling (#6414)sfan52017-09-158-213/+175
| | | | * ServerEnv: Clean up object lifecycle handling
* Customizeable max breath for players (#6411)SmallJoker2017-09-1511-47/+57
| | | | * Customizeable maximal breath for players
* Cavegen: Avoid unsupported biome 'top' or 'filler' nodesparamat2017-09-141-1/+16
| | | | | | | For 3D noise tunnels only, replace unsupported biome 'top' and 'filler' nodes in tunnel roof with the defined biome 'stone'. This makes terrain created by 3D noise tunnels consistent with the rest of mapgen, which does exactly the same in this situation.
* Object properties: Add 'glow', disables light's effect if negativeRob Blanckaert2017-09-149-20/+52
| | | | | | The 'glow' value is added to the ambient light value. Negative 'glow' disables light's effect on object colour, for faking self-lighting, UI-style entities, or programmatic colouring in mods.
* Item drop: Tune to land exactly 2 nodes away with level view (#6410)Paramat2017-09-131-3/+3
|
* Network: Fix logging into older worlds with base64 hashesSmallJoker2017-09-124-11/+28
|
* Network: Remove large parts of deprecated legacy code (#6404)SmallJoker2017-09-1217-882/+143
| | | | Also remove the setting 'send_pre_v25_init' Keep old enum entries for obsolete commands
* Fix failing linter (travis)sfan52017-09-121-2/+2
|
* Fix core.wrap_text and make its behaviour consistent with the docssfan52017-09-124-54/+22
| | | | Code based on initial implementation by @dsohler.
* Make INodeDefManager::getIds return a vector, not a setKahrl2017-09-127-83/+64
|
* Implement client node dig predictionAuke Kok2017-09-115-1/+33
| | | | | | | | Dig prediction allows clients to remove dug nodes without waiting for server acknowledgement. This patch allows mods to override dig prediction, it can either be turned off or a different "prediction node" can be selected.
* Allow the join/leave message to be overridden by mods.red-0012017-09-112-7/+19
|
* Fix dropped item look (#6370)you2017-09-111-12/+15
| | | | | | | | | | | | | | * Abort set_item when it does nothing * Do not adjust dropped item size linearly Instead use cube root because the item count is proportional to the volume, not to the length. * Make the item rotate slower when it's bigger Bigger items chafe more on the ground, so they can't rotate as fast as small ones * Fix items flying in air
* Object properties: Fix loss of custom selectionboxSmallJoker2017-09-101-2/+4
| | | | Only adjust it to the collisionbox value when the collisionbox was really set.
* Fix incorrect buffer size calculation on creation of HUD status messagesrubenwardy2017-09-101-7/+7
| | | | Fixes #6400
* Schematic decorations: Add 'place_offset_y' placement parameterparamat2017-09-104-83/+27
| | | | | | | | | For precise control of schematic vertical position relative to the 'place_on' node. Avoids workarounds that add empty nodes to a schematic and therefore reduce performance. Also remove long-unused decoration cutoff code.
* Fix empty legacy meta being persistedrubenwardy2017-09-101-2/+3
|
* Fix crash on revocation of removed privilegerubenwardy2017-09-081-2/+3
|
* Server: Calculate maximal total block sends dynamically (#6393)SmallJoker2017-09-096-17/+13
| | | The block sends per client is 1/2 when reaching the maximal player count.
* Particles: Do not add digging particles for airlike nodes (#6392)SmallJoker2017-09-083-10/+9
|
* Prevent /spawnentity from spawning unknown entity (#6388)Wuzzy2017-09-081-0/+3
|
* main.cpp: server-only builds should not include client headersLoic Blot2017-09-071-3/+3
|