Maj a la version sur la page

This commit is contained in:
attilavs2 2023-10-19 17:15:52 +02:00
parent 08ba5ff335
commit 25c6bee67a
4 changed files with 9 additions and 9 deletions

6
.gitignore vendored
View file

@ -3,7 +3,11 @@
/build-cg
/build-cg-push
/*.g1a
/*.g3a
*.g3a
#Nano temp files
*.swp
# Python bytecode
__pycache__/

View file

@ -1,4 +1,4 @@
Le code est sous GPL V3
Il reste des choses a améliorer, et des fonctions inutiles. Je vais probablement y revenir un jour (TM) pour nettoyer le code.
Il reste des choses a améliorer, et des patchs du moteur à appliquer. Je vais probablement y revenir un jour (TM).
Utilise fxSDK/gint

Binary file not shown.

View file

@ -261,12 +261,8 @@ void draw_walls(image_t *tex_1, image_t *tex_2, image_t *tex_3, image_t *tex_4,
deltaDistY = abs(fdiv(0xFFFF, rayDirY));
//calculate step and initial sideDist
if (rayDirX == 0) {
stepX = 0;
sideDistX = 0;
}
else if (rayDirX < 0) {
stepX = -1; //true
if (rayDirX < 0) {
stepX = -1;
sideDistX = fmul(posX - fix(mapX), deltaDistX);
}
else {
@ -279,7 +275,7 @@ void draw_walls(image_t *tex_1, image_t *tex_2, image_t *tex_3, image_t *tex_4,
sideDistY = 0;
}
else if (rayDirY < 0) {
stepY = -1; //true
stepY = -1;
sideDistY = fmul(posY - fix(mapY), deltaDistY);
}
else {