ivanforum ivanforum
Forum for Iter Vehemens ad Necem
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   fchat fChat   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I need some help from a coder

 
Post new topic   Reply to topic    ivanforum Forum Index -> Programming
View previous topic :: View next topic  
Author Message
Vizzini
kobold lord


Joined: 04 Apr 2005
Posts: 221
Location: scattered over a wide area in GC6

PostPosted: Sun Apr 10, 2005 8:01 pm    Post subject: I need some help from a coder Reply with quote

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
Back to top
View user's profile Send private message
Ighalli
gibberling


Joined: 18 Jan 2005
Posts: 138
Location: Pennsylvania

PostPosted: Sun Apr 10, 2005 9:50 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
holybanana
Party Chairman


Joined: 04 Jan 2005
Posts: 155
Location: Above Valpurus

PostPosted: Tue Apr 12, 2005 12:56 pm    Post subject: Reply with quote

Main/Source/igraph.cpp, lines 38-41:

Code:
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.
Back to top
View user's profile Send private message Send e-mail
Vizzini
kobold lord


Joined: 04 Apr 2005
Posts: 221
Location: scattered over a wide area in GC6

PostPosted: Fri Apr 15, 2005 11:16 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ivanforum Forum Index -> Programming All times are GMT


Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group