Commit Graph

68 Commits

Author SHA1 Message Date
03c451fba8 CMakeFiles.txt: no target_app 2024-10-08 00:50:25 +03:00
b12faa6a44 remove legacy app specification over cmake 2024-10-07 19:08:25 +03:00
bd395a6371 CMake: remove data_dir from build 2024-10-07 18:55:25 +03:00
f3c4e6f018 CMakeLists.txt: dedent 2024-10-07 17:54:46 +03:00
ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +03:00
cc1e64531c CMakeLists.txt: remove bootstrap script, use executable directly; move its functionalities to twn tooling 2024-10-07 14:16:53 +03:00
c5c0fa4e70 CMakeLists.txt: strip by default on release, use -Bsymbolic-functions and --hash-style=gnu for optimized symbol resoltuion 2024-10-07 13:44:46 +03:00
93aa8ff2b4 remove the assumption that game is ran from cwd at root 2024-10-07 13:22:25 +03:00
6cbfc8a5fb CMakeLists.txt: use -flto=auto for potential parallel link 2024-10-07 13:21:43 +03:00
06b3ad2583 CMakeLists.txt: add -rpath to look for libtownengine.so relative to executable 2024-10-07 11:04:05 +03:00
f646bd7adc CMakeLists.txt: small thing :3 2024-10-07 00:26:48 +03:00
ad0438849e twn_fog.c: fog added! 2024-10-01 16:10: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
055f59ad45 CMakeFiles.txt: fix sanitizers 2024-09-27 17:49:56 +03:00
b4b9e0ebef sanitize on debug by default 2024-09-26 21:44:31 +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
a500fcd97c don't build any app directly from root CMakeLists.txt 2024-09-25 19:37:39 +03:00
4b0d6a880b CMakeLists.txt: haiku support, optional sanitizers 2024-09-24 17:29:40 +00:00
ce582d8a80 twn_textures.c: support for .so rodata inference 2024-09-23 12:50:44 +03:00
f705546644 CMakeLists.txt: generation of apitrace running utilities 2024-09-23 10:39:07 +03:00
752dbaad8a CMakeLists.txt: quote the parameter in runner script 2024-09-23 08:57:21 +03:00
4de885fcdd it's not web. 2024-09-21 21:16:25 +03:00
2c2c4b9651 add gdb option in game launcher script 2024-09-21 21:14:25 +03:00
veclavtalica
8effcc0421 make baby windows work again 2024-09-18 20:36:00 +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
1952ab60ff use stb_image.h instead of SDL2_image 2024-08-27 14:45:26 +03:00
e1cba136a3 remove SDL2_ttf dependency 2024-08-27 13:54:53 +03:00
66c90181cd NO WARNINGS 2024-08-27 13:42:40 +03:00
93f61018cd no warnings from third parties 2024-08-27 13:24:15 +03:00
1bb33d3f34 update cmake to work with linux, plus some cleanup 2024-08-27 13:05:10 +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
0f03c18806 fix regression of build with no hot reload 2024-08-22 19:49:30 +03:00
9da92775bc generation of data archive from cmake solution 2024-08-22 18:36:04 +03:00
fa85fb8dd1 move compile_commands.json to project root directory 2024-08-22 06:38:31 +03:00
859ae8f91e use LD_LIBRARY_PATH rather than -rpath 2024-08-21 21:45:49 +03:00
192b3f150c add newline 2024-08-21 21:40:32 +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
e49d36a3b1 correct ordering of TOWNENGINE_HOT_RELOAD option for -fPIC 2024-08-21 17:04:03 +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
e21ce4113b precompile glad.h and stb_ds.h headers 2024-08-20 17:25:01 +03:00
e34b39a039 remove physfs archive formats besides zip and 7z 2024-08-20 17:15:12 +03:00
14a9915ce9 remove procgen, use stb_perlin 2024-08-19 19:19:22 +03:00
veclavtalica
e74cc6bf94 remove symlink as windows is shit, src to townengine 2024-07-30 22:31:18 +03:00
94ce701dae perlin2d, sample terrain render 2024-07-30 19:36:59 +03:00
a4cb50687e private the texture.c/.h, remove vestigial circle hash table from ctx 2024-07-30 18:31:38 +03:00