Mercurial > emacs
annotate src/chpdef.h @ 25259:9f7a9dceb11b
Mostly rewritten. Customized. To support an s2G
doomsday clock, speed control is added and changes are made to
allow large numbers of rings: rings now show the whole ring
number, not just the last digit; consecutive rings are allowed to
be the same size when necessary to fit all the rings in the
window; and poles can be oriented horizontally. Face support is
thrown in gratuitously.
(hanoi): Changed default number of rings back to 3.
(hanoi-unix, hanoi-unix-64): New commands
(hanoi-horizontal-flag, hanoi-move-period, hanoi-use-faces,
hanoi-pole-face, hanoi-base-face, hanoi-even-ring-face,
hanoi-odd-ring-face): New variables.
(hanoi-internal, hanoi-current-time-float, hanoi-put-face,
hanoi-n, hanoi-insert-ring, hanoi-goto-char, hanoi-sit-for,
hanoi-ring-to-pos, hanoi-pos-on-tower-p): New functions.
(hanoi-0): Renamed from hanoi0, for symmetry with hanoi-n.
(hanoi-topos, hanoi-draw-ring): Removed.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 14 Aug 1999 03:24:48 +0000 |
parents | 3165b2697c78 |
children | 695cf19ef79e |
rev | line source |
---|---|
484 | 1 #define CHP$_END 0 |
2 #define CHP$_ACCESS 1 | |
3 #define CHP$_FLAGS 2 | |
4 #define CHP$_PRIV 3 | |
5 #define CHP$_ACMODE 4 | |
6 #define CHP$_ACCLASS 5 | |
7 #define CHP$_RIGHTS 6 | |
8 #define CHP$_ADDRIGHTS 7 | |
9 #define CHP$_MODE 8 | |
10 #define CHP$_MODES 9 | |
11 #define CHP$_MINCLASS 10 | |
12 #define CHP$_MAXCLASS 11 | |
13 #define CHP$_OWNER 12 | |
14 #define CHP$_PROT 13 | |
15 #define CHP$_ACL 14 | |
16 #define CHP$_AUDITNAME 15 | |
17 #define CHP$_ALARMNAME 16 | |
18 #define CHP$_MATCHEDACE 17 | |
19 #define CHP$_PRIVUSED 18 | |
20 #define CHP$_MAX_CODE 19 | |
21 #define CHP$M_SYSPRV 1 | |
22 #define CHP$M_BYPASS 2 | |
23 #define CHP$M_UPGRADE 4 | |
24 #define CHP$M_DOWNGRADE 8 | |
25 #define CHP$M_GRPPRV 16 | |
26 #define CHP$M_READALL 32 | |
27 #define CHP$V_SYSPRV 0 | |
28 #define CHP$V_BYPASS 1 | |
29 #define CHP$V_UPGRADE 2 | |
30 #define CHP$V_DOWNGRADE 3 | |
31 #define CHP$V_GRPPRV 4 | |
32 #define CHP$V_READALL 5 | |
33 #define CHP$M_READ 1 | |
34 #define CHP$M_WRITE 2 | |
35 #define CHP$M_USEREADALL 4 | |
36 #define CHP$V_READ 0 | |
37 #define CHP$V_WRITE 1 | |
38 #define CHP$V_USEREADALL 2 |