Mercurial > hg > early-roguelike
annotate 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 |
rev | line source |
---|---|
80 | 1 This is the source for the Roguelike Gallery's versions of Rogue and other |
2 early roguelike games. | |
3 | |
4 The code was obtained from the Roguelike Restoration Project | |
5 (rogue.rogueforge.net). Modifications have been made mainly for compatibility | |
6 with the dgamelaunch online play system. Some bugs have also been fixed, and | |
7 the build process slightly improved. The essential flavor of a codebase half | |
8 as old as stored-program computing machinery remains unchanged. | |
9 | |
122 | 10 To install on Unix (including OS X): |
106 | 11 |
12 If you checked out the source from Mercurial, run 'autoreconf' first. | |
13 | |
14 Build by running './configure' and then 'make'. If you just want to play the | |
15 game from your own user account, 'configure' won't need any options. The | |
16 games will keep the high score lists in whatever directory you run them from. | |
17 | |
18 For a multi-user installation, you will need to set the '--enable-setgid', | |
19 '--enable-savedir', '--enable-scorefile', and '--enable-logfile' options. Run | |
20 'make install' after building. | |
21 | |
22 There are other possible options; run './configure --help' for a full list. | |
23 | |
24 To install on Windows: | |
25 | |
208
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards
parents:
154
diff
changeset
|
26 Visual Studio solution and project files are included. They are still being |
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards
parents:
154
diff
changeset
|
27 tested but should work with Visual Studio 2015 on Windows 8.1. |
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards
parents:
154
diff
changeset
|
28 |
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards
parents:
154
diff
changeset
|
29 You will need pdcurses before you can build. Create a folder called 'pdcurses' |
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards
parents:
154
diff
changeset
|
30 in this folder and copy into it curses.h, term.h, and pdcurses.lib from the |
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards
parents:
154
diff
changeset
|
31 pdcurses distribution. |
106 | 32 |
122 | 33 You can also build on Windows using MinGW. Make sure pdcurses is installed. |
34 You will have to go into the '/lib' folder and copy 'libpdcurses.a' to | |
35 'libcurses.a', and 'libpdcurses.dll.a' to 'libcurses.dll.a'; this should get | |
36 fixed soon. | |
37 | |
38 It is recommended to run 'configure' with the '--disable-logfile' option, and | |
39 'make' with the 'LDFLAGS=-static' option. | |
40 | |
106 | 41 See the individual games' subdirectories for further documentation. Some of |
42 the manpages may be outdated, but the guides to playing should be accurate. | |
80 | 43 |
44 The games can be played via SSH or the Web at rlgallery.org. | |
106 | 45 |
46 Bugs: | |
47 | |
48 The original authors claimed that the list of bugs was "probably infinite". If | |
49 you encounter one of these, please report it on the bug tracker at | |
50 https://bitbucket.org/ElwinR/rl. |