supercasiobros/include/tuyau.h

16 lines
356 B
C
Raw Normal View History

2020-01-23 19:54:19 +01:00
#ifndef TUYAU_H
#define TUYAU_H
2020-01-23 19:54:19 +01:00
typedef struct
2020-01-23 19:54:19 +01:00
{
int x, y; // En cases de 8*8
int tx, ty; // Targeted coords
2020-01-24 12:08:40 +01:00
int key; // Key used (may be -1 if the user doesn't have to press any key)
2020-01-23 19:54:19 +01:00
} teleport_t;
void teleportersSet(teleport_t const * const t, unsigned int const n);
2020-01-23 19:54:19 +01:00
void teleportersActive(); // Activation des teleporteurs à chaque frame
2020-01-23 19:54:19 +01:00
#endif