-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathScenery.h
30 lines (23 loc) · 1.04 KB
/
Scenery.h
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
/*
Interface definition to scenery generation library
*/
extern
void FAR PASCAL sceneryInit(double julianDate, // Time and date
double siteLat, // Observer latitude
double siteLon, // Observer longitude
double viewAzimuth, // Azimuth of window center
int imageHeight, // Image height
int imageWidth, // Image width
int randomNumber, // A 15 bit random value
WORD FAR *numIcons, // Return: Number of icons
WORD FAR *iconSize, // Icon size
WORD FAR *iconDensity); // Icon density
extern void FAR PASCAL sceneryTerm(void);
extern
void FAR PASCAL sceneryIcon(int xPos, int yPos, // Where icon is to be drawn
int randomNumber, // A 15 bit random number
HICON FAR *hIcon, // Return handle to icon
WORD FAR *hWidth); // Width (advance) after this icon
extern
void FAR PASCAL getSceneryIcon(WORD iconNumber, // Icon number to get
HICON FAR *hIcon); // Handle to icon or NULL = error