Commit Graph

379 Commits

Author SHA1 Message Date
nethack.allison
b9a3376fc5 stray files (from <Someone>)
winhack.h is not being used anywhere now and can safely be deleted.
There 2 instances of this file:

sys\wince\winhack.h
win\win32\winhack.h

The patch is also attached that adjusts for this.
2002-09-19 00:16:10 +00:00
nethack.allison
d916769a77 DOS 16 bit Microsoft Makefile
<Someone> reports that someone on the
newsgroup tried to use the MSVC 1.52c (16 bit compiler) Makefile
with MSVC 6 (32 bit compiler). Try to make it more obvious
that the Makefile isn't for that.
2002-09-10 22:53:18 +00:00
nethack.allison
cbb5c9309d mingw (from <Someone>) 2002-09-09 12:22:00 +00:00
nethack.allison
6bebdbb135 win32 USER_SOUNDS
This uses pmatch() as a default pattern matcher,
and #defines USER_SOUNDS_REGEX for Qt
to enable the code for regular expressions.

This is enabled for win32tty and win32gui.
2002-09-02 23:28:54 +00:00
nethack.allison
0cb3b8543b more Borland quieting 2002-09-02 16:51:24 +00:00
nethack.allison
3ea64625f3 get rid of uudecode compile warning on Borland 2002-09-02 14:39:24 +00:00
nethack.allison
46b88235a1 Borland bits (from Yitzhak) 2002-09-02 14:29:57 +00:00
nethack.allison
d618afc87a win32 suggestion from <Someone> 2002-08-29 00:17:08 +00:00
nethack.allison
e7407addc5 win32tty follow-up, Makefile change 2002-08-23 19:25:17 +00:00
nethack.allison
4a6ed922d7 B08014 win32tty: hanging when ctrl+alt pressed
CTRL+ALT was being treated as a valid ALT-sequence,
 so the meta bit was being set on it, letting it slip past this
 check in wintty.c "if (!i) i = '\033';"

