source-sdk-2013
source-sdk-2013 copied to clipboard
Add colored console chat history
Self-explanatory, makes chat history in the console use colors. The client code changes are pulled from Alien Swarm SDK.

This PR also fixes the bug where saying a full chat message containing only spaces breaks color codes afterwards (as it made the console become solid white). One more small issue this PR addresses is removing an unsafe const cast and instead copying arguments from say/say_team command into a buffer first, since CheckChatText writes to it in-place,
NOTE: this PR requires the spew bug in materialsystem to be fixed as well, otherwise the console chat can bug out and be positioned out of order.
ficool could you fix words not being highlighted properly in the console? (or maybe it's fixed here)
ficool could you fix words not being highlighted properly in the console? (or maybe it's fixed here)
https://github.com/ValveSoftware/source-sdk-2013/pull/761
Can we have convar to disable colored console for accessibility reasons? -Thanks
The aforementioned spew bug is https://github.com/ValveSoftware/Source-1-Games/issues/1985