Commit Graph

427 Commits (19eeeb46962b523964c9964876fd47520894f541)

Author SHA1 Message Date
Dominik Madarász 4fcfb2690a improve pbr analytical lights 2024-03-20 22:49:11 +01:00
Dominik Madarász 2aee9c3240 disable cook on demand 2024-03-20 21:52:44 +01:00
Dominik Madarász 64c6fb54a4 drop flag check 2024-03-20 21:48:52 +01:00
Dominik Madarász f620ed1938 optimise skybox_pbr 2024-03-20 21:46:51 +01:00
Dominik Madarász 082f78d25f add cmft studio + hdr maps 2024-03-20 21:25:47 +01:00
Dominik Madarász 7efc59079a improve material demo 2024-03-20 20:46:40 +01:00
Dominik Madarász 91d3f9a03a cleanup 2024-03-20 19:42:49 +01:00
Dominik Madarász 6f83b81132 preprocess shaders 2024-03-20 19:41:12 +01:00
Dominik Madarász 363ae843f4 add MODEL_PBR flag 2024-03-20 18:49:26 +01:00
Dominik Madarász 920d8ecad4 wip: pbr support 2024-03-20 18:33:02 +01:00
Dominik Madarász 33fb24142d renderer: mesh_destroy 2024-03-01 12:37:11 +01:00
Dominik Madarász 3070fece7e fix enet 2024-03-01 10:12:47 +01:00
Dominik Madarász 2ea8b3da07 update enet 2024-03-01 08:46:17 +01:00
Dominik Madarász 5a4e56f63c win: add viewport_color 2024-02-28 08:53:04 +01:00
Dominik Madarász 47c8b3c689 scene: add camera_fps2 2024-02-21 13:40:04 +01:00
Dominik Madarász 9665e4191e wip: rpc v_v sig 2024-02-18 14:36:48 +01:00
Dominik Madarász 5381ee4e68 ci improvements 2024-02-18 14:00:06 +01:00
Dominik Madarász 9337fdfa6e sync fwk 2024-02-16 18:41:02 +01:00
Dominik Madarász 4982761b48 various improvements 2024-02-16 15:38:45 +01:00
Dominik Madarász 7d5efa6c62 draw: add TEXTURE_ANISOTROPY flag 2024-02-14 15:09:47 +01:00
Dominik Madarász 083174e68c model: use linear filtering by default 2024-02-14 11:52:50 +01:00
Dominik Madarász 4d3735414d font: move shaders to art/ folder 2024-02-12 10:56:46 +01:00
Dominik Madarász 86cbafa06c add support for fwk/v4k plugins 2024-02-11 15:34:47 +01:00
Dominik Madarász f23b2b6e08 reduce code in fps__timing_thread 2024-02-11 13:11:22 +01:00
Dominik Madarász 78d44cff61 style change 2024-02-11 12:01:03 +01:00
Dominik Madarász 6f9fb45364 window: fix vsync flags 2024-02-11 11:57:05 +01:00
Dominik Madarász 10746e8b0f render: fix animations speed setup 2024-02-11 11:38:40 +01:00
Dominik Madarász 0a2167cf68 add PLUG.bat 2024-02-11 11:37:31 +01:00
Dominik Madarász 034046320f ems fixes 2024-02-11 03:29:24 +01:00
Dominik Madarász dd7003b276 steam: fix ems build 2024-02-11 03:23:53 +01:00
Dominik Madarász 4fd3e9cd67 editor: improve engine_tick powersave feature 2024-02-11 03:17:40 +01:00
Dominik Madarász c7c347fa90 win: improve fps timing and fix glfw vsync 2024-02-11 01:01:49 +01:00
Dominik Madarász 6743bc18fd font: optimise font_wrap 2024-02-10 22:36:04 +01:00
Dominik Madarász c25f4ba912 font: improve cursor advancing 2024-02-10 22:14:00 +01:00
Dominik Madarász 737e4ce33f font: preserve font cursor 2024-02-10 21:55:16 +01:00
Dominik Madarász 77012ae90d font: font_wrap support 2024-02-10 21:28:48 +01:00
Dominik Madarász 3a853d09d7 font: font_print_rect -> font_clip + scissor test 2024-02-10 17:05:45 +01:00
Dominik Madarász 65b57039a2 font: drop tags that don't fit in buf 2024-02-08 15:37:49 +01:00
Dominik Madarász bea30c6e12 font: improve tag collection 2024-02-08 15:34:39 +01:00
Dominik Madarász 64994fe27a font: small improvements 2024-02-08 15:17:00 +01:00
Dominik Madarász 0da93a645b font: add FONT_JUSTIFY support 2024-02-08 14:21:19 +01:00
Dominik Madarász b79492b709 font: text alignment fixes 2024-02-08 13:23:27 +01:00
Dominik Madarász 295a9d932d font: fix linedist calc + add font_print_rect 2024-02-08 11:24:55 +01:00
Dominik Madarász 50d622da52 add window_debug() 2024-01-31 00:48:42 +01:00
Dominik Madarász 00bbc208ff fix shader issue + demo assets 2024-01-03 22:47:14 +01:00
Dominik Madarász 0f817be23a script api revamp 2024-01-02 20:52:20 +01:00
Dominik Madarász 9e31348378 sync fwk 2024-01-01 22:06:20 +01:00
Dominik Madarász 433d741838 sync fwk 2024-01-01 11:47:45 +01:00
Dominik Madarász ba6aacaf5b sync fwk 2024-01-01 11:37:22 +01:00
Dominik Madarász 6c272811ab gui_label() now uses slice udata for text color 2023-12-12 15:24:37 +01:00
Dominik Madarász 4c71f9899e audio: add a few enhancements 2023-12-12 11:56:44 +01:00
Dominik Madarász 427c957e49 sync fwk 2023-12-12 10:15:19 +01:00
Dominik Madarász 0e2f086ae5 sync fwk 2023-12-11 19:05:57 +01:00
Dominik Madarász 0ddc564a09 small fix in gui_panel_id 2023-12-11 19:03:29 +01:00
Dominik Madarász 5594e4d642 fix glScissor coords bug 2023-12-11 18:53:56 +01:00
Dominik Madarász 83644f679a fix typo in API 2023-12-10 17:49:39 +01:00
Dominik Madarász 3008fb5b65 gitify last commit 2023-12-10 16:48:21 +01:00
Dominik Madarász 616ade56d7 add font_metrics() method 2023-12-10 16:47:42 +01:00
Dominik Madarász 02ddcb0af8 font system improvements 2023-12-10 16:01:36 +01:00
Dominik Madarász b970e828b1 sync fwk 2023-12-04 09:13:46 +01:00
Dominik Madarász 4688b154e5 sync fwk 2023-12-04 09:10:39 +01:00
Dominik Madarász 67f60ac798 sync fwk 2023-12-04 09:07:11 +01:00
Dominik Madarász bc1ff71f74 sync fwk 2023-12-02 11:05:15 +01:00
Dominik Madarász fe24c0c5e7 improve lmap data 2023-12-02 10:58:18 +01:00
Dominik Madarász f61b4c6653 sync fwk 2023-12-01 23:12:02 +01:00
Dominik Madarász 5738a5615a sync fwk 2023-12-01 22:27:44 +01:00
Dominik Madarász 4af34422f2 lmap updates 2023-12-01 22:19:41 +01:00
Dominik Madarász 7bcfb3e00c add progress func 2023-12-01 16:54:40 +01:00
Dominik Madarász 17dae10084 lmap boundary fixes + opts 2023-12-01 16:33:57 +01:00
Dominik Madarász 985b4de0d2 lightmapping support 2023-12-01 16:05:38 +01:00
Dominik Madarász 084f549ba1 wip: lmap 2023-12-01 12:01:03 +01:00
Dominik Madarász 32d4aa8d02 add 'make swap' cmd 2023-11-30 16:07:20 +01:00
Dominik Madarász ab06ce0192 wip lightmapper + GUI improvements 2023-11-30 14:33:49 +01:00
Dominik Madarász 1e65c7cdcf fix btn press regression 2023-11-28 21:04:46 +01:00
Dominik Madarász a8cbc91bf6 add gui_label and variants 2023-11-28 16:37:20 +01:00
Dominik Madarász 5bd16646b4 fix slider cursor pos 2023-11-28 15:38:30 +01:00
Dominik Madarász 7b6d120c10 later docs 2023-11-28 14:52:32 +01:00
Dominik Madarász c62dc88bc2 docs 2023-11-28 14:50:32 +01:00
Dominik Madarász 3a0de7ba05 improve docs 2023-11-28 14:49:43 +01:00
Dominik Madarász d4d6a14694 add style guide for gui_skinned() 2023-11-28 14:48:54 +01:00
Dominik Madarász 3ed712c8b5 only trigger slider change if changed by user 2023-11-28 14:36:44 +01:00
Dominik Madarász 44e1bce7b6 return if gui_slider was changed 2023-11-28 14:35:28 +01:00
Dominik Madarász 2b0e522adf improve sliders 2023-11-28 14:34:34 +01:00
Dominik Madarász 31acdce47d implement sliders and panels 2023-11-28 14:31:56 +01:00
Dominik Madarász 2562509584 2023.11 release! 2023-11-26 22:21:57 +01:00
Dominik Madarász ed13bab0b9 gui: another pass 2023-11-26 20:03:38 +01:00
Dominik Madarász 02ebdb77b2 gui cleanup 2023-11-26 18:54:02 +01:00
Dominik Madarász 071d73dbe2 add GUI_PANEL render branch 2023-11-26 17:07:33 +01:00
Dominik Madarász 6da10bec7c integrate v4k_gui 2023-11-26 16:27:33 +01:00
Dominik Madarász 4291c2590b sync fwk 2023-11-26 16:06:55 +01:00
Dominik Madarász b6805c4943 gui skinning 2023-11-26 16:00:28 +01:00
Dominik Madarász 17f41fd361 bring vfs_reload() back 2023-11-22 22:57:44 +01:00
Dominik Madarász 590d2f70c8 data: fix xml_string empty node return value 2023-11-22 18:07:18 +01:00
Dominik Madarász 6feabf8207 sync fwk 2023-11-20 21:19:53 +01:00
Dominik Madarász 52b250df83 cooking fixes + docs enhancements 2023-11-19 17:03:24 +01:00
Dominik Madarász e807e4bef8 sync fwk 2023-11-19 14:12:48 +01:00
Dominik Madarász ceae5e2fe0 sync fwk 2023-11-19 13:07:28 +01:00
Dominik Madarász 5aa83a524a huge v4k update 2023-11-15 20:14:14 +01:00
Dominik Madarász b7344c7298 small billboarding changes 2023-11-07 10:54:37 +01:00
Dominik Madarász d5a0dac5d4 fix billboarding code 2023-11-06 13:51:17 +01:00
Dominik Madarász 6e39436792 delete old code 2023-11-06 09:31:26 +01:00
Dominik Madarász 62390a3e4b billboarding fixed 2023-11-06 09:30:19 +01:00
Dominik Madarász 97973d344f sync fwk 2023-11-05 16:30:11 +01:00
Dominik Madarász 7c84c3b7a4 move stuff to demos 2023-11-02 19:39:14 +01:00
Dominik Madarász 47c3add134 add curve module 2023-11-02 18:45:44 +01:00
Dominik Madarász 9e9cb02a6a sync fwk 2023-11-02 10:59:58 +01:00
Dominik Madarász 16e546b2a2 sync fwk 2023-11-02 10:54:49 +01:00
Dominik Madarász fb515681b1 sync fwk 2023-11-01 12:24:16 +01:00
Dominik Madarász 6998920b35 sync fwk 2023-10-29 12:19:16 +01:00
Dominik Madarász 2e2da516a9 fix in engine_tick 2023-10-28 23:00:49 +02:00
Dominik Madarász 6bc3c82ff0 sync fwk 2023-10-28 22:36:59 +02:00
Dominik Madarász 48ecfdef3a sync fwk 2023-10-28 14:16:41 +02:00
Dominik Madarász 4cf144a0dd introduce tween module 2023-10-28 13:56:57 +02:00
Dominik Madarász b8b1043aad sync fwk 2023-10-27 09:42:40 +02:00
Dominik Madarász ddf1bfd2bd improve engine_tick 2023-10-26 09:38:50 +02:00
Dominik Madarász 71e631b9c8 sync fwk 2023-10-26 09:27:46 +02:00
Dominik Madarász 31e944af64 ensure vfs_load() properly loads .hdr map 2023-10-25 18:52:07 +02:00
Dominik Madarász 44d1680880 fix docs 2023-10-24 11:44:36 +02:00
Dominik Madarász 21420bb867 add track module 2023-10-24 11:43:43 +02:00
Dominik Madarász 49c41fb90e sync fwk 2023-10-23 15:25:03 +02:00
Vladyslav Hrytsenko 6be54e5b74 added fix for osx caching 2023-10-22 19:48:29 +03:00
Dominik Madarász f727f387ae sync fwk 2023-10-22 00:05:22 +02:00
Dominik Madarász f9d23b574f Merge branch 'main' of dev.v4.games:v4games/v4k 2023-10-21 20:29:37 +02:00
Dominik Madarász ef1d1e1d9b sync fwk 2023-10-21 20:29:22 +02:00
Vladyslav Hrytsenko 8528c3e38e appl compile 2023-10-21 16:48:43 +03:00
Vladyslav Hrytsenko 7dfc8a2bf8 Merge branch 'main' of dev.v4.games:v4games/v4k 2023-10-21 16:47:52 +03:00
Vladyslav Hrytsenko 9c7c0fdb95 disabled retina 2023-10-21 16:47:14 +03:00
Dominik Madarász 2fddd84946 sync fwk 2023-10-21 11:18:13 +02:00
Dominik Madarász ff08939b06 sync fwk 2023-10-20 19:55:43 +02:00
Dominik Madarász eb331e4251 fix rgba 2023-10-19 13:08:02 +02:00
Dominik Madarász 697ad5581c font alpha 2023-10-19 11:07:59 +02:00
Vladyslav Hrytsenko a739ca9b14 macos stuff 2023-10-17 22:07:05 +03:00
Dominik Madarász 9499a5b9d9 sync fwk 2023-10-16 22:07:29 +02:00
Dominik Madarász 1e3a34ddf3 lock for OSX / temp / 2023-10-16 17:20:31 +02:00
Dominik Madarász d822f4f16d sync fwk 2023-10-16 17:15:59 +02:00
Dominik Madarász c281f82c38 sync fwk 2023-10-15 13:22:55 +02:00
Dominik Madarász dd783b1f54 sync fwk 2023-10-15 13:16:35 +02:00
Dominik Madarász 49d7893354 fix ems 2023-10-14 22:20:34 +02:00
Dominik Madarász 759ace3441 update ark + fix omp parallel for deadlock 2023-10-14 22:00:30 +02:00
Dominik Madarász 64a7eade9f sync fwk 2023-10-14 21:47:24 +02:00
Dominik Madarász 497521a2c2 improve logs + docs 2023-10-14 10:23:49 +02:00
Dominik Madarász 733f1b1eb1 close pipes on RETAIL 2023-10-13 20:26:42 +02:00
Dominik Madarász 9fd068d8ce disable pipe closure on retail for now 2023-10-13 20:11:37 +02:00
Dominik Madarász 4cf87fe890 close stdin and stdout on retail 2023-10-13 20:07:33 +02:00
Dominik Madarász 136b87ab1c keep COOK_DISABLED 2023-10-13 18:20:20 +02:00
Dominik Madarász 53379cc6ba fix ifdef 2023-10-13 18:13:52 +02:00
Dominik Madarász 21a058ac23 finalise ENABLE_RETAIL 2023-10-13 17:56:26 +02:00
Dominik Madarász 6616dce555 no prints on ENABLE_RETAIL build 2023-10-13 17:22:57 +02:00
Dominik Madarász 7316666bcc ENABLE_RETAIL productionize 2023-10-13 17:13:45 +02:00
Dominik Madarász b043390964 load icon from vfs + non-workdir 2023-10-13 14:07:53 +02:00
Dominik Madarász 3da7b6dc9a fwk sync 2023-10-13 12:59:44 +02:00
Dominik Madarász 48022b47f0 cook: drop V4K_TITLE alias handling 2023-10-12 07:23:32 +02:00
Dominik Madarász b240bfc031 Revert "revert to older miniaudio"
This reverts commit 8834e1671f.
2023-10-11 21:23:13 +02:00
Dominik Madarász 8834e1671f revert to older miniaudio 2023-10-11 21:18:50 +02:00
Dominik Madarász d0c0829fc0 audio: enable ma_backend_coreaudio for macos 2023-10-11 21:07:56 +02:00
Dominik Madarász 55d397ff70 sync with FWK 2023-10-11 21:01:06 +02:00
Dominik Madarász 0a69e7510b update docs 2023-10-11 18:42:07 +02:00
Dominik Madarász 2708d4dc90 fixes 2023-10-10 21:10:22 +02:00
Dominik Madarász a0aa0a1d3d window: add window_dpi() 2023-10-10 16:26:17 +02:00
Dominik Madarász 882c3a2a76 vfs: fix zip enum 2023-10-10 12:15:14 +02:00
Dominik Madarász b2d7bcc8b2 sync depot 2023-10-10 10:52:29 +02:00
Dominik Madarász fbd6839454 cook: add cook_disable() 2023-10-10 08:24:02 +02:00
Dominik Madarász 94ecaa9399 cook: add cook_disable() 2023-10-10 08:11:33 +02:00
Dominik Madarász ffdc294d71 cook: handle V4K_TITLE path 2023-10-10 07:55:06 +02:00
Dominik Madarász a12f58ad91 detect single-header use in lab 2023-10-10 07:14:16 +02:00
Dominik Madarász 36192e0bb0 update editor_pick 2023-10-09 23:47:23 +02:00
Dominik Madarász de4f390376 revert that decision 2023-10-09 18:53:56 +02:00
Dominik Madarász 7e1980b73a panic on shader error 2023-10-09 18:53:05 +02:00
Dominik Madarász 0f328384b2 fix GL program used 2023-10-09 18:15:02 +02:00
Dominik Madarász 9f691169f4 all around changes 2023-10-09 17:05:56 +02:00
Dominik Madarász b9ceb42817 move bind out of engine folder 2023-10-09 08:43:21 +02:00
Dominik Madarász d5443512f4 bring FWK as a _mirror submodule 2023-10-09 08:23:27 +02:00
Dominik Madarász 559b0ae2da new: struct packer
new: vle,int,float,half packers
new: crc64(), arc4(), entropy()
chg: reordered endianness utils
2023-10-09 08:07:17 +02:00
Dominik Madarász 4822df172e delete old labs dir 2023-10-08 22:06:48 +02:00
Dominik Madarász 97d8500237 sync with FWK 2023-10-08 20:07:13 +02:00
Dominik Madarász 66867deae6 shuffle files around 2023-10-08 19:25:05 +02:00
Dominik Madarász 796839ac74 html5: webaudio support WIP 2023-10-08 19:07:01 +02:00
Dominik Madarász 1ff5ad2767 html5: disable buggy webaudio backend 2023-10-08 18:00:09 +02:00
Dominik Madarász 8003e408e1 html5: fix canvas resize and fullscreen + HighDPI support 2023-10-08 17:53:48 +02:00
Dominik Madarász 07c0d774fe sync to FWK 2023-10-08 09:48:47 +02:00
Dominik Madarász 5edc8228c7 sync with FWK 2023-10-07 19:34:09 +02:00
Dominik Madarász 4e871b7612 sync to FWK 2023-10-05 07:16:41 +02:00
Dominik Madarász daa56c3807 fix tcc 2023-10-05 05:36:42 +02:00
Dominik Madarász a16adf57f0 add sqlite3 2023-10-05 05:26:00 +02:00
Dominik Madarász 51f0959d75 sync to FWK 2023.9 2023-10-01 08:49:08 +02:00
Dominik Madarász d93c8febbe fix html5 build + add a new HTML5 demo 2023-09-27 09:12:48 +02:00
Dominik Madarász d029777c9d sync with fwk 2023-09-27 08:49:59 +02:00
Dominik Madarász a4869085a4 window: improve transparency pass (r-lyeh) 2023-09-25 12:24:49 +02:00
Dominik Madarász e437dcabe2 sync to FWK
new: FX params exposed automatically (int,float,vec2/3/4,color3/4), set/min/max/tooltips
new: atof2/3/4, ftoa2/3/4, swapf2/3/4, clamp2/3/4
lab: shader reflection API
brk: changed ui_enable() signature; renamed clamp234->clamp234f
2023-09-25 06:29:29 +02:00
Dominik Madarász 4cd8f820de render: optimise lighting 2023-09-25 06:10:36 +02:00
Dominik Madarász 9731ca611c render: finalize phong shader 2023-09-23 22:00:22 +02:00
Dominik Madarász fff4880c4f render: finish up phong shading 2023-09-23 20:53:25 +02:00
Dominik Madarász b44fd791a6 render: fx_end() no longer takes fb handle 2023-09-23 18:23:38 +02:00
Dominik Madarász 0beb264e2b scene: WIP lighting pass 2023-09-23 17:22:48 +02:00
Dominik Madarász 8129920be2 window: transparent windows (r-lyeh) 2023-09-21 12:45:42 +02:00
Dominik Madarász 1b294f1a27 rimlight control 2023-09-21 12:10:36 +02:00
Dominik Madarász 70678e6ee1 render: shader() now takes GLSL defines 2023-09-19 06:50:53 +02:00
Dominik Madarász aeffb03aad fix up docs 2023-09-19 04:30:54 +02:00
Dominik Madarász 9408093b0e net: use InternetReadFile() on win32 tcc (r-lyeh) 2023-09-18 19:59:59 +02:00
Dominik Madarász 67527c770d net: fix IPV6_V6ONLY being 0, should be 27 on win32 2023-09-18 18:02:48 +02:00