Commit Graph

37 Commits

Author SHA1 Message Date
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
34a081fccd rename get_text_width() to text_get_width() 2024-09-23 15:06:58 -03:00
73bf92e706 typedef & PascalCase for ALL structs and enums 2024-09-23 14:43:16 -03:00
0ef8a6233f twn_textures.c: fix srcrect setting on atlas rebuild 2024-09-23 11:51:18 +03:00
5caf736370 twn_rendering: m_sprite texture_origin changed for texture_region, stretched subregion work now 2024-09-21 20:07:05 +03:00
999cb78358 rename intersect_(f)rect to overlap_(f)rect and add simplified functions with the old names 2024-09-20 13:39:37 -03:00
16c96010dc finally compiling and running, text still needs rework 2024-09-16 16:17:00 +03:00
551d60ef85 partially done work on total source tree rework, separation of engine context and game context, generalization of renderer for different backends as well as web platform target 2024-09-16 09:07:01 +03:00
66c90181cd NO WARNINGS 2024-08-27 13:42:40 +03:00
veclavtalica
2f36d9ea3c windows build compatibility, twn_game_object as abstraction for bridging game code and the engine 2024-08-27 00:33:37 +03:00
9892bf71dc add the text primitive, finally 2024-08-22 23:41:52 -03:00
ca3cda25df add bootstrapping shell script for purposes of setting --data-dir and cwd for LD_PATH=./ 2024-08-21 21:38:24 +03:00
1a34f6416b fix .so placement and loading paths 2024-08-21 17:29:06 +03:00
d4d4544bb4 hot reloading and friends 2024-08-21 16:55:34 +03:00
08fd5970a1 slight restructure of CMakeLists 2024-08-20 17:50:50 +03:00
2126f3cddb cast ints to floats in terrain gen 2024-08-20 17:27:54 +03:00
14a9915ce9 remove procgen, use stb_perlin 2024-08-19 19:19:22 +03:00
9d2aa9b9ba rename scale option to stretch 2024-08-01 01:25:23 +03:00
b35c02d884 new music ! 2024-08-01 00:58:16 +03:00
80ffc30075 texture_origin option for sprite rendering 2024-08-01 00:52:15 +03:00
374a9b9c58 repeating textures in sprite rendering 2024-08-01 00:23:32 +03:00
veclavtalica
e74cc6bf94 remove symlink as windows is shit, src to townengine 2024-07-30 22:31:18 +03:00
222b68c0a3 flickering fixed ! 2024-07-31 01:12:45 +03:00
b7eae98d0d enjoy a new song !!! 2024-07-31 00:29:19 +03:00
967ed0ea9b no mouse change when not captured 2024-07-31 00:18:01 +03:00
7f1efce310 get the flycam going already 2024-07-30 18:05:28 -03:00
94ce701dae perlin2d, sample terrain render 2024-07-30 19:36:59 +03:00
ea29f2c5f0 working camera 2024-07-30 18:05:05 +03:00
4a924cb2a9 new option-based api for sprite issue 2024-07-30 15:30:35 +03:00
a1752196ce remove vestigial game.h's 2024-07-30 03:16:27 +03:00
a99cb340d8 application separation 2024-07-30 01:22:04 +03:00