Advertisement
Guest User

game.patch

a guest
Apr 7th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.58 KB | None | 0 0
  1. --- /minetest/src/game.cpp
  2. +++ /minetest/src/game.cpp
  3. @@ -1281,6 +1281,13 @@
  4.             core::rect<s32>(0,0,0,0),
  5.             //false, false); // Disable word wrap as of now
  6.             false, true);
  7. +
  8. +   // Slightly shaded so it's easier to read.
  9. +   // I'd like to set the shadow to the width of the text.
  10. +   // Irrlicht IGUIStaticText has getTextWidth,
  11. +   // but it seems to have no effect on the core::rect above.
  12. +   guitext_chat->setBackgroundColor(video::SColor(40,0,0,0));
  13. +
  14.     // Remove stale "recent" chat messages from previous connections
  15.     chat_backend.clearRecentChat();
  16.     // Chat backend and console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement