Frictional Games Forum (read-only)
Coding Style - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html)
+--- Forum: OALWrapper (https://www.frictionalgames.com/forum/forum-30.html)
+--- Thread: Coding Style (/thread-3529.html)



Coding Style - Urkle - 06-25-2010

I received a request for "Style Guidelines" for contributions to OALWrapper on the #penumbra IRC channel on freenode.

Right now there isn't any official guidelines. For right now just keep with the same style of the existing code, and make any suggestions of "clean" style guides. There are some commonalities that go through the code.. ie.. prefixing argument parameters with "a", class member variables with "m" and using a second letter to denote data type.

But really, any contributions that are clean and follow similarly with the existing coding style are perfectly fine.

When I have some time I may put up more proper guidelines, especially if we have a lot of contributers.