Commit graph

210 commits

Author SHA1 Message Date
Shpuld Shpuldson
d646689352 reduce lots of vram use, add horizon fog blending for sky 2023-09-30 10:00:10 +03:00
Shpuld Shpuldson
05e611b7f2 clean up code, fix one memory leak 2023-09-26 22:44:11 +03:00
Shpuld Shpuldson
1b1b7e9564 refactor texture freeing to work around gltextures not mapTextureNameList 2023-09-26 21:54:09 +03:00
Shpuld Shpuldson
4109dd2bdb wip move gltextures allocating all to 1 place instead of copy paste 2023-09-22 23:13:29 +03:00
cypress
a2b869e2a7
Merge pull request #26 from shpuld/feat/comment-out-unnecessary-hunk-spending
Remove some unnecessary hunk usage
2023-09-22 15:00:44 -04:00
Shpuld Shpuldson
86d36d1fd1 remove some unnecessary hunk usage 2023-09-22 21:42:40 +03:00
cypress
509a13ca21
Merge pull request #25 from shpuld/feat/clut4-compression-on-load
8bpp to 4bpp compression
2023-09-22 14:40:15 -04:00
Shpuld Shpuldson
a6592a09b7 remove unnecessary comment 2023-09-22 21:39:07 +03:00
Shpuld Shpuldson
8c44c5b1ea fix uploading to vram 2023-09-22 21:21:45 +03:00
Shpuld Shpuldson
1536a48ff0 fix memory leak 2023-09-22 20:55:25 +03:00
Shpuld Shpuldson
876c28b366 remove vram alloc, doesn't work for some reason, it's fast enough anyway 2023-09-22 09:14:52 +03:00
Shpuld Shpuldson
bd1b011139 why not use vram too for clut4 2023-09-22 08:38:03 +03:00
Shpuld Shpuldson
eab5ddd082 Refactor clut4 conversion to its own file, use 8bpp resampling to better reuse code 2023-09-22 08:26:11 +03:00
Shpuld Shpuldson
b2c43cbe5a add a median cut implementation for converting wad3 8bpp textures to 4bpp 2023-09-21 23:13:06 +03:00
cypress
08a31968fa
Fix default FOV and usebtn offset
hello from mobile
2023-09-17 17:28:26 -04:00
cypress
891ad6e5b5
Merge pull request #24 from shpuld/feat/faster-pathfinding 2023-09-17 14:44:26 -04:00
Shpuld Shpuldson
070e651d7d change print back to dprint 2023-09-17 21:42:44 +03:00
Shpuld Shpuldson
2088176fd9 Even faster waypoint selection for player/zombies 2023-09-17 21:27:30 +03:00
Shpuld Shpuldson
ce6d32162a refactor waypoint code to make 0 valid, add more ways to check first wp before moving on to next ones 2023-09-17 19:16:13 +03:00
cypress
08edc7512a
Merge pull request #23 from shpuld/feat/optimize-wp-picking-in-pathfinding 2023-09-17 05:58:06 -04:00
cypress
cdbb3d1f53
Merge pull request #22 from shpuld/fix/doors-losing-lm-when-moving 2023-09-17 05:57:19 -04:00
Shpuld Shpuldson
d7009bcaa0 reorder code in waypoint picking in pathfinding 2023-09-17 11:49:38 +03:00
Shpuld Shpuldson
876dc2702e disable alpha test before blending lightmaps for surfaces that need alpha test 2023-09-17 09:56:12 +03:00
cypress
a1568f2b0a
Merge pull request #21 from shpuld/feat/dual-frustum-clipping 2023-09-16 17:44:37 -04:00
Shpuld Shpuldson
c782d49c77 port over dual frustum clipping from interstice 2023-09-16 16:00:48 +03:00
cypress
2712c3fdfd
Merge pull request #20 from shpuld/feat/working-16bit-lms 2023-09-12 05:36:26 -04:00
Shpuld Shpuldson
c708da2fb9 fix the -lm_2 arg to work correctly, also use 5551 instead of 4444 when doing so 2023-09-12 08:28:06 +03:00
cypress
05ca0c04e5
Merge pull request #19 from shpuld/feat/avoid-unnecessary-frustum-checks 2023-09-11 15:15:29 -04:00
Shpuld Shpuldson
c38aa2d90e avoid unnecessary frustum checks in world leaves 2023-09-11 20:59:48 +03:00
cypress
cfbf7f5098 Use custom sound DMA instead of SDL for audio 2023-09-11 11:19:31 -04:00
cypress
debcddf2cc
Merge pull request #17 from shpuld/fix/revert-clipping-vfpu-asm
Fix: revert changes to vfpu clipping asm, it was too good to be true
2023-09-11 10:38:34 -04:00
cypress
0ba4ccebb5
Merge pull request #16 from shpuld/feat/use-vertex-morphs 2023-09-11 10:29:58 -04:00
Shpuld Shpuldson
de61f956c4 revert changes to vfpu clipping asm, it was too good to be true 2023-09-10 09:58:28 +03:00
Shpuld Shpuldson
938e7272a4 double the interpolation disabling distance 2023-09-10 09:56:04 +03:00
Shpuld Shpuldson
42c329fa22 Merge branch 'main' into feat/use-vertex-morphs 2023-09-10 09:53:40 +03:00
Shpuld Shpuldson
ecc81105f8 Use vertex morphs for interpolated alias mdl 2023-09-10 09:46:25 +03:00
cypress
a4d4d31727
Merge pull request #15 from shpuld/feat/render-static-brush-models-with-world
Render static brush models with world
2023-09-09 13:47:15 -04:00
Shpuld Shpuldson
ad36351717 Merge branch 'main' into feat/render-static-brush-models-with-world 2023-09-09 13:57:51 +03:00
Shpuld Shpuldson
b909e5d8ee render static brush models with world 2023-09-09 13:49:38 +03:00
cypress
4bfd390948
Merge pull request #14 from shpuld/feat/aggressive-clipping-checking 2023-09-07 15:09:08 -04:00
Shpuld Shpuldson
168d5a7871 make clipping checking prevent clipping more aggressively 2023-09-06 08:37:28 +03:00
cypress
c44adc7dba Fix bolt.mdl path 2023-09-05 20:21:30 -04:00
cypress
56efc44b9b
Merge pull request #13 from shpuld/fix/flames-looking-wrong 2023-09-05 15:30:26 -04:00
Shpuld Shpuldson
cd7234877e fix mistake with i supposed to be j 2023-09-05 22:24:30 +03:00
cypress
cf3c2a65ee
Merge pull request #12 from shpuld/feat/broad-phase-clipping-checks
Port broad phase clipping checks from interstice
2023-09-05 09:50:00 -04:00
Shpuld Shpuldson
d9e7fe2f4c port broad phase clipping checks from interstice 2023-09-05 08:45:55 +03:00
cypress
52ad56f8c2
Merge pull request #11 from shpuld/fix/flame-mdl-crashing-custom-maps 2023-09-04 15:41:23 -04:00
Shpuld Shpuldson
1636b50e3b Fix alias models with frame groups crashing 2023-09-04 22:39:38 +03:00
cypress
1e31422045
Merge pull request #10 from shpuld/feat/static-model-big-speedup 2023-09-02 10:27:05 -04:00
Shpuld Shpuldson
4c01fa58cc draw static alias mdl straight from commands buffer 2023-09-02 11:15:10 +03:00