Skip to content

Commit

Permalink
DevTest: Change "Minetest" to "DevTest"
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 committed Oct 25, 2024
1 parent e441b5d commit d9789eb
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion games/devtest/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
License information for Development Test
----------------------------------------

The same license as for Minetest applies.
The same license as for Luanti applies.
2 changes: 1 addition & 1 deletion games/devtest/game.conf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion games/devtest/mods/broken/init.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion games/devtest/mods/testnodes/drawtypes.lua
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions games/devtest/mods/testnodes/textures.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
]]--
Expand Down
2 changes: 1 addition & 1 deletion games/devtest/mods/testpathfinder/mod.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name = testpathfinder
description = Tool to test Minetest's pathfinder function
description = Tool to test Luanti's pathfinder function
2 changes: 1 addition & 1 deletion games/devtest/mods/unittests/crafting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9789eb

Please sign in to comment.