home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 7981 < prev    next >
Encoding:
Internet Message Format  |  1992-07-20  |  1.0 KB

  1. Path: sparky!uunet!munnari.oz.au!metro!grivel!neumann.une.edu.au!scavanag
  2. From: scavanag@neumann.une.edu.au (Steven Cavanagh)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: floodfill problem.
  5. Message-ID: <1434@grivel.une.edu.au>
  6. Date: 21 Jul 92 05:38:47 GMT
  7. Sender: usenet@grivel.une.edu.au
  8. Lines: 18
  9.  
  10.  
  11. I'm not sure if this belongs here or in rec.games.programmer (if I
  12. post something like this in one, SOMEBODY tells me to take it to the
  13. other), but:
  14.  
  15.     I'm writing a simple game using Borland C++ 3.0, and
  16. without going into too much detail, I need a section of the viewing
  17. screen that is already filled coloured black (ie, only part of the
  18. filled section is to be coloured black, effectively erasing it).
  19. I setcolor(EGA_BLACK); draw the boundaries of the area using lineto,
  20. and then floodfill(x,y,EGA_BLACK) inside this region. When the 
  21. program runs the lines are drawn okay, but the region is not filled
  22. in. I have checked the use of floodfill() and the coordinates, but
  23. cannot figure out why it isn't doing it.
  24.  
  25. Can anyone help?
  26.  
  27.     Cav.
  28.