misc stuff

This commit is contained in:
KikooDX 2021-11-19 12:02:13 +01:00
parent 90eee5838e
commit ec97c8f4b4
4 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.18)
project(FECK C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 11)
include_directories(inc out raygint/include fe/src)

2
fe

@ -1 +1 @@
Subproject commit 0c0d60706cb78fa953cbe26db76b32d0b4ef46d2
Subproject commit a29e1f0cc42c98c94c25362c49b391f37c5ea88a

View File

@ -18,7 +18,7 @@ static int b = 0;
int
main(void)
{
const int size = 0xffffff;
const int size = 0xffff;
void *data = malloc(size);
fe_Context *ctx = fe_open(data, size);
int gc = fe_savegc(ctx);

View File

@ -1,5 +1,5 @@
(= incr (mac (n) (list '= n (list '+ n 1))))
(= decr (mac (n) (list '= n (list '- n 1))))
(= ++ (mac (n) (list '= n (list '+ n 1))))
(= -- (mac (n) (list '= n (list '- n 1))))
(= draw-player (fn ()
(dcolor 31 31 31)
@ -7,8 +7,8 @@
))
(= update (fn ()
(incr player-x)
(incr player-y)
(++ player-x)
(= player-y (+ player-y 4))
))
(= draw (fn ()