From 350596b94f3d886812cb453e05540a16c3db5e5b Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Tue, 5 Mar 2013 17:23:03 -0500 Subject: [PATCH] Add cloud menu background by Krisi, configurable with the menu_clouds option. Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers. And finally don't git-ignore textures/base/. --- .gitignore | 3 +- minetest.conf.example | 2 + src/clouds.cpp | 6 +- src/clouds.h | 3 +- src/defaultsettings.cpp | 1 + src/guiMainMenu.cpp | 11 +- src/main.cpp | 207 +++++++++++++++++++++++------- textures/base/pack/logo.png | Bin 0 -> 13156 bytes textures/base/pack/menufooter.png | Bin 0 -> 356 bytes textures/base/pack/menuheader.png | Bin 0 -> 578 bytes textures/base/pack/menulogo.png | Bin 364 -> 0 bytes 11 files changed, 177 insertions(+), 56 deletions(-) create mode 100644 textures/base/pack/logo.png create mode 100644 textures/base/pack/menufooter.png create mode 100644 textures/base/pack/menuheader.png delete mode 100644 textures/base/pack/menulogo.png diff --git a/.gitignore b/.gitignore index 803d8cb2..1ebd43e0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,8 @@ tags /games/* !/games/minimal/ /cache/ -/textures/ +/textures/* +!/textures/base/ /sounds/ /mods/* !/mods/minetest/ diff --git a/minetest.conf.example b/minetest.conf.example index 1f2a764f..daca1616 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -125,6 +125,8 @@ #farmesh_distance = 40 # Enable/disable clouds #enable_clouds = true +# Use a cloud animation for the main menu background +#menu_clouds = true # Path for screenshots #screenshot_path = . # Amount of view bobbing (0 = no view bobbing, 1.0 = normal, 2.0 = double) diff --git a/src/clouds.cpp b/src/clouds.cpp index 9f0bc06d..55ec8965 100644 --- a/src/clouds.cpp +++ b/src/clouds.cpp @@ -29,7 +29,8 @@ Clouds::Clouds( scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id, - u32 seed + u32 seed, + s16 cloudheight ): scene::ISceneNode(parent, mgr, id), m_seed(seed), @@ -45,7 +46,8 @@ Clouds::Clouds( //m_material.MaterialType = video::EMT_TRANSPARENT_VERTEX_ALPHA; m_material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; - m_cloud_y = BS * g_settings->getS16("cloud_height"); + m_cloud_y = BS * (cloudheight ? cloudheight : + g_settings->getS16("cloud_height")); m_box = core::aabbox3d(-BS*1000000,m_cloud_y-BS,-BS*1000000, BS*1000000,m_cloud_y+BS,BS*1000000); diff --git a/src/clouds.h b/src/clouds.h index 72923c2c..8f8b19fa 100644 --- a/src/clouds.h +++ b/src/clouds.h @@ -30,7 +30,8 @@ public: scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id, - u32 seed + u32 seed, + s16 cloudheight=0 ); ~Clouds(); diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index a8954be7..3ec0ad9f 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -109,6 +109,7 @@ void set_default_settings(Settings *settings) settings->setDefault("view_bobbing_amount", "1.0"); settings->setDefault("enable_3d_clouds", "true"); settings->setDefault("cloud_height", "120"); + settings->setDefault("menu_clouds", "true"); settings->setDefault("opaque_water", "false"); settings->setDefault("console_color", "(0,0,0)"); settings->setDefault("console_alpha", "200"); diff --git a/src/guiMainMenu.cpp b/src/guiMainMenu.cpp index c2e68579..4accbaa2 100644 --- a/src/guiMainMenu.cpp +++ b/src/guiMainMenu.cpp @@ -209,7 +209,6 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) changeCtype(""); // Version - //if(m_data->selected_tab != TAB_CREDITS) { core::rect rect(0, 0, size.X, 40); rect += v2s32(4, 0); @@ -219,7 +218,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) } //v2s32 center(size.X/2, size.Y/2); - v2s32 c800(size.X/2-400, size.Y/2-300); + v2s32 c800(size.X/2-400, size.Y/2-270); m_topleft_client = c800 + v2s32(90, 70+50+30); m_size_client = v2s32(620, 270); @@ -237,7 +236,6 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) m_topleft_server = m_topleft_client + v2s32(0, m_size_client.Y+20); // Tabs -#if 1 { core::rect rect(0, 0, m_size_client.X, 30); rect += m_topleft_client + v2s32(0, -30); @@ -250,7 +248,6 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) e->addTab(wgettext("Credits")); e->setActiveTab(m_data->selected_tab); } -#endif if(m_data->selected_tab == TAB_SINGLEPLAYER) { @@ -786,15 +783,15 @@ void GUIMainMenu::drawMenu() driver->draw2DRectangle(bgcolor, rect, &AbsoluteClippingRect); } video::ITexture *logotexture = - driver->getTexture(getTexturePath("menulogo.png").c_str()); + driver->getTexture(getTexturePath("logo.png").c_str()); if(logotexture) { v2s32 logosize(logotexture->getOriginalSize().Width, logotexture->getOriginalSize().Height); - logosize *= 2; + core::rect rect(0,0,logosize.X,logosize.Y); rect += AbsoluteRect.UpperLeftCorner + m_topleft_client; - rect += v2s32(130, 50); + rect += v2s32(500, 30); driver->draw2DImage(logotexture, rect, core::rect(core::position2d(0,0), core::dimension2di(logotexture->getSize())), diff --git a/src/main.cpp b/src/main.cpp index 69646804..73be969a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes_extrabloated.h" #include "debug.h" #include "test.h" +#include "clouds.h" #include "server.h" #include "constants.h" #include "porting.h" @@ -596,50 +597,120 @@ private: bool rightreleased; }; -void drawMenuBackground(video::IVideoDriver* driver) -{ +//Draw the tiled menu background +void drawMenuBackground(video::IVideoDriver* driver) { core::dimension2d screensize = driver->getScreenSize(); + + std::string path = getTexturePath("menubg.png"); + if (path[0]) { + video::ITexture *bgtexture = + driver->getTexture(path.c_str()); + + if (bgtexture) { + s32 scaledsize = 128; - video::ITexture *bgtexture = - driver->getTexture(getTexturePath("menubg.png").c_str()); - if(bgtexture) - { - s32 scaledsize = 128; - - // The important difference between destsize and screensize is - // that destsize is rounded to whole scaled pixels. - // These formulas use component-wise multiplication and division of v2u32. - v2u32 texturesize = bgtexture->getSize(); - v2u32 sourcesize = texturesize * screensize / scaledsize + v2u32(1,1); - v2u32 destsize = scaledsize * sourcesize / texturesize; + // The important difference between destsize and screensize is + // that destsize is rounded to whole scaled pixels. + // These formulas use component-wise multiplication and division of v2u32. + v2u32 texturesize = bgtexture->getSize(); + v2u32 sourcesize = texturesize * screensize / scaledsize + v2u32(1,1); + v2u32 destsize = scaledsize * sourcesize / texturesize; - // Default texture wrapping mode in Irrlicht is ETC_REPEAT. - driver->draw2DImage(bgtexture, - core::rect(0, 0, destsize.X, destsize.Y), - core::rect(0, 0, sourcesize.X, sourcesize.Y), - NULL, NULL, true); + // Default texture wrapping mode in Irrlicht is ETC_REPEAT. + driver->draw2DImage(bgtexture, + core::rect(0, 0, destsize.X, destsize.Y), + core::rect(0, 0, sourcesize.X, sourcesize.Y), + NULL, NULL, true); + } } - - video::ITexture *logotexture = - driver->getTexture(getTexturePath("menulogo.png").c_str()); - if(logotexture) - { - v2s32 logosize(logotexture->getOriginalSize().Width, - logotexture->getOriginalSize().Height); - logosize *= 4; - - video::SColor bgcolor(255,50,50,50); - core::rect bgrect(0, screensize.Height-logosize.Y-20, - screensize.Width, screensize.Height); - driver->draw2DRectangle(bgcolor, bgrect, NULL); - - core::rect rect(0,0,logosize.X,logosize.Y); - rect += v2s32(screensize.Width/2,screensize.Height-10-logosize.Y); - rect -= v2s32(logosize.X/2, 0); - driver->draw2DImage(logotexture, rect, - core::rect(core::position2d(0,0), - core::dimension2di(logotexture->getSize())), - NULL, NULL, true); +} + +//Draw the footer at the bottom of the window +void drawMenuFooter(video::IVideoDriver* driver, bool clouds) { + core::dimension2d screensize = driver->getScreenSize(); + std::string path = getTexturePath(clouds ? + "menufooter_clouds.png" : "menufooter.png"); + if (path[0]) { + video::ITexture *footertexture = + driver->getTexture(path.c_str()); + + if (footertexture) { + f32 mult = (((f32)screensize.Width)) / + ((f32)footertexture->getOriginalSize().Width); + + v2s32 footersize(((f32)footertexture->getOriginalSize().Width) * mult, + ((f32)footertexture->getOriginalSize().Height) * mult); + + // Don't draw the footer if there isn't enough room + s32 free_space = (((s32)screensize.Height)-320)/2; + if (free_space > footersize.Y) { + core::rect rect(0,0,footersize.X,footersize.Y); + rect += v2s32(screensize.Width/2,screensize.Height-footersize.Y); + rect -= v2s32(footersize.X/2, 0); + + driver->draw2DImage(footertexture, rect, + core::rect(core::position2d(0,0), + core::dimension2di(footertexture->getSize())), + NULL, NULL, true); + } + } + } +} + +// Draw the Header over the main menu +void drawMenuHeader(video::IVideoDriver* driver) { + core::dimension2d screensize = driver->getScreenSize(); + + std::string path = getTexturePath("menuheader.png"); + if (path[0]) { + video::ITexture *splashtexture = + driver->getTexture(path.c_str()); + + if(splashtexture) { + //v2s32 splashsize((splashtexture->getOriginalSize().Width*100)/ + // splashtexture->getOriginalSize().Height, 80); + + f32 mult = (((f32)screensize.Width / 2)) / + ((f32)splashtexture->getOriginalSize().Width); + + v2s32 splashsize(((f32)splashtexture->getOriginalSize().Width) * mult, + ((f32)splashtexture->getOriginalSize().Height) * mult); + + // Don't draw the header is there isn't enough room + s32 free_space = (((s32)screensize.Height)-320)/2; + if (free_space > splashsize.Y) { + core::rect splashrect(0, 0, splashsize.X, splashsize.Y); + splashrect += v2s32((screensize.Width/2)-(splashsize.X/2), + ((free_space/2)-splashsize.Y/2)+10); + + video::SColor bgcolor(255,50,50,50); + + driver->draw2DImage(splashtexture, splashrect, + core::rect(core::position2d(0,0), + core::dimension2di(splashtexture->getSize())), + NULL, NULL, true); + } + } + } +} + +// Draw the Splash over the clouds and under the main menu +void drawMenuSplash(video::IVideoDriver* driver) { + core::dimension2d screensize = driver->getScreenSize(); + if (getTexturePath("menusplash.png") != "") { + video::ITexture *splashtexture = + driver->getTexture(getTexturePath("menusplash.png").c_str()); + + if(splashtexture) { + core::rect splashrect(0, 0, screensize.Width, screensize.Height); + + video::SColor bgcolor(255,50,50,50); + + driver->draw2DImage(splashtexture, splashrect, + core::rect(core::position2d(0,0), + core::dimension2di(splashtexture->getSize())), + NULL, NULL, true); + } } } @@ -1540,6 +1611,22 @@ int main(int argc, char *argv[]) &g_menumgr, &menudata, g_gamecallback); menu->allowFocusRemoval(true); + // Clouds for the main menu + bool cloud_menu_background = false; + Clouds *clouds = NULL; + if (g_settings->getBool("menu_clouds")) { + cloud_menu_background = true; + clouds = new Clouds(smgr->getRootSceneNode(), + smgr, -1, rand(), 100); + clouds->update(v2f(0, 0), video::SColor(255,200,200,255)); + + // A camera to see the clouds + scene::ICameraSceneNode* camera; + camera = smgr->addCameraSceneNode(0, + v3f(0,0,0), v3f(0, 60, 100)); + camera->setFarValue(10000); + } + if(error_message != L"") { verbosestream<<"error_message = " @@ -1552,6 +1639,9 @@ int main(int argc, char *argv[]) error_message = L""; } + // Time is in milliseconds, for clouds + u32 lasttime = device->getTimer()->getTime(); + infostream<<"Created main menu"<run() && kill == false) @@ -1559,23 +1649,50 @@ int main(int argc, char *argv[]) if(menu->getStatus() == true) break; - //driver->beginScene(true, true, video::SColor(255,0,0,0)); - driver->beginScene(true, true, video::SColor(255,128,128,128)); + // Time calc for the clouds + f32 dtime; // in seconds + if (cloud_menu_background) { + u32 time = device->getTimer()->getTime(); + if(time > lasttime) + dtime = (time - lasttime) / 1000.0; + else + dtime = 0; + lasttime = time; + } - drawMenuBackground(driver); + //driver->beginScene(true, true, video::SColor(255,0,0,0)); + driver->beginScene(true, true, video::SColor(255,140,186,250)); + + if (cloud_menu_background) { + // *3 otherwise the clouds would move very slowly + clouds->step(dtime*3); + clouds->render(); + smgr->drawAll(); + drawMenuSplash(driver); + drawMenuFooter(driver, true); + drawMenuHeader(driver); + } else { + drawMenuBackground(driver); + drawMenuFooter(driver, false); + } guienv->drawAll(); - + driver->endScene(); // On some computers framerate doesn't seem to be // automatically limited - sleep_ms(25); + if (!cloud_menu_background) + sleep_ms(25); } infostream<<"Dropping main menu"<drop(); + if (cloud_menu_background) { + clouds->drop(); + smgr->clear(); + } } playername = wide_to_narrow(menudata.name); diff --git a/textures/base/pack/logo.png b/textures/base/pack/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..f341e88925a2b9fd935d60627cc2ab6a009922d1 GIT binary patch literal 13156 zcmV-qGn>qbP)o0bR6e-=KFiUs@@y> z4iY4|iz@&Ult{_4WJ$Ip+i_&elC{{9Vmp&KGn0&y%-nk?cb4Q#JURE?OinVHOm5=X zlDtWz72EL^OO~v~5-INBzHa~lki_2I=&h>W`$u&*xdYb=3&dSEH(+;1*8?e+4rP-yadc67Wk6z$lDV)tOgP81s+1V z#n?i)7WG^tJE?dc84>;g_=e-~{exd~^8nqC+2FyxC!Kcz`Co|@`<|F_IbDxh_X_d= zsvkro8m@t8vuLCiQ4gISQBs$Yd`bZ>AbbbmEBhXIx0k;2F`IplJMRMWzv7~L9Cbou_4wf8f%0=Ohk-;2U>n%3%tCNn^H|)Lee9ks(D0qD16;f z=l?zQB<@@m_%0w<1p*^t{T9f>>akwXV5C{7YDI%F5i0;*0R_=3udaXyxLL?fsU|KU znMp+qV*)!6`OCdeINvYTGQvOWp#PQt>3P(`Q=zXAY`Y(^?gBoquu)y=LN!o5Uo=#O z*db6YTtN#1KgW0a?@Qr4#m%78V=y(K;${IO{UZ7js$bamq<5t25xaE#cL90KX7A$; zU5{AH5&ln9ZdcWII{?)SglL1P6;u)NzgAWK>93W;f6W^b@I1xMh$en^ zo~z_jFnLbNOew(5eNVX8U+v!3KO6>6*z=9_%>6zbVei+{zchfnW!^$nR-?K!SS3=s zNC?JIW0jAvK+!VF14juMDnGBV8ublI1raco5UhfDJESKRV@cqu6Xl@@dkO=;{=x8C z71;ar%z+{p-48|B_w`?VV9d{8Qlg4RYK34-D1xD?W#cQej8H0V@rutY&nqQqFtzg=znM4Li4HxcOJ2fu0A$pGI`IihN#$I#1N{L_Vg5BRvm= z{;2z*aHLc>Jrw+BWFcO0rWS@!1@#n96;(y?e~OC#S{2oTmn!`9wCsFU)KjGRxi|B^ zr$w_+yjg&~zBR+@!ztPDK;%8ixc8!p{vFD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JP|ZP}J^ z06y`a8q{$rT;99K+X>9(8Hwqpd9!0r)w=`q^K@h7>GCi0@&5tKuDCuV!BO=90000< KMNUMnLSTXp-0yb) literal 0 HcmV?d00001 diff --git a/textures/base/pack/menufooter.png b/textures/base/pack/menufooter.png new file mode 100644 index 0000000000000000000000000000000000000000..fd431846eb4cfa923dcf938ec9c28fca216e9467 GIT binary patch literal 356 zcmeAS@N?(olHy`uVBq!ia0y~yU~~YnS(t&O7XPaGKuRvaC&ZP3;XgwIh|ty5_3`m( zaA0U?XgF}-!2kaZ|NsAwUSVPZRLNQ35n0T@z;^_M8K-LVNdpDhOFVsD+3zy*G05?K z`?MHDbuKfxSNuP08`fTP-)px(Q7KKz(x6`_d!}Xg8`T$Exr$1s-BgI% z;K#c5`#jfFKduKd1`?94J#(68FMY$`;8C%bHA9j4)`~Mt5<4AEO*?Yjx?6_vyjo}E^7sIj_HXN=m)HC1uH#OS^-z ymP=pZwYEUVj56b`boOkx>iB*fZ1^j`YWbkzLb6Mw<&;$S|uY~CU literal 0 HcmV?d00001 diff --git a/textures/base/pack/menuheader.png b/textures/base/pack/menuheader.png new file mode 100644 index 0000000000000000000000000000000000000000..66fd6def577f6c8862469c37f5382f91d184001d GIT binary patch literal 578 zcmeAS@N?(olHy`uVBq!ia0y~yV4M$RyKt}p$+#SgGeC+h$=lt9;Xep2*t>i(P=vF< zBeIx*fm;}a85w5HkpSv@d1rw6D*%J%8^1(`@F3b1nP~hu9e& zGQ-J+Uw!;_&psZ%KL6 zLJfm}9ST{Xl)U}+)w_PboFyt=akR{0M2~{wEzGB literal 0 HcmV?d00001 diff --git a/textures/base/pack/menulogo.png b/textures/base/pack/menulogo.png deleted file mode 100644 index 578c9db15405765aff154acafe745e9b999f97ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 364 zcmeAS@N?(olHy`uVBq!ia0vp^wLr|l!VDzU9N(q@Db50q$YKTtz9S&aI8~cZ8YswK z;_2(kewUd`*qHO?zW)(GA;kcn5LY10!0?};0YvEP>iYQjG&nFcG&CGIaNz&{hX4Qn zHwFq%1}b4J3GxeOaCmkj4a7lu`PJX1_?+yoE1L|}8kQ<)O?W94OmuE-Dcig@i;w&2&Dsy`A(x8B()(!3`75AU^uDXw3*7f%KHhr!d;&t;ucLK6Ti C8