mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Update github URL references (#15705)
This commit is contained in:
parent
f592b57dc6
commit
b5e084c9a5
32 changed files with 66 additions and 68 deletions
14
.github/CONTRIBUTING.md
vendored
14
.github/CONTRIBUTING.md
vendored
|
@ -14,7 +14,7 @@ Contributions are welcome! Here's how you can help:
|
||||||
[clone](https://help.github.com/articles/cloning-a-repository/) your fork.
|
[clone](https://help.github.com/articles/cloning-a-repository/) your fork.
|
||||||
|
|
||||||
2. Before you start coding, consider opening an
|
2. Before you start coding, consider opening an
|
||||||
[issue at Github](https://github.com/minetest/minetest/issues) to discuss the
|
[issue on Github](https://github.com/luanti-org/luanti/issues) to discuss the
|
||||||
suitability and implementation of your intended contribution with the core
|
suitability and implementation of your intended contribution with the core
|
||||||
developers.
|
developers.
|
||||||
|
|
||||||
|
@ -30,9 +30,9 @@ Contributions are welcome! Here's how you can help:
|
||||||
|
|
||||||
3. Start coding!
|
3. Start coding!
|
||||||
- Refer to the
|
- Refer to the
|
||||||
[Lua API](https://github.com/minetest/minetest/blob/master/doc/lua_api.md),
|
[Lua API](https://github.com/luanti-org/luanti/blob/master/doc/lua_api.md),
|
||||||
[Developer Wiki](http://dev.minetest.net/Main_Page) and other
|
[Developer Wiki](http://dev.minetest.net/Main_Page) and other
|
||||||
[documentation](https://github.com/minetest/minetest/tree/master/doc).
|
[documentation](https://github.com/luanti-org/luanti/tree/master/doc).
|
||||||
- Follow the [C/C++](http://dev.minetest.net/Code_style_guidelines) and
|
- Follow the [C/C++](http://dev.minetest.net/Code_style_guidelines) and
|
||||||
[Lua](http://dev.minetest.net/Lua_code_style_guidelines) code style guidelines.
|
[Lua](http://dev.minetest.net/Lua_code_style_guidelines) code style guidelines.
|
||||||
- Check your code works as expected and document any changes to the Lua API.
|
- Check your code works as expected and document any changes to the Lua API.
|
||||||
|
@ -53,7 +53,7 @@ Contributions are welcome! Here's how you can help:
|
||||||
- The following lines should describe the commit, starting a new line for each point.
|
- The following lines should describe the commit, starting a new line for each point.
|
||||||
|
|
||||||
5. Once you are happy with your changes, submit a pull request.
|
5. Once you are happy with your changes, submit a pull request.
|
||||||
- Open the [pull-request form](https://github.com/minetest/minetest/pull/new/master).
|
- Open the [pull-request form](https://github.com/luanti-org/luanti/pull/new/master).
|
||||||
- Add a description explaining what you've done (or if it's a
|
- Add a description explaining what you've done (or if it's a
|
||||||
work-in-progress - what you need to do).
|
work-in-progress - what you need to do).
|
||||||
- Make sure to fill out the pull request template.
|
- Make sure to fill out the pull request template.
|
||||||
|
@ -78,7 +78,7 @@ a stable release is on the way.
|
||||||
1. Do a quick search on GitHub to check if the issue has already been reported.
|
1. Do a quick search on GitHub to check if the issue has already been reported.
|
||||||
2. Is it an issue with the Minetest *engine*? If not, report it
|
2. Is it an issue with the Minetest *engine*? If not, report it
|
||||||
[elsewhere](http://www.minetest.net/development/#reporting-issues).
|
[elsewhere](http://www.minetest.net/development/#reporting-issues).
|
||||||
3. [Open an issue](https://github.com/minetest/minetest/issues/new) and describe
|
3. [Open an issue](https://github.com/luanti-org/luanti/issues/new) and describe
|
||||||
the issue you are having - you could include:
|
the issue you are having - you could include:
|
||||||
- Error logs (check the bottom of the `debug.txt` file).
|
- Error logs (check the bottom of the `debug.txt` file).
|
||||||
- Screenshots.
|
- Screenshots.
|
||||||
|
@ -159,13 +159,13 @@ Submit a :+1: (+1) or "Looks good" comment to show you believe the pull-request
|
||||||
- The title should follow the commit guidelines (title starts with a capital letter, present tense, descriptive).
|
- The title should follow the commit guidelines (title starts with a capital letter, present tense, descriptive).
|
||||||
- Don't modify history older than 10 minutes.
|
- Don't modify history older than 10 minutes.
|
||||||
- Use rebase, not merge to get linear history:
|
- Use rebase, not merge to get linear history:
|
||||||
- `curl https://github.com/minetest/minetest/pull/1.patch | git am`
|
- `curl -Ls https://github.com/luanti-org/luanti/pull/1.patch | git am`
|
||||||
|
|
||||||
## Reviewing issues and feature requests
|
## Reviewing issues and feature requests
|
||||||
|
|
||||||
- If an issue does not get a response from its author within 1 month (when requiring more details), it can be closed.
|
- If an issue does not get a response from its author within 1 month (when requiring more details), it can be closed.
|
||||||
- When an issue is a duplicate, refer to the first ones and close the later ones.
|
- When an issue is a duplicate, refer to the first ones and close the later ones.
|
||||||
- Tag issues with the appropriate [labels](https://github.com/minetest/minetest/labels) for devices, platforms etc.
|
- Tag issues with the appropriate [labels](https://github.com/luanti-org/luanti/labels) for devices, platforms etc.
|
||||||
|
|
||||||
## Releasing a new version
|
## Releasing a new version
|
||||||
|
|
||||||
|
|
2
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
|
@ -9,7 +9,7 @@ body:
|
||||||
|
|
||||||
1. **Please update Luanti to the latest stable or dev version** before submitting bug reports. Make sure the bug is still reproducible on the latest version.
|
1. **Please update Luanti to the latest stable or dev version** before submitting bug reports. Make sure the bug is still reproducible on the latest version.
|
||||||
2. This page is for reporting the bugs of **the engine itself**. For bugs in a particular game, please [search for the game in the ContentDB](https://content.luanti.org/packages/?type=game) and submit a bug report in their issue trackers.
|
2. This page is for reporting the bugs of **the engine itself**. For bugs in a particular game, please [search for the game in the ContentDB](https://content.luanti.org/packages/?type=game) and submit a bug report in their issue trackers.
|
||||||
* For example, you can submit issues about the Minetest Game [in its own repository](https://github.com/minetest/minetest_game/issues).
|
* For example, you can submit issues about the Minetest Game [in its own repository](https://github.com/luanti-org/minetest_game/issues).
|
||||||
3. Please provide as many details as possible for us to spot the problem quicker.
|
3. Please provide as many details as possible for us to spot the problem quicker.
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
|
|
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
blank_issues_enabled: true
|
blank_issues_enabled: true
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Submit issues about Minetest Game
|
- name: Submit issues about Minetest Game
|
||||||
url: https://github.com/minetest/minetest_game/issues/new/choose
|
url: https://github.com/luanti-org/minetest_game/issues/new
|
||||||
about: Only submit issues of the engine in this repository's issue tracker. Submit those of Minetest Game in its own issue tracker.
|
about: Only submit issues of the engine in this repository's issue tracker. Submit those of Minetest Game in its own issue tracker.
|
||||||
- name: Search for issue trackers of third-party games
|
- name: Search for issue trackers of third-party games
|
||||||
url: https://content.luanti.org/packages/?type=game
|
url: https://content.luanti.org/packages/?type=game
|
||||||
|
|
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -3,7 +3,7 @@ Add compact, short information about your PR for easier understanding:
|
||||||
- Goal of the PR
|
- Goal of the PR
|
||||||
- How does the PR work?
|
- How does the PR work?
|
||||||
- Does it resolve any reported issue?
|
- Does it resolve any reported issue?
|
||||||
- Does this relate to a goal in [the roadmap](https://github.com/minetest/minetest/blob/master/doc/direction.md)?
|
- Does this relate to a goal in [the roadmap](https://github.com/luanti-org/luanti/blob/master/doc/direction.md)?
|
||||||
- If not a bug fix, why is this PR needed? What usecases does it solve?
|
- If not a bug fix, why is this PR needed? What usecases does it solve?
|
||||||
|
|
||||||
## To do
|
## To do
|
||||||
|
|
2
.github/SECURITY.md
vendored
2
.github/SECURITY.md
vendored
|
@ -3,7 +3,7 @@
|
||||||
## Supported Versions
|
## Supported Versions
|
||||||
|
|
||||||
We only support the latest stable version for security issues.
|
We only support the latest stable version for security issues.
|
||||||
See the [releases page](https://github.com/minetest/minetest/releases).
|
See the [releases page](https://github.com/luanti-org/luanti/releases).
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
|
2
.github/workflows/lua_api_deploy.yml
vendored
2
.github/workflows/lua_api_deploy.yml
vendored
|
@ -16,7 +16,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.repository == 'minetest/minetest'
|
if: github.repository == 'luanti-org/luanti'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
|
@ -48,7 +48,7 @@ endif()
|
||||||
# - win32/gcc: fails to link
|
# - win32/gcc: fails to link
|
||||||
# - win32/clang: works
|
# - win32/clang: works
|
||||||
# - macOS on x86: seems to be fine
|
# - macOS on x86: seems to be fine
|
||||||
# - macOS on ARM: crashes, see <https://github.com/minetest/minetest/issues/14397>
|
# - macOS on ARM: crashes, see <https://github.com/luanti-org/luanti/issues/14397>
|
||||||
# Note: since CMake has no easy architecture detection disabling for Mac entirely
|
# Note: since CMake has no easy architecture detection disabling for Mac entirely
|
||||||
#### ####
|
#### ####
|
||||||
if((WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR APPLE)
|
if((WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR APPLE)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Luanti (formerly Minetest)
|
Luanti (formerly Minetest)
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||

|

|
||||||
[](https://hosted.weblate.org/engage/minetest/?utm_source=widget)
|
[](https://hosted.weblate.org/engage/minetest/?utm_source=widget)
|
||||||
[](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html)
|
[](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html)
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Further documentation
|
||||||
- Website: https://www.luanti.org/
|
- Website: https://www.luanti.org/
|
||||||
- Wiki: https://wiki.luanti.org/
|
- Wiki: https://wiki.luanti.org/
|
||||||
- Forum: https://forum.luanti.org/
|
- Forum: https://forum.luanti.org/
|
||||||
- GitHub: https://github.com/minetest/minetest/
|
- GitHub: https://github.com/luanti-org/luanti/
|
||||||
- [Developer documentation](doc/developing/)
|
- [Developer documentation](doc/developing/)
|
||||||
- [doc/](doc/) directory of source distribution
|
- [doc/](doc/) directory of source distribution
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ if (new File(depsDir, 'armeabi-v7a').exists()) {
|
||||||
task downloadDeps(type: Download) {
|
task downloadDeps(type: Download) {
|
||||||
def depsZip = new File(buildDir, 'deps.zip')
|
def depsZip = new File(buildDir, 'deps.zip')
|
||||||
|
|
||||||
src 'https://github.com/minetest/minetest_android_deps/releases/download/latest/deps-lite.zip'
|
src 'https://github.com/luanti-org/luanti_android_deps/releases/download/latest/deps-lite.zip'
|
||||||
dest depsZip
|
dest depsZip
|
||||||
overwrite false
|
overwrite false
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
-- This whole file can be removed after a while.
|
-- This whole file can be removed after a while.
|
||||||
-- It was only directly useful for upgrades from 5.7.0 to 5.8.0, but
|
-- It was only directly useful for upgrades from 5.7.0 to 5.8.0, but
|
||||||
-- maybe some odd fellow directly upgrades from 5.6.1 to 5.9.0 in the future...
|
-- maybe some odd fellow directly upgrades from 5.6.1 to 5.9.0 in the future...
|
||||||
-- see <https://github.com/minetest/minetest/pull/13850> in case it's not obvious
|
-- see <https://github.com/luanti-org/luanti/pull/13850> in case it's not obvious
|
||||||
---- ----
|
---- ----
|
||||||
|
|
||||||
local SETTING_NAME = "no_mtg_notification"
|
local SETTING_NAME = "no_mtg_notification"
|
||||||
|
|
|
@ -61,7 +61,7 @@ vec4 applyBloom(vec4 color, vec2 uv)
|
||||||
equation used: ((x * (A * x + C * B) + D * E) / (x * (A * x + B) + D * F)) - E / F
|
equation used: ((x * (A * x + C * B) + D * E) / (x * (A * x + B) + D * F)) - E / F
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// see https://github.com/minetest/minetest/pull/14688
|
// highp for GLES, see <https://github.com/luanti-org/luanti/pull/14688>
|
||||||
highp vec3 uncharted2Tonemap(highp vec3 x)
|
highp vec3 uncharted2Tonemap(highp vec3 x)
|
||||||
{
|
{
|
||||||
return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03333;
|
return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03333;
|
||||||
|
|
|
@ -10,12 +10,12 @@ This list is largely advisory and items may be reevaluated once the time comes.
|
||||||
* `game.conf` name/id mess
|
* `game.conf` name/id mess
|
||||||
* remove `depends.txt` / `description.txt` (would simplify ContentDB and Luanti code a little)
|
* remove `depends.txt` / `description.txt` (would simplify ContentDB and Luanti code a little)
|
||||||
* rotate moon texture by 180°, making it coherent with the sun
|
* rotate moon texture by 180°, making it coherent with the sun
|
||||||
* https://github.com/minetest/minetest/pull/11902
|
* https://github.com/luanti-org/luanti/pull/11902
|
||||||
* remove undocumented `set_physics_override(num, num, num)`
|
* remove undocumented `set_physics_override(num, num, num)`
|
||||||
* remove special handling of `${key}` syntax in metadata values
|
* remove special handling of `${key}` syntax in metadata values
|
||||||
* remove old_move
|
* remove old_move
|
||||||
* change physics_override `sneak` to disable the speed change and not just the node clipping
|
* change physics_override `sneak` to disable the speed change and not just the node clipping
|
||||||
* https://github.com/minetest/minetest/issues/13699
|
* https://github.com/luanti-org/luanti/issues/13699
|
||||||
* migrate from player names to UUIDs, this would enable renaming of accounts and unicode player names (if desired)
|
* migrate from player names to UUIDs, this would enable renaming of accounts and unicode player names (if desired)
|
||||||
* harmonize use_texture_alpha between entities & nodes, change default to 'opaque' and remove bool compat code
|
* harmonize use_texture_alpha between entities & nodes, change default to 'opaque' and remove bool compat code
|
||||||
* merge `sound` and `sounds` table in itemdef
|
* merge `sound` and `sounds` table in itemdef
|
||||||
|
|
|
@ -23,7 +23,7 @@ Transferring client-sided mods from the server to the client is planned, but not
|
||||||
|
|
||||||
If you see a deficiency in the API, feel free to attempt to add the
|
If you see a deficiency in the API, feel free to attempt to add the
|
||||||
functionality in the engine and API. You can send such improvements as
|
functionality in the engine and API. You can send such improvements as
|
||||||
source code patches on GitHub (https://github.com/minetest/minetest).
|
source code patches on GitHub.
|
||||||
|
|
||||||
Programming in Lua
|
Programming in Lua
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -70,14 +70,14 @@ For Void users:
|
||||||
|
|
||||||
Download source (this is the URL to the latest of source repository, which might not work at all times) using Git:
|
Download source (this is the URL to the latest of source repository, which might not work at all times) using Git:
|
||||||
|
|
||||||
git clone --depth 1 https://github.com/minetest/minetest.git
|
git clone --depth 1 https://github.com/luanti-org/luanti
|
||||||
cd minetest
|
cd minetest
|
||||||
|
|
||||||
Download source, without using Git:
|
Download source, without using Git:
|
||||||
|
|
||||||
wget https://github.com/minetest/minetest/archive/master.tar.gz
|
wget https://github.com/luanti-org/luanti/archive/master.tar.gz
|
||||||
tar xf master.tar.gz
|
tar xf master.tar.gz
|
||||||
cd minetest-master
|
cd luanti-master
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ brew install cmake freetype gettext gmp hiredis jpeg-turbo jsoncpp leveldb libog
|
||||||
Download source (this is the URL to the latest of source repository, which might not work at all times) using Git:
|
Download source (this is the URL to the latest of source repository, which might not work at all times) using Git:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone --depth 1 https://github.com/minetest/minetest.git luanti
|
git clone --depth 1 https://github.com/luanti-org/luanti luanti
|
||||||
cd luanti
|
cd luanti
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Sign the Android APK from CI
|
## Sign the Android APK from CI
|
||||||
|
|
||||||
The [Github Actions Workflow](https://github.com/minetest/minetest/actions?query=workflow%3Aandroid+event%3Apush)
|
The [Github Actions Workflow](https://github.com/luanti-org/luanti/actions?query=workflow%3Aandroid+event%3Apush)
|
||||||
automatically produces an APK for each architecture.
|
automatically produces an APK for each architecture.
|
||||||
Before installing them onto a device they however need to be signed.
|
Before installing them onto a device they however need to be signed.
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ following documents:
|
||||||
|
|
||||||
* [What is Minetest?](http://c55.me/blog/?p=1491)
|
* [What is Minetest?](http://c55.me/blog/?p=1491)
|
||||||
* [celeron55's roadmap](https://forum.luanti.org/viewtopic.php?t=9177)
|
* [celeron55's roadmap](https://forum.luanti.org/viewtopic.php?t=9177)
|
||||||
* [celeron55's comment in "A clear mission statement for Minetest is missing"](https://github.com/minetest/minetest/issues/3476#issuecomment-167399287)
|
* [celeron55's comment in "A clear mission statement for Minetest is missing"](https://github.com/luanti-org/luanti/issues/3476#issuecomment-167399287)
|
||||||
* [Core developer to-do/wish lists](https://forum.luanti.org/viewforum.php?f=7)
|
* [Core developer to-do/wish lists](https://forum.luanti.org/viewforum.php?f=7)
|
||||||
|
|
||||||
## 2. Medium-term Roadmap
|
## 2. Medium-term Roadmap
|
||||||
|
@ -16,7 +16,7 @@ These are the current medium-term goals for Luanti development, in no
|
||||||
particular order.
|
particular order.
|
||||||
|
|
||||||
These goals were created from the top points in a
|
These goals were created from the top points in a
|
||||||
[roadmap brainstorm](https://github.com/minetest/minetest/issues/10461).
|
[roadmap brainstorm](https://github.com/luanti-org/luanti/issues/10461).
|
||||||
This should be reviewed approximately yearly, or when goals are achieved.
|
This should be reviewed approximately yearly, or when goals are achieved.
|
||||||
|
|
||||||
Pull requests that address one of these goals will be labeled as "Roadmap".
|
Pull requests that address one of these goals will be labeled as "Roadmap".
|
||||||
|
@ -32,9 +32,9 @@ Once that is done, fancier features can be worked on, such as water shaders,
|
||||||
shadows, and improved lighting.
|
shadows, and improved lighting.
|
||||||
|
|
||||||
Examples include
|
Examples include
|
||||||
[transparency sorting](https://github.com/minetest/minetest/issues/95),
|
[transparency sorting](https://github.com/luanti-org/luanti/issues/95),
|
||||||
[particle performance](https://github.com/minetest/minetest/issues/1414),
|
[particle performance](https://github.com/luanti-org/luanti/issues/1414),
|
||||||
[general view distance](https://github.com/minetest/minetest/issues/7222).
|
[general view distance](https://github.com/luanti-org/luanti/issues/7222).
|
||||||
|
|
||||||
This includes work on maintaining
|
This includes work on maintaining
|
||||||
[our Irrlicht fork](https://github.com/minetest/irrlicht), and switching to
|
[our Irrlicht fork](https://github.com/minetest/irrlicht), and switching to
|
||||||
|
@ -43,16 +43,16 @@ alternative libraries to replace Irrlicht functionality as needed
|
||||||
### 2.2 Internal code refactoring
|
### 2.2 Internal code refactoring
|
||||||
|
|
||||||
To ensure sustainable development, Luanti's code needs to be
|
To ensure sustainable development, Luanti's code needs to be
|
||||||
[refactored and improved](https://github.com/minetest/minetest/pulls?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22Code+quality%22+).
|
[refactored and improved](https://github.com/luanti-org/luanti/pulls?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22Code+quality%22).
|
||||||
This will remove code rot and allow for more efficient development.
|
This will remove code rot and allow for more efficient development.
|
||||||
|
|
||||||
### 2.3 UI Improvements
|
### 2.3 UI Improvements
|
||||||
|
|
||||||
A [formspec replacement](https://github.com/minetest/minetest/issues/6527) is
|
A [formspec replacement](https://github.com/luanti-org/luanti/issues/6527) is
|
||||||
needed to make GUIs better and easier to create. This replacement could also
|
needed to make GUIs better and easier to create. This replacement could also
|
||||||
be a replacement for HUDs, allowing for a unified API.
|
be a replacement for HUDs, allowing for a unified API.
|
||||||
|
|
||||||
A [new mainmenu](https://github.com/minetest/minetest/issues/6733) is needed to
|
A [new mainmenu](https://github.com/luanti-org/luanti/issues/6733) is needed to
|
||||||
improve user experience. First impressions matter, and the current main menu
|
improve user experience. First impressions matter, and the current main menu
|
||||||
doesn't do a very good job at selling Luanti or explaining what it is.
|
doesn't do a very good job at selling Luanti or explaining what it is.
|
||||||
A new main menu should promote games to users, allowing Minetest Game to no
|
A new main menu should promote games to users, allowing Minetest Game to no
|
||||||
|
@ -65,5 +65,5 @@ an issue for any large changes before spending lots of time.
|
||||||
|
|
||||||
There are still a significant number of issues with objects.
|
There are still a significant number of issues with objects.
|
||||||
Collisions,
|
Collisions,
|
||||||
[performance](https://github.com/minetest/minetest/issues/6453),
|
[performance](https://github.com/luanti-org/luanti/issues/6453),
|
||||||
API convenience, and discrepancies between players and entities.
|
API convenience, and discrepancies between players and entities.
|
||||||
|
|
|
@ -5,10 +5,10 @@ Luanti Lua Modding API Reference
|
||||||
it's now called `core` due to the renaming of Luanti (formerly Minetest).
|
it's now called `core` due to the renaming of Luanti (formerly Minetest).
|
||||||
`minetest` will keep existing as an alias, so that old code won't break.
|
`minetest` will keep existing as an alias, so that old code won't break.
|
||||||
|
|
||||||
* More information at <http://www.minetest.net/>
|
* More information at <http://www.luanti.org/>
|
||||||
* Developer Wiki: <http://dev.minetest.net/>
|
* Developer Wiki: <http://dev.luanti.org/>
|
||||||
* (Unofficial) Minetest Modding Book by rubenwardy: <https://rubenwardy.com/minetest_modding_book/>
|
* (Unofficial) Minetest Modding Book by rubenwardy: <https://rubenwardy.com/minetest_modding_book/>
|
||||||
* Modding tools: <https://github.com/minetest/modtools>
|
* Modding tools: <https://github.com/luanti-org/modtools>
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
|
@ -327,7 +327,7 @@ Many glTF features are not supported *yet*, including:
|
||||||
* Double-sided materials don't work
|
* Double-sided materials don't work
|
||||||
* Alternative means of supplying data
|
* Alternative means of supplying data
|
||||||
* Embedded images. You can use `gltfutil.py` from the
|
* Embedded images. You can use `gltfutil.py` from the
|
||||||
[modding tools](https://github.com/minetest/modtools) to strip or extract embedded images.
|
[modding tools](https://github.com/luanti-org/modtools) to strip or extract embedded images.
|
||||||
* References to files via URIs
|
* References to files via URIs
|
||||||
|
|
||||||
Textures are supplied solely via the same means as for the other model file formats:
|
Textures are supplied solely via the same means as for the other model file formats:
|
||||||
|
@ -1484,8 +1484,6 @@ Node drawtypes
|
||||||
|
|
||||||
There are a bunch of different looking node types.
|
There are a bunch of different looking node types.
|
||||||
|
|
||||||
Look for examples in `games/devtest` or `games/minetest_game`.
|
|
||||||
|
|
||||||
* `normal`
|
* `normal`
|
||||||
* A node-sized cube.
|
* A node-sized cube.
|
||||||
* `airlike`
|
* `airlike`
|
||||||
|
@ -4370,7 +4368,7 @@ Hello @1, how are you today?=Hallo @1, wie geht es dir heute?
|
||||||
```
|
```
|
||||||
|
|
||||||
For old translation files, consider using the script `mod_translation_updater.py`
|
For old translation files, consider using the script `mod_translation_updater.py`
|
||||||
in the Luanti [modtools](https://github.com/minetest/modtools) repository to
|
in the Luanti [modtools](https://github.com/luanti-org/modtools) repository to
|
||||||
generate and update translation files automatically from the Lua sources.
|
generate and update translation files automatically from the Lua sources.
|
||||||
|
|
||||||
Gettext translation file format
|
Gettext translation file format
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Moved to lua_api.md
|
Moved to lua_api.md
|
||||||
|
|
||||||
URL: https://github.com/minetest/minetest/blob/master/doc/lua_api.md
|
URL: https://github.com/luanti-org/luanti/blob/master/doc/lua_api.md
|
||||||
|
|
|
@ -124,7 +124,7 @@ Colon delimited list of directories to search for mods.
|
||||||
Path to Luanti user data directory.
|
Path to Luanti user data directory.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Please report all bugs at https://github.com/minetest/minetest/issues.
|
Please report all bugs at https://github.com/luanti-org/luanti/issues.
|
||||||
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
.PP
|
.PP
|
||||||
|
@ -134,4 +134,4 @@ This man page was originally written by
|
||||||
Juhani Numminen <juhaninumminen0@gmail.com>.
|
Juhani Numminen <juhaninumminen0@gmail.com>.
|
||||||
|
|
||||||
.SH WWW
|
.SH WWW
|
||||||
http://www.minetest.net/
|
http://www.luanti.org/
|
||||||
|
|
|
@ -382,7 +382,7 @@ Settings
|
||||||
* `core.settings:save()` -> nil, save all settings to config file
|
* `core.settings:save()` -> nil, save all settings to config file
|
||||||
|
|
||||||
For a complete list of methods of the `Settings` object see
|
For a complete list of methods of the `Settings` object see
|
||||||
[lua_api.md](https://github.com/minetest/minetest/blob/master/doc/lua_api.md)
|
[lua_api.md](./lua_api.md)
|
||||||
|
|
||||||
|
|
||||||
Worlds
|
Worlds
|
||||||
|
|
|
@ -256,7 +256,7 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters ¶m) :
|
||||||
if (++SDLDeviceInstances == 1) {
|
if (++SDLDeviceInstances == 1) {
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
// Blocking on pause causes problems with multiplayer.
|
// Blocking on pause causes problems with multiplayer.
|
||||||
// See https://github.com/minetest/minetest/issues/10842.
|
// see <https://github.com/luanti-org/luanti/issues/10842>
|
||||||
SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE, "0");
|
SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE, "0");
|
||||||
SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO, "0");
|
SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO, "0");
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters ¶m) :
|
||||||
SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1");
|
SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1");
|
||||||
|
|
||||||
// Disabling the compositor is not a good idea in windowed mode.
|
// Disabling the compositor is not a good idea in windowed mode.
|
||||||
// See https://github.com/minetest/minetest/issues/14596
|
// see <https://github.com/luanti-org/luanti/issues/14596>
|
||||||
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
|
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
|
||||||
|
|
||||||
#if defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
|
#if defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
|
||||||
|
|
|
@ -6,7 +6,7 @@ What this is:
|
||||||
|
|
||||||
* A tiny glTF deserializer which maps JSON objects to appropriate C++ structures.
|
* A tiny glTF deserializer which maps JSON objects to appropriate C++ structures.
|
||||||
* Intended to be safe for loading untrusted input.
|
* Intended to be safe for loading untrusted input.
|
||||||
* Slightly tailored to the needs of [Minetest](https://github.com/minetest/minetest).
|
* Slightly tailored to the needs of Luanti
|
||||||
|
|
||||||
What this doesn't and shouldn't do:
|
What this doesn't and shouldn't do:
|
||||||
|
|
||||||
|
|
|
@ -131,14 +131,14 @@
|
||||||
<keyword>roleplaying</keyword>
|
<keyword>roleplaying</keyword>
|
||||||
</keywords>
|
</keywords>
|
||||||
|
|
||||||
<url type="homepage">https://www.minetest.net</url>
|
<url type="homepage">https://www.luanti.org</url>
|
||||||
<url type="bugtracker">https://www.minetest.net/get-involved/#reporting-issues</url>
|
<url type="bugtracker">https://www.luanti.org/get-involved/#reporting-issues</url>
|
||||||
<url type="translate">https://dev.minetest.net/Translation</url>
|
<url type="translate">https://dev.luanti.org/Translation/</url>
|
||||||
<url type="donation">https://www.minetest.net/get-involved/#donate</url>
|
<url type="donation">https://www.luanti.org/get-involved/#donate</url>
|
||||||
<url type="faq">https://wiki.luanti.org/FAQ</url>
|
<url type="faq">https://wiki.luanti.org/FAQ</url>
|
||||||
<url type="help">https://wiki.luanti.org</url>
|
<url type="help">https://wiki.luanti.org</url>
|
||||||
<url type="vcs-browser">https://github.com/minetest/minetest</url>
|
<url type="vcs-browser">https://github.com/luanti-org/luanti</url>
|
||||||
<url type="contribute">https://www.minetest.net/get-involved</url>
|
<url type="contribute">https://www.luanti.org/get-involved</url>
|
||||||
|
|
||||||
<provides>
|
<provides>
|
||||||
<binary>luanti</binary>
|
<binary>luanti</binary>
|
||||||
|
|
|
@ -392,7 +392,7 @@ void ParticleSpawner::spawnParticle(ClientEnvironment *env, float radius,
|
||||||
}
|
}
|
||||||
|
|
||||||
case ParticleParamTypes::AttractorKind::line: {
|
case ParticleParamTypes::AttractorKind::line: {
|
||||||
// https://github.com/minetest/minetest/issues/11505#issuecomment-915612700
|
// <https://github.com/luanti-org/luanti/issues/11505#issuecomment-915612700>
|
||||||
const auto& lorigin = attractor_origin;
|
const auto& lorigin = attractor_origin;
|
||||||
v3f ldir = attractor_direction;
|
v3f ldir = attractor_direction;
|
||||||
ldir.normalize();
|
ldir.normalize();
|
||||||
|
@ -408,7 +408,7 @@ void ParticleSpawner::spawnParticle(ClientEnvironment *env, float radius,
|
||||||
}
|
}
|
||||||
|
|
||||||
case ParticleParamTypes::AttractorKind::plane: {
|
case ParticleParamTypes::AttractorKind::plane: {
|
||||||
// https://github.com/minetest/minetest/issues/11505#issuecomment-915612700
|
// <https://github.com/luanti-org/luanti/issues/11505#issuecomment-915612700>
|
||||||
const v3f& porigin = attractor_origin;
|
const v3f& porigin = attractor_origin;
|
||||||
v3f normal = attractor_direction;
|
v3f normal = attractor_direction;
|
||||||
normal.normalize();
|
normal.normalize();
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
/*
|
/*
|
||||||
* Redis is not a good fit for Minetest and only still supported for legacy as
|
* Redis is not a good fit for Minetest and only still supported for legacy as
|
||||||
* well as advanced use case reasons, see:
|
* well as advanced use case reasons, see:
|
||||||
* <https://github.com/minetest/minetest/issues/14822>
|
* <https://github.com/luanti-org/luanti/issues/14822>
|
||||||
*
|
*
|
||||||
* Do NOT extend this backend with any new functionality.
|
* Do NOT extend this backend with any new functionality.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -148,7 +148,7 @@ void set_default_settings()
|
||||||
settings->setDefault("keymap_minimap", "KEY_KEY_V");
|
settings->setDefault("keymap_minimap", "KEY_KEY_V");
|
||||||
settings->setDefault("keymap_console", "KEY_F10");
|
settings->setDefault("keymap_console", "KEY_F10");
|
||||||
|
|
||||||
// See https://github.com/minetest/minetest/issues/12792
|
// see <https://github.com/luanti-org/luanti/issues/12792>
|
||||||
settings->setDefault("keymap_rangeselect", has_touch ? "KEY_KEY_R" : "");
|
settings->setDefault("keymap_rangeselect", has_touch ? "KEY_KEY_R" : "");
|
||||||
|
|
||||||
settings->setDefault("keymap_freemove", "KEY_KEY_K");
|
settings->setDefault("keymap_freemove", "KEY_KEY_K");
|
||||||
|
|
|
@ -51,8 +51,8 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__) && !defined(__clang__)
|
#if defined(__MINGW32__) && !defined(__clang__)
|
||||||
// see https://github.com/minetest/minetest/issues/14140 or
|
// see <https://github.com/luanti-org/luanti/issues/14140> or
|
||||||
// https://github.com/minetest/minetest/issues/10137 for one of the various issues we had
|
// <https://github.com/luanti-org/luanti/issues/10137> for some of the issues we had
|
||||||
#error ==================================
|
#error ==================================
|
||||||
#error MinGW gcc has a broken TLS implementation and is not supported for building \
|
#error MinGW gcc has a broken TLS implementation and is not supported for building \
|
||||||
Luanti. Look at testTLS() in test_threading.cpp and see for yourself. \
|
Luanti. Look at testTLS() in test_threading.cpp and see for yourself. \
|
||||||
|
|
|
@ -325,7 +325,7 @@ void TestMapBlock::testLoadNonStd(IGameDef *gamedef)
|
||||||
* 2176 IDs (but only the first 128 could use the full range of param2), and
|
* 2176 IDs (but only the first 128 could use the full range of param2), and
|
||||||
* finally 16-bit like today.
|
* finally 16-bit like today.
|
||||||
* The content_width field in MapBlocks was used around that time during the
|
* The content_width field in MapBlocks was used around that time during the
|
||||||
* transition to 16-bit: <https://github.com/minetest/minetest/commit/ea62ee4b61371107ef3d693bda4c410ba02ca7e6>
|
* transition to 16-bit: <https://github.com/luanti-org/luanti/commit/ea62ee4b61371107ef3d693bda4c410ba02ca7e6>
|
||||||
* A content_width of 1 would normally never appear with a version > 24, but
|
* A content_width of 1 would normally never appear with a version > 24, but
|
||||||
* it is in fact perfectly possible to serialize a block in todays format with
|
* it is in fact perfectly possible to serialize a block in todays format with
|
||||||
* shortened IDs.
|
* shortened IDs.
|
||||||
|
|
|
@ -204,10 +204,10 @@ private:
|
||||||
which affected only 32-bit MinGW. It was caused by incorrect calling convention
|
which affected only 32-bit MinGW. It was caused by incorrect calling convention
|
||||||
and fixed in GCC in 2020.
|
and fixed in GCC in 2020.
|
||||||
|
|
||||||
Occurrences in Minetest:
|
Occurrences in Luanti:
|
||||||
* <https://github.com/minetest/minetest/issues/10137> (2020)
|
* <https://github.com/luanti-org/luanti/issues/10137> (2020)
|
||||||
* <https://github.com/minetest/minetest/issues/12022> (2022)
|
* <https://github.com/luanti-org/luanti/issues/12022> (2022)
|
||||||
* <https://github.com/minetest/minetest/issues/14140> (2023)
|
* <https://github.com/luanti-org/luanti/issues/14140> (2023)
|
||||||
*/
|
*/
|
||||||
void TestThreading::testTLS()
|
void TestThreading::testTLS()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE_GIT=https://github.com/minetest/minetest
|
CORE_GIT=https://github.com/luanti-org/luanti
|
||||||
CORE_BRANCH=master
|
CORE_BRANCH=master
|
||||||
CORE_NAME=minetest
|
CORE_NAME=minetest
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ CUTOFF_ACTIVE = 3
|
||||||
CUTOFF_PREVIOUS = 21
|
CUTOFF_PREVIOUS = 21
|
||||||
|
|
||||||
# For a description of the points system see:
|
# For a description of the points system see:
|
||||||
# https://github.com/minetest/minetest/pull/9593#issue-398677198
|
# <https://github.com/luanti-org/luanti/pull/9593#issue-398677198>
|
||||||
|
|
||||||
def load(revs):
|
def load(revs):
|
||||||
points = defaultdict(int)
|
points = defaultdict(int)
|
||||||
|
|
Loading…
Add table
Reference in a new issue