8f690d2bbb
set a new compilation set of rules, tune cmakefiles, tune buils
...
* tune up gitlab ci:
* add winbuntu 14, add debian 7, winbuntu 17, build minetest for olders one
* use minenux minetest repo game (seems not work)
* remove non buildable stages.. remove windo shit
* back cmake in list new behaviour for blacklist locales
* gitlab ci build for debian 8 using backports on jsoncpp
* solved https://github.com/minetest/minetest/issues/6567
* solved https://github.com/minetest/minetest/issues/7681
* cmake fixed to minimum supported and c++11 standar able
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* Fix linking with Postgres libs:
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* PostgreSQL fallback code missed the includes
https://github.com/minetest/minetest/issues/11219
* a24899bf2d
* 3e2145d662
* integrates https://github.com/minetest/minetest/pull/11215
* a24899bf2d
* backported 998e4820c9
* use SSE registers for FP operations on i386 for modern gcc platforms only
* only use if related are given, by example 32bit using gcc
compilers/stdlibs becouse of the long time bugs around those
errors by desing, its not about to crash the engine.. its about to
permits to hacked clients (either players or the client program per se)
making predictable results, so predictable results permits to catch
securit issues!
* floating point problems are only on modern gcc and modern platform
arches, raising problems like bad calculations positions..
a long time bug reported at https://git.minetest.land/Mineclonia/Mineclonia/issues/201
and addressed at https://github.com/minetest/minetest/issues/11742#issuecomment-994444462
with enought explanations but not accepted byt stupid developers..
now years later.. the problems were solved and reconiced as big bug!
A workaround were proposed at https://github.com/minetest/minetest/pull/12389/files
but never accepted (included in this repository), cos was superset by 8ff3fadba0
* related minenux/minetest-engine-multicraft2#57
2023-09-14 20:29:46 -04:00
7758ca0b71
change all trolltest to finetest so set minetest.org place
2023-09-12 21:15:04 -04:00
SmallJoker
ecbb9310de
Bump version to 0.4.17
2018-06-03 17:35:20 +02:00
SmallJoker
fe41725e50
core.rotate_node: Do not trigger after_place_node ( #6900 )
2018-06-03 17:32:00 +02:00
paramat
c683e050d4
Find nodes in area (under air): Raise volume limit and document it
2018-06-03 17:32:00 +02:00
you
880a25c921
Add minetest.is_player ( #7013 )
...
* Add minetest.is_player
* First use for is_player
2018-06-03 17:32:00 +02:00
sfan5
7d9dbbbf3c
Update documentation regarding authentication handler and related functions
...
Properly document it instead of referencing the builtin handler as
authoritative "example" code.
Also adds definition of get_auth_handler() which was missing previously.
2018-06-03 17:32:00 +02:00
Ezhh
3f1094475f
Improve documentation for player:set_attribute()
2018-06-03 17:32:00 +02:00
paramat
1cf32b22be
Lua_api.txt: Add documentation of required mapgen aliases
2018-06-03 17:32:00 +02:00
sfan5
b816c63196
Add minetest.safe_write_file() to script API
2018-06-03 17:32:00 +02:00
Rob Blanckaert
4d9bf75d3a
Add sha1 to lua utils. ( #6563 )
2018-06-03 17:32:00 +02:00
raymoo
7b8288d605
Fix default item callbacks to work with nil users ( #5819 )
...
* Fix default item callbacks to work with nil users
* item.lua: Handle node drops for invalid players
The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used.
Remove redundant `local _, dropped_item`
2018-06-03 17:32:00 +02:00
Auke Kok
2f969196b8
Correct prot_vers
in lua_api.txt.
...
We should avoid providing incorrect struct members in documentation
since people will be coding based on them.
2018-06-03 17:32:00 +02:00
raymoo
9927076b47
Document orientation parameter of set_attach ( #6473 )
2018-06-03 17:31:59 +02:00
paramat
b8f473be21
Leveled nodebox: Change levels from 1/63rds to 1/64ths
...
Add missing documentation of leveled nodebox to lua_api.txt, plus
a little cleaning up nearby.
2018-06-03 17:31:59 +02:00
sfan5
5b2461c713
Fix core.wrap_text and make its behaviour consistent with the docs
...
Code based on initial implementation by @dsohler.
2018-06-03 17:31:59 +02:00
Dániel Juhász
9d40d89d27
Make dropped items colorable
2018-06-03 17:31:59 +02:00
SmallJoker
037b01eac7
Trigger on_rightclick regardless on the formspec meta field
...
Document behaviour for older clients.
2018-06-03 17:31:59 +02:00
Dániel Juhász
322e5aaf92
Automatic item and node colorization ( #5640 )
...
* Automatic item and node colorization
Now nodes with a palette yield colored item stacks, and colored items
place colored nodes by default. The client predicts the colorization.
* Backwards compatibility
* Use nil
* Style fixes
* Fix code style
* Document changes
2018-06-03 17:31:59 +02:00
SmallJoker
03bc584f57
find_nodes_in_area: Extend maximal count to U32_MAX ( #5277 )
...
Extend documentation, limit area volume
Remove u16 count limitation
* Prevent integer overflow, replace minp/maxp with pos1/pos2
2018-06-03 17:31:59 +02:00
DS
14b039f0b4
fix an example in lua_api ( #5604 )
2018-06-03 17:31:59 +02:00
red-001
e665e75e77
Fix typos/mistakes in the documentation for colour related functions. ( #5936 )
2018-06-03 17:31:59 +02:00
sfan5
87b9451820
Revert version scheme changes
...
This reverts commit 41b7823057bdaddd760f932dce802719301c3a0f.
This reverts commit 7968f1ddaa67432719d5becdda5ca8bec58faa47.
2017-11-20 19:28:58 +01:00
Loïc Blot
7968f1ddaa
New version scheme ( #6292 )
...
* Version changes: current dev version is now 0.4.17
* This change permit to have multi branches with various versions
* Dev version is 0.4.17-dev and next release will be 0.4.17
2017-08-20 17:25:07 +02:00
ShadowNinja
80dc961d24
Bump version to 0.4.16
2017-06-03 14:42:10 -04:00
ShadowNinja
e4d3639d40
Update remove_player documentation
...
This function only removes player meta data,
not player authentication data.
2017-06-03 14:39:49 -04:00
Wuzzy
e91ffa0c91
Mention data type for get/set_attribute in docs ( #5884 )
2017-06-03 08:20:22 +02:00
Wuzzy
1b83b0acfd
Lua_api.txt: Various edits and Markdown syntax improvements
...
Add minor bits of missing Lua API documentation.
Remove L-system lighting bug warning.
Clarify 2 lines in node timer documentation.
Fix many Markdown syntax errors in lua_api.txt.
2017-06-02 18:01:12 +01:00
Dániel Juhász
30c51a1115
Document hardware coloring and soft node overlays ( #5876 )
2017-06-02 15:57:59 +02:00
Pierre-Adrien Langrognet
39f4a2f607
[CSM] Add send_chat_message and run_server_chatcommand API functions ( #5747 )
...
* [CSM] Add send_chat_message and run_server_chatcommand API functions
* Add client-side chat message rate limiting
* Limit out chat queue size
* [CSM] Add minetest.clear_out_chat_queue API function and .clear_chat_queue chatcommand
* Last fixes/cleanups before merge
2017-05-21 23:06:51 +02:00
bigfoot547
dfa0c15ce0
[CSM] Add function to get the definition of items ( #5732 )
...
Add node def and item def documentation.
Please be ready for merge!
2017-05-21 14:40:55 +02:00
red-001
772944daf6
Fix CSM crash ( #5779 )
...
Caused by dc5bc6c and them made worse by 5ebf8f9
2017-05-20 16:45:49 +02:00
Loïc Blot
e25a38e3fb
When minimap is disabled in configuration, really disable it ( #5771 )
...
* When minimap is disabled in configuration, really disable it
2017-05-19 07:25:27 +02:00
SmallJoker
0120fe16a7
CSM: Document forgotten functions
2017-05-16 21:57:26 +01:00
rubenwardy
f286c54908
Replace inconsistent mentions of core.* with minetest.* ( #5749 )
2017-05-12 11:27:58 +02:00
sfan5
071e114ffa
Private nodemeta ( #5702 )
...
* Private node metadata that isn't sent to the client
2017-05-10 15:29:21 +02:00
paramat
da88a18676
Revert custom player collision box and step height commits
...
These caused inability to pass through 2 node high spaces or step up onto slabs
or steps when a new client connected to an older server.
2017-05-09 03:52:28 +01:00
Loïc Blot
c1b3ed4180
Player attrs: permits to remove an attribute by setting value to nil ( #5716 )
...
* Player attrs: permits to remove an attribute by setting value to nil
When doing player:set_attribute("attr", nil) remove attribute
Also remove a useless check on C++ API part (already done by checkplayer)
Fix #5709
2017-05-07 12:13:15 +02:00
paramat
2d5bd7f414
Player properties: Set correct default collisionbox
...
Recent commit b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975 removed a hardcoded
player collisionbox which resulted on falling back to an incorrect default.
This stopped players walking through 2-node high spaces and made the player
slightly wider.
Improve docs for custom player collisionbox feature and reformat nearby lines.
2017-05-07 06:10:13 +01:00
TeTpaAka
b6f4a9c7e1
Make the player collisionbox settable
2017-05-06 15:41:05 -04:00
ShadowNinja
43d1f375d1
Use a settings object for the main settings
...
This unifies the settings APIs.
This also unifies the sync and async registration APIs, since the async
registration API did not support adding non-functions to the API table.
2017-05-06 15:33:19 -04:00
red-001
5ebf8f9450
[CSM] add on_item_use
( #5544 )
2017-05-06 21:12:44 +02:00
bigfoot547
de028fc056
[CSM] Add camera API ( #5609 )
...
* [CSM] Add camera API
roper rebase & squash
* Address nerzhul's review
2017-05-05 22:07:36 +02:00
red-001
d6cf5450a8
Add option to also check the center to find_node_near
( #5255 )
...
* Add option to also check the center to `find_node_near`
2017-05-04 22:52:58 +02:00
red-001
ae0d8f74d7
Add function to get server info.
2017-05-04 04:25:45 +01:00
paramat
ad9fcf859e
Set sky API: Add bool for clouds in front of custom skybox
...
Default true.
Add 'm_clouds_enabled' bool to sky.h, set from new bool in 'set sky' API.
Make 'getCloudsVisible()' depend on 'm_clouds_enabled' instead of
'm_visible' (whether normal sky is visible).
2017-05-02 20:42:35 -07:00
SmallJoker
f9fdb48dc8
Sneak: Improve and fix various things
...
Remove useless `got_teleported`.
Fix jitter when walking against the sneak limits.
Fix damage evading on sneak ladders.
2017-05-03 03:16:20 +01:00
Brandon
bd921a7916
Sound API: Add fading sounds
2017-05-03 03:12:45 +01:00
Ben Deutsch
f1d7a26b7c
Add clouds API
2017-04-30 00:06:13 +01:00
Vincent Glize
dc5bc6cac7
[CSM] Add event on_place_node API lua ( #5548 )
...
* [CSM] Add event on_place_node API lua
2017-04-29 12:08:16 +02:00