mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-07 17:31:41 +00:00
646 B
646 B
C Reference
Naming Convention
- Variable names should use
camelCase - Function names should use
snake_case - Struct names should use
PascalCase - Filenames should use
snake_case - Global variables, or variables that can be accessed in any file, should be prefixed with a
g(i.e.gGlobalTimer) - Static variables, or variables that are only accessed in a single file, should be prefixed with an
s(i.e.sOverrideCameraCollision) - For creating a pointer,
Type *value;is the proper convention, notType* value;.