Sly 1:LM: Difference between revisions
Fixed struct fields table
TheOnlyZac (talk | contribs) (Updated info and added navbox) |
TheOnlyZac (talk | contribs) (Fixed struct fields table) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
{{Infobox data structure
| sly1= y
| official= y
| size= 12 bytes
}}▼
'''LM''' ('''l'''i'''m'''it) is a data structure used in {{Sly 1}}. Limits are used to clamp values to ensure they fall within a certain range.
==
{{Struct top}}
{{Struct field|0x4|0x4|float|gMin|Lower bound}}
{{Struct field|0x8|0x4|float|gMax|Upper bound}}
{{Struct field|0xC|0x4|float|u4ag|}}
{{Struct bottom}}
▲}
==Usage==
The
==Examples==
{{Hatnote|This list is currently incomplete. You can help {{SITENAME}} by adding to it.}}
* When updating the player’s <code>uSuck</code> in the function <code>ChangeSuck</code>, the new suck is clamped to the range allowed by the current [[Sly 1:Difficulty|difficulty
{{Navbox Sly 1}}
|