- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.h
More file actions
Latest commit
24 lines (21 loc) · 711 Bytes
/
Copy pathtools.h
File metadata and controls
24 lines (21 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndefTOOLS_H
#defineTOOLS_H
#include<SDL/SDL.h>
#include<SDL/SDL_ttf.h>
#include"structures.h"
#include"list.h"
intless(inta, intb);
intgreat(inta, intb);
intabs(inta);
doublegreatf(doublea, doubleb);
window_info_temptyWindow();
label_temptyLabel();
label_t*label_with_id(list_t*list, intidx);
SDL_Surface*createSurface(intwidth, intheight);
voidcopySurface(SDL_Surface*source, SDL_Surface*dest);
voidblit(SDL_Surface*source, SDL_Surface*dest, intx, inty);
voiddraw_label(void*obj, void*data);
voiddrawLabels(label_tlabels[], intlabelcount, SDL_Surface*screen);
voidprint_debug_coords(SDL_Surface*screen, TTF_Font*font, intx, inty);
char*get_filename();
#endif