Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tremulous: chat and colors overhaul #108

Merged
merged 6 commits into from
Mar 29, 2020
Merged

tremulous: chat and colors overhaul #108

merged 6 commits into from
Mar 29, 2020

Conversation

dGr8LookinSparky
Copy link

  • 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.

- 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.
cengique
cengique previously approved these changes Mar 28, 2020
Copy link
Member

@cengique cengique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiles (added some changes to Linux makefile section), runs, and works fine.

/colors command is a bit long. Maybe explanatory lines at the end can be listed without blank lines between them. Also, colors are sorted based on key, which is fine, but they could also be sorted by color, by name of color. But it is usable, so I approve it.

Copy link
Member

@cengique cengique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still works!

@dGr8LookinSparky dGr8LookinSparky merged commit 38cbdc8 into master Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants