| 1 |
schorsch |
1.1 |
/* RCSid: $Id: random.h,v 1.2 2003/07/14 22:24:00 schorsch Exp $ */
|
| 2 |
|
|
/*
|
| 3 |
|
|
* random.h - header file for random(3) function.
|
| 4 |
|
|
*
|
| 5 |
|
|
* 10/1/85
|
| 6 |
|
|
*/
|
| 7 |
|
|
#ifndef _RAD_LIB4014_H_
|
| 8 |
|
|
#define _RAD_LIB4014_H_
|
| 9 |
|
|
|
| 10 |
|
|
#include <stdlib.h>
|
| 11 |
|
|
|
| 12 |
|
|
#ifdef __cplusplus
|
| 13 |
|
|
extern "C" {
|
| 14 |
|
|
#endif
|
| 15 |
|
|
|
| 16 |
|
|
extern void openvt(void);
|
| 17 |
|
|
extern void openpl(void);
|
| 18 |
|
|
extern void closevt(void);
|
| 19 |
|
|
extern void closepl(void);
|
| 20 |
|
|
|
| 21 |
|
|
extern void step(int d);
|
| 22 |
|
|
extern void arc(int x, int y, int x0, int y0, int x1, int y1);
|
| 23 |
|
|
extern int quad(int x, int y, int xp, int yp);
|
| 24 |
|
|
extern int abs_(int a);
|
| 25 |
|
|
extern void box(int x0, int y0, int x1, int y1);
|
| 26 |
|
|
extern void circle(int x, int y, int r);
|
| 27 |
|
|
extern void dot(void);
|
| 28 |
|
|
extern void erase(void);
|
| 29 |
|
|
extern void label(char *s);
|
| 30 |
|
|
extern void line(int x0, int y0, int x1, int y1);
|
| 31 |
|
|
extern void linemod(char *s);
|
| 32 |
|
|
extern void move(int xi, int yi);
|
| 33 |
|
|
extern void point(int xi, int yi);
|
| 34 |
|
|
extern void scale(char i, float x, float y);
|
| 35 |
|
|
extern void space(int x0, int y0, int x1, int y1);
|
| 36 |
|
|
extern void cont(int x, int y);
|
| 37 |
|
|
extern void putch(int c);
|
| 38 |
|
|
|
| 39 |
|
|
|
| 40 |
|
|
|
| 41 |
|
|
#ifdef __cplusplus
|
| 42 |
|
|
}
|
| 43 |
|
|
#endif
|
| 44 |
|
|
#endif /* _RAD_LIB4014_H_ */
|
| 45 |
|
|
|