1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Add ability to override item images using meta (#12614)

This commit is contained in:
rubenwardy
2023-04-17 19:44:41 +01:00
committed by GitHub
parent 8c2c7fadbf
commit 4158b72971
13 changed files with 200 additions and 151 deletions

View File

@@ -765,3 +765,11 @@ std::string sanitizeDirName(const std::string &str, const std::string &optional_
* brackets (e.g. "a\x1eb" -> "a<1e>b").
*/
void safe_print_string(std::ostream &os, const std::string &str);
/**
* Parses a string of form `(1, 2, 3)` to a v3f
*
* @param str String
* @return
*/
v3f str_to_v3f(const std::string &str);