diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 17:18:08 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:02 +0300 |
commit | 1709fd854a2d943de8cc48ee1e092dcb4315f9a6 (patch) | |
tree | f0dddbb5ecfffa0f4e2f82de020ae95edb8769f7 /src/game.cpp | |
parent | 7bf446f671541f38d6dc89d207ee6effd3564483 (diff) | |
download | minetest-1709fd854a2d943de8cc48ee1e092dcb4315f9a6.tar.gz minetest-1709fd854a2d943de8cc48ee1e092dcb4315f9a6.tar.bz2 minetest-1709fd854a2d943de8cc48ee1e092dcb4315f9a6.zip |
Implement image[<X>,<Y>;<W>,<H>;<texture name>] and allow floating-point values in formspec
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 5bc3e7625..768bb5602 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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); |