Debian Codegraph @

terps/scott/ai_uk/line_drawing.h

raw symbols SCIP
1 //
2 // line_drawing.h
3 // Part of ScottFree, an interpreter for adventures in Scott Adams format
4 //
5 // Created by Petter Sjölund on 2022-03-03.
6 //
7
8 #ifndef line_drawing_h
9 #define line_drawing_h
10
11 #include <stdint.h>
12
13 struct line_image {
14 uint8_t *data;
15 int bgcolour;
16 size_t size;
17 };
18
19 void DrawVectorPicture(int image);
20 void DrawSomeVectorPixels(int from_start);
21 int DrawingVector(void);
22
23 extern struct line_image *LineImages;
24
25 typedef enum {
26 NO_VECTOR_IMAGE,
27 DRAWING_VECTOR_IMAGE,
28 SHOWING_VECTOR_IMAGE
29 } VectorStateType;
30
31 extern VectorStateType VectorState;
32 extern int vector_image_shown;
33
34 #endif /* line_drawing_h */