mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-21 08:25:05 -05:00
Add tcc
This commit is contained in:
parent
93947c98a0
commit
3f1344e596
15
README.md
15
README.md
@ -69,13 +69,13 @@ lines of code (80 column wrapping, a lot of empty lines):
|
||||
|
||||
compiled:
|
||||
|
||||
| binary | size | FPS | resolution | RAM usage |
|
||||
| -------------------- | ------------------------ | ---- | ---------- | ---------- |
|
||||
| GNU/Linux, SDL | TODO (gcc), TODO (clang) | TODO | TODO | TODO |
|
||||
| GNU/Linux, terminal | TODO (gcc), TODO (clang) | TODO | TODO | TODO |
|
||||
| Pokitto | TODO | TODO | TODO | TODO |
|
||||
| Gamebuino Meta | TODO | TODO | TODO | TODO |
|
||||
| browser | TODO (JS script) | TODO | TODO | TODO |
|
||||
| binary | size | FPS | resolution | RAM usage |
|
||||
| -------------------- | ------------------------------------ | ---- | ---------- | ---------- |
|
||||
| GNU/Linux, SDL | TODO (gcc), TODO (clang), TODO (tcc) | TODO | TODO | TODO |
|
||||
| GNU/Linux, terminal | TODO (gcc), TODO (clang), TODO (tcc) | TODO | TODO | TODO |
|
||||
| Pokitto | TODO | TODO | TODO | TODO |
|
||||
| Gamebuino Meta | TODO | TODO | TODO | TODO |
|
||||
| browser | TODO (JS script) | TODO | TODO | TODO |
|
||||
|
||||
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.
|
||||
|
||||
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/).
|
||||
|
||||
|
6
make.sh
6
make.sh
@ -20,6 +20,12 @@ COMPILER='g++'
|
||||
|
||||
if [ $# -eq 2 ]; then
|
||||
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
|
||||
|
||||
echo "compiling"
|
||||
|
11
raycastlib.h
11
raycastlib.h
@ -26,7 +26,11 @@
|
||||
|
||||
author: Miloslav "drummyfish" Ciz
|
||||
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>
|
||||
@ -840,7 +844,7 @@ void RCL_castRayMultiHit(RCL_Ray ray, RCL_ArrayFunction arrayFunc,
|
||||
|
||||
CORRECT(X,y)
|
||||
|
||||
#endif
|
||||
#endif // RCL_RECTILINEAR
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -864,8 +868,7 @@ void RCL_castRayMultiHit(RCL_Ray ray, RCL_ArrayFunction arrayFunc,
|
||||
|
||||
#undef CORRECT
|
||||
|
||||
// ^ / 4 is here to prevent overflow
|
||||
#endif
|
||||
#endif // RCL_RECTILINEAR
|
||||
}
|
||||
|
||||
#if !RCL_RECTILINEAR
|
||||
|
Loading…
Reference in New Issue
Block a user