jak-project/game/graphics/opengl_renderer
water111 3d4dfb2077
[decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943)
- Add "tfrag-water" tfrag tree support (may just be the same as Jak 1's
'dirt' for the settings)
- Add "tfrag-trans" tfrag tree support, reusing "trans-tfrag" from jak
1.
- Add a hack to `LinkedObjectFileCreation` to handle `oracle`, which is
accidentally multiply defined as a type leftover from jak 1 (an entity
in village1), and level info for jak 2.
- Add `VI1.DGO`
- add `time-of-day.gc`, and a few other stub functions so it works
- Set up some time of day stuff in GOAL for jak 2/PC renderers
- Clean up time of day in c++ renderers, support the more complicated
weight system used by jak 2 (backward compatible with jak 1, thankfully)

The mood functions now run, so this could cause problems if they rely on
stuff we don't have yet. But it seems fine for ctysluma and prison for
now.


![image](https://user-images.githubusercontent.com/48171810/194719441-d185f59c-19dc-4cd3-a5c4-00b0cfe1d6c3.png)


![image](https://user-images.githubusercontent.com/48171810/194719449-6e051bf3-0750-42e5-a654-901313dbe479.png)


![image](https://user-images.githubusercontent.com/48171810/194719455-3ca6793e-873a-449a-8e85-9c20ffeb4da3.png)


![image](https://user-images.githubusercontent.com/48171810/194719461-8f27af17-4434-4492-96cd-8c5eec6eafdf.png)


![image](https://user-images.githubusercontent.com/48171810/194719468-720715b9-985a-4acf-928c-eab948cfcb03.png)


![image](https://user-images.githubusercontent.com/48171810/194719486-bfb91e83-f6ca-4585-80ad-3b2c0cbbd5af.png)


![image](https://user-images.githubusercontent.com/48171810/194719492-df065d2f-cb5a-47e3-a248-f5317c42082f.png)


![image](https://user-images.githubusercontent.com/48171810/194719507-91e1f477-ecfe-4d6c-b744-5f24646255ca.png)
2022-10-08 13:33:03 -04:00
..
background [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
foreground logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
loader [decomp] decompile decomp.gc (#1936) 2022-10-01 13:39:56 -04:00
ocean logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
shaders [decomp] add shrubbery renderer (#1914) 2022-09-24 17:46:13 -04:00
AdgifHandler.h [graphics] port generic VU1 to OpenGL (#1221) 2022-03-06 19:56:43 -05:00
BucketRenderer.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
BucketRenderer.h [graphics] hook up visibility data for jak 2 (#1938) 2022-10-01 17:12:12 -04:00
buckets.h [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
CollideMeshRenderer.cpp collision renderer v2 (#1344) 2022-04-30 14:48:24 -04:00
CollideMeshRenderer.h Collision mesh extraction (#1330) 2022-04-25 21:53:23 -04:00
debug_gui.cpp Added screenshot hotkey (#1776) 2022-08-23 19:13:26 -04:00
debug_gui.h Added screenshot hotkey (#1776) 2022-08-23 19:13:26 -04:00
DepthCue.cpp W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
DepthCue.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
DirectRenderer.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
DirectRenderer.h logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
DirectRenderer2.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
DirectRenderer2.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
dma_helpers.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
dma_helpers.h [graphics] partial tfrag implementation (#958) 2021-11-13 20:44:17 -05:00
EyeRenderer.cpp W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
EyeRenderer.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
opengl_utils.cpp [graphics] some blit optimizations (#1667) 2022-07-17 14:45:00 -04:00
opengl_utils.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
OpenGLRenderer.cpp [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
OpenGLRenderer.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
Profiler.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
Profiler.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Shader.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
Shader.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
Shadow_PS2.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
ShadowRenderer.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
ShadowRenderer.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
SkyBlendCommon.h improve performance on intel graphics (#1041) 2021-12-30 19:38:18 -05:00
SkyBlendCPU.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SkyBlendCPU.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SkyBlendGPU.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SkyBlendGPU.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SkyRenderer.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
SkyRenderer.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
Sprite3.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
Sprite3.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
sprite_common.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SpriteRenderer.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
SpriteRenderer.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
TextureUploadHandler.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
TextureUploadHandler.h W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
VisDataHandler.cpp [graphics] hook up visibility data for jak 2 (#1938) 2022-10-01 17:12:12 -04:00
VisDataHandler.h [graphics] hook up visibility data for jak 2 (#1938) 2022-10-01 17:12:12 -04:00