From 0e10f8285613571adacba136ae383b00679279c9 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 26 Apr 2026 12:42:38 -0400 Subject: [PATCH] update sys win --- sys/windows/console.rc | 4 ++-- win/Qt/Qt-issues.txt | 2 +- win/Qt/qt_inv.cpp | 2 +- win/Qt/qt_menu.cpp | 2 +- win/Qt/qt_svsel.cpp | 2 +- win/Qt/qt_win.cpp | 2 +- win/X11/winstat.c | 4 ++-- win/curses/Readme.txt | 2 +- win/curses/cursmain.c | 2 +- win/win32/NetHackW.rc | 10 +++++----- win/win32/nethack.rc | 10 +++++----- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/sys/windows/console.rc b/sys/windows/console.rc index 3b87de6c6..81a21b2ca 100644 --- a/sys/windows/console.rc +++ b/sys/windows/console.rc @@ -12,8 +12,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,7,0,0 - PRODUCTVERSION 3,7,0,0 + FILEVERSION 5,0,0,0 + PRODUCTVERSION 5,0,0,0 FILEFLAGSMASK 0x1fL #ifdef _DEBUG FILEFLAGS 0x9L diff --git a/win/Qt/Qt-issues.txt b/win/Qt/Qt-issues.txt index 1bac3106c..1de8b9c8c 100644 --- a/win/Qt/Qt-issues.txt +++ b/win/Qt/Qt-issues.txt @@ -43,7 +43,7 @@ ESC and maybe also initiate quitting. Map column #0, which the core reserves for its own purposes and isn't intended to be displayed, is displayed (as blank terrain). -3.7 status conditions haven't been implemented. +5.0 status conditions haven't been implemented. 3.6 status conditions (Stone, Slime, Strngl, Deaf, Lev, Fly, Ride) have been implemented but need icon artwork (one 40x40 tile for each). diff --git a/win/Qt/qt_inv.cpp b/win/Qt/qt_inv.cpp index 01cf2039f..76bc06cff 100644 --- a/win/Qt/qt_inv.cpp +++ b/win/Qt/qt_inv.cpp @@ -172,7 +172,7 @@ void NetHackQtInvUsageWindow::paintEvent(QPaintEvent*) // W wielded two-handed weapon // X wielded secondary weapon // - // 3.7: use a different layout (also different legend for it, above): + // 5.0: use a different layout (also different legend for it, above): // invert so grid is facing player, with right hand on screen left; // show gloves in only one slot; // move alternate weapon to former right hand glove slot; diff --git a/win/Qt/qt_menu.cpp b/win/Qt/qt_menu.cpp index 93a9064f6..f469597e2 100644 --- a/win/Qt/qt_menu.cpp +++ b/win/Qt/qt_menu.cpp @@ -1133,7 +1133,7 @@ void NetHackQtTextWindow::Display(bool block UNUSED) void NetHackQtTextWindow::PutStr(int attr UNUSED, const QString& text) { #if 1 - // 3.7: Always render text windows with fixed-width font. The majority + // 5.0: Always render text windows with fixed-width font. The majority // of text files we'll ever display including ('license' and 'history') // happen to have some lines with four spaces anyway and/or they have // been pre-formatted to fit within less than 80 columns. For data.base diff --git a/win/Qt/qt_svsel.cpp b/win/Qt/qt_svsel.cpp index 882fabce7..f08c0aa25 100644 --- a/win/Qt/qt_svsel.cpp +++ b/win/Qt/qt_svsel.cpp @@ -6,7 +6,7 @@ // // Popup's layout: //---- -// NetHack 3.7.x (literal text w/ dynamic version number) +// NetHack 5.0.x (literal text w/ dynamic version number) // /----------------------\ (text to prevent multi-line comment warning) // | | // | | diff --git a/win/Qt/qt_win.cpp b/win/Qt/qt_win.cpp index 1f356399c..db66579f6 100644 --- a/win/Qt/qt_win.cpp +++ b/win/Qt/qt_win.cpp @@ -2,7 +2,7 @@ // Qt4 conversion copyright (c) Ray Chason, 2012-2014. // NetHack may be freely redistributed. See license for details. -// Qt Windowing interface for NetHack 3.7 +// Qt Windowing interface for NetHack 5.0 // // Copyright (C) 1996-2001 by Warwick W. Allison (warwick@troll.no) // diff --git a/win/X11/winstat.c b/win/X11/winstat.c index 761dd93e9..0e6f79f94 100644 --- a/win/X11/winstat.c +++ b/win/X11/winstat.c @@ -1714,7 +1714,7 @@ update_val(struct X_status_value *attr_rec, long new_value) * it's being set to blank (where that item should be reset now instead * of showing highlighted blank until the next expiration check). * - * 3.7: highlight non-labelled 'name' items (conditions plus hunger + * 5.0: highlight non-labelled 'name' items (conditions plus hunger * and encumbrance) when they come On. For all conditions going Off, * or changing to not-hungry or not-encumbered, there's nothing to * highlight because the field becomes blank. @@ -2348,7 +2348,7 @@ init_column( * indicates the end of the column. The two numbers after that are used * to store widths that are calculated at run-time. * - * 3.7: changed so that all 6 columns have 8 rows, but a few entries + * 5.0: changed so that all 6 columns have 8 rows, but a few entries * are left blank <>. Exp-points, Score, and Time are optional depending * on run-time settings; Xp-level is replaced by Hit-Dice (and Exp-points * suppressed) when the hero is polymorphed. Title and Dungeon-Level span diff --git a/win/curses/Readme.txt b/win/curses/Readme.txt index a9ae0be7b..1cec52e6e 100644 --- a/win/curses/Readme.txt +++ b/win/curses/Readme.txt @@ -29,7 +29,7 @@ sys/unix/Install.unx. By default, the Makefile is setup to compile against ncurses. Edit Makefile.src if you wish to compile against a different curses library, such as PDCurses for SDL. See sys/unix/NewInstall.unx for more information about building -NetHack 3.7 and above. +NetHack 5.0 and above. Windows build instructions: diff --git a/win/curses/cursmain.c b/win/curses/cursmain.c index 5060c3e85..1fe79fcc6 100644 --- a/win/curses/cursmain.c +++ b/win/curses/cursmain.c @@ -924,7 +924,7 @@ print_glyph(window, x, y, glyphinfo, bkglyphinfo) int ttychar; the character mapping for the original tty interface. Most or all window ports wanted and used this for various things so it is - provided in 3.7+ + provided in 5.0+ short int symidx; offset into syms array unsigned glyphflags; more detail about the entity diff --git a/win/win32/NetHackW.rc b/win/win32/NetHackW.rc index 7f4317b2b..d4d197d2f 100644 --- a/win/win32/NetHackW.rc +++ b/win/win32/NetHackW.rc @@ -334,8 +334,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,7,0,0 - PRODUCTVERSION 3,7,0,0 + FILEVERSION 5,0,0,0 + PRODUCTVERSION 5,0,0,0 FILEFLAGSMASK 0x1fL #ifdef _DEBUG FILEFLAGS 0x9L @@ -351,13 +351,13 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "NetHack for Windows - Graphical Interface" - VALUE "FileVersion", "3.7.0" + VALUE "FileVersion", "5.0.0" VALUE "InternalName", "NetHackW" - VALUE "LegalCopyright", "Copyright (C) 1985 - 2021. By Stichting Mathematisch Centrum and M. Stephenson. See license for details." + VALUE "LegalCopyright", "Copyright (C) 1985 - 2026. By Stichting Mathematisch Centrum and M. Stephenson. See license for details." VALUE "OriginalFilename", "NetHackW.exe" VALUE "PrivateBuild", "140606" VALUE "ProductName", "NetHack" - VALUE "ProductVersion", "3.7.0" + VALUE "ProductVersion", "5.0.0" END END BLOCK "VarFileInfo" diff --git a/win/win32/nethack.rc b/win/win32/nethack.rc index 6f14e3328..4c167d047 100644 --- a/win/win32/nethack.rc +++ b/win/win32/nethack.rc @@ -60,8 +60,8 @@ IDI_ICON1 ICON "nethack.ico" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,7,0,0 - PRODUCTVERSION 3,7,0,0 + FILEVERSION 5,0,0,0 + PRODUCTVERSION 5,0,0,0 FILEFLAGSMASK 0x1fL #ifdef _DEBUG FILEFLAGS 0x9L @@ -77,12 +77,12 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "NetHack for Windows - TTY Interface" - VALUE "FileVersion", "3.7.0" + VALUE "FileVersion", "5.0.0" VALUE "InternalName", "NetHack" - VALUE "LegalCopyright", "Copyright (C) 1985 - 2021. By Stichting Mathematisch Centrum and M. Stephenson. See license for details." + VALUE "LegalCopyright", "Copyright (C) 1985 - 2026. By Stichting Mathematisch Centrum and M. Stephenson. See license for details." VALUE "OriginalFilename", "NetHack.exe" VALUE "ProductName", "NetHack" - VALUE "ProductVersion", "3.7.0" + VALUE "ProductVersion", "5.0.0" END END BLOCK "VarFileInfo"