Commit Graph

20 Commits

Author SHA1 Message Date
0ede612bec twn_input: singleton rework, twn_control.h and fixes 2024-10-08 10:12:47 +03:00
78034b69f5 proper scene switch in demos 2024-10-08 01:07:01 +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
ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +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
771d8b9c2f add data folders to all apps 2024-10-07 14:15:57 +03:00
432b768f48 make apps use /common-data/ 2024-10-07 12:34:57 +03:00
ca6c6a711c remove unused SDL2/SDL.h and physfs.h from twn_util.h, explicit usage of SDL in apps, move to Scancode enum in apps 2024-10-07 00:00:36 +03:00
dbbf6e25f0 add the long awaited push_9slice 2024-10-02 14:18:07 -03:00
0dc3cf4160 twn_rendering: have triangle uvs represented by floating vectors 2024-10-01 20:52:32 +03:00
ad0438849e twn_fog.c: fog added! 2024-10-01 16:10:36 +03:00
edc6fb1e5c /apps/scenery: make the world generate as you go 2024-10-01 15:31:18 +03:00
57fe5e8946 implement game configuration file
this integrates https://github.com/cktan/tomlc99 into the repo as a dependency
2024-10-01 12:48:42 +03:00
078e68387b replace per-tick allocations in push_text with an arena/bump allocator 2024-09-27 15:02:24 -03:00
f4b52b5450 make textures_dump_atlases work again and expose it as a utility function 2024-09-26 21:32:08 -03:00
c0dcdf8c0a twn_skybox.c 2024-09-26 21:02:56 +03:00
4c9278a927 changed how building is triggered, now there is a [twn] shell script that is exptected to be in PATH. also physfs and libxm cmake targets no longer recompiled per every target, but shared 2024-09-25 19:52:54 +03:00
a7d97a1070 /apps: separate /apps/testgame into /apps/platformer and /apps/scenery, update /apps/template 2024-09-25 18:29:58 +03:00