Hey, so this is going to sound really dumb but can someone explain to me the prefixes in irrlicht source code.
Im pretty sure I can guess at what it means but I want to know for sure.
I-interface
E-enumeration
C-??
I notice some files don't get named with a prefix too.
What is the convention here?
file naming conventions
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: file naming conventions
C is class, S is struct or 'simple implementation', some files are simply helper function collections or other simple modules.
Re: file naming conventions
Thank you so much for your help. I feel stupid but this stuff is important if I want my code taken seriously.
Also, is it generally typical to name the classes with the prefix in front too.
Example,
class CSceneNode
Also, is it generally typical to name the classes with the prefix in front too.
Example,
class CSceneNode
Re: file naming conventions
yeah I've seen Irrlicht prefixes used somewhere else (also in other engines). I think irrlicht-style is really good idea. And yeah the prefix is usually used both in filename and in class/struct name. Why using different names that can create confusion? That way if you are searching for ISceneNode you need to look at ISceneNode.h.
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me