Commit Graph
110 Commits
Author SHA1 Message Date
nethack.allison 591b832a84 Don't chdir with NOCWD_ASSUMPTIONS 2002-08-21 03:26:25 +00:00
nethack.allison 070079f3a7 win32 recover
Prevent recover from building a savefile out of a
currently active NetHack process.
2002-08-18 15:43:36 +00:00
nethack.allison 03cc2afa2e WIN32: file naming
Allow single character variations in player names
to remain unique in file names by encoding rather
than substituting.
"plnam one", "plnam_one", and "plnam~one" at the
"Who are you?" prompt get unique filenames after this patch.
2002-07-21 04:07:32 +00:00
nethack.allison 5d040e4da5 prevent strange crash with some player names 2002-07-21 03:53:13 +00:00
nethack.rankin 927d041da7 lev_comp yacc output 2002-07-15 07:31:14 +00:00
nethack.allison 8768a69e49 win32gui: follow-up 2002-07-14 19:56:49 +00:00
nethack.allison 2440a26e9c win32gui: -s and -? on the command line
Since -s doesn't function properly under the WIN32
graphical interface as yet, disable it altogether.

Also clean up nhusage() so that it does work with
the WIN32 graphical interface.
2002-07-14 19:50:25 +00:00
cohrs 034892d5a8 NO_TERMS bug
From a bug report, a missing check for defined(NO_TERMS) in pcsys.c
would result in a link time error.
2002-07-09 04:09:09 +00:00
nethack.allison ea268b5b6f early directory validation
Allow early prefix directory validation to help prevent
failed games and lost save files due to incorrect config
file settings.
2002-07-01 22:42:57 +00:00
nethack.allison 8d0b3091cb Clean up win32 emergency exit handling a little 2002-07-01 12:32:57 +00:00
nethack.allison 6b47ae351d more NOCWD_ASSUMPTIONS
The NOCWD_ASSUMPTIONS conditional code allows readonly
parts of NetHack to be separated from areas that require write-access.
This allows the recent panic log needed a prefix.
2002-06-29 12:44:54 +00:00
nethack.allison 69ee06a9bc Two new options
Add "travel" boolean option to enable/disable travel command.
Add "mouse_support" wincap option to enable/disable mouse.

- When running the win32 tty version full-screen, some people
complained about the square mouse cursor.

Newsgroups: rec.games.roguelike.nethack
Subject: Re: Getting rid of the cursor?
<email deleted> <email deleted>
Followup-To:

On Thu, 04 Apr 2002 00:20:06 <email deleted> wrote:
> Ok, let me be more specific: when playing the windows non-GUI version, is
> there a way to get rid of the large rectangular white cursor?
>
> <email deleted> wrote in message
> <email deleted>
>> Can you get rid of the cursor in the windows version?  I really hate that
>> thing.
>>

<email deleted>
>Newsgroups: rec.games.roguelike.nethack
>Subject: Disabling Mouse Input
>
>I purchased an older P120 laptop to be able to play Nethack at the hotel.
>I find that I rest my thumbs on the mouse touch pad all too often and my
>@ moves unexpectedly at times. I took a peruse through defaults.nh, but
>came up empty.
>
>Anyone know if mouse input can be disabled?
>
>MRSisson
2002-04-04 03:45:03 +00:00
nethack.allison 51f9892b3b Allow MICRO and WIN32 code paths to diverge
There's still a lot of overlap for 3.4.1, but not
100% any longer and it facilitates some improvements
- Allow error save files on WIN32
2002-03-30 19:09:56 +00:00
nethack.rankin e835e2f420 lev_comp,dgn_comp vs CRLF style input
Allow the special level and dungeon compilers to handle input
files which have CR+LF delimited lines.  Apparently Cygwin doesn't
convert MSDOS style line ends into newlines the way stdio should
do for text I/O.  The resulting unexpected CR characters result in
syntax errors.

     And explicitly using '\n' on both the lex and yacc sides of
