You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alexander Akulich edited this page Aug 23, 2023
·
6 revisions
Contribution
Git workflow:
If you contributed before (have some commits in this repo) then just ask the access to the repository in the discord channel or the in-game chat.
Branch from production and push commits to your own branch (per-feature or a continual branch): <username>/<branchname>. E.g.: kaffeine/rockets, kaffeine/jockey, kaffeine/staging.
Code organization
Infclass specific parts should be in InfClass* classes. The goal here is to make it possible to later switch the base class (CPlayer, CCharacter, etc) classes to DDNet implementation.
Classes outside of game/server/infclass should be kept closer to the vanilla and/or DDNet versions.
Gameplay class specific stuff should be implemented in game/server/infclass/classes/ or maybe in the InfC controller or entity, depending on the case.
Note CInfClassHuman and CInfClassInfected classes which contain the most of the classes specific game logic.