-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscreen.h
45 lines (36 loc) · 1.17 KB
/
screen.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef SCREEN_H_
#define SCREEN_H_
#include "atari.h" /* UBYTE */
#ifdef DIRTYRECT
#ifndef CLIENTUPDATE
extern UBYTE *Screen_dirty;
#endif /* CLIENTUPDATE */
#endif /* DIRTYRECT */
extern ULONG *Screen_atari;
/* Dimensions of Screen_atari.
Screen_atari is Screen_WIDTH * Screen_HEIGHT bytes.
Each byte is an Atari color code - use Colours_Get[RGB] functions
to get actual RGB codes.
You should never display anything outside the middle 336 columns. */
#define Screen_WIDTH 384
#define Screen_HEIGHT 240
#ifdef BITPL_SCR
extern ULONG *Screen_atari_b;
extern ULONG *Screen_atari1;
extern ULONG *Screen_atari2;
#endif
extern int Screen_visible_x1;
extern int Screen_visible_y1;
extern int Screen_visible_x2;
extern int Screen_visible_y2;
extern int Screen_show_atari_speed;
extern int Screen_show_disk_led;
extern int Screen_show_sector_counter;
int Screen_Initialise(int *argc, char *argv[]);
void Screen_DrawAtariSpeed(double);
void Screen_DrawDiskLED(void);
void Screen_FindScreenshotFilename(char *buffer);
int Screen_SaveScreenshot(const char *filename, int interlaced);
void Screen_SaveNextScreenshot(int interlaced);
void Screen_EntireDirty(void);
#endif /* SCREEN_H_ */