Commit Graph

370 Commits (be8b5689a5d85f9daa3c9b848b0fd270b626ddc5)

Author SHA1 Message Date
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
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 1062874d27 ignore v4k.html from now on 2023-09-08 22:20:55 +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 fb3e0c55e8 readme stuff 2023-09-08 15:17:40 +02:00
Dominik Madarász 0440bfd3cc ugly but works html5 cook 2023-09-08 15:06:07 +02:00
Dominik Madarász 64ee470bc4 fix html5 build 2023-09-08 14:42:05 +02:00
Dominik Madarász f77e03123b update docs 2023-09-08 14:33:36 +02:00
Dominik Madarász 4bd94d7824 add vps command to update v4k.dev site 2023-09-08 14:10:14 +02:00
Dominik Madarász aea5470ca6 update readme 2023-09-08 13:56:15 +02:00
Dominik Madarász d1204acada mesh_render_prim addition 2023-09-08 11:41:51 +02:00
Dominik Madarász cf45869d14 geom shader support 2023-09-08 11:19:33 +02:00
Dominik Madarász 5af4968eed ssbo impl 2023-09-08 10:00:26 +02:00
Dominik Madarász 34c58f04a9 improve shaders 2023-09-08 08:31:58 +02:00
Dominik Madarász 51320bfab1 compute shaders! 2023-09-08 08:16:32 +02:00
Dominik Madarász 1d7e68f18c anims_t drop M 2023-09-07 11:40:43 +02:00
Dominik Madarász 3a70df594b update cooker 2023-08-26 15:33:29 +02:00
Dominik Madarász 380732c4ad animlist support 2023-08-26 01:32:43 +02:00
Dominik Madarász 99d6884984 netsync improv 2023-08-22 18:32:23 +02:00
Dominik Madarász 3e1e170e16 use va() for events 2023-08-22 13:29:47 +02:00
Dominik Madarász 36c7a81884 stuff 2023-08-21 21:11:54 +02:00
Dominik Madarász 86e129e210 add NETWORK_BUF_CLEAR_ON_JOIN option 2023-08-21 20:23:43 +02:00
Dominik Madarász 1928f0a531 reuse IDs on reconnect 2023-08-21 20:07:24 +02:00
Dominik Madarász 917a63625b improve 2023-08-21 18:36:31 +02:00
Dominik Madarász 849b7cfef7 allow for polling methods to return events 2023-08-21 18:35:22 +02:00
Dominik Madarász 27b580dbd2 refactor netsync polling 2023-08-21 18:07:45 +02:00
Dominik Madarász 4969ab42d9 rpc support 2023-08-21 14:58:12 +02:00
Dominik Madarász d5496d4ddb add network event handling 2023-08-21 14:24:47 +02:00
Dominik Madarász 4bc37fc6be changes 2023-08-21 12:33:11 +02:00
Dominik Madarász 4391fa7b33 netsync improvements 2023-08-21 12:32:46 +02:00
Dominik Madarász 37db0c09fe improve shaders 2023-08-20 19:58:34 +02:00
Dominik Madarász 9fa2bf5e6f update deps 2023-08-14 19:42:15 +02:00
Dominik Madarász 5264e113c3 new ver 2023-08-14 19:40:20 +02:00
Dominik Madarász 8b6f07e5c5 ass2iqe: animlist support + sample anim file 2023-08-14 18:30:52 +02:00
Dominik Madarász 1a1683aa29 upstream files 2023-08-11 21:59:48 +02:00
Dominik Madarász cb37e1e9f4 upstream changes 2023-08-11 21:53:24 +02:00