This commit is contained in:
Miloslav Číž 2020-10-10 16:06:08 +02:00
parent 93947c98a0
commit 3f1344e596
3 changed files with 21 additions and 11 deletions

View File

@ -69,13 +69,13 @@ lines of code (80 column wrapping, a lot of empty lines):
compiled: compiled:
| binary | size | FPS | resolution | RAM usage | | binary | size | FPS | resolution | RAM usage |
| -------------------- | ------------------------ | ---- | ---------- | ---------- | | -------------------- | ------------------------------------ | ---- | ---------- | ---------- |
| GNU/Linux, SDL | TODO (gcc), TODO (clang) | TODO | TODO | TODO | | GNU/Linux, SDL | TODO (gcc), TODO (clang), TODO (tcc) | TODO | TODO | TODO |
| GNU/Linux, terminal | TODO (gcc), TODO (clang) | TODO | TODO | TODO | | GNU/Linux, terminal | TODO (gcc), TODO (clang), TODO (tcc) | TODO | TODO | TODO |
| Pokitto | TODO | TODO | TODO | TODO | | Pokitto | TODO | TODO | TODO | TODO |
| Gamebuino Meta | TODO | TODO | TODO | TODO | | Gamebuino Meta | TODO | TODO | TODO | TODO |
| browser | TODO (JS script) | TODO | TODO | TODO | | browser | TODO (JS script) | TODO | TODO | TODO |
system requirements: system requirements:
@ -317,3 +317,4 @@ I therefore release everything in this repository under CC0 1.0 (public domain,
I would like to ask you, without it being any requirement at all, to please support free software and free culture by sharing at least some of your own work in a similar way I do with this project. I would like to ask you, without it being any requirement at all, to please support free software and free culture by sharing at least some of your own work in a similar way I do with this project.
If you'd like to support me or just read something about me and my projects, visit my site: [www.tastyfish.cz](http://www.tastyfish.cz/). If you'd like to support me or just read something about me and my projects, visit my site: [www.tastyfish.cz](http://www.tastyfish.cz/).

View File

@ -20,6 +20,12 @@ COMPILER='g++'
if [ $# -eq 2 ]; then if [ $# -eq 2 ]; then
COMPILER=$2 COMPILER=$2
if [ $2 == "tcc" ]; then # you'll probably want to modify this
C_FLAGS="${C_FLAGS} -L/usr/lib/x86_64-linux-gnu/pulseaudio/
-I/home/tastyfish/git/tcc/tcc-0.9.27/include
-I/usr/lib/gcc/x86_64-linux-gnu/8/include/"
fi
fi fi
echo "compiling" echo "compiling"

View File

@ -26,7 +26,11 @@
author: Miloslav "drummyfish" Ciz author: Miloslav "drummyfish" Ciz
license: CC0 1.0 license: CC0 1.0
version: 0.908 version: 0.908d
Version numbering: major.minor[d], id 'd' is appended, this is a
in-development version based on the previous stable major.minor version. Two
'd' versions with the same version number, .e.g. 1.0d, may be different.
*/ */
#include <stdint.h> #include <stdint.h>
@ -840,7 +844,7 @@ void RCL_castRayMultiHit(RCL_Ray ray, RCL_ArrayFunction arrayFunc,
CORRECT(X,y) CORRECT(X,y)
#endif #endif // RCL_RECTILINEAR
} }
else else
{ {
@ -864,8 +868,7 @@ void RCL_castRayMultiHit(RCL_Ray ray, RCL_ArrayFunction arrayFunc,
#undef CORRECT #undef CORRECT
// ^ / 4 is here to prevent overflow #endif // RCL_RECTILINEAR
#endif
} }
#if !RCL_RECTILINEAR #if !RCL_RECTILINEAR