sm64coopdx/src/pc/lua
Agent X 0ce4163519
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Lighting Engine refactor (up to 10x perf increase) (#1098)
* C++ lighting engine

Runs better using my new system for storing and iterating through lights.

I removed the lighting ctx profiler because after I've realized its very inaccurate and was probably programmed incorrectly from the start. Although I remember it working fine before and not constantly showing 20 ms or higher when I'm in an extremely simple level with extremely simple lights and the FPS is way too high for it to be taking 20 ms.

* Whoops

* Make some optimizations

* Fix small bug with LE inside graphics vertex function

I also brought back the lighting profiler because it's better than nothing.

* Some optimizations

* Cache active lights and 4 lights per vertex limit

Less branching and less iterating with the limit

* Peachy changes
2026-02-18 01:43:44 -05:00
..
utils Add various interpolation skipping functions + get_time_stop_flags() (#1064) 2026-02-18 07:47:49 +10:00
smlua.c ModFs improvements (#907) 2025-10-21 19:42:06 +02:00
smlua.h Add mod development mode (#851) 2025-06-22 19:07:15 +10:00
smlua_autogen.h Multi-return from C and other autogen changes (#1044) 2025-12-19 20:27:44 -05:00
smlua_cobject.c Multi-return from C and other autogen changes (#1044) 2025-12-19 20:27:44 -05:00
smlua_cobject.h ModFs improvements (#907) 2025-10-21 19:42:06 +02:00
smlua_cobject_autogen.c get_mario_anim_part_rot() 2025-12-20 00:11:51 -05:00
smlua_cobject_autogen.h Bring back ChainSegment and PlayerPalette 2025-11-05 23:12:14 +01:00
smlua_constants_autogen.c Lighting Engine refactor (up to 10x perf increase) (#1098) 2026-02-18 01:43:44 -05:00
smlua_functions.c Multi-return from C and other autogen changes (#1044) 2025-12-19 20:27:44 -05:00
smlua_functions.h
smlua_functions_autogen.c Lighting Engine refactor (up to 10x perf increase) (#1098) 2026-02-18 01:43:44 -05:00
smlua_functions_autogen.h
smlua_hook_events.inl Add bytestring packets for mods to use (#866) 2025-06-30 11:24:39 +10:00
smlua_hook_events_autogen.inl make hook errors report the culprit file 2026-02-16 11:24:12 +10:00
smlua_hooks.c Add hooked behaviors to get_id_from_behavior_name (#1104) 2026-02-12 15:41:55 -05:00
smlua_hooks.h Add hooked behaviors to get_id_from_behavior_name (#1104) 2026-02-12 15:41:55 -05:00
smlua_live_reload.c fix require (#908) 2025-10-21 19:04:48 +02:00
smlua_live_reload.h Add mod development mode (#851) 2025-06-22 19:07:15 +10:00
smlua_require.c Normalize paths in smlua_find_mod_file() (#1042) 2025-11-30 01:22:21 +01:00
smlua_require.h fix require (#908) 2025-10-21 19:04:48 +02:00
smlua_sync_table.c fix warnings again 2025-09-14 17:44:00 +02:00
smlua_sync_table.h fix C string typing (#459) 2023-08-18 18:31:59 +02:00
smlua_utils.c Multi-return from C and other autogen changes (#1044) 2025-12-19 20:27:44 -05:00
smlua_utils.h ModFs improvements (#907) 2025-10-21 19:42:06 +02:00