View Full Version: I need some help from a coder

ivan >>Programming >>I need some help from a coder


<< Prev | Next >>

Vizzini- 04-10-2005
I need some help from a coder
I'm not even sure this is the right forum to be asking this in, but it's the closest I've seen to a coding forum so far. Please could someone tell me which bit of code I would need to modify to change the red border around my character into a white border? I know it's an odd request, but I am red / green colour blind & when I wield Saal'Thul or anything else that makes me invisible & then walk onto a greenish / reddish / brownish piece of floor I am completely unable to see where I am, which puts me at a slight disadvantage - I only want to be invisible to the monsters, not to myself as well :wink:

Ighalli- 04-10-2005

Holy is R/G color blind too, so I'm sure he'll be happy to comply. I have yet to mess with any of the graphical type stuff, so I can't say without spending some time investigating. I usually put my coding stuff in the hints/tips/tricks section, but it does not matter much.

holybanana- 04-12-2005

Main/Source/igraph.cpp, lines 38-41: col16 igraph::CursorColor[CURSOR_TYPES] = { MakeRGB16(40, 40, 40), MakeRGB16(255, 0, 0), MakeRGB16(100, 100, 255), MakeRGB16(200, 200, 0) }; The second one is RED_CURSOR; adjust its RGB value.

Vizzini- 04-15-2005

Thanks for the help, it is much appreciated. It turned out that white wasn't a great plan for the border, as it blends terribly well with certain backgrounds / light sources. Anyone else who is red/green colour blind & also wants to increase visibility whilst invisible may like to consider dark blue as an option. And if you want to fix it, but you're not familiar with RGB colour codes, go here , pick the colour that you think will look visible from the right hand side & use the code from the left hand side. Windows users who want to compile with this option should look at the sticky about compiling on this forum.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.