Commit Graph

28 Commits

Author SHA1 Message Date
nethack.allison
4349f52899 SAFERHANGUP win ce (from <Someone>) 2003-09-30 03:41:02 +00:00
cohrs
559be58c21 conflicting delayed killers
Introduce a new set of functions to manage delayed killers in the trunk, used
in addressing the various reports of delayed killer confusion.  Since existing
delayed killers are related to player properties, the delayed killers are
keyed by uprop indexes.  I did this to avoid adding yet another set of
similar identifiers.
- the new delayed_killer() is used for stoning, sliming, sickness, and
delayed self-genocide while polymorphed.  Some other timed events don't
use it (and didn't use the old delayed_killer variable) because they
use a fixed message when the timeout occurs.
- A new data structure, struct kinfo, is used to track both delayed and
immediate killers.  This encapsulates all the info involved with
identifying a killer.  The structure contains a buffer, which subsumes the
old killer_buf and several other buffers that didn't/couldn't use killer_buf.
- the killer list is saved and restored as part of the game state.
- the special case of usick_cause was removed and a delayed killer list
entry is now used in its place
- common code dealing with (un)sliming is moved to a new make_slimed function
- attempted to update all make dependencies for new end.c -> lev.h
dependency, sorry if I messed any up
2003-09-29 19:24:20 +00:00
nethack.allison
416412f92b Remove vestiges of old overlay source split
[trunk only]
2003-09-05 02:45:18 +00:00
nethack.allison
e382e3b055 U613 specifying alignment in win32 and CE (from Yitzhak)
> The bug involved using the initalign (and related) indexes into
> the array of alignments as indexes into the respective combo box,
> and these are (apparently) not equivalent. To fix, the combo box
> is queried one by one for the item with the index that produces
> that proper alignment value, and then uses that index found. I
> did not find an API that does this in one step, but this only
> happens once, at dialog initialization.
2003-09-03 03:57:32 +00:00
nethack.allison
ad32b89874 wince patch (from <Someone>)
This patch is both for 3.5.0 and 3.4.2
cesetup.bat did not copy keypad.uu to the build folder. Fixed.
2003-08-22 13:21:18 +00:00
nethack.allison
67bdc8bca2 win ce project file removal 2003-08-16 00:51:24 +00:00
nethack.allison
79bcc192eb win ce keypad (from <Someone>)
> I had some reports similar to "#U574: 3.4.1 On PocketPC, screwed
> up message area font" but regarding the keypad window. Since
> there is no separate option for keypad font, this patch makes it
> use message font option if it is set.
2003-08-14 11:23:33 +00:00
nethack.allison
391921406a more CE (from <Someone>)
Replace vcp files that would have generated
huge emails if added in the normal way.
2003-08-01 12:15:27 +00:00
nethack.allison
b85ff22c1f ce changes (from <Someone>)
The following files are gone (sys\wince):
- stat.h (moved to ceinc\sys\stat.h)
- fcntl.h (moved to ceinc\fcntl.h)
- errno.h (moved to ceinc\errno.h)
- assert.h (moved to ceinc\assert.h)

The following files were added:
- mhtxtbuf.c
- mhtxtbuf.h
- menubar.uu
- ceinc
- ceinc\sys
- ceinc\fcntl.h
- ceinc\errno.h
- ceinc\assert.h
- ceinc\sys\stat.h

CE notes:

Fixes:
- added new options "wraptext", "fullscreen" and "softkeyboard"
- CE341-1 fix ("wraptext" option)
- hide map scrollbars on Smartphone
- added View->Options menu
- PocketPC: added "Fit to screen" and "Show/Hide keypad" icons
  on the menu bar
- Smartphone: '<', '>' keys were mapped incorrectly
- build: use source files directly from <buildroot>\sys\wince instead of
  copying them to <buildroot>\wince\
2003-08-01 12:06:43 +00:00
nethack.allison
99bcdf6a4e expand wincap options to second field
<Someone> wishes to add a couple of new options to the wince port ("run fullscreen" and "do not use CE software keyboard").

The wincap field was full, so this adds a second field for
additional options.
2003-07-17 01:35:31 +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
nethack.allison
fc1ae80c9b Windows CE bits (from <Someone>) 2003-02-21 01:51:54 +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
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
3376daf6f9 more CE (from <Someone>) 2003-02-14 03:42:52 +00:00
nethack.allison
bb983c9103 no message 2003-02-13 12:35:27 +00:00
nethack.allison
6cf5c60dcc CE patch (from <Someone>) 2003-02-13 05:10:21 +00:00
nethack.allison
3f3ce17256 wince (from <Someone>)
Added support for
Palm-size PC (Windows CE 2.11) and Smartphone 2002.
It works fine under emulation, but it still needs to be tested
on real device. There are also some minor tweaks here and there.

Removed files:
    sys/wince/recover.vcp
    sys/wince/wince.vcp

New files:
    sys/wince/winhcksp.rc
    sys/wince/defaults.nh
    sys/wince/hpc.vcp
    sys/wince/palmpc.vcp
    sys/wince/pocketpc.vcp
    sys/wince/smartphn.vcp

<Someone>
2002-12-18 03:51:34 +00:00
nethack.allison
b9a3376fc5 stray files (from <Someone>)
winhack.h is not being used anywhere now and can safely be deleted.
There 2 instances of this file:

sys\wince\winhack.h
win\win32\winhack.h

The patch is also attached that adjusts for this.
2002-09-19 00:16:10 +00:00
nethack.allison
e34c47579b wince (from <Someone>)
This is a follow-up patch on view/hide keypad menu option. It fixes
some stuff specific to PocketPC menus.
2002-08-01 00:47:33 +00:00
nethack.allison
9596b68dff wince date macro fix in Install.ce 2002-07-24 06:26:28 +00:00
nethack.allison
93efef792d wince date macro fix in Install.ce 2002-07-24 06:24:02 +00:00
nethack.allison
931f5a4521 minor typo in Install.ce 2002-07-24 06:21:35 +00:00
nethack.allison
822a633563 (from <Someone>)
- added menu option to show/hide keypad window
2002-07-24 00:21:52 +00:00
nethack.allison
0cc5b698d5 Windows CE port addition 2002-07-22 03:20:52 +00:00