Open main menu

Difference between revisions of "Coding Conventions"

54 bytes added ,  09:23, 11 April 2011
Add link to CFC
(Added comments on global vars (not finished))
(Add link to CFC)
Line 1: Line 1:
On this page, we collect some coding conventions that anybody who works on ScummVM, and anybody who would like to submit a patch, should read and adhere to.
On this page, we collect some coding conventions. Anybody who works on ScummVM, and anybody who would like to submit a patch, should read and adhere to these, in addition to the [[Code Formatting Conventions]].


Many of these are all about ''portability'' of the code to as many systems as possible. This is one of the primary design goals of ScummVM. It means that we strive to ensure our code compiles and runs on as many systems as possible. On this page we try to collect typical portability problems and pitfalls, and how to avoid them.
Many of these are all about ''portability'' of the code to as many systems as possible. This is one of the primary design goals of ScummVM. It means that we strive to ensure our code compiles and runs on as many systems as possible. On this page we try to collect typical portability problems and pitfalls, and how to avoid them.
1,079

edits