Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /minetest/src/game.cpp
- +++ /minetest/src/game.cpp
- @@ -1281,6 +1281,13 @@
- core::rect<s32>(0,0,0,0),
- //false, false); // Disable word wrap as of now
- false, true);
- +
- + // Slightly shaded so it's easier to read.
- + // I'd like to set the shadow to the width of the text.
- + // Irrlicht IGUIStaticText has getTextWidth,
- + // but it seems to have no effect on the core::rect above.
- + guitext_chat->setBackgroundColor(video::SColor(40,0,0,0));
- +
- // Remove stale "recent" chat messages from previous connections
- chat_backend.clearRecentChat();
- // Chat backend and console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement