Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tremulous: chat and colors overhaul (#108)
* tremulous: chat and colors overhaul - Implement new message modes with the say menu for admin and clan chats. - Implement support for custom colors defined through a hexadecimal format, include both a short and long format for the hex support, that is ^#fff and ^##ffffff. - Remove extra color codes that are unused in player names. - Implement an escape from the color escape so that ^ can be printed by typing ^^. - Make it so that the length of names are minimally effected by the use of color codes. - Fix the display of colorful names in the HUD kill feed. - Have the printed line width in the console adjust with the resolution. - Implement 62 hardcoded standard chat colors. - Implement the command /colors - Have editable text fields preview colors while editing. - Implement an input history for the say menus. - Implement cycling through message modes with page up and page down. - Initial implementation of player mentions, and player tab completion in the say menu. - Have ctrl+c clear the current line of the say menu, when the say menu is open. - Make arrow down at the current line in the say menu clear the input, but if a writable key isn't pressed, don't completely delete the current line behind the scenes to allow up arrow to recover it. - When the say menu is exited with unsubmitted text, the next time the say menu is open, it would be in a pending blank state where you can recover the unsubmitted text with arrow up provided you didn't already press a printable key. - In the console make colors that are too dark appear brighter in the console so that they are more readable. - update .gitattributes - new version of curl curl-7.68.0 incompatble with code, so pointed to local headers for linux build - engine: add footer labels for the color list for the command /colors. Co-authored-by: Cengiz Gunay <cengique@users.sf.net>
- Loading branch information