]> granicus.if.org Git - nethack/log
nethack
9 years agoMerge branch 'master' into win32-x64-working
nhmall [Sun, 12 Apr 2015 04:15:40 +0000 (00:15 -0400)]
Merge branch 'master' into win32-x64-working

Conflicts:
include/config.h
include/extern.h
src/do.c
src/files.c
src/hack.c
src/mkobj.c
src/mon.c
src/objnam.c
src/vision.c
sys/share/pcmain.c
win/share/other.txt
win/share/renumtiles.pl

9 years agoFiles correction
nhmall [Sun, 12 Apr 2015 01:07:02 +0000 (21:07 -0400)]
Files correction

9 years agotext file error corrections
nhmall [Sun, 12 Apr 2015 01:02:11 +0000 (21:02 -0400)]
text file error corrections
 Changes to be committed:
modified:   DEVEL/code_features.txt
modified:   Files
modified:   dat/history

On 4/11/2015 6:45 PM, Dion Nicolaas wrote:
> Errors in text files:
> - DEVEL/code_features.txt, line 10: 'alterting' should be 'alerting'

fixed

> - dat/history: Is it intentional that I'm no longer mentioned as
> maintaining the Windows port? I am for 3.4, but not for 3.6.

fixed

> - Files: The Files file is incomplete. Notably, the new files in dat/
> are missing (bogusmon.txt, engrave.txt, epitaph.txt),

fixed

> the DEVEL directory, doc/Guidebook.*

> - Some files in Files have the wrong case: NetHack.sln,
> NetHackW.vcxproj. I know it doesn't matter on windows but it looks wrong.

fixed

9 years agoAllow disabling savefile UID checking in sysconf
Pasi Kallinen [Sat, 11 Apr 2015 18:07:57 +0000 (21:07 +0300)]
Allow disabling savefile UID checking in sysconf

9 years agoFix comment typo
Pasi Kallinen [Sat, 11 Apr 2015 17:45:37 +0000 (20:45 +0300)]
Fix comment typo

9 years agoadd YY_NO_UNISTD_H into the levcomp projects
Derek S. Ray [Sat, 11 Apr 2015 03:52:15 +0000 (23:52 -0400)]
add YY_NO_UNISTD_H into the levcomp projects

9 years agofix misnumbered tiles in other.txt
Derek S. Ray [Sat, 11 Apr 2015 03:46:05 +0000 (23:46 -0400)]
fix misnumbered tiles in other.txt

update version of renumtiles to work on all files

9 years agoobj_nexto_xy lint
PatR [Sat, 11 Apr 2015 01:31:11 +0000 (18:31 -0700)]
obj_nexto_xy lint

9 years agoregex.h remains nonpossible on Win32; define it out
Derek S. Ray [Fri, 10 Apr 2015 22:47:39 +0000 (18:47 -0400)]
regex.h remains nonpossible on Win32; define it out

Once cppregex.cpp is merged into this branch, this can be fixed

9 years agorestore accidentally consumed tmp_config
Derek S. Ray [Fri, 10 Apr 2015 22:18:05 +0000 (18:18 -0400)]
restore accidentally consumed tmp_config

9 years agoturn off annoying warnings in Visual Studio
Derek S. Ray [Fri, 10 Apr 2015 21:14:41 +0000 (17:14 -0400)]
turn off annoying warnings in Visual Studio

9 years agolock MENU_COLOR_REGEX away since it isn't Win32 yet
Derek S. Ray [Fri, 10 Apr 2015 21:08:31 +0000 (17:08 -0400)]
lock MENU_COLOR_REGEX away since it isn't Win32 yet

9 years agoMerge branch 'master' into derek-farming
Derek S. Ray [Fri, 10 Apr 2015 20:56:30 +0000 (16:56 -0400)]
Merge branch 'master' into derek-farming

Reverse merge before final reintegration.

* master: (40 commits)
  Fix magic mapped dark room symbols
  Disclose extinct species alongside genocided ones
  ...

Conflicts:
doc/fixes35.0
src/do.c
src/files.c
src/invent.c
src/objnam.c
sys/share/pcmain.c

9 years agoFix magic mapped dark room symbols
Pasi Kallinen [Fri, 10 Apr 2015 19:43:13 +0000 (22:43 +0300)]
Fix magic mapped dark room symbols

