home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4766 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.7 KB

  1. Path: sparky!uunet!sun-barr!ames!agate!stanford.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws19.ic.sunysb.edu!cdfannin
  2. From: cdfannin@csws19.ic.sunysb.edu (Chris D Fanning)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: I want to learn how to do simple graphics, keyboard, and joystick I/O
  5. Message-ID: <1992Sep5.193043.4750@sbcs.sunysb.edu>
  6. Date: 5 Sep 92 19:30:43 GMT
  7. References: <1992Sep2.104307.14331@cco.caltech.edu> <1992Sep2.212551.19196@umr.edu>
  8. Sender: usenet@sbcs.sunysb.edu (Usenet poster)
  9. Organization: State University of New York at Stony Brook
  10. Lines: 30
  11. Nntp-Posting-Host: csws19.ic.sunysb.edu
  12.  
  13. In article <1992Sep2.212551.19196@umr.edu> johns@mcs213c.cs.umr.edu (John Stone) writes:
  14. >
  15. >
  16. >Hi there,
  17. >If you want SIMPLE graphics, I've done the work for you :-)
  18. >I've written the begginings of a 320x200x256 graphics library
  19. >for OS/2 2.0 that writes directly to the video hardware.
  20. >I've got points, lines, circles, boxes, and screen clears finished.
  21. >I've also been working on a 3d library that works in the same mode...
  22. >(for games etc...)
  23. >
  24. >I've still got a lot of stuff to write though (bitblts, filled polys etc..)
  25. >but if it is simple that you are looking for, I've got it :-)
  26. >
  27. >I did this with IBM C Set/2
  28. >
  29. >Later,
  30. >       John Stone
  31. >       johns@cs.umr.edu
  32.  
  33. I don't know about the person you replied to, but I know I'd love to see
  34. this.  I've been considering doing this with text mode(s) since Vio thunks
  35. take longer than I like and I was never very pleased with Vio performance
  36. anyways.
  37.  
  38. Of special interest to me, is how you handle screen mode switching... (ie.
  39. when someone is in your program and hits Ctrl-ESC.)  Are you using the
  40. VioSwitch (VioModeSwitch.. err whatever) functions?
  41.  
  42. Chris
  43.