mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Use .md extension for markdown files
Linking to line numbers is brittle, linking to sections/headings is better. If you still want to link to a line number, you can append ?plain=1 to GitHub's URL
This commit is contained in:
parent
5cd6a22dd3
commit
b1786e88ac
11 changed files with 20 additions and 20 deletions
|
@ -236,7 +236,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#define PASSWORD_SIZE 28 // Maximum password length. Allows for
|
||||
// base64-encoded SHA-1 (27+\0).
|
||||
|
||||
// See also formspec [Version History] in doc/lua_api.txt
|
||||
// See also formspec [Version History] in doc/lua_api.md
|
||||
#define FORMSPEC_API_VERSION 6
|
||||
|
||||
#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-"
|
||||
|
|
|
@ -1805,7 +1805,7 @@ int ObjectRef::l_set_sky(lua_State *L)
|
|||
}
|
||||
} else {
|
||||
// Handle old set_sky calls, and log deprecated:
|
||||
log_deprecated(L, "Deprecated call to set_sky, please check lua_api.txt");
|
||||
log_deprecated(L, "Deprecated call to set_sky, please check lua_api.md");
|
||||
|
||||
// Fix sun, moon and stars showing when classic textured skyboxes are used
|
||||
SunParams sun_params = player->getSunParams();
|
||||
|
@ -1898,7 +1898,7 @@ int ObjectRef::l_get_sky(lua_State *L)
|
|||
|
||||
// handle the deprecated version
|
||||
if (!readParam<bool>(L, 2, false)) {
|
||||
log_deprecated(L, "Deprecated call to get_sky, please check lua_api.txt");
|
||||
log_deprecated(L, "Deprecated call to get_sky, please check lua_api.md");
|
||||
|
||||
push_ARGB8(L, skybox_params.bgcolor);
|
||||
lua_pushlstring(L, skybox_params.type.c_str(), skybox_params.type.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue