21 lines
296 B
C
21 lines
296 B
C
#ifndef TELEPORTEUR_H
|
|
#define TELEPORTEUR_H
|
|
|
|
typedef struct
|
|
{
|
|
int x;
|
|
int y;
|
|
int active;
|
|
int key; // -1 if no key, ou sinon le keycode (MK)
|
|
int target_x;
|
|
int target_y;
|
|
|
|
} teleporteur_t;
|
|
|
|
void teleporteurs_check();
|
|
|
|
extern teleporteur_t *teleporteurs;
|
|
extern int nombre_teleporteurs;
|
|
|
|
#endif
|