Commit Graph
30 Commits
Author SHA1 Message Date
warwick c4a0faa9f1 test_move() fixes, for travel.
Turns lots of duplicated "flags.move = 0; nomul(0);" code into
a single instance, fixing the ones that weren't complete.

Doesn't feel_locations when only testing.
2002-02-04 10:41:22 +00:00
warwick 6549930ee2 Qt: Fix default dialog button
In Qt 3, default button is always set to something... it was set to "Cancel"
in this case - not a good thing when you are granted a wish :-(
2002-02-04 10:23:30 +00:00
warwick 769396c648 remove debug message 2002-01-30 03:55:41 +00:00
warwick 654a297052 MacOSX/Qt system tweaks
These changes clean up build warnings and allow the resulting "NetHack"
Application icons to be dragged around freely in the Finder, as is expected
for Mac apps.
2002-01-24 05:49:04 +00:00
warwick dc493d6af2 Enough MacOS X documentation to answer FAQs. 2002-01-23 07:57:11 +00:00
warwick 43df47917e Qt/MacOSX: change working directory
chdir to resource fork when running from finder (find leaves us in "/", we
want to be in nethack playground).
2002-01-23 06:24:30 +00:00
warwick fe5a464dc3 Always use maximized window in Qt windowport. 2002-01-23 03:03:37 +00:00
warwick a89b941f5b MacOSX: no lrand48()
No lrand48() on MacOSX, since MacOSX is really BSD.
2002-01-23 02:26:02 +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
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
warwick 751cbf93ae Tile un-placehold 2002-01-21 10:41:42 +00:00
warwick f4b9ff3f16 Fix "Files" file for files from Qt windowport. 2002-01-21 05:50:23 +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
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
warwick 0e46369056 Ignore generated files. 2002-01-18 02:50:06 +00:00
warwick 53117c71cb Lenses don't help when you're blind.
This is a tweak to <Someone>'s lens patch.
2002-01-18 01:38:35 +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
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
warwick a7cbd7c9c2 Some more stuff missed for the splash screen in Qt windowport. Sorry! 2002-01-11 08:31:08 +00:00
warwick 31b0ddda0b Some stuff missed for the splash screen in Qt windowport. 2002-01-11 08:23:37 +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