Commit Graph

56 Commits

Author SHA1 Message Date
veclavtalica
f25e27b102 changes to build system, emscipten progress (can render solid color, yippie!) 2025-02-21 19:06:19 +03:00
veclavtalica
70fab28158 /apps/twnlua: catch self-include stack busting 2025-02-21 00:18:22 +03:00
veclavtalica
7eebc7a2d7 minilua.h: revert changes, realized that lua_newstate is public 2025-02-17 10:57:31 +03:00
veclavtalica
47799deb8b /apps/twnlua: fix for windows, parametrize newstate for alloc func 2025-02-17 10:39:10 +03:00
veclavtalica
793bd850f6 /apps/twnlua: ctx.udata preservation in reload, no export in .so, ignore /data/scripts/twnapi.lua 2025-02-15 22:19:14 +03:00
veclavtalica
ffc3badc50 /apps/twnlua: output lua_loadbuffer errors 2025-02-14 21:52:06 +03:00
veclavtalica
bedfe0cdfb fix twnlua :deadinside: 2025-02-14 21:07:59 +03:00
2616549f88 disable lua server diagnostics in twnapi.lua 2025-02-14 20:43:11 +03:00
veclavtalica
cc4f7f7417 /apps/twnlua/docgen.py: remove Control legacy 2025-02-14 20:38:09 +03:00
veclavtalica
0df0a9226f optimized twnlua building (10.5s -> 8.5s) 2025-02-10 18:29:35 +03:00
veclavtalica
3bf8d7bedb /apps/twnlua: actually use 32 bit 2025-02-08 12:47:10 +03:00
veclavtalica
3d10e1782a /apps/twnlua: fix dest folder for docgen 2025-02-05 01:25:30 +03:00
veclavtalica
b6b436e1b7 /apps/twnlua: don't compile stb_ds.h 2025-02-04 09:05:29 +03:00
veclavtalica
02b5ac4cc3 input system rework 2025-02-04 07:32:25 +03:00
veclavtalica
42253fc58a fix artefacts 2025-02-04 00:24:01 +03:00
veclavtalica
87b33c2e0c /apps/twnlua: replace dots to forward slashes in module lookup 2025-02-02 05:00:54 +03:00
veclavtalica
108810d68a /apps/twnlua: propagate errors in physfs_loader() 2025-02-02 02:10:05 +03:00
veclavtalica
2c94efb796 /apps/twnlua: add error on attempt to import twnapi.lua 2025-02-02 01:59:27 +03:00
veclavtalica
11ec35bc8a /apps/twnlua: add returns in docgen.py 2025-02-02 01:53:03 +03:00
veclavtalica
aeabb17f86 create /apps/temapltes/ structure, clean up cmake files to use directory name for binary name directly 2025-02-01 13:47:17 +03:00
veclavtalica
24e8dc052d fixes 2025-01-31 05:11:10 +03:00
veclavtalica
630c6fb5d4 /apps/twnlua: automatically generate twnapi.lua file inside ~/data/scripts/ 2025-01-29 03:43:10 +03:00
veclavtalica
d7c744a6ca /apps/twnlua: mark with CODEGEN 2025-01-29 03:36:15 +03:00
veclavtalica
f8d7aa8a07 /apps/twnlua: propagate root project name for executable name 2025-01-29 03:22:04 +03:00
veclavtalica
ea2bbf5de0 /apps/twnlua: support dynlib game=off 2025-01-29 03:14:08 +03:00
veclavtalica
637343db5b /apps/twnlua: use minilua single source amalgam 2025-01-29 01:24:58 +03:00
veclavtalica
916e433753 /apps/twnlua: no warnings 2025-01-28 23:58:13 +03:00
veclavtalica
8de4a1f09b /apps/twnlua: optimize default boolean and convertrer pops 2025-01-28 23:48:49 +03:00
veclavtalica
37b0f4e3a6 /apps/twnlua: add docgen.py 2025-01-28 06:09:12 +03:00
veclavtalica
f365cff590 twnlua: prepend /scripts/ in package loader 2025-01-26 11:35:34 +03:00
veclavtalica
77ff5c7f25 add TODOs on streaming lua load 2025-01-26 11:10:05 +03:00
veclavtalica
7a403c766e /apps/twnlua: report error on loading 2025-01-26 08:51:54 +03:00
veclavtalica
9d0a2cab81 expose audio to twnlua 2025-01-15 04:15:08 +03:00
veclavtalica
b7cb37c06a no TWNBUILDDIR 2025-01-14 04:47:53 +03:00
veclavtalica
dbe6217e24 /apps/twnlua: add .gitignore 2025-01-14 01:37:16 +03:00
veclavtalica
b037d7a0b9 /apps/twnlua: ctx uploading 2025-01-14 01:35:54 +03:00
veclavtalica
e984e95fa8 /apps/twnlua: make dependent on twn_api.json for rebuilding 2025-01-14 00:30:48 +03:00
veclavtalica
6d19d2d819 /apps/twnlua: make no warnings 2025-01-14 00:06:55 +03:00
veclavtalica
b6ca9bedb4 /apps/twnlua: don't use module tables 2025-01-13 08:57:21 +03:00
veclavtalica
8d67e44009 /apps/twnlua: use lua_numberx for slightly more optimized defaults 2025-01-12 03:51:02 +03:00
veclavtalica
192907a0db use slot size of 128 for twnlua allocator 2025-01-12 03:21:05 +03:00
veclavtalica
e8b02570a2 slot based allocator for lua, usage of lua_createtable 2025-01-12 02:44:41 +03:00
veclavtalica
41d0e24780 /apps/twnlua: ctx.udata preservation (not yet for reload case) 2025-01-11 16:22:41 +03:00
veclavtalica
777a06a002 /apps/twnlua: expose ctx 2025-01-11 16:01:41 +03:00
veclavtalica
f3848d2d52 progress on twnlua bindgen 2025-01-09 21:47:08 +03:00
veclavtalica
8c401eda75 api changes and progress on filling in twn_api.json 2025-01-07 14:14:21 +03:00
veclavtalica
5c89c55b3e /apps/twnlua: support out of tree usage 2025-01-07 13:22:31 +03:00
veclavtalica
5b05386bb0 changes to twn.toml specification of resolution, make it optional as well 2025-01-06 21:19:26 +03:00
veclavtalica
f4a3298906 disallow pointer to pointer in api 2025-01-03 11:45:10 +03:00
veclavtalica
190eb1f107 twnlua: use stb_ds.h for enum conversions 2024-12-24 10:03:19 +03:00