Scripting Conventions

From Frictional Wiki
Jump to navigation Jump to search

SOMA helper names group related functions with prefixes such as Map_, Music_ and Voice_.

The map and audio helper declarations use const tString&in for string inputs, float for numeric parameters such as fade times, and bool for switches such as music looping. These are examples from the declarations, rather than a complete naming or style specification.

Still to expand

These are observed SOMA naming examples. A full documented project-wide style specification has not been established.

See also