corrected last segfaults, added 150ms before SDL_WaitEvent calls for debounce

This commit is contained in:
Vincent-FK
2021-06-10 01:00:59 +02:00
parent 71c8d22457
commit fd95706ffa
9 changed files with 548 additions and 343 deletions

View File

@@ -25,6 +25,7 @@
#ifdef HW_SCREEN_RESIZE
extern SDL_Surface *hw_screen;
#endif //HW_SCREEN_RESIZE
extern SDL_Surface *screen;
#ifdef SOUND_SDL_ACTIVATED
extern bool audio_init_ok;

View File

@@ -1,8 +1,6 @@
#ifndef NIVEAU_H_
#define NIVEAU_H_
extern int niveau_1_joueur(SDL_Surface *screen, int niveau);
extern int niveau_2_joueur(SDL_Surface *screen, int choix_niveau);
extern int editeur_choix_niveau(SDL_Surface *screen);