Commit Graph
100 Commits
Author SHA1 Message Date
Pasi Kallinen 8e7e79448e Enable scroll bar in X11 menu windows 2016-01-01 21:24:55 +02:00
Pasi Kallinen 7be8e1f8bb Another tiny formatting fix 2015-12-30 17:41:48 +02:00
Pasi Kallinen e29c21f367 Tiny formatting fix 2015-12-30 17:29:44 +02:00
Pasi Kallinen ff30a56e3e Add config file examples to Guidebook 2015-12-28 20:00:50 +02:00
Pasi Kallinen a5ed69288f Split get_rnd_toptenentry from tt_oname 2015-12-28 18:06:48 +02:00
Pasi Kallinen 32305ace5c Prevent minotaur in mines end and bigroom mazes 2015-12-28 17:42:55 +02:00
Pasi Kallinen e55dd6919a Fix prot from shape changers at level generation
Mimics and other shape changers created at level generation
did not obey protection from shape changers.
2015-12-26 21:40:22 +02:00
Pasi Kallinen 3c9b0f25b6 Add alternate spelling of prot from shape changers 2015-12-26 13:12:59 +02:00
Pasi Kallinen 1cddb2f717 Fix bz210, H4114: Castle chest can be trapped 2015-12-24 14:07:35 +02:00
Pasi Kallinen 69e7f4e29b Allow defining symbols with OPTIONS
Some people are confused by the boulder -option, and
SYMBOLS=S_boulder, so allow defining symbols with
OPTION-lines in addition to the SYMBOLS.

So these are the same thing:

  SYMBOLS=S_boulder:0
  OPTIONS=S_boulder:0
2015-12-24 12:33:17 +02:00
Pasi Kallinen cc7d5c31b4 Allow optional parameter for boolean config options
Some people try to set boolean options in the config file
by giving the option a parameter, so allow that:

OPTIONS=color:true

Allowed parameters are "true", "yes", "false", and "no".
Negating an option and giving it a parameter is an error.
2015-12-24 11:24:13 +02:00
Pasi Kallinen 91a7d393cd Do not autopickup unpaid items in shops
This is overridden by pickup_thrown and autopickup
exceptions.
2015-12-22 22:36:30 +02:00
Pasi Kallinen cdde5b76c9 Some shopkeepers are always stingier
This prevents the "drop the item few times, just to see if
the sell price changes"
2015-12-22 21:44:59 +02:00
Pasi Kallinen 715fd7e3d9 Displace a pet rather than stop travel
... and stop travel if you take damage from any source.

Original patch via Acehack by Alex Smith
2015-12-21 19:13:45 +02:00
Pasi Kallinen 4b876b1aec Fix findtravelpath buffer overflow
Test case: Bigroom, full of boulders, with a single
path from travel start to travel end. Boulders (and
doors) are added to the travelstep[xy] arrays multiple
times, and will overflow the arrays.

Original patch via Acehack by Alex Smith
2015-12-21 18:18:40 +02:00
Pasi Kallinen 9a2eb370e7 Make travel consider traps like closed doors
Test case: U-shaped corridor, with a known trap in it.
Before this change, travel would try to move straight at
the target, bumping the wall or walking into a dead-end.
After this, travel will go along the corridor and then stop
right before the trap.

