|
|
1.1 ! root 1: #include "flayer.h" ! 2: #include "../mesg.h" ! 3: ! 4: #define MAXFILES 256 ! 5: ! 6: enum{ ! 7: Up, ! 8: Down ! 9: }; ! 10: #define NL 10 ! 11: typedef struct Section Section; ! 12: struct Section{ ! 13: long nbytes; ! 14: uchar *text; /* if null, we haven't got it */ ! 15: Section *next; ! 16: }; ! 17: typedef struct Rasp{ ! 18: long nbytes; ! 19: Section *sect; ! 20: }Rasp; ! 21: #define Untagged ((unsigned short)65535) ! 22: typedef struct Text{ ! 23: Rasp rasp; ! 24: short nwin; ! 25: short front; /* input window */ ! 26: ushort tag; ! 27: char lock; ! 28: Flayer l[NL]; /* screen storage */ ! 29: }Text; ! 30: extern Text *text[]; ! 31: extern uchar *name[]; ! 32: extern ushort tag[]; ! 33: extern int nname; ! 34: extern Texture bullseye; ! 35: extern Texture coffeecup; ! 36: extern Texture sweep; ! 37: extern Texture deadmouse; ! 38: extern Texture lockarrow; ! 39: extern Texture *cursor; ! 40: extern Flayer *which; ! 41: extern Flayer *work; ! 42: extern Text cmd; ! 43: extern uchar *scratch; ! 44: extern long nscralloc; ! 45: extern char lock; ! 46: extern long snarflen; ! 47: ! 48: Flayer *flwhich(); ! 49: uchar **gettext(); ! 50: uchar **rload(); ! 51: uchar *ALLOC();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.