Mercurial > hg > early-roguelike
view README.txt @ 245:e7aab31362af
Rogue V[345], Super-Rogue: Fix violet fungi/venus flytraps.
Violet fungi (renamed venus flytraps in Rogue V5) do an increasing
amount of damage each time they hit. If they miss, you still suffer
the same number of HP. This worked by keeping a counter and printing
new damage strings into monsters[5].m_stats.s_dmg, which is the
"prototype" of that particular monster.
Each individual monster has its own damage string. Apparently these
were once char *, pointing to the same string as the prototype. When
the s_dmg member was changed to be an internal char array, changing the
prototype's damage string no longer had any effect on actual monsters.
As a result, flytraps did no damage on a hit, or only one point in V5.
The mechanism for doing damage on a miss continued to work.
This has been fixed by overwriting the individual monster's damage
string instead of the prototype's. It is now no longer necessary to
reset the damage string when the flytrap is killed. The method for
resetting it when the hero teleports away had to be modified. Comments
referencing the long-unused xstr have been removed.
author | John "Elwin" Edwards |
---|---|
date | Sun, 01 May 2016 19:39:56 -0400 |
parents | d0f652010675 |
children | 182e26224f92 |
line wrap: on
line source
This is the source for the Roguelike Gallery's versions of Rogue and other early roguelike games. The code was obtained from the Roguelike Restoration Project (rogue.rogueforge.net). Modifications have been made mainly for compatibility with the dgamelaunch online play system. Some bugs have also been fixed, and the build process slightly improved. The essential flavor of a codebase half as old as stored-program computing machinery remains unchanged. To install on Unix (including OS X): If you checked out the source from Mercurial, run 'autoreconf' first. Build by running './configure' and then 'make'. If you just want to play the game from your own user account, 'configure' won't need any options. The games will keep the high score lists in whatever directory you run them from. For a multi-user installation, you will need to set the '--enable-setgid', '--enable-savedir', '--enable-scorefile', and '--enable-logfile' options. Run 'make install' after building. There are other possible options; run './configure --help' for a full list. To install on Windows: Visual Studio solution and project files are included. They are still being tested but should work with Visual Studio 2015 on Windows 8.1. You will need pdcurses before you can build. Create a folder called 'pdcurses' in this folder and copy into it curses.h, term.h, and pdcurses.lib from the pdcurses distribution. You can also build on Windows using MinGW. Make sure pdcurses is installed. You will have to go into the '/lib' folder and copy 'libpdcurses.a' to 'libcurses.a', and 'libpdcurses.dll.a' to 'libcurses.dll.a'; this should get fixed soon. It is recommended to run 'configure' with the '--disable-logfile' option, and 'make' with the 'LDFLAGS=-static' option. See the individual games' subdirectories for further documentation. Some of the manpages may be outdated, but the guides to playing should be accurate. The games can be played via SSH or the Web at rlgallery.org. Bugs: The original authors claimed that the list of bugs was "probably infinite". If you encounter one of these, please report it on the bug tracker at https://bitbucket.org/ElwinR/rl.