forked from dreamlayers/acidwarp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacidwarp.h
42 lines (36 loc) · 1.14 KB
/
acidwarp.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
/* ACIDWARP.H */
#define VERSION "Acid Warp Version 4.10 (C)Copyright 1992, 1993 by Noah Spurrier and Mark Bilk\nSDL port by Boris Gjenero based on Linux port by Steven Wills"
#define DIRECTN_CHANGE_PERIOD_IN_TICKS 256
#if !defined(EMSCRIPTEN)
#define HAVE_FULLSCREEN
#endif
/* Palette types */
#define RGBW_PAL 0
#define W_PAL 1
#define W_HALF_PAL 2
#define PASTEL_PAL 3
#define RGBW_LIGHTNING_PAL 4
#define W_LIGHTNING_PAL 5
#define W_HALF_LIGHTNING_PAL 6
#define PASTEL_LIGHTNING_PAL 7
#define RED 0
#define GREEN 1
#define BLUE 2
#define NUM_PALETTE_TYPES 8
enum acidwarp_command {
CMD_PAUSE = 1,
CMD_SKIP,
CMD_QUIT,
CMD_NEWPAL,
CMD_LOCK,
CMD_PAL_FASTER,
CMD_PAL_SLOWER
};
void handleinput(enum acidwarp_command cmd);
void handleresize(int newwidth, int newheight);
void generate_image_float(int imageFuncNum, UCHAR *buf_graf,
int xcenter, int ycenter,
int width, int height,
int colors, int pitch, int normalize);
void fatalSDLError(const char *msg);
void quit(int retcode);