9 years agoDisclose extinct species alongside genocided ones
Pasi Kallinen [Fri, 10 Apr 2015 18:59:45 +0000 (21:59 +0300)]
Disclose extinct species alongside genocided ones

9 years agoFix warnings, unused and shadowed variables
Pasi Kallinen [Fri, 10 Apr 2015 17:55:24 +0000 (20:55 +0300)]
Fix warnings, unused and shadowed variables

9 years agoCast time_t into unsigned long
Pasi Kallinen [Fri, 10 Apr 2015 16:47:17 +0000 (19:47 +0300)]
Cast time_t into unsigned long

9 years agoUpdate precompiled lex and yacc files
Pasi Kallinen [Fri, 10 Apr 2015 16:45:04 +0000 (19:45 +0300)]
Update precompiled lex and yacc files

9 years agoFix attribution of sortloot patch
Pasi Kallinen [Fri, 10 Apr 2015 16:20:31 +0000 (19:20 +0300)]
Fix attribution of sortloot patch

9 years agoMinor special level and compiler tweakage
Pasi Kallinen [Fri, 10 Apr 2015 13:47:29 +0000 (16:47 +0300)]
Minor special level and compiler tweakage

Fix allowed map characters.
Make some predefined MAPs blend in better with randomly
generated parts.

9 years agoFix Sanctum phasing bug.
Sean Hunt [Fri, 10 Apr 2015 13:09:02 +0000 (09:09 -0400)]
Fix Sanctum phasing bug.

9 years agoRestore the insect legs on Baalzebub's level.
Sean Hunt [Thu, 9 Apr 2015 17:50:11 +0000 (13:50 -0400)]
Restore the insect legs on Baalzebub's level.

9 years agorevisit variable arguments in new lev_comp
PatR [Fri, 10 Apr 2015 08:39:55 +0000 (01:39 -0700)]
revisit variable arguments in new lev_comp

The previous USE_OLDARGS worked with gcc on Intel, but was inherently
unsafe.  This method is completely safe, just obnoxiously intrusive.
It you disliked debugpline*(), you're bound to hate this....

9 years agoMake WALLIFIED_MAZE into a level flag.
Sean Hunt [Thu, 9 Apr 2015 17:26:43 +0000 (13:26 -0400)]
Make WALLIFIED_MAZE into a level flag.

It should now be randomly disabled for a 3rd of Gehennom, to make things
a tad more interesting there. It's also disabled in Baalzebub's lair,
to make things a little more interesting.

Still don't know why the beetle is disappearing.

9 years agoAdd sortloot -patch
Pasi Kallinen [Thu, 9 Apr 2015 14:53:40 +0000 (17:53 +0300)]
Add sortloot -patch

Adds the "sortloot" compound option, with possible values
of "none", "loot", or "full".  It controls the sorting of
item pickup lists for inventory and looting.

9 years agosupport pre-ansi varargs in new lev_comp
PatR [Thu, 9 Apr 2015 10:09:00 +0000 (03:09 -0700)]
support pre-ansi varargs in new lev_comp

Remove the requirement for <stdarg.h> that was introduced to lev_comp.
USE_STDARG still works.  USE_OLDARGS required hackery but has been
tested and actually works, although I wouldn't trust it on platforms
where 'long' and 'char *' aren't the same size.  USE_VARARGS didn't
require any hackery--aside from the conversion to core's pline code--
but has not been tested:  <varargs.h> supplied with OSX won't compile,
with an #error directive that basically says "switch to <stdarg.h>".

