Difference between revisions of "Burnout Wiki:Contributor Guide"

From Burnout Wiki
Jump to navigation Jump to search
(Fixed-width types)
m
Line 5: Line 5:
 
* When adding a new build to the [[Prototype_Documentation|prototype documentation]] article, be sure to use the '''ISO 8601''' (yyyy-mm-dd) standard for the build's compilation date.
 
* When adding a new build to the [[Prototype_Documentation|prototype documentation]] article, be sure to use the '''ISO 8601''' (yyyy-mm-dd) standard for the build's compilation date.
   
* Numeric data type names should be represented as fixed-width types where possible. For example, prefer <code>uint64_t</code> over <code>long</code>. Where a <code>long</code> could be 64-bit on one machine, it could be 32-bit on another. Fixed-width types are guaranteed to be of the size in their name.
+
* Numeric data type names should be represented as fixed-width types where possible. For example, prefer <code>int64_t</code> over <code>long</code>. Where a <code>long</code> could be 64-bit on one machine, it could be 32-bit on another. Fixed-width types are guaranteed to be of the size in their name.
   
 
= Copyrighted Content =
 
= Copyrighted Content =

Revision as of 18:20, 11 March 2021

Style

  • To maintain consistency, file extensions for file names from all Burnout games before Paradise should be written in uppercase, as the original casing is inconsistent, both between platforms and between files on the same platform.
    • In cases where the file name contains a parameter, such as EXPORT/VALUEDB/VEHICLEPHYSICS/%s.CFG, leave the parameter string - in this case, %s - with its original capitalisation.
  • When adding a new build to the prototype documentation article, be sure to use the ISO 8601 (yyyy-mm-dd) standard for the build's compilation date.
  • Numeric data type names should be represented as fixed-width types where possible. For example, prefer int64_t over long. Where a long could be 64-bit on one machine, it could be 32-bit on another. Fixed-width types are guaranteed to be of the size in their name.

Copyrighted Content

  • Do not upload or link game ISOs or archives, even if they have been modified.

Prerelease/development documentation

  • Content along the lines of prerelease footage and screenshots for documenting game content over the game's development should be included separately in a subpage.