home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume8
/
unidraw
/
part01
/
unidraw.h
< prev
Wrap
C/C++ Source or Header
|
1989-12-19
|
1KB
|
52 lines
static char COPYRIGHTh[]="\
COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
This program is copyright 1989 Nils McCarthy. This \
program may be distributed if it is impossible for \
the distributor to get a more up-to-date-version of \
it. \n\
COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
";
static char AUTHORh[]="Copyright 1989 Nils McCarthy";
#define pad(i,j) (thepad[i][j])
char *malloc();
#include <sys/file.h>
#include <signal.h>
#include <curses.h>
#include <stdio.h>
#include <strings.h>
#ifndef cbreak()
#define cbreak() crmode()
#endif /* cbreak */
#define BOOL char /* Boolean */
#define WINLINES 14
#define WINCOLS 70
#define WINTOP 5
#define WINLEFT 5
#define PADLINES 102
#define PADCOLS 102
#define SECWINCOORDS WINLINES,WINCOLS,WINTOP,WINLEFT
WINDOW *secwin;
int padx,pady,padposx,padposy;
BOOL pen,vi;
char pench;
char thepad[PADLINES+5][PADCOLS+5];
char up;
char down;
char left;
char right;
char pentoggle;
char up_right;
char down_right;
char up_left;
char down_left;
char penkey;
char redr;
char special;
#define brk brk_key_because_there_is_already_an_brk_variable
char brk;
char suspend;