Commit Graph

381 Commits (5dca07d113df5e9785f855fac34ff7999ce84a46)

Author SHA1 Message Date
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 0f817be23a script api revamp 2024-01-02 20:52:20 +01:00
Dominik Madarász 433d741838 sync fwk 2024-01-01 11:47:45 +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 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 bc1ff71f74 sync fwk 2023-12-02 11:05:15 +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 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 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 47c3add134 add curve module 2023-11-02 18:45:44 +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
Dominik Madarász f727f387ae sync fwk 2023-10-22 00:05:22 +02:00
Dominik Madarász ef1d1e1d9b sync fwk 2023-10-21 20:29:22 +02: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
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 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 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 97d8500237 sync with FWK 2023-10-08 20:07:13 +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 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 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
Dominik Madarász b7a6543c07 wip asset reload 2023-09-18 12:00:16 +02:00
Dominik Madarász 5f6fbab4de system: add app_spawn 2023-09-18 09:43:28 +02:00
Dominik Madarász 2ec699948c workbench: initial impl wip
render: supporting changes
ui: new methods
2023-09-17 22:56:51 +02:00
Dominik Madarász 5451fa6e9d art: new system fonts
video: support VIDEO_LOOP
html5: drop JS worker
2023-09-17 11:50:34 +02:00
Dominik Madarász ad9d3e8eee bt: introduced a new behavior tree module
html5: drop the use of JS worker and provide host.py to serve test build
instead
demo: use pathfinding in 99-pathfind
2023-09-16 14:35:20 +02:00
Dominik Madarász 07b002d536 render: fix skybox_mie_calc_sh cast 2023-09-11 15:22:16 +02:00
Dominik Madarász b47c47df54 render: improve skybox_mie_calc_sh and add sky_intensity 2023-09-11 15:16:16 +02:00
Dominik Madarász aa66b03929 render: expose all params in mie sky shader 2023-09-11 13:27:24 +02:00
Dominik Madarász 5841bfbff2 fwk: sync up 2023-09-11 12:23:33 +02:00
Dominik Madarász afd2399ec0 fwk: sync + window: em fix resize + support fixed resize 2023-09-11 12:19:29 +02:00
Dominik Madarász a20b0b73ad mie skybox no longer uses non-standard uniform default value 2023-09-11 11:07:59 +02:00
Dominik Madarász 959f988836 render: fix skybox_mie_calc_sh sampling cubemap upside down
render: skybox_mie_calc_sh match res to 1024
2023-09-11 10:23:02 +02:00
Dominik Madarász b31edaf5c0 update docs 2023-09-11 07:30:12 +02:00
Dominik Madarász 495f9972e5 render: api adjustments 2023-09-10 18:16:25 +02:00
Dominik Madarász b8422c6eb9 render: rework engine shaders to be loaded from disk 2023-09-10 17:10:49 +02:00
Dominik Madarász 358522ea22 wip: shadowmap 2023-09-10 16:46:07 +02:00
Dominik Madarász 687993ef40 code cleanup 2023-09-10 15:14:34 +02:00
Dominik Madarász 47e0d6c969 small render fixes 2023-09-10 15:05:57 +02:00
Dominik Madarász 2d6ed9740d render: add skybox_mie_calc_sh 2023-09-10 15:03:01 +02:00
Dominik Madarász bda4cbb857 rpc: improve msg ctor 2023-09-08 23:11:23 +02:00
Dominik Madarász d848c6a06a rpc: fix RPC_SIGNATURE_v_s case 2023-09-08 23:00:22 +02:00
Dominik Madarász 3ed96fc62a netsync: improve event ctor 2023-09-08 22:38:35 +02:00
Dominik Madarász 5f99b67778 sync up with FWK 2023-09-08 22:19:06 +02:00
Dominik Madarász 208a5d8772 add changelog to docs 2023-09-08 22:14:11 +02:00
Dominik Madarász 64ee470bc4 fix html5 build 2023-09-08 14:42:05 +02:00
Dominik Madarász cf45869d14 geom shader support 2023-09-08 11:19:33 +02:00