Annotation of researchv10dc/cmd/cyntax/lib/llib-lj, revision 1.1.1.1

1.1       root        1: #include <jerq.h>
                      2: #include <font.h>
                      3: 
                      4: #undef Pt
                      5: #undef Rect
                      6: #undef request
                      7: #undef sleep
                      8: #undef Rpt
                      9: 
                     10: static Point           PT;
                     11: static Rectangle       RECT;
                     12: static Word            *WP;
                     13: static Texture         *TP;
                     14: static char            *CP;
                     15: static Bitmap          *BP;
                     16: static Font            *FP;
                     17: 
                     18: struct Mouse           mouse;
                     19: Bitmap                 *Jdisplayp;
                     20: 
                     21: Point add(p, q) Point p, q; {return PT;}
                     22: Word *addr(b, p) Bitmap *b; Point p; {return WP;}
                     23: void alarm(n) int n; {}
                     24: char *alloc(nbytes) unsigned nbytes; {return CP;}
                     25: void free(s) char *s; {}
                     26: int atan2(x, y) int x, y; {return 1;}
                     27: Bitmap *balloc(r) Rectangle r; {return BP;}
                     28: void bfree(b) Bitmap *b; {}
                     29: void bitblt(sb, r, db, p, f) Bitmap *sb, *db; Rectangle r; Point p; Code f; {}
                     30: void circle(b, p, r, f) Bitmap *b; Point p; int r; Code f; {}
                     31: void disc(b, p, r, f) Bitmap *b; Point p; int r; Code f; {}
                     32: void arc(b, p0, p1, p2, f) Bitmap *b; Point p0, p1, p2; Code f; {}
                     33: int cos(d) int d; {return d;}
                     34: int sin(d) int d; {return d;}
                     35: int sqrt(d) long d; {return 0;}
                     36: void cursallow()  {}
                     37: void cursinhibit() {}
                     38: Texture *cursswitch(t) Texture *t; {return t;}
                     39: Point div(p, n) Point p; int n; {return PT;}
                     40: void ellipse(bp, p, a, b, f) Bitmap *bp; Point p; int a,b; Code f; {}
                     41: void eldisc(bp, p, a, b, f) Bitmap *bp; Point p; int a,b; Code f; {}
                     42: void elarc(bp, p0, a, b, p1, p2, f) Bitmap *bp; Point p0, p1, p2; int a,b; Code f; {}
                     43: int eqpt(p, q) Point p, q; {return 1;}
                     44: int eqrect(r, s) Rectangle r, s; {return 1;}
                     45: void exit() {}
                     46: Font *infont(inch) int (*inch)(); {return FP;}
                     47: Font *getfont(file) char *file; {return FP;}
                     48: int outfont(f, ouch) Font *f; int (*ouch)(); {return 1;}
                     49: void ffree(f) Font *f; {}
                     50: char *gcalloc(n, w) unsigned long n; char **w; {return CP;}
                     51: void gcfree(c) char *c; {}
                     52: Rectangle getrect() {return RECT;}
                     53: Rectangle inset(r, n) Rectangle r; int n; {return RECT;}
                     54: void jcircle(p, r, f) Point p; int r; Code f; {}
                     55: void jdisc(p, r, f) Point p; int r; Code f; {}
                     56: void jarc(p0, p1, p2, f) Point p0, p1, p2; Code f; {}
                     57: void jellipse(p, a, b, f) Point p; int a, b; Code f; {}
                     58: void jeldisc(p, a, b, f) Point p; int a, b; Code f; {}
                     59: void jelarc(p0, a, b, p1, p2, f) Point p0, p1, p2; int a, b; Code f; {}
                     60: void jinit() {}
                     61: void jline(p, f) Point p; Code f; {}
                     62: void jlineto(p, f) Point p; Code f; {}
                     63: void jmove(p) Point p; {}
                     64: void jmoveto(p) Point p; {}
                     65: void jpoint(p, f) Point p; Code f; {}
                     66: void jrectf(r, f) Rectangle r; Code f; {}
                     67: void jsegment(p, q, f) Point p, q; Code f; {}
                     68: Point jstring(s) char *s; {return PT;}
                     69: int jstrwidth(s) char *s; {return 1;}
                     70: void jtexture(r, m, f) Rectangle r; Texture *m; Code f; {}
                     71: int kbdchar() {return 1;}
                     72: int menuhit(m, n) Menu *m; int n; {return 1;}
                     73: Point mul(p, n) Point p; int n; {return PT;}
                     74: void nap(nticks) int nticks; {}
                     75: int norm(x, y, z) int x, y, z; {return 1;}
                     76: int own() {return 1;}
                     77: void point(b, p, f) Bitmap *b; Point p; Code f; {}
                     78: Point Pt(x, y) int x, y; {return PT;}
                     79: int ptinrect(p, r) Point p; Rectangle r; {return 1;}
                     80: Rectangle raddp(r, p) Rectangle r; Point p; {return RECT;}
                     81: int rcvchar() {return 1;}
                     82: Rectangle Rect(a,b,c,d)        int a, b, c, d; {return RECT;}
                     83: int rectXrect(r, s) Rectangle r, s; {return 1;}
                     84: int rectclip(rp, s) Rectangle *rp, s; {return 1;}
                     85: void rectf(b, r, f) Bitmap *b; Rectangle r; Code f; {}
                     86: int request(r) int r; {}
                     87: Rectangle Rpt(p, q) Point p, q; {return RECT;}
                     88: int rol(a, b) int a, b; {return 1;}
                     89: int ror(a, b) int a, b; {return 1;}
                     90: Rectangle rsubp(r, p) Rectangle r; Point p; {return RECT;}
                     91: void screenswap(b, r, s) Bitmap *b; Rectangle r, s; {}
                     92: void segment(b, p, q, f) Bitmap *b; Point p, q; Code f; {}
                     93: void sendchar(x) int x; {}
                     94: void sendnchars(n, s) int n; char *s; {}
                     95: void sleep(nticks) int nticks; {}
                     96: Point string(ft, s, b, p, c) Font *ft; char *s; Bitmap *b; Point p; Code c; {return PT;}
                     97: int strwidth(f, s) Font *f; char *s; {return 1;}
                     98: Point sub(p, q) Point p, q; {return PT;}
                     99: void texture(b, r, m, f) Bitmap *b; Rectangle r; Texture *m; Code f; {}
                    100: int wait(r) int r; {return 1;}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.