View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005975 | The Dark Mod | GUI | public | 13.06.2022 21:02 | 13.06.2022 21:02 |
Reporter | Geep | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | TDM 2.10 | ||||
Summary | 0005975: cvar given wrong intial value. Obsolete? | ||||
Description | The value in darkmod.cfg for a new install: seta gui_centerX "0" is wrong. It should be: seta gui_centerX "0.5" just like gui_centery. But the fact that it caused no problem suggests it's useless. See below. | ||||
Additional Information | This cvar (and other gui_... cvars) are read by idGameLocal::UpdateGUIScaling(...), which is called a number of places. This function uses the cvar values to calculate and store these gui state variables: floats LEFT, CENTERX, TOP, CENTERY, WIDTH, HEIGHT, SCALE. I'm guessing no one (in .cpp or .gui or .script) ever uses these state variables, so calculated bad values were never detected. Maybe instead of fix up for gui_centerx's initial value, drop these cvars, then? Tels initial/partial implementation of these cvars: track 2703 Said to be superceded in TDM 2.06: track 4393 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
13.06.2022 21:02 | Geep | New Issue |