Commit Graph

13 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
fd6615744e /apps/platformer: not a platfromer, is it 2024-10-08 00:50:59 +03:00
3c6bcdc499 /apps/platformer: fix twn_vec.h include 2024-10-07 19:57:45 +03:00
bd395a6371 CMake: remove data_dir from build 2024-10-07 18:55:25 +03:00
ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +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
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
f4b52b5450 make textures_dump_atlases work again and expose it as a utility function 2024-09-26 21:32:08 -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