-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.h
37 lines (30 loc) · 891 Bytes
/
init.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
#ifndef __INIT_H
#define __INIT_H
/************************************************************
* ***
* ~~=) All Rights Reversed - No Rights Reserved (=~~ ***
* ***
* Sweetmorn, the 40th day of Confusion in the YOLD 3184 ***
* ***
* Albert Veli ***
************************************************************/
#include <emscripten.h>
#include <SDL2/SDL.h>
#include "audio.h"
typedef struct {
SDL_Window *window;
SDL_Renderer *renderer;
int audio_on;
int quit;
} context;
extern context ctx;
void init(int w, int h);
void cleanup(void);
/**
* Local Variables:
* mode: c
* indent-tabs-mode: nil
* c-basic-offset: 3
* End:
*/
#endif /* __INIT_H */