~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: bf6fdbf6fa10f949bf9af21d5acadbbf4a167707 CTU-FEE-B0B35APO-Semestral-project/mzapo-sdl/include/sdl.h -rw-r--r-- 362 bytes
bf6fdbf6 — František Boháček chore: add sdl project directly 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __SDL_H__
#define __SDL_H__

#include <assert.h>

#include <SDL.h>
#include <SDL_image.h>
#include <stdint.h>
#include <stdbool.h>

#include "SDL_surface.h"
#include "SDL_video.h"


int sdl_init(uint16_t w, uint16_t h);
void sdl_close();

void sdl_redraw(uint16_t w, uint16_t h, uint8_t *img);

bool sdl_poll_event(SDL_Event *event);
#endif // __SDL_H__
Do not follow this link