Open shmup opened 8 years ago
Right now I'm only handling ugly things, and looking for the appropriate pattern in: https://raw.githubusercontent.com/crawl/crawl/5efadfb8913dc69beeaf7e8adeca6a1c9634ca9f/crawl-ref/source/mon-util.cc
Here's the full list, taken from: https://raw.githubusercontent.com/crawl/crawl/master/crawl-ref/source/mon-data.h
MONS_UGLY_THING, 'u', COLOUR_UNDEF, "ugly thing", MONS_VERY_UGLY_THING, 'u', COLOUR_UNDEF, "very ugly thing", MONS_TOADSTOOL, 'P', COLOUR_UNDEF, "toadstool", MONS_DANCING_WEAPON, '(', COLOUR_UNDEF, "dancing weapon", MONS_ELDRITCH_TENTACLE, 'w', COLOUR_UNDEF, "eldritch tentacle", MONS_ELDRITCH_TENTACLE_SEGMENT, '*', COLOUR_UNDEF, "eldritch tentacle segment", MONS_PANDEMONIUM_LORD, '&', COLOUR_UNDEF, "pandemonium lord", MONS_TIAMAT, 'd', COLOUR_UNDEF, "Tiamat", MONS_CRAZY_YIUF, 'g', COLOUR_UNDEF, "Crazy Yiuf",
It appears that COLOUR_UNDEF except in hard coded cases like ugly things (and probably some more) are handed by:
https://github.com/crawl/crawl/blob/5efadfb8913dc69beeaf7e8adeca6a1c9634ca9f/crawl-ref/source/mon-util.cc#L2752-L2753
and
https://github.com/crawl/crawl/blob/5efadfb8913dc69beeaf7e8adeca6a1c9634ca9f/crawl-ref/source/mon-util.cc#L2611-L2617
Right now I'm only handling ugly things, and looking for the appropriate pattern in: https://raw.githubusercontent.com/crawl/crawl/5efadfb8913dc69beeaf7e8adeca6a1c9634ca9f/crawl-ref/source/mon-util.cc
Here's the full list, taken from: https://raw.githubusercontent.com/crawl/crawl/master/crawl-ref/source/mon-data.h