lite
lite copied to clipboard
update lua from 5.2 to 5.4.7
just did some update:
update stb_truetype from v1.19 to latest v1.26
update lua from 5.2 to 5.4.7
update SDL from 2.0.10 to 2.2.28
no even one line of C code need change. it just works. awesome
lua 5.4 only add int number(in 5.3), so there are only 2 two lines of .lua need change:
Error: data/core/init.lua:130: bad argument #2 to 'string.format'
Error: data/core/statusview.lua:109: bad argument #2 to 'string.format'
(number has no integer representation)
just add math.floor() to cast arg to int and it just works.
also added lpeg, still no need to change any c code. just need compile lua to dll.