This overhauls the ALT processing in nttty.c, some of
which was using scancode mappings from the DOS port
needlessly.
2002-08-23 18:40:08 +00:00
nethack.rankin
b00a9dcd4a level file handling and trickery feedback
1) consolidate all core usage of `errno' in files.c;
2) give more feedback for any failure by create_levelfile or open_levelfile,
   similar to what was being done for problems during level change;
3) include trickery info in paniclog (many instances of "trickery" seem to
   be due to disk or quota problems rather than user misbehavior...).

The create_levelfile call in pcmain probably ought to be changed to use
error feedback, but in the meantime this should continue working.

Perhaps error() should be modified to update paniclog too, but I didn't
want to go through all its port-specific incarnations making changes.
2002-08-23 14:52:25 +00:00
nethack.rankin
b840adcb62 trickery bulletproofing
Prevent the pardoning of trickery in wizard mode from attempting
to continue when there's no longer any current level.  Also prevent
the ZEROCOMP configuration from trying to read from file descriptor -1
in case there're any other places which still let that slip through.
And fix an oddity in the VMS port's error() routine which has gone
unnoticed for years.
2002-08-22 03:05:18 +00:00
nethack.allison
2697615bd3 win32: hold .0 file open exclusively
-prevents problems with internal recover
if second copy of game is started up with
the same player name.
2002-08-21 15:21:56 +00:00
nethack.allison
e86d1a4436 win32 problem on NT4
> Oops:
>
> "NetHack.exe - Entry Point Not Found
>
> The procedure entry point Process32Next could not be located in the dynamic link
> library KERNEL32.dll."
>
> And the program refuses to run. Same goes for NetHackW.exe.
>
> Windows NT 4 (to be precise: 4.00.1381, SP6)
> IE 5.0 (to be precise: 5.00.2919.6307)
>
> The Help for Process32Next shows the following compatibility list:
> QuickInfo
>   Windows NT: Requires version 5.0 or later.
>   Windows: Requires Windows 95 or later.
>   Windows CE: Unsupported.
>   Header: Declared in tlhelp32.h.
>   Import Library: Use kernel32.lib.
2002-08-21 11:53:44 +00:00
nethack.allison
3515dcf1f1 SELF_RECOVER for win32
- define SELF_RECOVER for win32
- add code to perform a recover operation from
  within NetHack itself when SELF_RECOVER is defined
2002-08-21 03:30:19 +00:00
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
warwick
b4cde57ce7 Allow object files for utilities to be separate from the game object
files (essential for cross-compiling).
2002-08-14 05:04:09 +00:00
nethack.allison
862a4ff1b7 win32 defaults.nh changes 2002-08-13 00:48:14 +00:00
nethack.allison
669da6399e gnu make fix for NT
I ended up with a list of all the files in my hard disk's root
appended to the file. Yikes.
2002-08-12 01:45:38 +00:00
nethack.allison
3a309e5709 yet more djgpp Makefile stuff 2002-08-12 01:27:19 +00:00
nethack.allison
ded4f66822 more djgpp Makefile stuff 2002-08-11 18:31:23 +00:00
nethack.allison
02c9ce9214 msdos Makefile.gcc changes for djgpp
Add syntax that <Someone> introduced  for the Mingw Makefile.gcc
to make it easy to use unix-style path separation throughout
the Makefile.

Put all the .exe files into ../util
Put all the .obj files into o/
2002-08-11 17:23:05 +00:00
nethack.allison
3e175049bb B01006 (from Yitzhak)
win32tty truncated score list
2002-08-06 23:57:48 +00:00
nethack.allison
e34c47579b wince (from <Someone>)
This is a follow-up patch on view/hide keypad menu option. It fixes
some stuff specific to PocketPC menus.
2002-08-01 00:47:33 +00:00
keni
bca0aca579 <email deleted> Thu Jul 25 13:59:29 2002
<email deleted>
 <email deleted>
 Subject: patch: missing amiga bits

Hi,

here are some missing bits from the amigafiles.

Current source compiles fine, seems to work ok (launches, runs, opens windows
and quits as usual). I haven't had much time to test it rigorously (or play
at all), but I don't remember there having been any major changes that would've
affected the amigaport, so it probably should be okay as it is.

-jhsa
2002-07-26 10:47:34 +00:00
nethack.allison
46d1595c67 sys/winnt more macro mods
(Sorry, but checking these in is the only way to see the results)
2002-07-24 08:25:21 +00:00
nethack.allison
05c0d2cb9a sys/winnt change SCCS to Id macro 2002-07-24 07:34:02 +00:00
nethack.allison
1af06f69cd add date macro to Install.dos 2002-07-24 06:30:21 +00:00
nethack.allison
1e52445608 add date macro to Install.nt 2002-07-24 06:28:50 +00:00
nethack.allison
9596b68dff wince date macro fix in Install.ce 2002-07-24 06:26:28 +00:00
nethack.allison
93efef792d wince date macro fix in Install.ce 2002-07-24 06:24:02 +00:00
nethack.allison
931f5a4521 minor typo in Install.ce 2002-07-24 06:21:35 +00:00
nethack.allison
822a633563 (from <Someone>)
- added menu option to show/hide keypad window
2002-07-24 00:21:52 +00:00
nethack.allison
0cc5b698d5 Windows CE port addition 2002-07-22 03:20:52 +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
nethack.rankin
0dd070271b vms Makefile update 2002-07-13 12:44:55 +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
warwick
da2423c528 Linux and SVR4 don'thave 14-character filename limits.
Re-factor the #defines while I'm at it.
2002-07-04 06:23:42 +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
warwick
3c043bc008 Make problem of zero-sized .moc file less likely.
(<Someone> reported problem that was obscured by an empty .moc file
being created in a failed build)
2002-07-01 05:35:02 +00:00
warwick
f3b5cb519f How to make nhtiles.bmp
(and also my little tileedit utility)
2002-07-01 05:26:57 +00:00
warwick
82668439f7 nhtiles.bmp may be needed (eg. Qt windowport) 2002-07-01 05:23:47 +00:00
cohrs
60e26a84ae NOCWD_ASSUMPTIONS followup
Michael's VAR_PLAYGROUND update
2002-06-29 15:12:15 +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