-
Notifications
You must be signed in to change notification settings - Fork 2
/
ACKBKGD.C
41 lines (32 loc) · 837 Bytes
/
ACKBKGD.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
//#include <dos.h>
//#include <mem.h>
//#include <io.h>
//#include <fcntl.h>
#include <time.h>
#include <string.h>
//#include <sys\stat.h>
//typedef unsigned short USHORT;
#include "ACK3D.H"
#include "ACKENG.H"
void AckBuildCeilingFloor (UCHAR *, short, short, short, short, short, short);
//±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
// Generates a solid floor and ceiling
//±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
short AckBuildBackground (ACKENG * ae)
{
/* Let the assembly routine do all the hard work */
#if FLOOR_ACTIVE
#else
AckBuildCeilingFloor (ae->BkgdBuffer,
ae->LightFlag,
ae->TopColor,
ae->BottomColor,
ae->WinStartY,
ae->WinEndY,
ae->CenterRow);
#endif
return (0);
}