MAP processing allows removal of the old NEWLINE hack for Mac MPW.
It won't matter what numeric value that character escape sequence
has internally.
2002-03-28 01:37:39 +00:00
nethack.allison 67604538c6 #R668: Windows 2000 Lock File Creation Error
This was a tricky one.  While the error was ultimately because
he was specifying a non-existant directory in defaults.nh, the
error message lead me to the wrong area until I traced through
with a debugger.

It turns out that an fqn buffer was being re-used before it
was finished being used with the original information in
sys/share/pcunix.c, so the error message listed the
wrong file!

This adds one more buffer and fixes the problem.
Note that it could only affect plaforms with
PREFIXES_IN_USE defined  (NOCWD_ASSUMPTIONS
or VAR_PLAYGROUND)

It also alters the WIN32 error message to give them a
hint as to what the problem might be.

<email deleted>
<email deleted>
Sent: Saturday, March 23, 2002 9:27 AM
Subject: #R668: Windows 2000 Lock File Creation Error
> nhfrom: 3.4.0 Official binary release for Windows 95/98/NT/2000/Me/XP
> I get an error after unzipping nethack to c:\nethack, and changing the
> configuration (defaults.nh) to reflect this in the hackdir, levels and save
> configuration items.
>
> The error I get is "cannot creat lock file (C:\nethack\NHPERM_lock.)" after
> entering nethack at the command line and answering the Who are you? question.
2002-03-24 01:37:16 +00:00
nethack.allison 658ee6436a #R667: a bug in character naming
- strip out '?' and several others.
- this means that people specifying character names
  fred? and fred* will collide. Oh well.
2002-03-23 23:05:08 +00:00
nethack.allison 87a86749ff win32gui: make error() work
- in 3.4.0 it was useless in the graphical port.
2002-03-23 22:47:44 +00:00
jwalz bab78d03c8 Lint part 1, unused variables, routines, and return codes. 2002-03-10 00:30:53 +00:00
nethack.allison 58c1d99bb8 win32 uses included uudecode utility 2002-03-01 05:06:48 +00:00
nethack.allison 75945c9056 sys/share/uudecode.c
This was added to allow the build on some platforms to be
completed without external utilities beyond the compiler.
2002-02-28 18:32:28 +00:00
nethack.rankin 1f6484473f resync generated files 2002-02-05 22:12:41 +00:00
nethack.allison 7d1e6f7d57 from Yitzhak
Add absent prototypes to some core routines.
Also add some port function() to function(void) in some win32 routines.
Also updates the Borland C Makefile for win32.
2002-02-05 13:21:43 +00:00
nethack.allison 742e1e8c90 3.3.2 to 3.4.0 2002-02-04 16:11:00 +00:00
nethack.rankin bbf7ada0dd micro fopenp() fix
From a bug report.  I can't test this fix, but
inspection of the code shows that his suggested fix is clearly
necessary.  Once `bp' gets incremented, storing via `bp[BUFSZ-1]'
writes beyond the bounds of `buf' and clobbers something.
2002-01-23 07:12:58 +00:00
nethack.rankin daf7cda0ee generated lex output 2002-01-22 09:27:01 +00:00
kmhugo bd49d4a6df Remove files duplicated in devteam module 2002-01-19 05:39:57 +00:00
nethack.allison e02ab47597 Changes to existing files by the win32 port additions. 2002-01-13 05:53:39 +00:00
nethack.rankin fbcf710621 update lex output 2002-01-13 04:16:04 +00:00
jwalz e3820d79f3 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz 5f71f70e43 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz 8ce3f83615 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz 5d9d444b3b *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz bd79ae0ce5 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz 7a555e48f0 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz 5e8bb27eb2 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 70a857f0ef *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz fd6ad2e384 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 7517e94529 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 028408e123 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz a68a31266a *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 6f06692e43 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 40d3cd6981 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 819381cf20 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 7bf716c071 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 16118bd77a *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 79c4d04362 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 0e2129bb79 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 5fc1025235 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 6623610de9 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz 606b22c7d0 *** empty log message *** 2002-01-05 21:05:58 +00:00