Commit Graph

453 Commits

Author SHA1 Message Date
jwalz
be7e8373f4 That one $(LD) needs to be an $(LD). $(CC) will link in the non-shared
C library and cause problems with address space for something NetHack's
size.
2003-05-28 17:33:54 +00:00
warwick
47bbe26073 Unify usage of $(CC) vs. $(LD) for linking to always $(LINK), set
to $(CC) by default.
Necessary for C++ builds where the C++ compiler driver must be used
to link, adding libraries that the C compiler driver does not know
about.
2003-05-28 05:36:57 +00:00
nethack.allison
64618b9690 Borland bit 2003-05-20 10:23:52 +00:00
nethack.rankin
29f3c6486e vms update
Bring a couple of vms-specific instances of nethack's version number
up to date.
2003-05-20 06:24:46 +00:00
nethack.rankin
cf4c262178 vms playground setup
Create an empty paniclog file during playground creation, so that it
starts with the same permissions as other writeable files.  Without this,
it's liable to end up being owned by the first random user who triggers
a panic or impossibility rather than by the playground owner and probably
wouldn't be writable by any other user.
2003-05-20 06:04:04 +00:00
nethack.rankin
b1a6120dce lev_comp parser update (U433) 2003-05-20 04:11:33 +00:00
nethack.allison
e827a395a1 MinGW and Borland Makefiles
Add build instructions for nhraykey (untested)
2003-05-18 18:53:13 +00:00
cohrs
b8e3cc2b77 another README.linux update
Make the instructions a bit more blow-by-blow.  Re-order them so they
correspond to the Install.unx step numbers.  Explicitly refer to
Install.unx and Install.X11 where appropriate.
2003-05-17 20:35:07 +00:00
nethack.allison
c6e4d7ac75 win32tty: The author field should not be left as devteam 2003-05-14 10:56:54 +00:00
nethack.allison
a2249a4b0d Some altkeyhandler tweaking 2003-05-12 02:25:08 +00:00
nethack.allison
c9d2b2e84a Add <Someone>'s comments to file 2003-05-11 23:42:25 +00:00
nethack.allison
6406ef5f93 Add <Someone>'s key handling as loadable handler 2003-05-11 23:25:08 +00:00
cohrs
549736e688 narrative linux install instructions
try to give an example showing actual commands to make it more obvious
exactly how the linux tarball gets installed
2003-04-04 02:00:35 +00:00
nethack.allison
debd89444c (from <Someone>)
What's in it:
some MessageBox tidbits:
- Let all MessageBoxes display an icon
- Introduced NHMessageBox to have messageboxes display a consistent title
- Change icon in mswin_display_file from MB_ICONERROR to MB_ICONEXCLAMATION
  for non-fatal error
And to solve #U355: NetHackW won't run on Win2K OS:
- Avoid a crash when closing the main window while the splash screen is
  displayed.
- Make sure NetHack starts normal when closed minimized
- Center the splash screen on the screen, not on the parent window
  (which may be off-screen)

What's new in it:
- Show copyright banner in textbox in splash screen instead of over the picture
- Show news in splash screen only if iflags.news (solves W341-6)
- show complete version information in splash screen when it is used as about box)

[Also reverse the numkey patch in main trunk]
2003-03-27 00:23:24 +00:00
nethack.allison
adfaae0677 numkey (from <Someone>)
mapping the 5 and 0 to '5' and '0' respectively
when NumLock is off, to make entering numbers easier. The core will map '5' and
'0' to 'g' and 'i' respectively. This solves W341-5.

Note: I changed nhdefkey.c and mhmain.c, so both the tty and the windows
interface will show new behaviour. I deliberately did not change nh340key.dll.

Note: Maybe the same change should be made to the MSDOS port.

