Game programming

Moderators: None (Apply to moderate this forum)
Number of threads: 2070
Number of posts: 5361

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
Color Problems Posted by RPG Man on 20 Apr 1999 at 1:13 PM
This is probably an easy one, but how does one use colors in DJGPP above 0x09? Using 0x10 is a blue background with black text, and 0x010 is still the same thing. According to conio.h there should be 16 available. This is my first time playing with colored output (and DJGPP for that matter) so go easy on me. =)


Edit Report
Re: Color Problems Posted by Rock on 21 Apr 1999 at 6:30 AM
: This is probably an easy one, but how does one use colors in DJGPP above 0x09? Using 0x10 is a blue background with black text, and 0x010 is still the same thing. According to conio.h there should be 16 available. This is my first time playing with colored output (and DJGPP for that matter) so go easy on me. =)<p>
Well, if your looking for color 10, then use either 0xa or just plain 10. 0x10 = 0x010 = 16 decimal. 0x means hexidecimal.<p>
Rock


Edit Report
Re: IM A FREAKING MORON Posted by RPG Man on 21 Apr 1999 at 9:53 PM
: : This is probably an easy one, but how does one use colors in DJGPP above 0x09? Using 0x10 is a blue background with black text, and 0x010 is still the same thing. According to conio.h there should be 16 available. This is my first time playing with colored output (and DJGPP for that matter) so go easy on me. =)<p>
: Well, if your looking for color 10, then use either 0xa or just plain 10. 0x10 = 0x010 = 16 decimal. 0x means hexidecimal.<p>
: Rock<p>
DURRRR... Thanks anyway, I had a total mental lapse and my head was pretty far up my ass at that point.......... ugh<p>






 

Recent Jobs