2018-01-15 13:19:51 +01:00
|
|
|
#ifndef __Startmenu__
|
|
|
|
|
|
|
|
#define __Startmenu__
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
#include <SDL2/SDL_image.h>
|
|
|
|
|
2018-01-18 16:13:54 +01:00
|
|
|
#include "gamestate.h"
|
2018-01-15 13:19:51 +01:00
|
|
|
|
|
|
|
void Load_Textures (SDL_Renderer* renderer);
|
|
|
|
|
|
|
|
void Startmenu_Draw (SDL_Renderer* renderer);
|
|
|
|
|
2018-01-18 16:13:54 +01:00
|
|
|
void button_clicked(SDL_MouseButtonEvent b, GameState gameState);
|
2018-01-18 15:19:04 +01:00
|
|
|
|
|
|
|
int clickInRect(SDL_MouseButtonEvent b, SDL_Rect* area_rect);
|
|
|
|
|
2018-01-15 13:19:51 +01:00
|
|
|
#endif
|