Commit Graph

  • 2120f6876c camera reset and default state veclavtalica 2025-02-02 01:41:02 +0300
  • dfd888a80a don't bypass x11 compositor veclavtalica 2025-02-02 00:50:26 +0300
  • 695784301d twn_filewatch.c: typo veclavtalica 2025-02-01 14:25:54 +0300
  • 98d19495a2 another ccaloc moment veclavtalica 2025-02-01 14:00:18 +0300
  • 0929aa9be4 move shell html to /src/ veclavtalica 2025-02-01 13:57:51 +0300
  • 898c11bbdf /share/twn_api.json: add draw_line veclavtalica 2025-02-01 13:47:35 +0300
  • aeabb17f86 create /apps/temapltes/ structure, clean up cmake files to use directory name for binary name directly veclavtalica 2025-02-01 13:47:17 +0300
  • 24e8dc052d fixes veclavtalica 2025-01-31 05:11:10 +0300
  • 3f264ca0ad remove busted free veclavtalica 2025-01-31 02:52:33 +0300
  • a7557fceb4 Merge remote-tracking branch 'origin/main' veclavtalica 2025-01-31 02:49:33 +0300
  • bd89c4b938 fix mixing up of SDL and libc allocators, proper flushing of quad build buffers veclavtalica 2025-01-30 21:57:20 +0300
  • 7074e7499a ugh? veclavtalica 2025-01-30 05:10:38 +0300
  • 2e29cfcfe2 dmon license veclavtalica 2025-01-30 04:33:24 +0300
  • 74d7190c62 ilimination of system code, removal of x-watcher and replacement of it by dmon, fixes in audio code, dynamic asset reload veclavtalica 2025-01-30 04:30:20 +0300
  • 4b2a22bf3c twn_filewatch.c: file and directory change api, initial support for texture reload veclavtalica 2025-01-29 07:21:09 +0300
  • 630c6fb5d4 /apps/twnlua: automatically generate twnapi.lua file inside ~/data/scripts/ veclavtalica 2025-01-29 03:43:10 +0300
  • d7c744a6ca /apps/twnlua: mark with CODEGEN veclavtalica 2025-01-29 03:36:15 +0300
  • f8d7aa8a07 /apps/twnlua: propagate root project name for executable name veclavtalica 2025-01-29 03:22:04 +0300
  • ea2bbf5de0 /apps/twnlua: support dynlib game=off veclavtalica 2025-01-29 03:14:08 +0300
  • 637343db5b /apps/twnlua: use minilua single source amalgam veclavtalica 2025-01-29 01:24:58 +0300
  • fedf1b5ef3 remove twn_elf veclavtalica 2025-01-29 01:24:10 +0300
  • 732b61e207 twn_textures.c: remove hacky .rodata texture lookup method, it turns out to be not anyhow faster than the simplest solution. also fix path=NULL case veclavtalica 2025-01-29 00:56:05 +0300
  • 6cb166522e /share/twn_api.h: add profiling api veclavtalica 2025-01-29 00:55:12 +0300
  • 916e433753 /apps/twnlua: no warnings veclavtalica 2025-01-28 23:58:13 +0300
  • 458b44d0b0 /docs/interop.md: limit parameter count to 8, specify enums veclavtalica 2025-01-28 23:51:18 +0300
  • 8de4a1f09b /apps/twnlua: optimize default boolean and convertrer pops veclavtalica 2025-01-28 23:48:49 +0300
  • ac93d114c9 add log over primitives to twn_api.h veclavtalica 2025-01-28 07:14:55 +0300
  • 37b0f4e3a6 /apps/twnlua: add docgen.py veclavtalica 2025-01-28 06:09:12 +0300
  • fad11041bc fix uvs in billboards veclavtalica 2025-01-27 05:08:45 +0300
  • bbd654a569 /apps/demos/scenery: update to new api veclavtalica 2025-01-27 05:08:35 +0300
  • 7c33107585 game.background_color option in twn.toml veclavtalica 2025-01-27 05:05:43 +0300
  • f625dde8d1 some TODOs to twn_draw.h veclavtalica 2025-01-27 04:16:00 +0300
  • 166ae43981 make face culling optional veclavtalica 2025-01-27 04:15:46 +0300
  • 6ef3cf1a3a change near z for orthographic proj veclavtalica 2025-01-27 04:09:59 +0300
  • d84e5f8610 normalize camera direction veclavtalica 2025-01-27 03:46:29 +0300
  • 6a87119c70 add zoom option to camera to work around the orthographic camera veclavtalica 2025-01-27 03:25:14 +0300
  • 791ab628ca orthographic projection for fov=0, rework of order and defaults for 3d camera api veclavtalica 2025-01-27 02:42:36 +0300
  • 20394eed6c disable elf texture lookup hack veclavtalica 2025-01-26 23:26:48 +0300
  • a54657e7be twn_loop.c: limit minimum amount of delay veclavtalica 2025-01-26 18:34:34 +0300
  • 3bdee30e7b /docs/interop.md: add a line about parameter keywords veclavtalica 2025-01-26 18:08:49 +0300
  • 0e4abaae3c twn_api.c: change repeat parameter to loops, as to prevent name collisions veclavtalica 2025-01-26 17:53:01 +0300
  • cf8227d7d3 twn_loop.c: place SDL_Delay() to not waste CPU time veclavtalica 2025-01-26 12:06:00 +0300
  • f365cff590 twnlua: prepend /scripts/ in package loader veclavtalica 2025-01-26 11:35:34 +0300
  • 77ff5c7f25 add TODOs on streaming lua load veclavtalica 2025-01-26 11:10:05 +0300
  • bf3eb50b55 twn_audio.c: only apply volume scaling on mixing of different streams veclavtalica 2025-01-26 11:08:13 +0300
  • 6a029b7e79 fix audio overrun veclavtalica 2025-01-26 09:39:31 +0300
  • fad46137a0 set ctx.frame_duration veclavtalica 2025-01-26 09:09:21 +0300
  • 7a403c766e /apps/twnlua: report error on loading veclavtalica 2025-01-26 08:48:59 +0300
  • b0e718876a show time limit in sanity timer veclavtalica 2025-01-26 02:56:00 +0300
  • 785b507330 twn_input.c: ignore input param veclavtalica 2025-01-26 02:45:50 +0300
  • d884a9026f clean twn_timer veclavtalica 2025-01-26 02:45:01 +0300
  • 9ddc5c4a66 twn_timer.c: time limiter for game ticks veclavtalica 2025-01-26 02:37:21 +0300
  • 16bd49b42e twn_util.c: show profiles in milliseconds when appropriate, don't include time taken for profile internals veclavtalica 2025-01-26 01:42:12 +0300
  • dd158dee01 apps/examples/circle-raster: add acc precalc method veclavtalica 2025-01-25 05:48:11 +0300
  • ab3c032313 /apps/examples/circle-raster: acc variant veclavtalica 2025-01-25 02:28:40 +0300
  • 34a3de73c6 twn_utils.c: make profiling public veclavtalica 2025-01-25 00:53:44 +0300
  • 597168c282 /apps/examples/circle-raster: benchmarking and int32_t variant veclavtalica 2025-01-25 00:53:28 +0300
  • 37cd8cf2cf /apps/examples/circle-raster: simple code for grid-centered circle rasterization veclavtalica 2025-01-24 23:26:32 +0300
  • cb5f207761 twn_util.c: fix profile worst case, update formatting veclavtalica 2025-01-24 23:06:34 +0300
  • 6e421543c4 cmake ctx.mouse_position viewport and resolution based veclavtalica 2025-01-24 21:52:11 +0300
  • c97d9b2568 twn_draw.c: fix upper limit for camera fov warn veclavtalica 2025-01-24 16:28:06 +0300
  • e281ba593c twn_vec.h: add vec2_length(), remove legacy code veclavtalica 2025-01-24 04:28:09 +0300
  • a20be2c523 twn_draw.c: add warning for erroneous fov parameters veclavtalica 2025-01-24 04:27:45 +0300
  • b20e7202fe twn_util.c: add handling of NULL in log_<type> veclavtalica 2025-01-23 22:15:09 +0300
  • 045d2764fa twn_util.c: add logging over base types veclavtalica 2025-01-23 22:13:01 +0300
  • 53917b05b7 twn_draw.c: draw_box() veclavtalica 2025-01-23 21:53:15 +0300
  • 0dc0a18019 fix color for line rendering veclavtalica 2025-01-23 20:05:29 +0300
  • 2df5616410 add line drawing veclavtalica 2025-01-23 03:17:05 +0300
  • 3f9906a918 remove fog start and fog end parameters veclavtalica 2025-01-20 19:29:57 +0300
  • 8a5d639f95 remove indirection in vertex builder veclavtalica 2025-01-17 22:48:35 +0300
  • 40aef0a1f9 scale in mixing to prevent excessive gain veclavtalica 2025-01-15 21:31:19 +0300
  • 2de536210b fix --release switch veclavtalica 2025-01-15 07:58:42 +0300
  • 449d4d3c32 move opengl library loading to a thread that starts as soon as possible and is awaited as late as we can allow veclavtalica 2025-01-15 07:54:45 +0300
  • 8233f31269 oopsie veclavtalica 2025-01-15 06:50:19 +0300
  • 45b8b21ec3 add todo veclavtalica 2025-01-15 06:08:55 +0300
  • 4659cf2aef profile atlas recreation veclavtalica 2025-01-15 06:04:02 +0300
  • db530ca3a0 make audio device init delayed until first use veclavtalica 2025-01-15 05:43:56 +0300
  • f0dfd5627a more startup profiling, removal of irrelevant calls and zeroing in textures_cache_init() veclavtalica 2025-01-15 05:39:18 +0300
  • 0da1e413aa only init the necessary with SDL, speeding up the startup veclavtalica 2025-01-15 05:00:45 +0300
  • 8c165974c7 twn_util.c: make profiler collect worst case, dispaly the stats with awareness of sample count veclavtalica 2025-01-15 04:55:18 +0300
  • 1ba33bdc26 collect profile of startup and pack resolution veclavtalica 2025-01-15 04:47:36 +0300
  • 760515c551 minor optimization of strncmp for literal comparison veclavtalica 2025-01-15 04:36:00 +0300
  • 9d0a2cab81 expose audio to twnlua veclavtalica 2025-01-15 04:15:08 +0300
  • d5b42fa242 add a todo veclavtalica 2025-01-15 01:01:16 +0300
  • 851ab80292 remove ctx.update_multiplicity veclavtalica 2025-01-15 00:52:42 +0300
  • 688d71953a make inputs up-to-date for game tick veclavtalica 2025-01-15 00:43:46 +0300
  • 63abf3d374 disable vsync, make us rule over frames fully veclavtalica 2025-01-15 00:31:17 +0300
  • 80c77424e2 /apps/demos/scenery: more detailed terrain veclavtalica 2025-01-15 00:30:46 +0300
  • 82d4f21a4b twn_textures.c: minor optimization veclavtalica 2025-01-15 00:11:47 +0300
  • 3990f78a74 twn_textures.c: make missing texture single and reused veclavtalica 2025-01-15 00:10:30 +0300
  • f0ad9b9a8a twn_textures.c: fix repeated bind to work over varying channel count veclavtalica 2025-01-14 23:47:59 +0300
  • ea0af5159f only enable fog for 3d veclavtalica 2025-01-14 23:28:48 +0300
  • 5059802d09 big rendering overhaul (cleaning and api abstraction) veclavtalica 2025-01-14 23:20:54 +0300
  • b7cb37c06a no TWNBUILDDIR veclavtalica 2025-01-14 04:47:53 +0300
  • 664f123a85 twn_input.c: zero ctx.mouse_movement on focus lost veclavtalica 2025-01-14 02:56:55 +0300
  • 2351d4114c twn_draw.c: add draw_quad() veclavtalica 2025-01-14 02:53:18 +0300
  • 86bf16b680 make mouse movement and capture depend on window focus veclavtalica 2025-01-14 02:07:54 +0300
  • dbe6217e24 /apps/twnlua: add .gitignore veclavtalica 2025-01-14 01:37:16 +0300
  • b037d7a0b9 /apps/twnlua: ctx uploading veclavtalica 2025-01-14 01:35:54 +0300
  • e984e95fa8 /apps/twnlua: make dependent on twn_api.json for rebuilding veclavtalica 2025-01-14 00:30:48 +0300