]> git.lizzy.rs Git - nothing.git/blob - src/game/level/background.h
(#1045) Make Camera entity transparent
[nothing.git] / src / game / level / background.h
1 #ifndef BACKGROUND_H_
2 #define BACKGROUND_H_
3
4 #include <SDL.h>
5
6 #include "color.h"
7 #include "game/camera.h"
8
9 typedef struct Background Background;
10 typedef struct LineStream LineStream;
11
12 Background *create_background(Color base_color);
13 Background *create_background_from_line_stream(LineStream *line_stream);
14 void destroy_background(Background *background);
15
16 int background_render(const Background *background,
17                       const Camera *camera);
18
19 Color background_base_color(const Background *background);
20
21 void background_toggle_debug_mode(Background *background);
22
23 #endif  // BACKGROUND_H_