Commit Graph

41 Commits

Author SHA1 Message Date
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
a99cb340d8 application separation 2024-07-30 01:22:04 +03:00
922e521867 better access to townengine headers from any point in source tree 2024-07-29 23:40:15 +03:00
09f2f82d27 separate game and townengine builds for reuse in tools 2024-07-29 22:55:26 +03:00
ff077c5d0d separation to vec.h, generic vector ops, camera class and its usage for spatial rendering 2024-07-29 15:21:39 +03:00
9181e43fcc rename to townengine 2024-07-29 13:06:23 +03:00
8846e788b2 aligned for vectorization commor primitives, uint32_t cast for color comparison in batch collection 2024-07-28 22:17:53 +03:00
c9f4f85fce have avx enabled by default 2024-07-28 21:47:57 +03:00
c59708d619 return CMakeLists.txt flags 2024-07-28 13:33:29 +03:00
5ddf0eb879 elf.c: section limit inference for linux, fixes for stb_ds.h hashing, more compilation flags 2024-07-28 01:44:39 +03:00
b5c8f7100a -fsanitize=undefined 2024-07-27 15:12:17 +03:00
765e6bb8a0 build: add -gc-sections for non-MSVC compilers 2024-07-19 23:37:28 +03:00
bd53a931c0 rework of textures, finalization of basic opengl rendering 2024-07-14 16:04:12 +03:00
f98f9e1300 creation of opengl 1.5 context, mixing of gl calls with sdl renderer 2024-07-09 15:36:13 +03:00
veclavtalica
e1a3298398 CMakeLists.txt: default to Debug build if not set 2024-07-08 19:13:53 +03:00
veclavtalica
0eb851e7bf .xm playback 2024-07-08 16:58:23 +03:00
veclavtalica
8a8f62dc25 .ogg playback 2024-07-08 09:55:28 +03:00
veclavtalica
adcf638e2a enable compile_commands for clangd 2024-07-08 03:56:00 +03:00
veclavtalica
206a5b7cad awesome!!! 2024-07-08 03:44:20 +03:00