I changed several printf formats of %i and %li to %d and %ld because
I'm not sure how widespread the 'i' variant was back in days of yore.
[TODO:  avoid use of snprintf since pre-ANSI systems won't have it.]

9 years agoAdd 2 new Medusa variants
Pasi Kallinen [Wed, 8 Apr 2015 17:38:32 +0000 (20:38 +0300)]
Add 2 new Medusa variants

9 years agoAdd 10 new bigroom variants
Pasi Kallinen [Wed, 8 Apr 2015 15:31:32 +0000 (18:31 +0300)]
Add 10 new bigroom variants

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Wed, 8 Apr 2015 14:32:11 +0000 (10:32 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agonhsub docs and fixes
keni [Wed, 8 Apr 2015 14:31:49 +0000 (10:31 -0400)]
nhsub docs and fixes

9 years agoRenumber other.txt tiles
Pasi Kallinen [Tue, 7 Apr 2015 18:34:57 +0000 (21:34 +0300)]
Renumber other.txt tiles

9 years agoClive Crous' Dark Room patch
Pasi Kallinen [Tue, 7 Apr 2015 17:12:53 +0000 (20:12 +0300)]
Clive Crous' Dark Room patch

This patch adds a new glyph that represents dark parts of room,
splitting the dual functionality of the "unexplored/dark area" glyph.

9 years agoIndicator glyph for good target positions
Pasi Kallinen [Tue, 7 Apr 2015 15:18:49 +0000 (18:18 +0300)]
Indicator glyph for good target positions

Add a new glyph, S_goodpos, to indicate valid locations
instead of reusing the camera flash beam glyph.

9 years agotty fix for bad curs positioning (-1,n)
PatR [Tue, 7 Apr 2015 08:23:16 +0000 (01:23 -0700)]
tty fix for bad curs positioning (-1,n)

DEBUGFILES set to "wintty.c" reported a bad cursor positioning attempt
at the end of the RIP tombstone, and when set to "questpgr.c wintty.c"
reported a whole bunch right at the start of the game when enumerating
all the quest messages for the chosen role.  Both were triggered by
this x==0 call to tty_curs() near the end of process_text_window().
    if (i == cw->maxrow) {
        if(cw->type == NHW_TEXT){
            tty_curs(BASE_WINDOW, 0, (int)ttyDisplay->cury+1);
            cl_eos();
        }
    ...
The x value is always decremented in tty_curs, so passing in 0 yields
a bad value of -1.  The bad call returns without doing anything, and
when DEBUG is disabled, it does so silently.

No fixes entry; it was caused by a post-3.4.3 fix for something else.

9 years agore-fix wintty.c; disable warnings on sp_lev.c
Derek S. Ray [Mon, 6 Apr 2015 22:56:30 +0000 (18:56 -0400)]
re-fix wintty.c; disable warnings on sp_lev.c

don't ask me why wintty.c was actually compiling before.
also, make studio shut up about all the long-to-short stuff.

9 years agonhsub: handle some more cases
keni [Mon, 6 Apr 2015 21:48:48 +0000 (17:48 -0400)]
nhsub: handle some more cases

9 years agoFix up errors from mass manual conflict resolution
Derek S. Ray [Mon, 6 Apr 2015 21:17:30 +0000 (17:17 -0400)]
Fix up errors from mass manual conflict resolution

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Mon, 6 Apr 2015 20:18:44 +0000 (16:18 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoreplace 3 files and add 1 prototype
nhmall [Mon, 6 Apr 2015 14:41:10 +0000 (10:41 -0400)]
replace 3 files and add 1 prototype
 Changes to be committed:
modified:   include/extern.h
modified:   src/apply.c
modified:   src/sys.c
modified:   win/tty/wintty.c

The 3 files appeared to be missing sections. The erronoeous
versions have been emailed to the win32 team to determine
their fate.

Adds a missing prototype also.

9 years agonhclose
nhmall [Mon, 6 Apr 2015 14:12:10 +0000 (10:12 -0400)]
nhclose
 Changes to be committed:
modified:   include/extern.h
modified:   src/bones.c
modified:   src/do.c
modified:   src/files.c
modified:   src/music.c
modified:   src/restore.c
modified:   src/save.c
modified:   sys/share/pcmain.c
modified:   sys/share/pcsys.c
modified:   sys/share/pcunix.c

In order to get level file locking correctly again post 3.4.3
with the newer compilers for windows, I had to funnel close()
calls to an intercepting routine.

I had two choices:

1. Surround every close() in at least 9 source files with messy:
#ifdef WIN32
nhclose(fd);
#else
close(fd);
#endif

OR

2. Replace every close() with nhclose() and
   deal with the special code in the nhclose()
   version for windows, while just calling
   close() for other platforms (in files.c).

   It is also possible, although not done in this commit,
   to
#define nhclose(fd) close(fd)
   in a header file for non-windows, rather than funnel
   though a real nhclose() function in files.c.

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Mon, 6 Apr 2015 12:11:17 +0000 (08:11 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoQuick band-aid to prevent PRNG prediction
Pasi Kallinen [Mon, 6 Apr 2015 06:30:34 +0000 (09:30 +0300)]
Quick band-aid to prevent PRNG prediction

This is originally Derek's change from Spork, but sniping it
so we can mark this done for now, and can move on with the
nextversion.

Better solution is to use something like the ISAAC PRNG, which
cannot be predicted.

9 years agoMerge branch 'master' into win32-x64-working
Derek S. Ray [Mon, 6 Apr 2015 03:42:15 +0000 (23:42 -0400)]
Merge branch 'master' into win32-x64-working

* master: (354 commits)
  Add missing protos
  a warning bout lc_error
  Add S_poisoncloud to Guidebooks
  ...

Conflicts:
.gitattributes
dat/.gitattributes
doc/.gitattributes
doc/Guidebook.mn
include/config.h
include/decl.h
include/extern.h
include/flag.h
include/hack.h
include/ntconf.h
include/sys.h
include/wceconf.h
src/apply.c
src/attrib.c
src/bones.c
src/botl.c
src/dbridge.c
src/dig.c
src/do.c
src/do_name.c
src/dog.c
src/dungeon.c
src/eat.c
src/end.c
src/files.c
src/fountain.c
src/hack.c
src/invent.c
src/light.c
src/makemon.c
src/mhitu.c
src/mklev.c
src/mkmaze.c
src/mkobj.c
src/mkroom.c
src/mon.c
src/objnam.c
src/options.c
src/pager.c
src/pickup.c
src/potion.c
src/pray.c
src/questpgr.c
src/read.c
src/restore.c
src/rnd.c
src/role.c
src/rumors.c
src/save.c
src/shk.c
src/sit.c
src/sp_lev.c
src/sys.c
src/teleport.c
src/trap.c
src/u_init.c
src/uhitm.c
src/wield.c
src/worn.c
src/zap.c
sys/amiga/.gitattributes
sys/mac/.gitattributes
sys/msdos/.gitattributes
sys/msdos/pctiles.c
sys/msdos/vidvga.c
sys/os2/.gitattributes
sys/share/.gitattributes
sys/share/pcmain.c
sys/unix/.gitattributes
sys/unix/hints/.gitattributes
sys/unix/sysconf
sys/unix/unixmain.c
sys/vms/.gitattributes
sys/wince/.gitattributes
sys/wince/mhstatus.c
sys/winnt/.gitattributes
sys/winnt/Makefile.msc
sys/winnt/nhsetup.bat
util/lev_comp.l
util/makedefs.c
win/X11/winmenu.c
win/X11/winstat.c
win/gnome/gnstatus.c
win/share/tilemap.c
win/tty/termcap.c
win/tty/topl.c
win/tty/wintty.c

9 years agofire effects should burn green slime globs, too
Derek S. Ray [Mon, 6 Apr 2015 01:56:15 +0000 (21:56 -0400)]
fire effects should burn green slime globs, too

On floor, in inventory, whatever. This probably needs to be extended to
support a much wider group of objects, but this will do to start.

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Mon, 6 Apr 2015 00:57:28 +0000 (20:57 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoseveral fixes for farming changes
Derek S. Ray [Sun, 5 Apr 2015 22:04:22 +0000 (18:04 -0400)]
several fixes for farming changes

* don't let player wish for multiple globs
* use newsym() to clean up merged globs on floor
* food effects should match original corpse effects
* tidy up remaining crash when merging in place

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Sun, 5 Apr 2015 13:34:00 +0000 (09:34 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoAdd missing protos
Pasi Kallinen [Sun, 5 Apr 2015 13:29:34 +0000 (16:29 +0300)]
Add missing protos

9 years agoa warning bout lc_error
nhmall [Sun, 5 Apr 2015 13:26:01 +0000 (09:26 -0400)]
a warning bout lc_error

lev_comp.l(310) : warning C4013: 'lc_error' undefined; assuming extern returning int

9 years agoAdd S_poisoncloud to Guidebooks
Pasi Kallinen [Sun, 5 Apr 2015 12:15:49 +0000 (15:15 +0300)]
Add S_poisoncloud to Guidebooks

9 years agoShow stinking cloud valid positions
Pasi Kallinen [Sun, 5 Apr 2015 10:47:59 +0000 (13:47 +0300)]
Show stinking cloud valid positions

9 years agoMake all elementals breathless
Pasi Kallinen [Sun, 5 Apr 2015 09:47:27 +0000 (12:47 +0300)]
Make all elementals breathless

It makes no sense that air, fire and water elementals
would choke in stinking cloud.

9 years agoAdd poison cloud glyph, fumaroles to fire plane.
Pasi Kallinen [Sun, 5 Apr 2015 09:17:57 +0000 (12:17 +0300)]
Add poison cloud glyph, fumaroles to fire plane.

When a gas cloud that deals damage is created, it uses
a poison cloud glyph instead of the cloud glyph.
(A bright green '#', or a bright-green recolor of the
cloud tile)

The plane of fire has random "stinking clouds", or
fumaroles, centered on lava pools.

Also make poison cloud glyph override lava, pool and
moat glyphs.

9 years agonhsub bug fixes
keni [Sat, 4 Apr 2015 19:43:58 +0000 (15:43 -0400)]
nhsub bug fixes

9 years agoclean up handling, roll everything into merged()
Derek S. Ray [Fri, 3 Apr 2015 17:03:55 +0000 (13:03 -0400)]
clean up handling, roll everything into merged()

it should be possible to wish for globs now; also hero's
inventory, containers, ground, monster inventories will all
honor the globbiness.

basically, any way you bring two globs together (adjacent on floor,
same inventory, same bag) should cause them to merge, combining
weight and nutrition as appropriate.

20 seems low-ish on nutrition for a pudding (kelp fronds are 30!)
at first glance but this is easy enough to fix later; don't really
want players to be able to stock up on food _this_ way and accidentally
obsolete all the other food-generation methods.

9 years agoFix GCC warnings caused by new lev_comp
Pasi Kallinen [Fri, 3 Apr 2015 14:40:54 +0000 (17:40 +0300)]
Fix GCC warnings caused by new lev_comp

9 years agoPrevent segfaults, makemon can return null
Pasi Kallinen [Fri, 3 Apr 2015 11:46:28 +0000 (14:46 +0300)]
Prevent segfaults, makemon can return null

9 years agoSuggest only accessible positions for polearms and jumping
Pasi Kallinen [Fri, 3 Apr 2015 09:29:58 +0000 (12:29 +0300)]
Suggest only accessible positions for polearms and jumping

9 years agoSilence warnings
Pasi Kallinen [Fri, 3 Apr 2015 05:33:14 +0000 (08:33 +0300)]
Silence warnings

9 years agofix whiny compiler
Derek S. Ray [Thu, 2 Apr 2015 21:14:48 +0000 (17:14 -0400)]
fix whiny compiler

9 years agoUpdate Guidebook with menucolor docs
Pasi Kallinen [Thu, 2 Apr 2015 16:18:31 +0000 (19:18 +0300)]
Update Guidebook with menucolor docs

9 years agoAdd menucolors
Pasi Kallinen [Tue, 17 Mar 2015 20:50:11 +0000 (22:50 +0200)]
Add menucolors

-Add a boolean option menucolors to toggle menu color
-Add MENUCOLOR -config file option

TODO:
-Better support for win32
-Support more windowports
-Update Guidebook
-Allow changing menucolor lines in-game

9 years agoSeparate splev stack pops
Pasi Kallinen [Thu, 2 Apr 2015 13:08:09 +0000 (16:08 +0300)]
Separate splev stack pops

9 years agoSilence GCC warnings
Pasi Kallinen [Thu, 2 Apr 2015 11:04:31 +0000 (14:04 +0300)]
Silence GCC warnings

9 years agoRecord in xlogfile if any bones were loaded
Pasi Kallinen [Thu, 2 Apr 2015 10:06:45 +0000 (13:06 +0300)]
Record in xlogfile if any bones were loaded

9 years agosome lint cleanup
PatR [Thu, 2 Apr 2015 00:29:26 +0000 (17:29 -0700)]
some lint cleanup

Mostly local variables using the same name as other things.

9 years agoMerge branch 'master' into derek-farming
Derek S. Ray [Wed, 1 Apr 2015 21:40:25 +0000 (17:40 -0400)]
Merge branch 'master' into derek-farming

* master: (160 commits)
  Add doors correctly
  bug fixes for nhsub
  Generate oracle monsters after subroom
  Generate minetown guards after subrooms
  ...

Conflicts:
src/do.c
src/files.c
src/hack.c
src/mon.c
src/vision.c

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed...
Pasi Kallinen [Wed, 1 Apr 2015 20:03:04 +0000 (23:03 +0300)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed-new_lev_comp

9 years agoAdd doors correctly
Pasi Kallinen [Wed, 1 Apr 2015 19:01:20 +0000 (22:01 +0300)]
Add doors correctly

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Wed, 1 Apr 2015 18:41:11 +0000 (14:41 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agobug fixes for nhsub
keni [Wed, 1 Apr 2015 18:40:48 +0000 (14:40 -0400)]
bug fixes for nhsub

9 years agoGenerate oracle monsters after subroom
Pasi Kallinen [Wed, 1 Apr 2015 16:02:52 +0000 (19:02 +0300)]
Generate oracle monsters after subroom

9 years agoGenerate minetown guards after subrooms
Pasi Kallinen [Wed, 1 Apr 2015 16:00:56 +0000 (19:00 +0300)]
Generate minetown guards after subrooms

9 years agoFix mazes not getting stocked
Pasi Kallinen [Wed, 1 Apr 2015 15:30:35 +0000 (18:30 +0300)]
Fix mazes not getting stocked

9 years agoRemove unused code
Pasi Kallinen [Wed, 1 Apr 2015 15:24:15 +0000 (18:24 +0300)]
Remove unused code

9 years agoDoors must be linked afterwards
Pasi Kallinen [Wed, 1 Apr 2015 14:39:51 +0000 (17:39 +0300)]
Doors must be linked afterwards

9 years agoMove isqrt into hacklib, other minor fixage
Pasi Kallinen [Wed, 1 Apr 2015 13:38:56 +0000 (16:38 +0300)]
Move isqrt into hacklib, other minor fixage

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed...
Pasi Kallinen [Wed, 1 Apr 2015 13:09:53 +0000 (16:09 +0300)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed-new_lev_comp

Conflicts:
src/trap.c
sys/winnt/Makefile.msc

9 years agoX11 menu hack for ':'
PatR [Wed, 1 Apr 2015 09:47:04 +0000 (02:47 -0700)]
X11 menu hack for ':'

Same functionality as was recently implemented for tty.  If a
character like ':' is an explicit menu selector and the player
types it, select that menu entry rather than treating it as a
search request.  (Same for other menu commands like '>', but
offhand I can't think of anything besides container looting's
': - look inside' that uses any non-letter selectors other
than '$', which isn't used as a menu meta command.)

9 years agoRemove EXPLORERS from winnt sysconf
Pasi Kallinen [Wed, 1 Apr 2015 05:29:12 +0000 (08:29 +0300)]
Remove EXPLORERS from winnt sysconf

Stupidly added this to the winnt sysconf, when it should've
been *nix only.

9 years agonon-Unix build was broken today
nhmall [Tue, 31 Mar 2015 23:07:25 +0000 (19:07 -0400)]
non-Unix build was broken today

 Changes to be committed:
modified:   src/cmd.c

../src/cmd.c(515) : warning C4013: 'check_user_string' undefined; assuming extern returning int)
link error - cmd.o : error LNK2019:
unresolved external symbol _check_user_string referenced in function _enter_explore_mode

9 years agoShow legal jumping positions
Pasi Kallinen [Tue, 31 Mar 2015 18:40:49 +0000 (21:40 +0300)]
Show legal jumping positions

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Tue, 31 Mar 2015 17:08:18 +0000 (13:08 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoUpdate docs for NHDT V2.
keni [Tue, 31 Mar 2015 16:29:58 +0000 (12:29 -0400)]
Update docs for NHDT V2.

9 years agoSome spam for mail daemon to deliver
Pasi Kallinen [Tue, 31 Mar 2015 15:32:23 +0000 (18:32 +0300)]
Some spam for mail daemon to deliver

9 years agoAllow admin to disable explore mode
Pasi Kallinen [Tue, 31 Mar 2015 15:14:10 +0000 (18:14 +0300)]
Allow admin to disable explore mode

Some public servers want to disable explore mode, so
make it configurable in sysconf.

9 years agoNHDT substitution version 2.
keni [Tue, 31 Mar 2015 13:50:02 +0000 (09:50 -0400)]
NHDT substitution version 2.

Re-run nhgitset.pl to install.
"perldoc DEVEL/hooksdir/nhsub" for details.  General docs still to come.
Quick notes:
- "git nhsub" lets you apply substitutions to a file without involving any
  version control.
- When doing nhadd/nhcommit, the working directory WILL reflect the results
  of the substitutions.
Let's see what this breaks.

9 years agoUse a menu when user wants to query a glyph
Pasi Kallinen [Tue, 31 Mar 2015 09:59:27 +0000 (12:59 +0300)]
Use a menu when user wants to query a glyph

When user presses '/', pop up a meny asking what the user wants to
look at:

What do you want to look at:

a - something on the map
b - something you're carrying
c - something else

This replaces the "Specify unknown object by cursor?" -prompt,
while keepng backwards compatibility, and also allows querying
about items in the inventory.

9 years agoUpdate fixes35.0
Pasi Kallinen [Tue, 31 Mar 2015 09:41:35 +0000 (12:41 +0300)]
Update fixes35.0

9 years agoMoving clouds on the plane of air
Pasi Kallinen [Tue, 31 Mar 2015 08:46:41 +0000 (11:46 +0300)]
Moving clouds on the plane of air

Reusing the plane of water air bubbles code

9 years agoRevert one GCC warning
Pasi Kallinen [Tue, 31 Mar 2015 07:20:20 +0000 (10:20 +0300)]
Revert one GCC warning

9 years agoadd .gitignore entries: tile.h, NetHack.ad
PatR [Tue, 31 Mar 2015 07:18:00 +0000 (00:18 -0700)]
add .gitignore entries: tile.h, NetHack.ad

Add a couple of missing .gitignore entries for files put into
place when building.  include/tile.h is genearated for tiles
and dat/NetHack.ad is copied for X11 resource definitions.

9 years agobhitpile lint bit
PatR [Tue, 31 Mar 2015 06:20:45 +0000 (23:20 -0700)]
bhitpile lint bit

The 'zdir' function parameter has the same name as 'zdir' global
variable, triggering a 'shadowing' warning.  I had to read the 'if'
statement multiple times to convince myself it was doing what was
intended.  It was, but I think this rewrite is easier to understand
(at least for my feeble reptilian brain).

I don't know who Tim Wright is, but his 15 mintues of fame has
lasted for at least a decade so I cut his comment out.  (The 28.5
year old GAN one a dozen lines lower was a tempting target for
removal, but I managed to stop myself; otherwise it never ends.)

9 years agoBear traps wound legs
Pasi Kallinen [Tue, 31 Mar 2015 06:38:38 +0000 (09:38 +0300)]
Bear traps wound legs

9 years agoSilence GCC warnings
Pasi Kallinen [Tue, 31 Mar 2015 05:36:32 +0000 (08:36 +0300)]
Silence GCC warnings

...when compiling with -Wall --pedantic

9 years agolint cleanup for tty 'gray'
PatR [Mon, 30 Mar 2015 23:10:14 +0000 (16:10 -0700)]
lint cleanup for tty 'gray'

gcc complained about assigning string literals to variables that aren't
const.  String literals don't have const type but modifying them results
in undefined behavior, so the warning is justified.  Except in this case
the strings were never being modified so if wasn't justified after all.
Switch to a static buffer anyway.

9 years agoOptions to create the character blind or nudist
Pasi Kallinen [Mon, 30 Mar 2015 19:09:20 +0000 (22:09 +0300)]
Options to create the character blind or nudist

For those pro players who really want to try their hand
at that zen samurai, without needing to reroll thousands
of times to start with blindfold.  Nudist starts without
any armor, and keeps tabs whether you wore any during
the game, for even more bragging rights.

Also makes the Book of the Dead readable even while
blind, for obvious reasons.

9 years agoNew T-shirt texts, bogusmon, one YAFM
Pasi Kallinen [Mon, 30 Mar 2015 14:09:12 +0000 (17:09 +0300)]
New T-shirt texts, bogusmon, one YAFM

9 years agocmdline Makefile updates
nhmall [Mon, 30 Mar 2015 01:00:50 +0000 (21:00 -0400)]
cmdline Makefile updates

9 years agoclean up cmdline Makefile for VS2010,VS2013,...
nhmall [Mon, 30 Mar 2015 00:28:38 +0000 (20:28 -0400)]
clean up cmdline Makefile for VS2010,VS2013,...

VS2010 tested ok.
VS2013 tested ok.
VS2015 generated a _lot_ of linker warnings building NetHack, but it built.