Commit Graph

429 Commits

Author SHA1 Message Date
cohrs
a80a7ab939 X11 buffer overflow avoidance
Don't overflow the buffer passed to getlin().
2002-01-23 06:21:58 +00:00
nethack.allison
6f45c9c5ff Fix some Guidebook mistakes (tex dungeoneer table for one)
Also shorten up levcomp.dsp lines
2002-01-23 04:35:39 +00:00
warwick
fe5a464dc3 Always use maximized window in Qt windowport. 2002-01-23 03:03:37 +00:00
nethack.allison
9d0a5acab1 Extraneous file removed as I head out the door of the office. 2002-01-23 01:21:54 +00:00
warwick
93c5ecf3ea Qt GUI cleanup
Use "Alt+X", not "Alt-X".
This is actually *necessary* on MacOSX.
2002-01-23 01:02:37 +00:00
nethack.allison
f48b00f5f5 It was ignoring the command line parameters
because there was an extraneous argv[1] that was
a repeat of the module name, but in quotation
marks.  The processing in pcmain stops on the first
argument that doesn't start with '-' so my other
arguments got ignored.

 argv[0] 0x00b40800 "C:\test\binary\nethackw.exe"
 argv[1] 0x00b40878 ""C:\test\binary\nethackw.exe""
 argv[2] 0x00b408f0 "-uwizard"
 argv[3] 0x00b40938 "-D"
2002-01-23 00:00:02 +00:00
nethack.allison
1b91f47b4c Remove all uses of pushd/popd
in case someone  wants to build on Windows98 where they don't exist.
They are available in NT or Windows 2000 only (and possibly XP).
2002-01-22 22:54:54 +00:00
nethack.allison
9dd3932af6 rename winhack.dsp to nethackw.dsp
Adjust Install.nt to match.
Modify Makefile.nt to use ../binary directory for output by default,
just like the windows version does.
2002-01-22 13:02:13 +00:00
nethack.allison
6f645f89c0 rename winhack.dsp to nethackw.dsp
Actually removes winhack.dsp and adds nethackw.dsp.
2002-01-22 12:55:49 +00:00
warwick
3c0c8b0516 Fix some crashes in unused tile editor.
tileedit is the program I use to edit tile files (directly).
2002-01-22 08:44:37 +00:00
warwick
dab3df306f Remove win/Qt/nethack.png
Obsoleted by nhsplash.xpm (a text format). The binary still has more detail,
but until someone has a use for it, I'll keep it aside.
2002-01-22 08:41:57 +00:00
warwick
5861942805 Doc fix for Install.Qt
(USER_SOUNDS now undeffed automaticaaly for old versions)
2002-01-22 08:39:00 +00:00
nethack.allison
2d5361e389 From <Someone>,
Fixes:
- menu shortcuts implemented
- most windows close on space (except for menus with
  PICK_ANY style)
