home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 18
/
CD_ASCQ_18_111294_W.iso
/
dos
/
prg
/
c
/
ack3d
/
engsrc
/
ackbkgd.c
< prev
next >
Wrap
Text File
|
1993-08-22
|
1KB
|
44 lines
/******************* ( Animation Construction Kit 3D ) ***********************/
/* Background Routines */
/* CopyRight (c) 1993 Author: Lary Myers */
/*****************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <dos.h>
#include <mem.h>
#include <alloc.h>
#include <io.h>
#include <fcntl.h>
#include <time.h>
#include <string.h>
#include <sys\stat.h>
#include "ack3d.h"
#include "ackeng.h"
void AckBuildCeilingFloor(UCHAR far *,int,int,int,int,int,int);
/****************************************************************************
** This routine attempts to build a shaded background. It is not very **
** successful and should probably not be used, but it is here for the **
** application to use if needed. **
** **
****************************************************************************/
int AckBuildBackground(ACKENG *ae)
{
/* Let the assembly routine do all the hard work */
AckBuildCeilingFloor(ae->BkgdBuffer,
ae->LightFlag,
ae->TopColor,
ae->BottomColor,
ae->WinStartY,
ae->WinEndY,
ae->CenterRow);
return(0);
}