Mercurial > hg > early-roguelike
view rogue3/INSTALL.txt @ 76:ad2cb9a07aaa
arogue5: fix player's typed responses getting put at the wrong place.
Some sections of code that prompt the user for a string of input were
calling get_str() with cw (the player-visible screen containing the
map), which caused whatever the player typed to get printed starting at
cw's idea of the cursor position, which was usually the Rogue's @-sign.
This corrupted the map.
The problem has been fixed by passing msgw (the message line at the top
of the screen) to get_str(), so the player's typing appears where msgw
thinks the cursor should be, which is in the sensible place right after
the prompt. Some other get_str() invocations which used hw or stdscr
have been left unmodified.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Sat, 08 Sep 2012 22:05:05 -0700 |
parents | 9223b6d7a243 |
children | c9c6bb34734d |
line wrap: on
line source
Roguelike Gallery (rlgallery.org) This is the source code for the Roguelike Gallery's version of Rogue V3. History Rogue 3 was released by Michael Toy, Ken Arnold, and Glenn Wichman, probably late in 1980. It went through several minor updates. The last, Rogue 3.6, was completed mid-June 1981. The Roguelike Restoration Project (rogue.rogueforge.net) updated the game to work on modern systems. The Roguelike Gallery's version has been slightly modified for compatibility with dgamelaunch and security for multiple players. Installing First, configure for your system by editing machdep.h. The defaults are for a system-wide installation, which will require setgid on the binary. For a single-user installation, comment out SAVEDIR and set SCOREFILE and LOGFILE to locations somewhere in your home directory. (That's probably the best thing to do on Windows, too.) Once that's finished, compile by running make. (I haven't tested the Visual Studio project files on Windows, but they should work.) If you want multi-user play, install the rogue3 binary with setgid games. You will need to make sure that SAVEDIR exists and that savefiles, SCOREFILE, and LOGFILE can be created and written by the games group (assuming you want those features.) For a single user, installing shouldn't be necessary. Playing For more details, see readme36.html (contains the man page) and rogue36.html (Michael Toy's "Guide to the Dungeons of Doom"). Contact rlgallery.org admin: John "Elwin" Edwards <elwin@sdf.lonestar.org>