Research: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 12: | Line 12: | ||
* All numeric operations occur in floating point unless indicated. | * All numeric operations occur in floating point unless indicated. | ||
* int(x) truncates. | * int(x) truncates. | ||
* round(x) uses the default FPU rounding mode. [IEEE 754 round-towards-even] | * round(x) uses the default FPU rounding mode. [IEEE 754 round-half-towards-even] | ||
* roll(n) returns an integer from 0 up to but not including n. | * roll(n) returns an integer from 0 up to but not including n. | ||
Line 43: | Line 43: | ||
[[Research:World|World]] | [[Research:World|World]] | ||
[[GMSTs_(status)|Game Settings]] | |||
==Contributing== | ==Contributing== |
Revision as of 20:36, 5 October 2014
Morrowind's game mechanics in full detail and coverage.
Conventions
Variables
- All attribute accesses are the modified (fortified/drained) value by default. Base attribute access is indicated by attributes starting with base.
- Attributes may be prefixed with pc or npc to indicate the owner of the attribute when opposing actors are involved.
Calculation
- All numeric operations occur in floating point unless indicated.
- int(x) truncates.
- round(x) uses the default FPU rounding mode. [IEEE 754 round-half-towards-even]
- roll(n) returns an integer from 0 up to but not including n.
Categories
Contributing
Please submit only primary research, or sourced research with independent verification.