cg_chatBoxCutOffLength

jaPRO

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Width of a line in the chatbox before breaking to a new one

At a glance

Field Value
Category Chat & social
Feature family Chat box
Module cgame
Also registered in cgame
Renderer All / not renderer-specific
Network scope client-only — Local to the client/UI/renderer.
Derivation documented
Confidence medium
In-game xdocs Yes — codemp/ui/ui_xdocs.h:232
In-game menu No
Default 350
Value type float
Restart No latch flag is registered.
Cheat protected No

Values

Value Meaning Evidence
350 jaPRO cutoff length codemp/ui/ui_xdocs.h:232
550 baseJKA default codemp/ui/ui_xdocs.h:232
640 Maximum codemp/ui/ui_xdocs.h:232

Flags

Provenance

Origin: jaPRO

Dated project introductions

Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.

Project Authored PR opened Integrated Commit Relationship
EternalJK 2018-09-03 2018-09-03 bdcd618c6771 Shared integration commit
TaystJK 2018-09-03 2018-09-03 bdcd618c6771 Shared integration commit
jaPRO 2018-09-03 2018-09-03 bdcd618c6771 Ultimate origin
Vulkan 2018-09-03 2018-09-03 bdcd618c6771 Shared integration commit

Later changes

These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.

Date Change source Commit / subject Evidence Confidence
2018-11-30 OpenJK 3f8c6153ba79
Change CG_Text_Width to use trap->ext.R_FontStrLenPixels/use the only feature in the wonderful OpenJK mod API
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c medium
2018-12-07 EternalJK f3e570ad8f2e
Fix chatbox word wrap with colored strings.
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c medium
2019-07-29 EternalJK dbc6e7872c2b
Add g_gametype description to xdocs (Artemis)
Changed an exact bound cvar-variable reference. codemp/ui/ui_xdocs.h medium
2020-05-15 Vulkan caa8f274580f
Merge remote-tracking branch ‘JKSunny/features/Emojis’
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c high
2020-08-10 EternalJK 3ea9b3c38f7b
cg_chatBoxShowCutoff + emoji crash+whitespacing fix
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c medium

Evidence