Original patch via AceHack by Alex Smith.
2015-12-21 17:36:14 +02:00
Pasi Kallinen 43bf9c978d Improve the tin opener 2015-12-19 14:44:39 +02:00
Pasi Kallinen 24aea231d4 Add fixes entries 2015-12-18 18:49:50 +02:00
Pasi Kallinen 164b64b263 Allow color name aliases for menucolors 2015-12-18 16:12:53 +02:00
Pasi Kallinen 6c76738697 Fix typo in random epitaph 2015-12-18 13:28:23 +02:00
Pasi Kallinen 85d7d2bc43 Remove symbol setting options which do not work anymore 2015-12-17 21:12:59 +02:00
Pasi Kallinen 8af8c42e62 Clarify regex support in the guidebook 2015-12-17 12:47:03 +02:00
Pasi Kallinen f02253dbbb Fix bz189 H4092: Broken qt_xpms.h 2015-12-17 08:46:04 +02:00
Pasi Kallinen 929be769ec Add option to have autodescribe on by default 2015-12-16 21:42:43 +02:00
Pasi Kallinen f4a6ccf3f0 Update sysconf MAXPLAYERS docs a bit 2015-12-10 10:14:24 +02:00
Pasi Kallinen 43550bee53 Allow unlimited number of players
This is important for public servers.  Setting the MAXPLAYERS
sysconf value to 0 (or commenting it out) constructs the lock
files with the player UID and player name, so each player may
have one game at a time.
2015-12-09 22:27:26 +02:00
Pasi Kallinen ea2f3225cc Fix history stating 3.5 Amiga and Atari ports existed 2015-12-09 17:44:15 +02:00
Pasi Kallinen c20638938e Update precompiled lev_comp lex and yacc files 2015-12-02 18:33:44 +02:00
Pasi Kallinen d8d0e5b3bd More fixes entries 2015-11-25 13:01:34 +02:00
Pasi Kallinen 476db5b63a Update fixes to reflect multiple weakened farming strats 2015-11-25 12:55:56 +02:00
Pasi Kallinen 943cc6057c More tiny formatting fixes, move function names to start of line 2015-11-25 10:15:41 +02:00
Pasi Kallinen d4578bbf23 More tiny formatting fixes 2015-11-24 12:04:52 +02:00
Pasi Kallinen 772fea0361 Prevent kraken farming
...or at least make it more inconvenient, by preventing fishy
creatures from revival by undead turning unless they're in a pool.
2015-11-24 11:35:50 +02:00
Pasi Kallinen 3a1e9ccd80 Fix infinite throne looting when confused
This could be used to generate monsters ad infinitum.
2015-11-24 11:16:07 +02:00
Pasi Kallinen 6ed4f24d24 Tiny formatting fix 2015-11-24 09:59:20 +02:00
Pasi Kallinen c2c8259877 Add some hallu monsters 2015-11-23 14:10:10 +02:00
Pasi Kallinen 08b041f15f Pacify some clang compile warnings, pt 2 2015-11-21 23:50:11 +02:00
Pasi Kallinen 7063488621 Pacify some clang compile warnings 2015-11-21 23:40:06 +02:00
Pasi Kallinen 90302ce86d Declare a variable as static 2015-11-21 20:56:47 +02:00
Pasi Kallinen 70cfeb08d8 Remove useless variable 2015-11-21 20:51:46 +02:00
Pasi Kallinen e1090de7b3 Declare missing function proto 2015-11-21 20:47:31 +02:00
Pasi Kallinen 579ceb35c1 Declare polearm range variables as static 2015-11-21 20:25:05 +02:00
Pasi Kallinen 9518e74c93 Fix segfault if lev_comp could not alloc memory for opcode 2015-11-20 12:27:46 +02:00
Pasi Kallinen dc09a991fe Fix some warnings from clang's static code analyzer 2015-11-18 22:54:28 +02:00
Pasi Kallinen acc883f122 Comment typofix 2015-11-16 11:46:45 +02:00
Pasi Kallinen 807f994d9b Update Guidebook.txt 2015-11-16 10:24:16 +02:00
Pasi Kallinen 8a07e2cdc5 Fix use of data from deleted vault teleport trap 2015-11-15 18:55:09 +02:00
Pasi Kallinen b2ab8f2504 Update precompiled lev_comp lex and yacc files 2015-11-15 09:09:45 +02:00
Pasi Kallinen 9eb14f684c Extract guard gold before disposing it
If the gold is still in monster inventory, dealloc_obj will panic.
2015-11-14 17:41:31 +02:00
Pasi Kallinen ffcc6f1bc2 Remove the useless FUN STUFF section
The fun stuff section in config.h contains nothing fun anymore,
so let's remove it. Move SCORE_ON_BOTL to the next section,
and add couple other defines there too.
2015-11-14 10:29:50 +02:00
Pasi Kallinen 739b6708ee Fix enexto complaint when morguemon returned null 2015-11-14 09:59:35 +02:00
Pasi Kallinen 4387bde968 Clear thrownobj when punished and swallowed
As per Pat's suggestion, this actually does work correctly;
I have no idea why I thought it didn't ...
2015-11-13 00:07:47 +02:00
Pasi Kallinen 489d56d4bb Fix hiding under nothing when corpse rotted away 2015-11-13 00:06:07 +02:00
Pasi Kallinen ca02f00208 Prevent buffer overflow 2015-11-12 22:01:47 +02:00
Pasi Kallinen c1e34f17f7 Prevent a rnd(0) call 2015-11-12 20:11:45 +02:00
Pasi Kallinen 8451f67dff Fix wallification and wallify catacombs mine end 2015-11-12 18:29:33 +02:00
Pasi Kallinen 0bcb713b4f Fix special level loader memory leaks 2015-11-12 18:00:55 +02:00
Pasi Kallinen fad2eab749 Fix infinite looping when bound digging on solid map 2015-11-11 21:47:51 +02:00
Pasi Kallinen 2c0f24896f Unify blind feel_location or newsym info single func 2015-11-09 21:37:28 +02:00
Pasi Kallinen 7132f56901 Unwrap t-shirt and apron texts, and add one t-shirt msg 2015-11-09 13:24:40 +02:00
Pasi Kallinen d195052796 Remove trailing whitespaces 2015-11-09 13:06:19 +02:00
Pasi Kallinen df101a5eda Add quote for cream pie 2015-11-08 15:28:19 +02:00
Pasi Kallinen 47938fc339 Add quote for blue jelly 2015-11-08 11:13:14 +02:00
Pasi Kallinen 3b83b2bd50 Add a quote for bullwhip 2015-11-07 23:50:40 +02:00
Pasi Kallinen 86de7f4a19 Add boomerang quote 2015-11-07 21:56:18 +02:00
Pasi Kallinen bf6a61ddf5 Make status hilites show none instead of empty in options 2015-11-07 11:55:12 +02:00
Pasi Kallinen 8bfa1579e7 Remove stray character 2015-11-07 10:59:43 +02:00
Pasi Kallinen 464bb3a1f4 Rephrase version number in comment 2015-11-07 09:06:13 +02:00
Pasi Kallinen 99925ff155 Update version numbers in source comments 2015-11-06 16:05:36 +02:00
Pasi Kallinen e37e89edcd Fix one version number in the Guidebooks 2015-11-06 15:56:47 +02:00
Pasi Kallinen a159226a9f Remove a leftover ifdef REINCARNATION 2015-11-06 15:49:29 +02:00
Pasi Kallinen 2104bc63d6 Clean fixes file and lev_comp docs tiny bit 2015-11-06 15:42:36 +02:00
Pasi Kallinen aa1646a75d Update the linux README 2015-11-06 15:35:38 +02:00
Pasi Kallinen 8f3d91785d Free allocated temporary lregion 2015-11-05 21:03:57 +02:00
Pasi Kallinen 2ee06dda5a Allow some variance in corridors and reduce predictability
The corridors used to head towards the goal using the straightest
possible line, often making a zig-zag beeline. Allow some slight variance,
sometimes going straight instead of turning, reducing the predictability,
and making those monotonously turning corridors less likely.
2015-11-04 21:13:39 +02:00
Pasi Kallinen 91369e7a76 Revert the created inventory nhwindow destruction
At least perm_invent (and other stuff?) causes problems with this.
2015-11-02 22:23:18 +02:00
Pasi Kallinen acd7396f46 Change version number of the help file 2015-11-02 11:23:10 +02:00
Pasi Kallinen ab521ca574 Change Porting file version number to 3.6 2015-11-02 09:30:36 +02:00
Pasi Kallinen 7a517dea36 Destroy created inventory nhwindow 2015-11-01 21:59:56 +02:00
Pasi Kallinen e022486cdc Actually destroy the character selection window 2015-11-01 20:49:32 +02:00
Pasi Kallinen 9181f06dab Fix crystal ball use after being destroyed
Crystal ball can be destroyed when used, so pass the object parameter
back as null in that case.
2015-11-01 18:49:43 +02:00
Pasi Kallinen bdb5cb2b73 Free the compiled regex buffer 2015-11-01 10:23:11 +02:00
Pasi Kallinen b44486e7cc Prevent array underflow 2015-11-01 01:44:10 +02:00
Pasi Kallinen 6399347d9f Prevent string underflow in fruit name matching 2015-11-01 01:42:57 +02:00
Pasi Kallinen 0261bbf727 Add missing regex_frees 2015-11-01 01:38:12 +02:00
Pasi Kallinen c6832a4d57 Free the venom object, even if it is not thrown 2015-11-01 01:36:18 +02:00
Pasi Kallinen 4f616a932c Prevent out of array access
As index() can match with the string terminator, that would make
the xdir etc array references out of bounds.
2015-11-01 01:32:24 +02:00
Pasi Kallinen b0e4357c32 Fix lev_comp memory leaks 2015-11-01 00:28:28 +02:00
Pasi Kallinen 1a133be123 Fix makedefs memory leaks 2015-11-01 00:12:38 +02:00
Pasi Kallinen 3ff3f6d2de Use our dupstr instead 2015-10-30 23:27:19 +02:00
Pasi Kallinen 4aac554b66 Fix trying to look up curse state of deleted object 2015-10-30 20:54:45 +02:00
Pasi Kallinen e6ed35b8f7 Free the allocated special level coder 2015-10-30 20:16:10 +02:00
Pasi Kallinen 230cd0abed Fix syntax error in MacGraphics conditional part 2015-10-30 10:15:28 +02:00
Pasi Kallinen 9008ba321b Fix uninitialized variable 2015-10-29 21:45:35 +02:00
Pasi Kallinen 2d83b83cc2 Fix uninitialized variable 2015-10-29 20:26:25 +02:00
Pasi Kallinen 530ba8e3d3 Add sanity checking for light sources 2015-10-27 18:36:07 +02:00
Pasi Kallinen ec58bfaa22 Pass LFLAGS from hints file to util Makefile 2015-10-27 18:13:35 +02:00
Pasi Kallinen 3fd92e3ef8 Fix mon weapon inconsistency when monster got disintegrated
This happened when the monster, who was wielding a weapon, got hit
by a disintegration blast, and then lifesaved by a worn amulet.
2015-10-24 09:30:38 +03:00
Pasi Kallinen 581b1830ff Fix segfault when chameleon form fails on the Rogue level 2015-10-20 17:28:16 +03:00
Pasi Kallinen fb14c41bd4 Add more hallu monsters 2015-10-18 18:11:56 +03:00