mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Implement image[<X>,<Y>;<W>,<H>;<texture name>] and allow floating-point values in formspec
This commit is contained in:
@@ -1576,8 +1576,9 @@ void the_game(
|
||||
inventoryloc.setCurrentPlayer();
|
||||
|
||||
menu->setFormSpec(
|
||||
"invsize[8,7;]"
|
||||
"list[current_player;main;0,3;8,4;]"
|
||||
"invsize[8,7.5;]"
|
||||
//"image[1,0.6;1,2;player.png]"
|
||||
"list[current_player;main;0,3.5;8,4;]"
|
||||
"list[current_player;craft;3,0;3,3;]"
|
||||
"list[current_player;craftpreview;7,1;1,1;]"
|
||||
, inventoryloc);
|
||||
|
Reference in New Issue
Block a user