Note: The behaviour of getobj is a little bit strange: It doesn't use
yn_question's  facility for returning a number, but handles that itself. The
net effect of this is that if you type d55$ (to drop 55 zorkmids,) only the
first '5' is shown
2003-03-23 19:20:22 +00:00
nethack.allison
5311cce717 From Yitzhak
(2 troublesome bands removed
and will follow later)
Here's the new patch with the Windows improvements; this should apply to the
3.4.2 tree. Note the changed filename in the diff lines.
What's in it:
> some MessageBox tidbits:
> - Let all MessageBoxes display an icon
> - Introduced NHMessageBox to have messageboxes display a consistent title
> - Change icon in mswin_display_file from MB_ICONERROR to MB_ICONEXCLAMATION
> for non-fatal error
>
> And to solve #U355: NetHackW won't run on Win2K OS:
> - Avoid a crash when closing the main window while the splash screen is
> displayed.
> - Make sure NetHack starts normal when closed minimized
> - Center the splash screen on the screen, not on the parent window (which may
> be off-screen)
What's new in it:
- Show copyright banner in textbox in splash screen instead of over the picture
- Show news in splash screen only if iflags.news (solves W341-6)
- show complete version information in splash screen when it is used as about
box
2003-03-23 19:03:08 +00:00
nethack.allison
177b8afeb9 Borland Makefile (from Yitzhak) 2003-03-23 18:49:05 +00:00
cohrs
f6f89a2075 someone finally was confused by glibc 2.2.93 before e-mailing devteam
about README.linux.  Try to clarify the confused version number.
2003-03-21 04:16:08 +00:00
nethack.allison
04713a0406 win32 clear registry
Clear the registry settings via
    nethack -clearreg
2003-03-18 10:23:10 +00:00
nethack.allison
74230f0db6 version number adjustment in trunk 2003-03-15 12:33:57 +00:00
nethack.allison
42e0b794dc win32 Makefile.gcc
It looks like someone's mailer ate the tabs out of the
patch and turned them into spaces.
2003-03-14 17:26:04 +00:00
nethack.allison
d560815b96 win32 Makefile.msc follow up bit 2003-03-13 20:31:19 +00:00
nethack.allison
5e273e0676 win32 Makefile.msc updates 2003-03-13 20:19:41 +00:00
nethack.allison
f5a1d78fee MinGW (from <Someone>)
This patch fixes the MinGW Makefile:
- Adds support for the keystroke DLL.
  DLLs are interchangeable between gcc and msc builds.
- Gets the Makefile to work for Win95 and friends
- Adds the -mms-bitfields flag to ensure savefile compatibility between
  MinGW and MSC files
- Fixes various minor issues: layout, make spotless, and some duplicate
  commands that are now governed by a new tag ($(O)gamedir.tag).
2003-03-13 17:05:13 +00:00
nethack.allison
56585d286f win32tty: dynamic keystroke handler with 3.4.0 behaviour 2003-03-09 18:36:24 +00:00
nethack.allison
78ce3749dc win32tty keystroke handling
- Move the code for keystroke handling into its own source file.
- Compile and link it as a dynamic link library.
- Dynamically load the keystroke handler at runtime
- Add support for specifying a different handler in defaults.nh
  so that internationalization issues can be dealt with without
  rebuilding nethack, just supply alternative handlers in HACKDIR.

The following exported functions need to be present in
the keystroke handler .dll:
ProcessKeystroke - returns an ascii value to NetHack
NHkbhit  - allows peeking to see if a key/mouse press is waiting
SourceWhere - returns location for souce code for a keystroke handler
SourceAuthor  - returns author information for a keystroke handler
KeyHandlerName  - returns the full or short name of the keystroke handling dll.
2003-03-09 15:44:50 +00:00
nethack.allison
daed1ff394 win32tty distinguish between black/gray/white 2003-03-08 23:47:14 +00:00
nethack.allison
37f09d3bb0 MSDOS Makefile fix
prevent "dir /l /b" from getting modified to "dir \l \b"
2003-03-08 23:27:56 +00:00
nethack.allison
27977b7c15 win32 stuff held until after bugfix release (from <Someone>)
-better handling of "more" prompt for messages that would have      scrolled off the window
-support perm_invent
-menu option to add/remove windows captions
2003-03-03 23:31:36 +00:00
nethack.allison
eab7064510 W341-2 Finnish and international keyboard arrangements 2003-03-02 12:58:29 +00:00
cohrs
f60f576727 Building src objects via Makefile.utl
<Someone> noticed that if one builds something in util and the required .o
files aren't already built in src, the .o gets placed in the wrong place.
Added the missing '-o $@' to the compilation command.
2003-03-02 06:21:29 +00:00
cohrs
b6da412ef1 U277 - Gnome compilation on Redhat 7.2 & 8.0
Reported on RH 7.2 and 8.0.  Compilation failed because system headers that
needed _GNU_SOURCE on these Redhat versions got included before it was
defined.  To ensure _GNU_SOURCE is defined, added an autodetect for it to
config1.h and removed the need to set it in unixres.c.  __linux__ is also
checked elsewhere.
2003-03-02 06:07:19 +00:00
nethack.allison
6fd9194698 more newlines at end of files 2003-02-23 14:34:12 +00:00
nethack.allison
f12de871f5 newlines at end of files 2003-02-23 14:08:54 +00:00
nethack.allison
71c62ce21c Update contact info 2003-02-22 01:20:14 +00:00
nethack.allison
77d3fdcc5b h/pc (from <Someone>)
Fixed output file name for H/PC Pro - SH3 configuration.
2003-02-21 11:06:47 +00:00
cohrs
bbb6a45c34 minor Unix Makefile mod
I just noticed that the installed owner/group of "recover" was not being
set correctly.  This has no important effect, but does look funny.
2003-02-21 04:32:29 +00:00
cohrs
c6cbe125de updating official Linux binary
I'm updating the official binary to be built on a Redhat 8.0 system.  This
should give the binary some legs if we take a while to get the next release out.
2003-02-21 04:02:38 +00:00
nethack.allison
fc1ae80c9b Windows CE bits (from <Someone>) 2003-02-21 01:51:54 +00:00
keni
6692b3a984 (keni, for jhsa)
here are two minor patches for amigaport (ppc/gcc related, compiletime).
Teemu noticed these during a testcompile for 341 tarball today.

