home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / pascal / rehack / text / dungeon.txt < prev    next >
Encoding:
Text File  |  1991-05-26  |  2.0 KB  |  40 lines

  1. REHACK DUNGEON DEMO
  2. Code by Chris Lampton
  3. Art by Mike Barrs
  4.  
  5. So you've been wondering what REHACK will actually look like?
  6. DUNGEON DEMO should give you at least the faintest hint of an
  7. idea. Type DUNGEON at the DOS prompt, follow the on-screen
  8. instructions, and scroll through an ad hoc dungeon layout. Okay,
  9. so there are no animated characters and definitely no combat, but
  10. it's early days yet.
  11.     In some ways, DUNGEON DEMO definitely does _not_ resemble
  12. the REHACK that will be available on bulletin boards around the
  13. country sometime in early 1992. For one thing, the tile set used
  14. to create the dungeon is very much a _preliminary_ tile set. The
  15. final tile set will doubtlessly be more detailed. Nonetheless,
  16. the tile set that Mike Barrs tossed together for this program
  17. looks pretty darned good.
  18.     And the source code that I've included in this file is by no
  19. means the final code for these particular routines. Sometime in
  20. the near future, I intend to recast this code in object oriented
  21. terms, rethink some ad hoc coding assumptions, and decrease the
  22. program's reliance on global data structures. But some of the low
  23. level routines (i.e. the machine code routines that move data to
  24. the screen) probably look about like the final versions will
  25. look. Any suggestions for optimization are, of course, welcome.
  26.     The current demo scrolls the dungeon window in single-tile
  27. increments. The code, however, is written in such a way that it
  28. can also scroll the dungeon window in single pixel (or any
  29. arbitrary number of pixel) increments. This feature will come in
  30. handy in my _next_ demo, in which I expect to animate a character
  31. walking around in the dungeon.
  32.     I'd like to thank Mike Barrs for his excellent preliminary
  33. tile set -- and for the wonderful background screen that I
  34. appropriated without asking him first. <g> The great thing about
  35. having a team of top-notch artists at our disposal is that they
  36. make my fairly rudimentary code look vastly better than it
  37. deserves to look.
  38.  
  39. --Chris Lampton
  40.