Code structure
- 'cl_*.cpp': client only code
- 'sv_*.cpp': server only code
- 'i_*.cpp': system/hardware dependant code
- 'f_*.cpp': finale related code
- 'c_*.cpp': console related code
- 'am_*.cpp': automap related code
- 'hu_*.cpp': hud related code
- 'd_*.cpp': game/net code
- 'g_*.cpp': game related code
- 'p_*.cpp': game/object related code
- 's_*.cpp': sound related code
- 'r_*.cpp': render related code
- 'v_*.cpp': video related code
- 'am_*.cpp': automap related code
- 'wi_*.cpp': intermission related code
Style and guidelines
- Avoid C style strings. Replace them with C++ types where it is safe to do so.
- Code defensively and securely
- Do not add globals
- Code for clarity
- Maintain traditional naming conventions
- Respect existing code