Un runner fait en CSFML reprenant certaines mécaniques de jeu d'Orton and the princess.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*
|
|
** EPITECH PROJECT, 2018
|
|
** task01
|
|
** File description:
|
|
** I do task
|
|
*/
|
|
#include "game/menu.h"
|
|
#include "game/core.h"
|
|
|
|
int check_pause(sfml_t *sfml)
|
|
{
|
|
if (sfml->key & KEY_ESC && !(sfml->key & PRES_ESC)){
|
|
sfml->key &= ~KEY_ESC;
|
|
return (menu_pause(sfml));
|
|
}
|
|
return (1);
|
|
}
|