View Single Post
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-03-2018 , 13:11   [1.8.3] show_activity_color
Reply With Quote #1

Since we'll have client_print_color, the show_activity functions will be kinda outdaded because they are hardcoded to use the regular client_print function.

I want to add colors to these functions and sumbit a pull request, but I need suggestions on what is the best method to do this. I mean, I can easily copy/paste the functions and change the print function, but it doesn't seem right. Adding a bool in the current ones will break backwards compatibility (unless it's possible to add a parameter after the "any:..." one). Maybe some #define magic? Any suggestions?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom