From: Perttu Ahola Date: Mon, 28 Nov 2011 18:54:53 +0000 (+0200) Subject: Rename menu background to menubg.png, move unknown_block.png and unknown_object.png... X-Git-Tag: 0.4.dev-20111201-0~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=026979e39d2eb3a776a16dbc8a0e18c47969b362;p=oweals%2Fminetest.git Rename menu background to menubg.png, move unknown_block.png and unknown_object.png to client, make generating a placeholder image for the filename "" not cause an error --- diff --git a/data/clienttextures/menubg.png b/data/clienttextures/menubg.png new file mode 100644 index 000000000..7cb9c89a6 Binary files /dev/null and b/data/clienttextures/menubg.png differ diff --git a/data/clienttextures/mud.png b/data/clienttextures/mud.png deleted file mode 100644 index 7cb9c89a6..000000000 Binary files a/data/clienttextures/mud.png and /dev/null differ diff --git a/data/clienttextures/unknown_block.png b/data/clienttextures/unknown_block.png new file mode 100644 index 000000000..a27cb8ca9 Binary files /dev/null and b/data/clienttextures/unknown_block.png differ diff --git a/data/clienttextures/unknown_object.png b/data/clienttextures/unknown_object.png new file mode 100644 index 000000000..4d6a98d56 Binary files /dev/null and b/data/clienttextures/unknown_object.png differ diff --git a/data/mods/default/textures/unknown_block.png b/data/mods/default/textures/unknown_block.png deleted file mode 100644 index a27cb8ca9..000000000 Binary files a/data/mods/default/textures/unknown_block.png and /dev/null differ diff --git a/data/mods/default/textures/unknown_object.png b/data/mods/default/textures/unknown_object.png deleted file mode 100644 index 4d6a98d56..000000000 Binary files a/data/mods/default/textures/unknown_object.png and /dev/null differ diff --git a/src/main.cpp b/src/main.cpp index 0646494fc..c1b9d902b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1021,7 +1021,7 @@ void drawMenuBackground(video::IVideoDriver* driver) core::dimension2d screensize = driver->getScreenSize(); video::ITexture *bgtexture = - driver->getTexture(getTexturePath("mud.png").c_str()); + driver->getTexture(getTexturePath("menubg.png").c_str()); if(bgtexture) { s32 texturesize = 128; diff --git a/src/tile.cpp b/src/tile.cpp index 206d81289..b6abc5427 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -1088,10 +1088,12 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg, if(image == NULL) { - errorstream<<"generate_image(): Could not load image \"" - < dim(2,2);