diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-14 22:18:31 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-14 22:18:31 +0000 |
commit | ce7b81dd5af4aacc16fb2ff974faee4325aba20f (patch) | |
tree | acbfea9e0809d377cb6d65f9266cfe14a7206b1d /docs/HACKING.txt | |
parent | 900d3ce7ea8e64e6d0bac360d86fef921f37e43b (diff) | |
download | mana-ce7b81dd5af4aacc16fb2ff974faee4325aba20f.tar.gz mana-ce7b81dd5af4aacc16fb2ff974faee4325aba20f.tar.bz2 mana-ce7b81dd5af4aacc16fb2ff974faee4325aba20f.tar.xz mana-ce7b81dd5af4aacc16fb2ff974faee4325aba20f.zip |
Mainly been rewriting the guide to compiling TMW on Windows
Diffstat (limited to 'docs/HACKING.txt')
-rw-r--r-- | docs/HACKING.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/HACKING.txt b/docs/HACKING.txt index 6f34b383..b36f5e2a 100644 --- a/docs/HACKING.txt +++ b/docs/HACKING.txt @@ -7,7 +7,8 @@ standard specifying how code is written down. Not doing so can cause quite some annoyance for certain coders and easily creates more version conflicts than necessary. -* Code is indented using 4 spaces, no tabs. +* Indentation: + Code is indented using 4 spaces, no tabs. * Control constructs like this: @@ -24,6 +25,7 @@ necessary. /* * Documentation about behaviour + * ... */ void function(param1, param2) { } @@ -32,6 +34,13 @@ necessary. }; Ending parenthesis may be on next line for clarity. + + Bad: + + if (condition) + statement; + + if (condition) statement; * Use of whitespace example: |