2024-10-09 16:43:10 +02:00
|
|
|
// Voir README.md pour license précise, par Fcalva 2023-2024 et est sous GPLv3
|
|
|
|
// See README.md for the exact licensing, by ...
|
|
|
|
|
2024-10-05 00:56:13 +02:00
|
|
|
#pragma once
|
|
|
|
|
2024-10-09 16:43:10 +02:00
|
|
|
//===== Paramètres graphiques =====
|
|
|
|
|
2024-10-05 00:56:13 +02:00
|
|
|
#define screen_w 128
|
|
|
|
#define screen_h 64
|
|
|
|
#define viewport_w 128
|
|
|
|
#define viewport_h 64
|
|
|
|
#define max_dist fix(32)
|
2024-10-08 13:16:05 +02:00
|
|
|
//Max sprites to attempt to render
|
|
|
|
#define max_sprites 16
|
2024-10-05 00:56:13 +02:00
|
|
|
|
|
|
|
#define TSIZE 32
|
|
|
|
|
2024-10-09 16:43:10 +02:00
|
|
|
//===== Paramètres de jeu =====
|
|
|
|
|
|
|
|
//Ticks par seconde
|
|
|
|
#define TPS 30
|
|
|
|
|
2024-10-05 21:48:42 +02:00
|
|
|
//Tex index
|
2024-10-05 00:56:13 +02:00
|
|
|
#define TINDEX_S 16
|
2024-10-10 17:53:09 +02:00
|
|
|
//Sprite index - map sprites are 1/2 that
|
2024-10-05 21:48:42 +02:00
|
|
|
#define SINDEX_S 64
|
2024-10-09 16:43:10 +02:00
|
|
|
//Game logic hooks
|
|
|
|
#define HINDEX_S 16
|
|
|
|
|
2024-10-10 17:53:09 +02:00
|
|
|
|
|
|
|
|
2024-10-09 16:43:10 +02:00
|
|
|
//===== Paramètres de debug =====
|
2024-10-05 00:56:13 +02:00
|
|
|
|
|
|
|
#define debug 1 //pour afficher les infos de debug
|
|
|
|
|
|
|
|
#define asm_opti 0
|