home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 44
/
Amiga_Dream_44.iso
/
Amiga
/
workbench
/
pilotes
/
scanners
/
StScan.lha
/
StScan
/
stscan.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-08-16
|
2KB
|
90 lines
/*
** $VER: stscan.h 3.00D (11.8.97)
**
** STScan main module (Header)
**
** Written by Frank-Christian Kruegel, Henning Peters, Andreas R. Kleinert
** GNU General Public License V2
*/
#define __USE_SYSBASE
#include <exec/types.h>
#include <exec/exec.h>
#include <intuition/intuition.h>
#include <intuition/screens.h>
#include <intuition/intuitionbase.h>
#include <dos/dos.h>
#include <dos/dosextens.h>
#include <graphics/rastport.h>
#include <graphics/gfxmacros.h>
#include <graphics/gfxbase.h>
#include <graphics/displayinfo.h>
#include <devices/scsidisk.h>
#include <libraries/reqtools.h>
#include <proto/reqtools.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/intuition.h>
#include <proto/graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "pixelop.h"
#include "vectorop.h"
#include "localop.h"
#include "imginout.h"
#include "scnplane.h"
#define ADDLIN 6
typedef struct DefWindow /*might be scanner dependent*/
{ ULONG dummy1;
UWORD dummy2;
UWORD wpsize;
UBYTE winnr;
UBYTE dummy3;
UWORD resx;
UWORD resy;
UWORD cornerx;
UWORD cornery;
UWORD width;
UWORD height;
UBYTE dummy4;
UBYTE threshold;
UBYTE size; /* temporary storage, ignored by scanner */
UBYTE halftone;
UBYTE bitspixel;
UBYTE dummy5;
UWORD dummy6;
ULONG dummy7;
} DefWindow;
/* externals from stscan.c */
extern struct Window *win;
extern struct IOStdReq *diskreq;
extern struct ViewPort *vp;
extern struct RastPort *rp;
extern ULONG memneed;
extern UWORD memwidth, memheight, membpl;
extern UBYTE memgray;
extern UBYTE *memptr;
extern UBYTE *bufptr;
extern UWORD screenwidth,screenheight,viewwidth,viewheight;
extern ULONG viewoffset,lineoffset;
extern UBYTE numcols;
extern struct DefWindow winpar;
extern UBYTE numbits[];
extern UBYTE bitval[];
extern UBYTE invbitval[];
extern UBYTE revbit[];