<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Coding Standards]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=266&amp;type=atom"/>
	<updated>2012-01-08T17:31:47Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=266</id>
		<entry>
			<title type="html"><![CDATA[Re: Coding Standards]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1025#p1025"/>
			<content type="html"><![CDATA[<p>yes, perfect,<br />we can also mention the enums, all maj and starting with &quot;M_&quot; like :</p><p>enum M_MATRIX_MODES<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; M_MATRIX_MODELVIEW = 0,<br />&nbsp; &nbsp; &nbsp; &nbsp; M_MATRIX_PROJECTION,<br />&nbsp; &nbsp; &nbsp; &nbsp; M_MATRIX_TEXTURE,<br />};</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-08T17:31:47Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1025#p1025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Coding Standards]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1023#p1023"/>
			<content type="html"><![CDATA[<p>I&#039;m trying to work things out by looking at the source code, but to try to keep an internal consistency, I&#039;ll write down here so they can be corrected and seen by other potential contributors.</p><ul><li><p> All code files should include the license at the top</p></li><li><p> Name of the original author of the file should be added before the license</p></li><li><p> All classes start with M (for Maratis I assume)</p></li><li><p> Function names are camelCase, starting with lower case</p></li><li><p> Member variables are prefixed by m_ and begin lower case</p></li></ul><p>As far as I can tell, use of singletons is acceptable, but reserved for the engine and hardware devices.</p><p>That about right so far?</p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-01-08T17:19:31Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1023#p1023</id>
		</entry>
</feed>
