warwick
5d72e0be52
Make "black" characters visible.
...
Stop RIP window maximizing (C syntax!).
Make Cancel button more sensible.
2004-07-01 18:21:51 +00:00
warwick
2d9aba259d
POSIX compliance for get_saved_games().
2003-11-07 04:47:26 +00:00
warwick
9402d6dc54
Don't use regex by default - that way player can share/transport
...
their nethack.cnf between platforms bettery. Wildcards suffice anyway.
2003-09-16 03:45:58 +00:00
warwick
b6ff9d7d73
Use __BIG_ENDIAN__ rather than __ppc__ (more portable, more meaningful).
2003-09-16 00:20:18 +00:00
warwick
9d83d474f4
Solve a number of MacOSX problems.
2003-09-11 04:25:52 +00:00
warwick
0460cc9824
MacOSX can handle >14 character names.
...
I think the #if is inverted really - what DOES have that limit?
2003-09-11 04:23:52 +00:00
warwick
a80481a5e7
Avoid unixisms. On MacOSX, we cannot assume that the user will use
...
a command-line option to set their name. Normally they will type
a name if asked - but they won't be asked if we pull their username
as a name.
2003-09-11 04:22:55 +00:00
warwick
656fe3689d
Rule for tile2cmp.o needed.
2003-09-11 04:21:12 +00:00
warwick
fcc6b44ab8
*** empty log message ***
2003-09-11 04:19:43 +00:00
warwick
1fc1945222
A .txt file is easier for the end user.
2003-09-11 04:19:02 +00:00
warwick
4c2486026e
Work on BigEndian systems too. Only __ppc__ detected for now (Mac OS X).
2003-09-11 04:00:21 +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
warwick
cb71f71b53
The POSIX function yn() is sometimes a macro (eg. GCC 3.2, Linux),
...
so undefine it (we don't need either here).
2003-04-22 06:57:27 +00:00
warwick
4bebf0624b
Avoid using NAME_MAX. What we really wanted was PL_NSIZ.
2003-04-22 06:54:45 +00:00
warwick
02fba50b34
Allow both UNIX and MacOSX conventions for configfile.
2003-04-03 04:21:57 +00:00
warwick
ccb0973a23
Another key fix for MacOSX.
2003-04-02 07:04:16 +00:00
warwick
d5f40ec222
Show true key sequences (essential on MacOSX).
2003-03-28 01:41:38 +00:00
warwick
8bc452fe31
Fix random character selection, as From a bug report.
2003-03-10 06:48:53 +00:00
warwick
04554e7729
Work on more UNIX systems.
2003-02-26 07:25:54 +00:00
warwick
eaeb8b8525
Describe new Qt Mac OS X files.
2002-11-28 00:42:51 +00:00
warwick
6215f16d7a
Build rules for files needed by MacOSX
...
(actual files checked into win/Qt/ accidentally already)
2002-11-27 07:27:28 +00:00
warwick
876fb8aca1
<email deleted>
...
If race is set to random and role is set to something
specific, the Qt interface sometimes hangs trying to
determine an appropriate race/role.
This patch that fixes the problem, and makes 'random'
work more appropriately.
2002-11-27 04:37:12 +00:00
warwick
d82393d891
Apelike creatures now have a sensible category.
2002-10-31 08:39:17 +00:00
warwick
b07484b572
Remove test code (font was wrong).
2002-10-14 05:39:39 +00:00
warwick
727bf172ad
Spellcheck from <Someone>, with support from Google.com.
2002-09-09 05:58:05 +00:00
warwick
804844b37f
The low probabilities look unintentional (multiple rn2 checks). This
...
changes the ouch:fruit:bees probabilities from 93:7:0.4 to 75:23.5:1.5.
The 75% "ouch" case sometimes also gives you a buzz.
Explain why sometime fruit that "fell from the tree" end up stuck back
in the tree, requiring more kicking (even though this is less likely
now that scatter() is improved).
2002-09-09 05:47:20 +00:00
warwick
00671608d6
Fix scattering - the splitting code doesn't look right - it will
...
leave avg 1/2 the object's quantity on the scatter point.
Return count of how many objects actually left the scatter point.
2002-09-09 05:44:32 +00:00
warwick
21dd13c294
Unhide the "click-to-the-left-to-set-count" feature, since it's a FAQ.
2002-08-22 05:10:29 +00:00
warwick
ab63d7830e
IPKG control file - specifies the packaging of files
...
for a ".ipk" binary package for handheld Linux (eg. Qtopia).
2002-08-20 07:35:05 +00:00
warwick
bd0d0f4f3d
Information about compiling for Qtopia.
2002-08-20 07:31:48 +00:00
warwick
f75de289f8
Default to compact mode on embedded builds.
...
(one less FAQ to answer)
2002-08-20 07:26:22 +00:00
warwick
22e65c3e9e
Support for 2 tile sizes ("zooming"). Still needs rc file support.
...
Make non-rest-on-space space and Enter do the sam as clicking on
current location. On handhelds, this is the button on thumbpad.
2002-08-14 06:12:37 +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
warwick
8285ca28c6
Allow arrowkeys to move player, including diagonals by pressing multiple
...
keys before releasing. Works well on handheld's thumbpad, perhaps less
useful on a fullsize keyboard.
Also some Qtopia-only fixes for Qt windowport.
2002-08-14 05:01:56 +00:00
warwick
fb4f19662b
Honour more WINCAP flags.
2002-07-29 05:19:49 +00:00
warwick
0b7c39a331
alloc, not malloc
2002-07-29 05:16:54 +00:00
warwick
036d873dbb
Just a comment.
2002-07-24 08:10:36 +00:00
warwick
b5847aea11
Honour wc_tile_width, wc_tile_height, and wc_tile_file.
2002-07-24 06:28:18 +00:00
warwick
bdc6c965af
Rollback NAME_MAX workarounds as suggested.
2002-07-23 06:07:21 +00:00
warwick
7b5618e03c
Enclose savefile format change by STORE_PLNAME_IN_FILE macro.
2002-07-22 09:13:04 +00:00
warwick
7174e31024
Some non-enabled perminv code in Qt windowport. (missed in previous patch)
2002-07-22 09:10:13 +00:00
warwick
16b7d4a099
Store plname in save files (and restore it).
...
Move get_saved_games() functionality to files.c
Use moved get_saved_games() functionality in Qt windowport.
[also some non-enabled perminv code in Qt windowport]
2002-07-22 06:25:52 +00:00
warwick
ac764db56c
Update inventory with hellucination on/off, since it may display
...
hallucinated icons.
2002-07-12 02:10:51 +00:00
warwick
7dd72e4ac2
Turn "_" into " ", since "Brave_Sir_Robin" looks yucky.
...
Proper fix is to store name in file.
2002-07-04 06:26:15 +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
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
warwick
a495cf38ad
Fix focus order for playerselection.
2002-07-01 05:06:56 +00:00
warwick
6fc29fb400
Avoid some key handling problems on Mac.
...
(will also be fixed another way in Qt/Mac, but I like to
be thorough :-)
2002-07-01 05:05:04 +00:00
warwick
7ca75f5806
Screens are getting bigger... make 64x64 the maximum scaled tile size.
2002-04-03 08:09:47 +00:00
warwick
c2dc2447f6
By "Rush commands", I meant `G' (though I've only ever pressed Alt).
2002-03-19 03:42:59 +00:00
warwick
be7145d1a5
Workaround bug in SHARP SL5500 ROM.
...
(not essential for 3.4.0, since the SL5500 port still needs more work anyway)
2002-03-13 06:04:53 +00:00
warwick
afae7f931c
Sometimes there is no main widget.
2002-03-11 08:18:47 +00:00
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