DevTest: Change "Minetest" to "DevTest" (#15326)

This commit is contained in:
Wuzzy 2024-10-26 17:40:29 +02:00 committed by GitHub
parent 6ead789509
commit 4deb5b999c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 10 additions and 10 deletions

@ -1,4 +1,4 @@
License information for Development Test
----------------------------------------
The same license as for Minetest applies.
The same license as for Luanti applies.

@ -1,4 +1,4 @@
title = Development Test
description = Testing environment to help with testing the engine features of Minetest. It can also be helpful in mod development.
description = Testing environment to help with testing the engine features of Luanti. It can also be helpful in mod development.
first_mod = first_mod
last_mod = last_mod

@ -1,4 +1,4 @@
-- Register stuff with empty definitions to test if Minetest fallback options
-- Register stuff with empty definitions to test if Luanti fallback options
-- for these things work properly.
-- The itemstrings are deliberately kept descriptive to keep them easy to

@ -1,5 +1,5 @@
--[[ Drawtype Test: This file tests out and provides examples for
all drawtypes in Minetest. It is attempted to keep the node
all drawtypes in Luanti. It is attempted to keep the node
definitions as simple and minimal as possible to keep
side-effects to a minimum.

@ -255,17 +255,17 @@ data_ck = nil
The following nodes can be used to demonstrate the TGA format support.
Minetest supports TGA types 1, 2, 3 & 10. While adding the support for
Luanti supports TGA types 1, 2, 3 & 10. While adding the support for
TGA type 9 (RLE-compressed, color-mapped) is easy, it is not advisable
to do so, as it is not backwards compatible with any Minetest pre-5.5;
to do so, as it is not backwards compatible with any engine version pre-5.5;
content creators should therefore either use TGA type 1 or 10, or PNG.
TODO: Types 1, 2 & 10 should have two test nodes each (i.e. bottom-top
and top-bottom) for 16bpp (A1R5G5B5), 24bpp (B8G8R8), 32bpp (B8G8R8A8)
colors.
Note: Minetest requires the optional TGA footer for a texture to load.
If a TGA image does not load in Minetest, append eight (8) null bytes,
Note: Luanti requires the optional TGA footer for a texture to load.
If a TGA image does not load in Luanti, append eight (8) null bytes,
then the string TRUEVISION-XFILE., then another null byte.
]]--

@ -1,2 +1,2 @@
name = testpathfinder
description = Tool to test Minetest's pathfinder function
description = Tool to test Luanti's pathfinder function

@ -87,7 +87,7 @@ local function test_get_craft_result()
minetest.log("info", "[unittests] repairable tool crafting output.item:to_table(): "..dump(output.item:to_table()))
assert(output.item:get_name() == "unittests:repairable_tool")
-- Test the wear value.
-- See src/craftdef.cpp in Minetest source code for the formula. The formula to calculate
-- See src/craftdef.cpp in Luanti source code for the formula. The formula to calculate
-- the value 51187 is:
-- 65536 - ((65536-60000)+(65536-60000)) + floor(additonal_wear * 65536 + 0.5) = 51187
-- where additional_wear = 0.05