This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| functions:a_getcvarfixed [2017/04/15 14:18] – korshun | functions:a_getcvarfixed [2017/06/16 10:25] (current) – korshun | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| '' | '' | ||
| - | <note important> | + | <note important> |
| ===== Description ===== | ===== Description ===== | ||
| Line 16: | Line 16: | ||
| int mul = a_GetCVarFixed(" | int mul = a_GetCVarFixed(" | ||
| int value = FixedMul(x, mul); | int value = FixedMul(x, mul); | ||
| + | </ | ||
| + | |||
| + | From [[UpdateCursor]] source: | ||
| + | < | ||
| + | int sensitivity = a_GetCVarFixed(" | ||
| + | int speedX = FixedDiv(CursorSpeedX, | ||
| + | int speedY = FixedDiv(CursorSpeedY, | ||
| </ | </ | ||
| ===== See also ===== | ===== See also ===== | ||
| * [[GetUserCVarFixed]] | * [[GetUserCVarFixed]] | ||