2023-12-21 14:32:55 +01:00
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
#ifndef SCENE_H
|
|
|
|
#define SCENE_H
|
|
|
|
|
2023-12-22 21:12:26 +01:00
|
|
|
PIXELS gen_pastille(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long longueur_serpent,unsigned long longueur_obstacle);
|
|
|
|
PIXELS gen_obstacle(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long longueur_serpent,unsigned long longueur_pastilles);
|
2023-12-22 19:40:06 +01:00
|
|
|
|
2023-12-22 21:12:26 +01:00
|
|
|
void InitialiserPastilles(PIXELS *pastilles, PIXELS *serpent,PIXELS *obstacle, unsigned long longueur_serpent,unsigned long longueur_obstacle);
|
|
|
|
void InitialiserPastilles(PIXELS *pastilles, PIXELS *serpent,PIXELS *obstacle, unsigned long longueur_serpent,unsigned long longueur_obstacle);
|
|
|
|
void DessinerScene(PIXELS *pastilles, PIXELS *serpent,PIXELS *obstacle, unsigned long longueur_serpent,unsigned long longueur_pastilles,unsigned long longueur_obstacle);
|
2023-12-21 14:32:55 +01:00
|
|
|
|
|
|
|
#endif
|