1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Use a screen factor of 4/3 to compute the width

This commit is contained in:
Mathieu Schroeter 2017-10-04 07:01:03 +02:00
parent 268f5d9e13
commit 13a5229a87

View File

@ -25,13 +25,13 @@
// clang-format off
#define _INTRO true // true si images d'introduction
#define LXIMAGE 640 // dimensions de la fenêtre de jeu
#define SCRFACTOR 4 / 3
#define LXIMAGE (480 * SCRFACTOR + (480 * SCRFACTOR) % 2) // dimensions de la fenêtre de jeu
#define LYIMAGE 480
#define POSDRAWX 144 // surface de dessin
#define POSDRAWY 15
#define DIMDRAWX 480
#define DIMDRAWX (LXIMAGE - (640 - 480))
#define DIMDRAWY 450
#define POSMAPX 8 // surface pour la carte