2024-03-09 21:21:17 +01:00
|
|
|
// Voir README.md pour license précise, par Fcalva 2023-2024 et est sous GPLv3
|
|
|
|
|
2023-07-20 12:31:08 +02:00
|
|
|
#ifndef moteur_h
|
|
|
|
#define moteur_h
|
|
|
|
|
|
|
|
#include <gint/image.h>
|
|
|
|
|
|
|
|
//param. graphiques
|
|
|
|
#define screen_w 396
|
|
|
|
#define screen_h 224
|
|
|
|
#define viewport_w 396
|
|
|
|
#define viewport_h 224
|
2024-08-09 18:40:08 +02:00
|
|
|
#define max_dist fix(32) //en tuiles << 16, actuellement 32
|
2023-07-20 12:31:08 +02:00
|
|
|
|
2024-03-09 21:21:17 +01:00
|
|
|
#define TINDEX_S 256
|
|
|
|
|
2023-07-20 12:31:08 +02:00
|
|
|
void load_map();
|
2023-07-20 13:48:40 +02:00
|
|
|
void end_screen();
|
2024-08-09 18:40:08 +02:00
|
|
|
void draw_walls();
|
2023-07-20 12:31:08 +02:00
|
|
|
void move();
|
|
|
|
|
2023-07-20 13:48:40 +02:00
|
|
|
#endif /* moteur */
|