forked from ValveSoftware/source-sdk-2013
-
Notifications
You must be signed in to change notification settings - Fork 0
Project Guidelines
DankParrot edited this page Dec 19, 2016
·
2 revisions
These guidelines are not enforced, but they are here to keep the project neat.
Raw assets (PSDs, PNGs, SMDs, etc) go in the content/<game>/ folder.
Compiled assets (VTF, MDL, etc) go in the game/<game>/
Any third-party code goes in src/thirdparty/, and libs can then be copied over to src/lib/public/.
New large-scale systems go in the root src/ folder. Try to add functionality to existing systems first.
Development tools can go in src/utils/.
Always follow the single responsibility principle. Classes like CBaseEntity are bloated beyond all reason, and take on a vast amount of responsibilities they don't always need.