home *** CD-ROM | disk | FTP | other *** search
/ back2roots/filegate / filegate.zip / filegate / gamesnet / g_amiga / AF3DR296.LHA / DrAngband296 / porting.txt < prev    next >
Text File  |  2000-10-01  |  1KB  |  43 lines

  1. DrAngband 2.9.2+ 50-line mode
  2. -----------------------------
  3.  
  4. This textfile gives a quick guide to enabling 50-line mode
  5. in ports of DrAngband. Here is how it should be done:
  6.  
  7. 1. Prior to the execution of init_xxx() (in the relevent
  8. main-xxx.c file) a global variable, screen_y will be
  9. set to either 25 (for default 80*25 mode) or some other
  10. value like 50 (for 80*50).
  11.  
  12. 2. When setting the screen mode if:
  13.    screen_y = 25: Default mode requested. Set the screen
  14.    to 80*25.
  15.  
  16.    screen_y > 25: Large screen requested. The actual size
  17.    requested does not have to be given, as long as screen_y
  18.    is updated to reflect the new setting (this is VERY
  19.    important). It works fine with anything from 25 - 68.
  20.    68+ and the full dungeon map is displayed vertically on
  21.    one screen.
  22.  
  23. 3. That's all! Main.c will calculate screen geometry for the
  24.    given mode and everything will run nicely :-)
  25.  
  26. 4. Oh yeah, test big screen mode with: angband -y
  27.    Or "angband -yXX" for any screen of >= 25.
  28.    Eg. "angband -y43" for a 43 line display.
  29.  
  30. Versions currently supporting big screens:
  31.  
  32. DOS,
  33. OS/2,
  34. Unix/Curses (GCU)
  35. Unix/X11.
  36.  
  37. NOTE: As of version 2.9.4, screen_x may also be greater than
  38. normal. Only the X11 and GCU port supports this at the moment.
  39. (Set with -x switch).
  40.  
  41. -- 
  42. Tom Morton, Previous DrAngband maintainer.
  43.