Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add colored text (not only colored chat).
Add documentation, move files to a proper place and avoid memory leaks. Make it work with most kind of texts, and allow backgrounds too.
- Loading branch information
Showing
with
690 additions
and 319 deletions.
- +1 −1 builtin/game/chatcommands.lua
- +29 −14 builtin/game/misc.lua
- +5 −0 builtin/settingtypes.txt
- +18 −0 doc/lua_api.txt
- +2 −0 src/CMakeLists.txt
- +25 −5 src/cguittfont/CGUITTFont.cpp
- +7 −0 src/cguittfont/CGUITTFont.h
- +19 −18 src/chat.cpp
- +12 −5 src/chat.h
- +0 −1 src/client/CMakeLists.txt
- +2 −0 src/defaultsettings.cpp
- +24 −29 src/game.cpp
- +2 −2 src/{client → }/guiChatConsole.cpp
- 0 src/{client → }/guiChatConsole.h
- +12 −11 src/guiEngine.cpp
- +3 −0 src/guiEngine.h
- +15 −44 src/guiFormSpecMenu.cpp
- +9 −4 src/guiFormSpecMenu.h
- +7 −0 src/irrlicht_changes/CMakeLists.txt
- +82 −57 src/{util/statictext.cpp → irrlicht_changes/static_text.cpp}
- +120 −2 src/{util/statictext.h → irrlicht_changes/static_text.h}
- +6 −4 src/terminal_chat_console.cpp
- +1 −10 src/util/CMakeLists.txt
- +0 −68 src/util/coloredstring.cpp
- +0 −44 src/util/coloredstring.h
- +166 −0 src/util/enriched_string.cpp
- +91 −0 src/util/enriched_string.h
- +32 −0 src/util/string.h
Oops, something went wrong.