4 ported to small C on 25-27.10.1999
5 by Maciej 'YTM/Alliance' Witkowiak
11 struct f_date { /* date in filedesctiptor */
19 struct s_date { /* system date & time */
28 struct tr_se { /* track and sector */
33 struct fileheader { /* header block (like fileHeader) */
49 struct filehandle { /* filehandle in directory sectors */
50 char dostype; /* or in dirEntryBuf */
60 struct pixel { /* describes point */
65 struct fontdesc { /* describes font */
73 struct window { /* describes screen region */
80 struct VLIR_info { /* VLIR information */
81 char curRecord; /* currently only used in VLIR */
82 char usedRecords; /* as system info (curRecord is mainly of your interest */
87 struct process { /* process info, declare table of that type */
88 int pointer; /* (like: struct process proctab[2]=... */
89 int jiffies; /* last entry HAVE TO BE {0,0} */
93 struct iconpic { /* icon/encoded bitmap description */
94 char *pic_ptr; /* ptr to a photo scrap (or encoded bitmap) */
95 char x; /* position in cards (*8 pixels) */
97 char width; /* in cards */
98 char heigth; /* in lines (pixels) */
101 struct icondef { /* icon definition for DoIcons */
102 char *pic_ptr; /* ptr to a photo scrap (or encoded bitmap) */
103 char x; /* position in cards (*8 pixels) */
105 char width; /* of icon (in cards) */
106 char heigth; /* of icon in lines (pixels) */
107 int proc_ptr; /* pointer to function handling that icon */
111 char number; /* number of declared icons */
112 struct pixel mousepos; /* position of mouse after DoIcons */
113 struct icondef tab[]; /* table of size declared by icontab.number */
116 /* everything below is obsolete and kept for unknown reasons */
121 int rest; /* may be ptr to function, or if submenu ptr to struct menu */
127 struct menuitem items[];
130 struct inittab { /* use struct inittab mytab[n] for initram */
131 int ptr; /* ptr to 1st byte */
132 char number; /* number of following bytes */
133 char values[]; /* warning - in table size of this is same for all! */