If you want to hack Freeciv, and want your patches to be accepted, it helps to follow some simple style rules. Yes, some of these are a bit nit-picky, but wars are fought over the silliest things... * This style is used for all code in Freeciv. Freeciv gtk-clients use this style, not gtk style. * Freeciv is mostly programmed in C, C89 with some C99 features. Qt parts are programmed in C++. Even C++ parts should have mostly consistent style with C parts, so where not otherwise noted, this guide applies to C++ parts too. Headers that are included to both C and C++ source files follow C style. * C++-style comments (i.e., // comments) are forbidden in C code. They should be used for single-line comments in C++ code. * Declaring variables in the middle of the scope is forbidden
Graph IRI | Count |
---|---|
http://dbkwik.webdatacommons.org | 13 |