[Scummvm-cvs-logs] CVS: web/docs conventions.xml,1.6,1.7
Eugene Sandulenko
sev at users.sourceforge.net
Sun Dec 12 12:28:00 CET 2004
Update of /cvsroot/scummvm/web/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3941
Modified Files:
conventions.xml
Log Message:
Mention how we treat namespace clause, indentation wise. Maybe my spelling
should be fixed.
Index: conventions.xml
===================================================================
RCS file: /cvsroot/scummvm/web/docs/conventions.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- conventions.xml 19 Feb 2004 09:34:56 -0000 1.6
+++ conventions.xml 12 Dec 2004 20:26:48 -0000 1.7
@@ -65,6 +65,18 @@
class BusWheel : public RubberInflatable {
(isNight) ? colorMeDark() : colorMeBright();
</pre>
+
+ <li><h3>Indentation level is not increased after namespace clause</h3>
+ <pre>
+ namespase Scumm {
+
+ byte Actor::kInvalidBox = 0;
+
+ void Actor::initActorClass(ScummEngine *scumm) {
+ _vm = scumm;
+ }
+
+ </pre>
</ol>
<h2>5. Switch / Case constructs</h2>
More information about the Scummvm-git-logs
mailing list