Commit Graph

246 Commits

Author SHA1 Message Date
60716c6d7b /tools/ -> /bin/, to have it in more common schema 2024-10-08 08:24:56 +03:00
133021b91e hookup -> hooks, the ones you source 2024-10-08 08:20:06 +03:00
82e647c9e1 /hookup: util to handle temporary installation 2024-10-08 01:51:30 +03:00
5c91423fbb clang-format on /apps/demos/bunnymark files 2024-10-08 01:21:31 +03:00
78034b69f5 proper scene switch in demos 2024-10-08 01:07:01 +03:00
fd642171a4 twn_draw.c: clear after swap 2024-10-08 00:55:40 +03:00
1f8a225f89 twn_gl_15_rendering.c: only disable color array for sprite batch if it was used 2024-10-08 00:51:46 +03:00
fd6615744e /apps/platformer: not a platfromer, is it 2024-10-08 00:50:59 +03:00
03c451fba8 CMakeFiles.txt: no target_app 2024-10-08 00:50:25 +03:00
f1e2fa090b twn_gl_15_rendering.c: re-enable depth write after text function 2024-10-08 00:42:15 +03:00
ac74f39c03 twn_text.c: discard empty inputs 2024-10-07 23:40:57 +03:00
4c49366c44 Added common-data as dependency for kenney's font used in demo 2024-10-07 20:16:21 +00:00
8759221ed2 Adding data manifest and the wabbit sprite 2024-10-07 20:15:53 +00:00
8aa0e38486 Bunny mark intial files added
Need to add data folder still.
2024-10-07 20:15:20 +00:00
fab958c963 twn_loop.c: use event watcher for more immediate resize redraw 2024-10-07 22:35:48 +03:00
7d92eff691 twn_loop.c: better log for /twn.toml misaccess 2024-10-07 20:57:02 +03:00
5e10087b35 /apps/template: add data folder 2024-10-07 20:51:17 +03:00
99522ae466 make twn run compile it first 2024-10-07 20:29:21 +03:00
b0e6dd78b2 fix ratio 2024-10-07 20:29:03 +03:00
3c6bcdc499 /apps/platformer: fix twn_vec.h include 2024-10-07 19:57:45 +03:00
0d5ad2bc01 they're no longer scripts 2024-10-07 19:48:54 +03:00
84bb1c8b0e /tools/twn: fix apitrace show command now showing the latest trace 2024-10-07 19:18:38 +03:00
b12faa6a44 remove legacy app specification over cmake 2024-10-07 19:08:25 +03:00
9a925a9216 /docs/getting_and_compiling.txt: update so that it specifies an example with only getting lastest lfs state 2024-10-07 19:00:29 +03:00
bd395a6371 CMake: remove data_dir from build 2024-10-07 18:55:25 +03:00
5aabab468d fix includes 2024-10-07 18:37:44 +03:00
578ceabd0e /tools/gen_api_header.sh 2024-10-07 18:06:10 +03:00
33523c7980 remove usage of twn_vec.h in public headers 2024-10-07 18:05:53 +03:00
f3c4e6f018 CMakeLists.txt: dedent 2024-10-07 17:54:46 +03:00
ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +03:00
9353999a30 twn: add run command 2024-10-07 16:58:55 +03:00
e2f5d44959 move typedefs to twn_types.h, specify that twn_vec.h is C user only, remove Vec2sh 2024-10-07 15:56:00 +03:00
8463ed4440 rename /apps/lua/ to /apps/twnlua/ 2024-10-07 15:52:32 +03:00
36fbc5b43f move lua script to lua data 2024-10-07 15:25:40 +03:00
ae8cc5f50b twn_audio: rework interface 2024-10-07 15:21:44 +03:00
cc1e64531c CMakeLists.txt: remove bootstrap script, use executable directly; move its functionalities to twn tooling 2024-10-07 14:16:53 +03:00
771d8b9c2f add data folders to all apps 2024-10-07 14:15:57 +03:00
c5c0fa4e70 CMakeLists.txt: strip by default on release, use -Bsymbolic-functions and --hash-style=gnu for optimized symbol resoltuion 2024-10-07 13:44:46 +03:00
93aa8ff2b4 remove the assumption that game is ran from cwd at root 2024-10-07 13:22:25 +03:00
6cbfc8a5fb CMakeLists.txt: use -flto=auto for potential parallel link 2024-10-07 13:21:43 +03:00
a75dda2736 move gitea-lfs-pull.py to /tools/ 2024-10-07 12:38:13 +03:00
432b768f48 make apps use /common-data/ 2024-10-07 12:34:57 +03:00
cfdc1f5f28 twn_rendering.c: rename font_path parameter to font 2024-10-07 12:32:06 +03:00
b9f2de1e28 Merge branch 'main' of https://git.poto.cafe/wanp/townengine 2024-10-07 12:29:44 +03:00
bbf79ad442 new method of pack loading, assume data or data.btw in root to point to all other 2024-10-07 12:28:15 +03:00
7bec9f6de6 rename /data/ to /common-data/ 2024-10-07 12:27:12 +03:00
06b3ad2583 CMakeLists.txt: add -rpath to look for libtownengine.so relative to executable 2024-10-07 11:04:05 +03:00
813dc539c8 /docs/interop.txt 2024-10-07 10:44:42 +03:00
60a9307ce3 twn_util: separate internal c-only features from public header 2024-10-07 10:44:18 +03:00
017ce4f1d2 /apps/lua: just free game_buf right away after it's used without keeping it around 2024-10-07 00:37:49 -03:00