Home » Archimedes archive » Acorn User » AU 1996-12 B.adf » Features » PCA/!Processor/h/PCA
PCA/!Processor/h/PCA
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
| Tape/disk: | Home » Archimedes archive » Acorn User » AU 1996-12 B.adf » Features |
| Filename: | PCA/!Processor/h/PCA |
| Read OK: | ✔ |
| File size: | 0F55 bytes |
| Load address: | 0000 |
| Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Acorn User » AU 1996-12 B.adf » Features » PCA/!Processed/h/PCA
- Archimedes archive » Acorn User » AU 1996-12 B.adf » Features » PCA/!Processor/h/PCA
File contents
typedef enum {
Message_WhosAbout = 0x83484,
Message_ImHere,
Message_DoYourStuff,
Message_Deselect,
Message_DoneMyStuff,
Message_Moving,
Message_Changed,
Message_ResizeRequest,
Message_UpdateArea,
Message_ResizeAck,
Message_MiscOp,
Message_Info,
Message_ObjectPosition,
Message_HookMe,
Message_UnhookMe
} PCAMessage;
typedef enum {
Flag_spritename=0x1,
Flag_info=0x2,
Flag_move=0x4,
Flag_own=0x8,
Flag_remote=0x16
} toolflags;
typedef enum {
PCA_CreateTag = 0x4d6c0,
PCA_DeleteTag,
PCA_DeleteAndKill
} __myswis;
typedef struct {
int *base;
int *address;
int length;
int flags;
} tag;
typedef struct {
int xlow;
int ylow;
int xhi;
int yhi;
} rectangle;
typedef struct {
toolflags flags;
int id;
char menu[32];
char sprite[12];
} imhere_block;
typedef struct {
int filetype;
tag* tagptr;
int reserved;
} whosabout_block;
typedef struct {
int filetype;
tag *tagptr;
int reserved;
int toolid;
toolflags flags;
char name[100];
} doyourstuff_block;
typedef struct {
int filetype;
tag *tagptr;
} deselect_block;
typedef struct {
int reserved;
tag *tagptr;
} donemystuff_block;
typedef struct {
int filetype;
tag *tagptr;
int reserved;
char newname[100];
} changed_block;
typedef struct {
int zero;
tag *tagptr;
int reserved;
int newsize;
int flags;
} resize_block;
typedef struct {
int format;
tag *tagptr;
rectangle r;
} updatearea_block;
typedef struct {
int action;
tag *tagptr;
int words[20];
} miscop_block;
typedef struct {
int zero;
tag* tagptr;
int yscale;
int xlow;
int ylow;
int handle;
int toolbarhandle;
int xscale;
int xlowu;
int ylowu;
} objectpos_block;
typedef struct {
int reserved;
tag* tagptr;
int flags;
int handle;
char indirection[32];
} hookme_block;
typedef struct {
int zero;
tag* tagptr;
int reserved;
int handle;
int type;
} unhookme_block;
typedef union {
whosabout_block whosabout;
imhere_block imhere;
doyourstuff_block doyourstuff;
deselect_block deselect;
donemystuff_block donemystuff;
changed_block changed;
resize_block resize;
updatearea_block updatearea;
miscop_block miscop;
char info[100];
objectpos_block objectpos;
hookme_block hookme;
unhookme_block unhookme;
} message_editblk;
00000000 0a 74 79 70 65 64 65 66 20 65 6e 75 6d 20 7b 0a |.typedef enum {.|
00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 | Me|
00000020 73 73 61 67 65 5f 57 68 6f 73 41 62 6f 75 74 20 |ssage_WhosAbout |
00000030 3d 20 30 78 38 33 34 38 34 2c 0a 20 20 20 20 20 |= 0x83484,. |
00000040 20 20 20 20 20 20 20 20 20 4d 65 73 73 61 67 65 | Message|
00000050 5f 49 6d 48 65 72 65 2c 0a 20 20 20 20 20 20 20 |_ImHere,. |
00000060 20 20 20 20 20 20 20 4d 65 73 73 61 67 65 5f 44 | Message_D|
00000070 6f 59 6f 75 72 53 74 75 66 66 2c 0a 20 20 20 20 |oYourStuff,. |
00000080 20 20 20 20 20 20 20 20 20 20 4d 65 73 73 61 67 | Messag|
00000090 65 5f 44 65 73 65 6c 65 63 74 2c 0a 20 20 20 20 |e_Deselect,. |
000000a0 20 20 20 20 20 20 20 20 20 20 4d 65 73 73 61 67 | Messag|
000000b0 65 5f 44 6f 6e 65 4d 79 53 74 75 66 66 2c 0a 20 |e_DoneMyStuff,. |
000000c0 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 73 | Mes|
000000d0 73 61 67 65 5f 4d 6f 76 69 6e 67 2c 0a 20 20 20 |sage_Moving,. |
000000e0 20 20 20 20 20 20 20 20 20 20 20 4d 65 73 73 61 | Messa|
000000f0 67 65 5f 43 68 61 6e 67 65 64 2c 0a 20 20 20 20 |ge_Changed,. |
00000100 20 20 20 20 20 20 20 20 20 20 4d 65 73 73 61 67 | Messag|
00000110 65 5f 52 65 73 69 7a 65 52 65 71 75 65 73 74 2c |e_ResizeRequest,|
00000120 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d |. M|
00000130 65 73 73 61 67 65 5f 55 70 64 61 74 65 41 72 65 |essage_UpdateAre|
00000140 61 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 |a,. |
00000150 20 4d 65 73 73 61 67 65 5f 52 65 73 69 7a 65 41 | Message_ResizeA|
00000160 63 6b 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 |ck,. |
00000170 20 20 4d 65 73 73 61 67 65 5f 4d 69 73 63 4f 70 | Message_MiscOp|
00000180 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |,. |
00000190 4d 65 73 73 61 67 65 5f 49 6e 66 6f 2c 0a 20 20 |Message_Info,. |
000001a0 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 73 73 | Mess|
000001b0 61 67 65 5f 4f 62 6a 65 63 74 50 6f 73 69 74 69 |age_ObjectPositi|
000001c0 6f 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 |on,. |
000001d0 20 20 4d 65 73 73 61 67 65 5f 48 6f 6f 6b 4d 65 | Message_HookMe|
000001e0 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |,. |
000001f0 4d 65 73 73 61 67 65 5f 55 6e 68 6f 6f 6b 4d 65 |Message_UnhookMe|
00000200 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 |. } |
00000210 50 43 41 4d 65 73 73 61 67 65 3b 0a 0a 74 79 70 |PCAMessage;..typ|
00000220 65 64 65 66 20 65 6e 75 6d 20 7b 0a 20 20 20 20 |edef enum {. |
00000230 20 20 20 20 20 20 20 20 20 20 46 6c 61 67 5f 73 | Flag_s|
00000240 70 72 69 74 65 6e 61 6d 65 3d 30 78 31 2c 0a 20 |pritename=0x1,. |
00000250 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6c 61 | Fla|
00000260 67 5f 69 6e 66 6f 3d 30 78 32 2c 0a 20 20 20 20 |g_info=0x2,. |
00000270 20 20 20 20 20 20 20 20 20 20 46 6c 61 67 5f 6d | Flag_m|
00000280 6f 76 65 3d 30 78 34 2c 0a 20 20 20 20 20 20 20 |ove=0x4,. |
00000290 20 20 20 20 20 20 20 46 6c 61 67 5f 6f 77 6e 3d | Flag_own=|
000002a0 30 78 38 2c 0a 20 20 20 20 20 20 20 20 20 20 20 |0x8,. |
000002b0 20 20 20 46 6c 61 67 5f 72 65 6d 6f 74 65 3d 30 | Flag_remote=0|
000002c0 78 31 36 0a 20 20 20 20 20 20 20 20 20 20 20 20 |x16. |
000002d0 20 7d 20 74 6f 6f 6c 66 6c 61 67 73 3b 0a 0a 74 | } toolflags;..t|
000002e0 79 70 65 64 65 66 20 65 6e 75 6d 20 7b 0a 20 20 |ypedef enum {. |
000002f0 20 20 20 20 20 20 20 20 20 20 20 20 50 43 41 5f | PCA_|
00000300 43 72 65 61 74 65 54 61 67 20 3d 20 30 78 34 64 |CreateTag = 0x4d|
00000310 36 63 30 2c 0a 20 20 20 20 20 20 20 20 20 20 20 |6c0,. |
00000320 20 20 20 50 43 41 5f 44 65 6c 65 74 65 54 61 67 | PCA_DeleteTag|
00000330 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |,. |
00000340 50 43 41 5f 44 65 6c 65 74 65 41 6e 64 4b 69 6c |PCA_DeleteAndKil|
00000350 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 7d |l. }|
00000360 20 5f 5f 6d 79 73 77 69 73 3b 0a 0a 0a 0a 74 79 | __myswis;....ty|
00000370 70 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 |pedef struct {. |
00000380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000390 20 69 6e 74 20 2a 62 61 73 65 3b 0a 20 20 20 20 | int *base;. |
000003a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e | in|
000003b0 74 20 2a 61 64 64 72 65 73 73 3b 0a 20 20 20 20 |t *address;. |
000003c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e | in|
000003d0 74 20 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 |t length;. |
000003e0 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 | int |
000003f0 66 6c 61 67 73 3b 0a 20 20 20 20 20 20 20 20 20 |flags;. |
00000400 20 20 20 20 20 20 7d 20 74 61 67 3b 0a 0a 74 79 | } tag;..ty|
00000410 70 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 |pedef struct {. |
00000420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000430 20 20 20 69 6e 74 20 78 6c 6f 77 3b 0a 20 20 20 | int xlow;. |
00000440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000450 20 69 6e 74 20 79 6c 6f 77 3b 0a 20 20 20 20 20 | int ylow;. |
00000460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | i|
00000470 6e 74 20 78 68 69 3b 0a 20 20 20 20 20 20 20 20 |nt xhi;. |
00000480 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 | int |
00000490 79 68 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 |yhi;. |
000004a0 20 20 20 20 20 7d 20 72 65 63 74 61 6e 67 6c 65 | } rectangle|
000004b0 3b 0a 0a 74 79 70 65 64 65 66 20 73 74 72 75 63 |;..typedef struc|
000004c0 74 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 |t {. |
000004d0 20 74 6f 6f 6c 66 6c 61 67 73 20 66 6c 61 67 73 | toolflags flags|
000004e0 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 |;. i|
000004f0 6e 74 20 20 20 20 20 20 20 69 64 3b 0a 20 20 20 |nt id;. |
00000500 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 20 | char |
00000510 20 20 20 20 6d 65 6e 75 5b 33 32 5d 3b 0a 20 20 | menu[32];. |
00000520 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 | char |
00000530 20 20 20 20 20 73 70 72 69 74 65 5b 31 32 5d 3b | sprite[12];|
00000540 0a 20 20 20 20 20 20 20 20 20 7d 20 69 6d 68 65 |. } imhe|
00000550 72 65 5f 62 6c 6f 63 6b 3b 0a 0a 74 79 70 65 64 |re_block;..typed|
00000560 65 66 20 73 74 72 75 63 74 20 7b 0a 20 20 20 20 |ef struct {. |
00000570 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 | int |
00000580 20 66 69 6c 65 74 79 70 65 3b 0a 20 20 20 20 20 | filetype;. |
00000590 20 20 20 20 20 20 20 20 74 61 67 2a 20 20 20 20 | tag* |
000005a0 74 61 67 70 74 72 3b 0a 20 20 20 20 20 20 20 20 |tagptr;. |
000005b0 20 20 20 20 20 69 6e 74 20 20 20 20 20 72 65 73 | int res|
000005c0 65 72 76 65 64 3b 0a 20 20 20 20 20 20 20 7d 20 |erved;. } |
000005d0 77 68 6f 73 61 62 6f 75 74 5f 62 6c 6f 63 6b 3b |whosabout_block;|
000005e0 0a 0a 74 79 70 65 64 65 66 20 73 74 72 75 63 74 |..typedef struct|
000005f0 20 7b 0a 20 20 20 20 20 20 20 20 20 69 6e 74 20 | {. int |
00000600 20 20 20 20 20 20 20 20 66 69 6c 65 74 79 70 65 | filetype|
00000610 3b 0a 20 20 20 20 20 20 20 20 20 74 61 67 20 20 |;. tag |
00000620 20 20 20 20 20 20 20 2a 74 61 67 70 74 72 3b 0a | *tagptr;.|
00000630 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 | int |
00000640 20 20 20 20 20 72 65 73 65 72 76 65 64 3b 0a 20 | reserved;. |
00000650 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 | int |
00000660 20 20 20 20 74 6f 6f 6c 69 64 3b 0a 20 20 20 20 | toolid;. |
00000670 20 20 20 20 20 74 6f 6f 6c 66 6c 61 67 73 20 20 | toolflags |
00000680 20 66 6c 61 67 73 3b 0a 20 20 20 20 20 20 20 20 | flags;. |
00000690 20 63 68 61 72 20 20 20 20 20 20 20 20 6e 61 6d | char nam|
000006a0 65 5b 31 30 30 5d 3b 0a 20 20 20 20 20 20 20 7d |e[100];. }|
000006b0 20 64 6f 79 6f 75 72 73 74 75 66 66 5f 62 6c 6f | doyourstuff_blo|
000006c0 63 6b 3b 0a 0a 74 79 70 65 64 65 66 20 73 74 72 |ck;..typedef str|
000006d0 75 63 74 20 7b 0a 20 20 20 20 20 20 20 20 20 69 |uct {. i|
000006e0 6e 74 20 20 20 20 20 20 20 20 20 66 69 6c 65 74 |nt filet|
000006f0 79 70 65 3b 0a 20 20 20 20 20 20 20 20 20 74 61 |ype;. ta|
00000700 67 20 20 20 20 20 20 20 20 20 2a 74 61 67 70 74 |g *tagpt|
00000710 72 3b 0a 20 20 20 20 20 20 20 7d 20 64 65 73 65 |r;. } dese|
00000720 6c 65 63 74 5f 62 6c 6f 63 6b 3b 0a 0a 74 79 70 |lect_block;..typ|
00000730 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 20 |edef struct {. |
00000740 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 | int |
00000750 20 20 20 72 65 73 65 72 76 65 64 3b 0a 20 20 20 | reserved;. |
00000760 20 20 20 20 20 20 74 61 67 20 20 20 20 20 20 20 | tag |
00000770 20 20 2a 74 61 67 70 74 72 3b 0a 20 20 20 20 20 | *tagptr;. |
00000780 20 20 7d 20 64 6f 6e 65 6d 79 73 74 75 66 66 5f | } donemystuff_|
00000790 62 6c 6f 63 6b 3b 0a 0a 0a 74 79 70 65 64 65 66 |block;...typedef|
000007a0 20 73 74 72 75 63 74 20 7b 0a 20 20 20 20 20 20 | struct {. |
000007b0 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 66 | int f|
000007c0 69 6c 65 74 79 70 65 3b 0a 20 20 20 20 20 20 20 |iletype;. |
000007d0 20 20 74 61 67 20 20 20 20 20 20 20 20 20 2a 74 | tag *t|
000007e0 61 67 70 74 72 3b 0a 20 20 20 20 20 20 20 20 20 |agptr;. |
000007f0 69 6e 74 20 20 20 20 20 20 20 20 20 72 65 73 65 |int rese|
00000800 72 76 65 64 3b 0a 20 20 20 20 20 20 20 20 20 63 |rved;. c|
00000810 68 61 72 20 20 20 20 20 20 20 20 6e 65 77 6e 61 |har newna|
00000820 6d 65 5b 31 30 30 5d 3b 0a 20 20 20 20 20 20 20 |me[100];. |
00000830 7d 20 63 68 61 6e 67 65 64 5f 62 6c 6f 63 6b 3b |} changed_block;|
00000840 0a 0a 74 79 70 65 64 65 66 20 73 74 72 75 63 74 |..typedef struct|
00000850 20 7b 0a 20 20 20 20 20 20 20 20 20 69 6e 74 20 | {. int |
00000860 20 20 20 20 20 20 20 20 7a 65 72 6f 3b 0a 20 20 | zero;. |
00000870 20 20 20 20 20 20 20 74 61 67 20 20 20 20 20 20 | tag |
00000880 20 20 20 2a 74 61 67 70 74 72 3b 0a 20 20 20 20 | *tagptr;. |
00000890 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 | int |
000008a0 20 72 65 73 65 72 76 65 64 3b 0a 20 20 20 20 20 | reserved;. |
000008b0 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 | int |
000008c0 6e 65 77 73 69 7a 65 3b 0a 20 20 20 20 20 20 20 |newsize;. |
000008d0 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 66 6c | int fl|
000008e0 61 67 73 3b 0a 20 20 20 20 20 20 20 7d 20 72 65 |ags;. } re|
000008f0 73 69 7a 65 5f 62 6c 6f 63 6b 3b 0a 0a 0a 74 79 |size_block;...ty|
00000900 70 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 |pedef struct {. |
00000910 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 | int |
00000920 20 20 20 66 6f 72 6d 61 74 3b 0a 20 20 20 20 20 | format;. |
00000930 20 20 20 20 74 61 67 20 20 20 20 20 20 20 20 2a | tag *|
00000940 74 61 67 70 74 72 3b 0a 20 20 20 20 20 20 20 20 |tagptr;. |
00000950 20 72 65 63 74 61 6e 67 6c 65 20 20 72 3b 0a 20 | rectangle r;. |
00000960 20 20 20 20 20 20 7d 20 75 70 64 61 74 65 61 72 | } updatear|
00000970 65 61 5f 62 6c 6f 63 6b 3b 0a 0a 74 79 70 65 64 |ea_block;..typed|
00000980 65 66 20 73 74 72 75 63 74 20 7b 0a 20 20 20 20 |ef struct {. |
00000990 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 | int |
000009a0 61 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 |action;. |
000009b0 20 74 61 67 20 20 20 20 20 20 20 20 2a 74 61 67 | tag *tag|
000009c0 70 74 72 3b 0a 20 20 20 20 20 20 20 20 20 69 6e |ptr;. in|
000009d0 74 20 20 20 20 20 20 20 20 77 6f 72 64 73 5b 32 |t words[2|
000009e0 30 5d 3b 0a 20 20 20 20 20 20 20 7d 20 6d 69 73 |0];. } mis|
000009f0 63 6f 70 5f 62 6c 6f 63 6b 3b 0a 0a 0a 74 79 70 |cop_block;...typ|
00000a00 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 20 |edef struct {. |
00000a10 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 | int |
00000a20 20 7a 65 72 6f 3b 0a 20 20 20 20 20 20 20 20 20 | zero;. |
00000a30 20 74 61 67 2a 20 20 20 20 20 74 61 67 70 74 72 | tag* tagptr|
00000a40 3b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 |;. int |
00000a50 20 20 20 20 20 79 73 63 61 6c 65 3b 0a 20 20 20 | yscale;. |
00000a60 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 | int |
00000a70 78 6c 6f 77 3b 0a 20 20 20 20 20 20 20 20 20 20 |xlow;. |
00000a80 69 6e 74 20 20 20 20 20 20 79 6c 6f 77 3b 0a 20 |int ylow;. |
00000a90 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 | int |
00000aa0 20 20 68 61 6e 64 6c 65 3b 0a 20 20 20 20 20 20 | handle;. |
00000ab0 20 20 20 20 69 6e 74 20 20 20 20 20 20 74 6f 6f | int too|
00000ac0 6c 62 61 72 68 61 6e 64 6c 65 3b 0a 20 20 20 20 |lbarhandle;. |
00000ad0 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 78 | int x|
00000ae0 73 63 61 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 |scale;. |
00000af0 20 69 6e 74 20 20 20 20 20 20 78 6c 6f 77 75 3b | int xlowu;|
00000b00 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 |. int |
00000b10 20 20 20 20 79 6c 6f 77 75 3b 0a 20 20 20 20 20 | ylowu;. |
00000b20 20 20 20 7d 20 6f 62 6a 65 63 74 70 6f 73 5f 62 | } objectpos_b|
00000b30 6c 6f 63 6b 3b 0a 0a 74 79 70 65 64 65 66 20 73 |lock;..typedef s|
00000b40 74 72 75 63 74 20 7b 0a 20 20 20 20 20 20 20 20 |truct {. |
00000b50 20 20 69 6e 74 20 20 20 20 20 20 72 65 73 65 72 | int reser|
00000b60 76 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 74 |ved;. t|
00000b70 61 67 2a 20 20 20 20 20 74 61 67 70 74 72 3b 0a |ag* tagptr;.|
00000b80 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 | int |
00000b90 20 20 20 66 6c 61 67 73 3b 0a 20 20 20 20 20 20 | flags;. |
00000ba0 20 20 20 20 69 6e 74 20 20 20 20 20 20 68 61 6e | int han|
00000bb0 64 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 63 |dle;. c|
00000bc0 68 61 72 20 20 20 20 20 69 6e 64 69 72 65 63 74 |har indirect|
00000bd0 69 6f 6e 5b 33 32 5d 3b 0a 20 20 20 20 20 20 20 |ion[32];. |
00000be0 7d 20 68 6f 6f 6b 6d 65 5f 62 6c 6f 63 6b 3b 0a |} hookme_block;.|
00000bf0 0a 0a 74 79 70 65 64 65 66 20 73 74 72 75 63 74 |..typedef struct|
00000c00 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 | {. int|
00000c10 20 20 20 20 20 20 7a 65 72 6f 3b 0a 20 20 20 20 | zero;. |
00000c20 20 20 20 20 20 20 74 61 67 2a 20 20 20 20 20 74 | tag* t|
00000c30 61 67 70 74 72 3b 0a 20 20 20 20 20 20 20 20 20 |agptr;. |
00000c40 20 69 6e 74 20 20 20 20 20 20 72 65 73 65 72 76 | int reserv|
00000c50 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 69 6e |ed;. in|
00000c60 74 20 20 20 20 20 20 68 61 6e 64 6c 65 3b 0a 20 |t handle;. |
00000c70 20 20 20 20 20 20 20 20 20 69 6e 74 20 74 79 70 | int typ|
00000c80 65 3b 0a 20 20 20 20 20 20 20 7d 20 75 6e 68 6f |e;. } unho|
00000c90 6f 6b 6d 65 5f 62 6c 6f 63 6b 3b 0a 0a 0a 0a 74 |okme_block;....t|
00000ca0 79 70 65 64 65 66 20 75 6e 69 6f 6e 20 7b 0a 20 |ypedef union {. |
00000cb0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 | w|
00000cc0 68 6f 73 61 62 6f 75 74 5f 62 6c 6f 63 6b 20 20 |hosabout_block |
00000cd0 20 20 20 20 20 20 77 68 6f 73 61 62 6f 75 74 3b | whosabout;|
00000ce0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |. |
00000cf0 20 69 6d 68 65 72 65 5f 62 6c 6f 63 6b 20 20 20 | imhere_block |
00000d00 20 20 20 20 20 20 20 20 69 6d 68 65 72 65 3b 0a | imhere;.|
00000d10 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000d20 64 6f 79 6f 75 72 73 74 75 66 66 5f 62 6c 6f 63 |doyourstuff_bloc|
00000d30 6b 20 20 20 20 20 20 64 6f 79 6f 75 72 73 74 75 |k doyourstu|
00000d40 66 66 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 |ff;. |
00000d50 20 20 20 20 64 65 73 65 6c 65 63 74 5f 62 6c 6f | deselect_blo|
00000d60 63 6b 20 20 20 20 20 20 20 20 20 64 65 73 65 6c |ck desel|
00000d70 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 |ect;. |
00000d80 20 20 20 20 20 64 6f 6e 65 6d 79 73 74 75 66 66 | donemystuff|
00000d90 5f 62 6c 6f 63 6b 20 20 20 20 20 20 64 6f 6e 65 |_block done|
00000da0 6d 79 73 74 75 66 66 3b 0a 20 20 20 20 20 20 20 |mystuff;. |
00000db0 20 20 20 20 20 20 20 20 20 63 68 61 6e 67 65 64 | changed|
00000dc0 5f 62 6c 6f 63 6b 20 20 20 20 20 20 20 20 20 20 |_block |
00000dd0 63 68 61 6e 67 65 64 3b 0a 20 20 20 20 20 20 20 |changed;. |
00000de0 20 20 20 20 20 20 20 20 20 72 65 73 69 7a 65 5f | resize_|
00000df0 62 6c 6f 63 6b 20 20 20 20 20 20 20 20 20 20 20 |block |
00000e00 72 65 73 69 7a 65 3b 0a 20 20 20 20 20 20 20 20 |resize;. |
00000e10 20 20 20 20 20 20 20 20 75 70 64 61 74 65 61 72 | updatear|
00000e20 65 61 5f 62 6c 6f 63 6b 20 20 20 20 20 20 20 75 |ea_block u|
00000e30 70 64 61 74 65 61 72 65 61 3b 0a 20 20 20 20 20 |pdatearea;. |
00000e40 20 20 20 20 20 20 20 20 20 20 20 6d 69 73 63 6f | misco|
00000e50 70 5f 62 6c 6f 63 6b 20 20 20 20 20 20 20 20 20 |p_block |
00000e60 20 20 6d 69 73 63 6f 70 3b 0a 20 20 20 20 20 20 | miscop;. |
00000e70 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 20 | char |
00000e80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000e90 20 69 6e 66 6f 5b 31 30 30 5d 3b 0a 20 20 20 20 | info[100];. |
00000ea0 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 6a 65 | obje|
00000eb0 63 74 70 6f 73 5f 62 6c 6f 63 6b 20 20 20 20 20 |ctpos_block |
00000ec0 20 20 20 6f 62 6a 65 63 74 70 6f 73 3b 0a 20 20 | objectpos;. |
00000ed0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 6f | ho|
00000ee0 6f 6b 6d 65 5f 62 6c 6f 63 6b 20 20 20 20 20 20 |okme_block |
00000ef0 20 20 20 20 20 68 6f 6f 6b 6d 65 3b 0a 20 20 20 | hookme;. |
00000f00 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 68 | unh|
00000f10 6f 6f 6b 6d 65 5f 62 6c 6f 63 6b 20 20 20 20 20 |ookme_block |
00000f20 20 20 20 20 75 6e 68 6f 6f 6b 6d 65 3b 0a 0a 0a | unhookme;...|
00000f30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d | }|
00000f40 20 6d 65 73 73 61 67 65 5f 65 64 69 74 62 6c 6b | message_editblk|
00000f50 3b 0a 0a 0a 0a |;....|
00000f55
.