Hey all,
I'm looking to implement color code (other than LOPE's) anyone have any suggestions or color snippets that they might suggest?
Appreciate any info.
I don't know of any snippets since I havent had anything to do with ROM for a long time. One thing about whatever colour system you go for, adapt it to use a character other than { or } to prefix colour codes (assuming it doesn't already).
Dawn is in the process of being converted to use `, there are a few reasons for not using { or }:
1. Visual C++ - in Visual C++ you can press ctrl+} to jump between braces, ctrl+shift+} then press alt+f8, and it will reformat the selected section. Unfortunately the algorithm in Visual C++ considers { and } within a string/single quotes as part of the actual C code, so the usefulness of this feature is greatly reduced if your mud code gets a lot of colour code characters embedded within.
2. Scripting language support - if you want to add a scripting language, most of them have a syntactic use for the open and close brace characters. This is the reason I have converted dawn to use `, since I am going to be adding a full scripting language.
Good luck with the colour system whatever you use,
- Kal