mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Whoops
This commit is contained in:
parent
bf85d9f9d5
commit
6b5263d60e
4 changed files with 6 additions and 6 deletions
|
|
@ -9763,7 +9763,7 @@ function set_fog_intensity(intensity)
|
|||
-- ...
|
||||
end
|
||||
|
||||
--- @return SkyBackgroundParams
|
||||
--- @return integer
|
||||
--- Gets the current skybox
|
||||
function get_skybox()
|
||||
-- ...
|
||||
|
|
|
|||
|
|
@ -1709,16 +1709,16 @@ Sets the intensity of the fog (this value scales very quickly, 1.0 to 1.1 is a d
|
|||
Gets the current skybox
|
||||
|
||||
### Lua Example
|
||||
`local enumValue = get_skybox()`
|
||||
`local integerValue = get_skybox()`
|
||||
|
||||
### Parameters
|
||||
- None
|
||||
|
||||
### Returns
|
||||
[enum SkyBackgroundParams](constants.md#enum-SkyBackgroundParams)
|
||||
- `integer`
|
||||
|
||||
### C Prototype
|
||||
`enum SkyBackgroundParams get_skybox(void);`
|
||||
`s8 get_skybox(void);`
|
||||
|
||||
[:arrow_up_small:](#)
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ void set_fog_intensity(f32 intensity) {
|
|||
|
||||
///
|
||||
|
||||
enum SkyBackgroundParams get_skybox(void) {
|
||||
s8 get_skybox(void) {
|
||||
if (gOverrideBackground != -1) { return gOverrideBackground; }
|
||||
return gReadOnlyBackground;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ f32 get_fog_intensity(void);
|
|||
void set_fog_intensity(f32 intensity);
|
||||
|
||||
/* |description|Gets the current skybox|descriptionEnd| */
|
||||
enum SkyBackgroundParams get_skybox(void);
|
||||
s8 get_skybox(void);
|
||||
/* |description|Sets the override skybox|descriptionEnd| */
|
||||
void set_override_skybox(s8 background);
|
||||
/* |description|Gets a value of the global skybox color|descriptionEnd| */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue