diff --git a/docs/guidelines/developers/refactor-requirements.md b/docs/guidelines/developers/refactor-requirements.md index 8e60ca01..94cd329b 100644 --- a/docs/guidelines/developers/refactor-requirements.md +++ b/docs/guidelines/developers/refactor-requirements.md @@ -39,6 +39,7 @@ Static addresses shall be formatted as follows: - Address description in clear, concise verbiage - may expand as needed, but should not unnecessarily expand description - Values listed either in hex or float depending on address type. BCD addresses may use decimal to describe values. Should be increasing in order unless out of order makes sense for something like Map ID progression where the IDs are not ordered sequentially - Values must use an = sign, however spacing is optional: no spaces, space before/after =, or on both sides are all acceptable +- Hex values for all address sizes besides Upper4 and Lower4 must use at least two digits and should use two, four, six, or eight as appropriate. Upper4 and Lower4 must use one digit - Treat consecutive bitfields as stand alone 8-bit addresses. Do not note anything as Bit8, Bit21, etc ``` @@ -112,9 +113,7 @@ Array note example where noted region is a total of 120 bytes, comprised of 10 1 +|+0x04=[Float] Position X +|+0x08=[Float] Position Y ``` -::: warning -This notation style is not currently supported by RAIntegration, but is on the roadmap and is expected to be supported in the future. -::: + Struct example: ``` [16 bytes] Player data struct