-jhsa

*** sys/amiga/amidos.p	2003/02/20 15:36:28	1.1
--- sys/amiga/amidos.p	2003/02/20 14:30:12
***************
*** 37,42 ****
  #ifndef	strcmpi
  int FDECL(strcmpi, (char * , char *));
  #endif
! #if !defined(memcmp) && !defined(AZTEC_C) && !defined(_DCC)
  int FDECL(memcmp, (unsigned char * , unsigned char * , int ));
  #endif
--- 37,42 ----
  #ifndef	strcmpi
  int FDECL(strcmpi, (char * , char *));
  #endif
! #if !defined(memcmp) && !defined(AZTEC_C) && !defined(_DCC) && !defined(__GNUC__)
  int FDECL(memcmp, (unsigned char * , unsigned char * , int ));
  #endif
*** sys/amiga/amiwind.c	2000/11/30 16:39:25	1.3
--- sys/amiga/amiwind.c	2003/02/20 14:31:06
***************
*** 21,31 ****

  #define BufferQueueChar(ch) (KbdBuffer[KbdBuffered++] = (ch))

- #ifdef __GNUC__ /* Conflicting includefiles ... */
- struct Device *ConsoleDevice;
- #else
  struct Library *ConsoleDevice;
- #endif

  #include "NH:sys/amiga/amimenu.c"

--- 21,27 ----
2003-02-20 16:36:02 +00:00
nethack.allison
ea4bfa168c more win32 Makefiles
update depend substitution instructions.
2003-02-19 14:20:47 +00:00
nethack.allison
5c2b773051 another win32 Makefile.gcc (from <Someone>)
another error in the makefile.gcc, not fatal, just a leftover
from the MS makefile. This patch includes both makefile fixes.
2003-02-19 14:01:35 +00:00
nethack.allison
788b94f2fa Makefile bcc (from Yitzhak)
1) Update documentation for using bison/flex
2) Fix use of $(CC).  In the makefile, it's supposed to be $(cc).
Otherwise it won't compile. [caused during recent dependency
updates]
2003-02-19 13:57:20 +00:00
nethack.allison
1332789fd6 building under MinGW (from <Someone>)
didn't work. Makefile.gcc had a space instead of a tab somewhere.
2003-02-19 13:53:08 +00:00
nethack.allison
0c4bd66545 runtime port identification
The CE ports use makedefs hosted on another platform,
so the version string generated at build time isn't really
appropriate.

Add a way to add information to the version string
at runtime for such ports.
2003-02-19 11:44:14 +00:00
nethack.allison
73d357a647 win32 and msdos recover
Since the ports have SELF_RECOVER defined,
remove the build of recover.exe from the default steps.
You must explicitly use 'make recover' now.
2003-02-17 23:56:40 +00:00
nethack.allison
5e6bed70b8 CEmore prompt (from <Someone>)
Prevent "--more--" prompt from appearing when several
questions being asked in the same loop (like selling
something in the shop
2003-02-17 23:19:01 +00:00
nethack.allison
2a83f1b830 more MSDOS build 2003-02-17 02:55:46 +00:00
nethack.allison
3d96d214c6 OS/2 patch (from <Someone>) 2003-02-17 01:47:13 +00:00
nethack.allison
a1a296aa8d win32 bits 2003-02-15 22:46:10 +00:00