Commit Graph

20 Commits

Author SHA1 Message Date
ed93072371 twn_amalgam.c: a way for single unit compilation, controlled with -DTWN_USE_AMALGAM in cmake 2024-10-13 19:04:23 +03:00
667b599c19 remove /include/twn_config.h, move defauls to relevant headers 2024-10-11 20:21:02 +03:00
9b5c043d85 fix warnings 2024-10-08 10:30:11 +03:00
60a9307ce3 twn_util: separate internal c-only features from public header 2024-10-07 10:44:18 +03:00
91ea5356fc fix variout memory leaks 2024-10-01 13:34:58 +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
c0dcdf8c0a twn_skybox.c 2024-09-26 21:02:56 +03:00
0fe1023667 use SDL stdlib where possible 2024-09-25 19:42:34 -03:00
65425f5b2e twn_textures.c: stream-based texture load 2024-09-25 18:01:50 +03:00
1430a13832 twn_textures.c: use SDL memory allocation, use SDL_LoadFileRW in texture file loading 2024-09-25 17:41:15 +03:00
73bf92e706 typedef & PascalCase for ALL structs and enums 2024-09-23 14:43:16 -03:00
e093a6d492 twn_textures.c: handle RGB image files 2024-09-23 14:35:46 +03:00
c8469e9416 twn_textures.c: actually fix srcrect updating lol 2024-09-23 14:07:02 +03:00
ce582d8a80 twn_textures.c: support for .so rodata inference 2024-09-23 12:50:44 +03:00
0ef8a6233f twn_textures.c: fix srcrect setting on atlas rebuild 2024-09-23 11:51:18 +03:00
535d5d8d36 twn_textures.c: little pieces 2024-09-23 09:50:48 +03:00
66678a27cf twn_textures.c: add debug hints about unportable texture dimensions 2024-09-23 09:35:46 +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