Commit Graph

19 Commits

Author SHA1 Message Date
veclavtalica 78034b69f5 proper scene switch in demos 2024-10-08 01:07:01 +03:00
veclavtalica bd395a6371 CMake: remove data_dir from build 2024-10-07 18:55:25 +03:00
veclavtalica 5aabab468d fix includes 2024-10-07 18:37:44 +03:00
veclavtalica ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +03:00
veclavtalica 36fbc5b43f move lua script to lua data 2024-10-07 15:25:40 +03:00
veclavtalica ae8cc5f50b twn_audio: rework interface 2024-10-07 15:21:44 +03:00
veclavtalica 771d8b9c2f add data folders to all apps 2024-10-07 14:15:57 +03:00
veclavtalica 432b768f48 make apps use /common-data/ 2024-10-07 12:34:57 +03:00
veclavtalica 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
wanp dbbf6e25f0 add the long awaited push_9slice 2024-10-02 14:18:07 -03:00
veclavtalica 0dc3cf4160 twn_rendering: have triangle uvs represented by floating vectors 2024-10-01 20:52:32 +03:00
veclavtalica ad0438849e twn_fog.c: fog added! 2024-10-01 16:10:36 +03:00
veclavtalica edc6fb1e5c /apps/scenery: make the world generate as you go 2024-10-01 15:31:18 +03:00
wanp 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
wanp 078e68387b replace per-tick allocations in push_text with an arena/bump allocator 2024-09-27 15:02:24 -03:00
wanp f4b52b5450 make textures_dump_atlases work again and expose it as a utility function 2024-09-26 21:32:08 -03:00
veclavtalica c0dcdf8c0a twn_skybox.c 2024-09-26 21:02:56 +03:00
veclavtalica 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
veclavtalica a7d97a1070 /apps: separate /apps/testgame into /apps/platformer and /apps/scenery, update /apps/template 2024-09-25 18:29:58 +03:00