From 8540871ebcfca6584051e1fc042951baa0ed3275 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sun, 4 Nov 2012 21:18:28 +0100 Subject: [PATCH 1/2] Formspec: Draw images before inventories. Allows to use image as background. --- src/guiFormSpecMenu.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index ed44e441b..affbd1a34 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -692,17 +692,8 @@ void GUIFormSpecMenu::drawMenu() m_tooltip_element->setVisible(false); /* - Draw items - Phase 0: Item slot rectangles - Phase 1: Item images; prepare tooltip + Draw images */ - - for(int phase=0; phase<=1; phase++) - for(u32 i=0; i Date: Thu, 8 Nov 2012 20:43:32 +0200 Subject: [PATCH 2/2] Fix unnecessary network protocol incompatibility in ContentFeatures --- src/nodedef.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 466531efa..180219ba8 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -254,7 +254,6 @@ void ContentFeatures::serialize(std::ostream &os) os<