viz1090/sdl1090/structs.h
Nathan d7ac05e2b2 added log/lin toggle, AA define, rearanged into map.c
Former-commit-id: 71d4638e160eedca1b60df37b3d2b5d1ecf82469
Former-commit-id: 5f78e0bfefba107919a5babf344a3d51110a16fd
2017-09-15 21:25:26 -05:00

24 lines
323 B
C

#include "defs.h"
typedef struct Game
{
SDL_Surface *screen;
TTF_Font *font;
} Game;
// functions
//font.c
TTF_Font *loadFont(char *, int);
void closeFont(TTF_Font *);
void drawString(char *, int, int, TTF_Font *, SDL_Color);
//init.c
void init(char *);
void cleanup(void);
//input.c
void getInput(void);
//draw.c