sm64coopdx/docs/lua
Isaac0-dev 967d120505
much further draw distance option (#1240)
The existing draw distance options don't actually increase the draw distance. It only impacts whether or not distant objects are rendered. 

This PR:
- Adds another option to the draw distance setting in the display menu, called "Infinite". It is not truly infinite, but it is significantly larger than what current options allow. Due to it not being truly infinite, we could use the name "Max" instead to be more accurate.
- Exposes a new function to the Lua API `draw_distance_scalar_is_infinite` which returns whether or not the infinite setting is enabled.
- `draw_distance_scalar_is_infinite` is now used in several places in this repo to bypass distance checks for objects if infinite mode is enabled.
- Fixes a bug where you couldn't bypass the distance check in `obj_is_in_view`, meaning you could never disable all object distance culling.
- The infinite setting now forces the far plane to be at least a minimum of `1,000,000`.
2026-05-16 11:13:02 +10:00
..
examples Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00
guides Add HOOK_ON_PLAY_MODE_UPDATE and HOOK_BEFORE_PLAY_MODE_UPDATE (#1160) 2026-05-04 21:01:01 -04:00
constants.md Add built-in preset screen shader effects configurable through Lua (#1217) 2026-05-11 15:59:48 -04:00
functions-2.md Multiline descriptions (#1235) 2026-05-13 16:06:19 -04:00
functions-3.md much further draw distance option (#1240) 2026-05-16 11:13:02 +10:00
functions-4.md Multiline descriptions (#1235) 2026-05-13 16:06:19 -04:00
functions-5.md Multiline descriptions (#1235) 2026-05-13 16:06:19 -04:00
functions-6.md Multiline descriptions (#1235) 2026-05-13 16:06:19 -04:00
functions-7.md Multiline descriptions (#1235) 2026-05-13 16:06:19 -04:00
functions.md much further draw distance option (#1240) 2026-05-16 11:13:02 +10:00
globals.md Expose gHudDisplay (#1158) 2026-05-01 22:25:06 -04:00
lua.md Add in C documentation (#1176) 2026-04-21 21:35:01 -04:00
structs.md Add audio_stream_get/set_volume_channel (#1205) 2026-05-03 17:59:11 +10:00