- "hilite_pet" option is implemented
- map scrolling is improved somewhat (it now scrolls if
  the char is within 5 spaces from the edge of the map -
  configurable by #define CLIPAROUND_MARGIN)
- added 3  winhack-specific options:

 win32_map_mode:[tiles|ascii4x6|ascii6x8|ascii8x8
                 |ascii16x8|ascii7x12|ascii8x12|ascii15x12
                 |ascii12x16|ascii10x18|fit_to_screen]=20
 win32_align_status:[left|top|right|bottom]
 win32_align_message:[left|top|right|bottom]

Note: aligning status window to left or right edge of the screen does
not look good.
2002-01-22 00:30:58 +00:00
nethack.allison
5dd46c18ae Add petmark.uu 2002-01-22 00:29:35 +00:00
warwick
751cbf93ae Tile un-placehold 2002-01-21 10:41:42 +00:00
warwick
75305dc3b3 Qt compatibility fixes
Fixes for Qt version 2.0 (old).
2002-01-21 05:17:40 +00:00
warwick
58b5454a35 Player selection fix on Qt windowport.
Prompt for player details even if gender or alignment is unspecified.
2002-01-21 05:15:06 +00:00
nethack.allison
fb2f6753d6 From <Someone>
This was caused by  character set incompatibility between message and map
windows. Apparently, Nethack is using  IBM character set (CP 437) but fonts
were create for Windows ANSI codepage. I fixed most of it by changing
character set of the fonts except for the Rogue level. I had to make changes
to src/drawing.c for Rogue level since most of Windows fonts are not capable
of displaying control characters (char. code<0x20)
And of course, disabling IBMGraphics option fixes it all.
2002-01-18 19:14:13 +00:00
nethack.allison
2fef55edc0 Add tile generation sub-project to win32 2002-01-18 12:57:06 +00:00
warwick
d2c3d25462 (Qt) Old version support
Workarounds for Qt 2.1.0beta4 (?)
2002-01-18 08:47:28 +00:00
warwick
72879f0584 Change Mines tiles.
This is a long-overdue change to the Mines wall tiles. I was never happy
with the Mines walls being just brown normal-walls.
2002-01-18 08:16:07 +00:00
nethack.allison
35b46238fc From <Someone>: a couple of improvements to the user interface:
- fixed charset value for fonts
- wrap long lines in the message window (there is a #define to switch it on and off)
- multiple display modes for map
2002-01-18 00:42:04 +00:00
warwick
6ddd18069e Splash-screen fixes:
- change "Warwick Allison + DevTeam" to just "DevTeam".
  - fixes for Qt 3.0.
2002-01-17 06:40:41 +00:00
warwick
f86ab80cfb Changes work with Qt 3.0 (basically just use obsoleted QTableView class
until I get around to replacing it properly).
2002-01-17 04:10:23 +00:00
warwick
5bf430c3d3 Ignore Alt-key navigation to menubar, as it's annoying when you
use Alt-Direction to move around.
2002-01-16 03:09:12 +00:00
nethack.allison
59b7cb4be4 Michael Allison wrote:
> There has been some feedback from others on the development team
> around the tiles:
>   "The Rogue Level should ideally be text-mode. It freaks out the
>    tiled-version-only players when they first get there, but that
>    makes it a good reminder of NetHack's roots."
>
> The other supported tiled ports work this way too.  They display
> regular ASCII characters on the Rogue level, just like Rogue did.

-Adds Rogue-level ascii support.
-Also removes unicode support.

Some other build script tweaks as well.

M. Allison
2002-01-14 12:36:09 +00:00
nethack.allison
50b24456cd > There is a tile in monster.txt that is still
> marked as "placeholder."  It is the tile for Neferet the Green,
> a green-colored wizard for the updated Wizard's quest.
It's not great, but the best I can do without her looking like some
sort of Zombie (most of the tiles try to follow rules - dark-green=zombie,
green=gnome, blue=dwarf, etc. in order that the player can recognize the
patterns, rather than concentrating too much on the details).
2002-01-14 11:43:13 +00:00
nethack.allison
5e1809b939 For his new port contribution, add <Someone> to the dungeoneer list,
and the history info.

Also fix a typo in the win32 stuff (cosmetic only).

M. Allison
2002-01-14 01:44:17 +00:00
nethack.allison
cb6f682e9c more nt 2002-01-13 21:58:30 +00:00
nethack.allison
37cb3b1d3d More NT build changes 2002-01-13 21:22:51 +00:00
nethack.allison
fe2be52b30 Ensure post-build steps are the same for Release and Debug win32 builds. 2002-01-13 12:13:05 +00:00
nethack.allison
963e5e69bf add mhstatus.h for win32 2002-01-13 05:30:08 +00:00
nethack.allison
b79441dc5d Add WinHack source files to distribution 2002-01-13 05:27:55 +00:00
warwick
b31f25cc25 isHidden() is not in Qt 2.1. It's only *really*
needed in Qt 3 (it make multi-head displays work better). This patch make
that explicit.
2002-01-13 01:08:41 +00:00
warwick
15e5fc1a95 Fix YN function in Qt windowport compact mode (wasn't parsing properly).
Often, the yn_function "choices" parameter is not set, so for a non-keyboard
GUI (compact mode is for handheld computers with a stylus), the windowport
has to parse the prompt to find out the posible input choices. I got the
parsing wrong.
2002-01-13 00:33:02 +00:00
cohrs
d3765d91e8 re-adding nethack.png correct flags 2002-01-12 17:19:37 +00:00
cohrs
958bb149ec remove nethack.png so it can be re-added with correct flags 2002-01-12 17:18:50 +00:00
cohrs
cebf048c50 Qt 2.1 support again
Fix the Qt code so it compiles wth Qt 2.1 again (Install.Qt still claims
the code works on Qt 2.0 and above).  One or more of the changes made this
week broke compilation on my RedHat Linux 6.2 system.  Qt 2.1 is still the
most recent Qt shipped by RedHat for this version.
2002-01-12 07:56:49 +00:00
warwick
a7cbd7c9c2 Some more stuff missed for the splash screen in Qt windowport. Sorry! 2002-01-11 08:31:08 +00:00
warwick
a3f40cb340 Disables HTML Guidebook until it is available. 2002-01-11 07:13:51 +00:00
warwick
df13e93d67 Adds to Qt windowport:
- "Saved game" dialog (could be useful in other ports - plain C code used)
   - "splash screen"
   - compact mode cleanup for 240x320 displays
   - messages-on-map overlay display
   - allows online reading of Guidebook in HTML format (coming soon)
2002-01-11 07:03:12 +00:00
warwick
1bb96586d6 Fix Qt "compact mode" (as used on handhelds or other tiny screens) to work
on normal Qt (not just Qt/Embedded).
2002-01-11 03:02:44 +00:00
nethack.allison
767335698b <Someone>'s touchstone code and a bee swarm bit. 2002-01-09 03:31:30 +00:00
nethack.allison
40e0f19b53 Ken's leather cloak. 2002-01-09 00:33:38 +00:00
cohrs
c77073be31 sync changes since last snapshot 2002-01-07 02:12:04 +00:00
jwalz
244d692830 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz
151a25df14 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz
a91cc7270f *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz
25e8787986 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz
51c77c339e *** empty log message *** 2002-01-05 21:06:03 +00:00