View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002703 | The Dark Mod | GUI | public | 21.03.2011 20:39 | 12.10.2017 18:37 |
Reporter | tels | Assigned To | Obsttorte | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.05 | ||||
Target Version | TDM 2.06 | Fixed in Version | TDM 2.06 | ||
Summary | 0002703: Need a way to scale the GUI | ||||
Description | Now that we have r_fovRatio, the user might want to scale the GUI, so that it is not stretched over the entire screen. Two CVARs r_guiWidth and r_guiHeight with the range 0..1.0 could be introduced, both giving the relative size of the GUI to the entire screen. | ||||
Additional Information | uiManager->SetSize(w,h) might do the trick, but we need to find a place where to insert it. Possible during init of the main menu. | ||||
Tags | No tags attached. | ||||
Support for the following CVARs has been added in the code and "glued" to the GUI: * gui_Width (scaling 0..1.0 of screen size) * gui_Height (scaling 0..1.0) * gui_CenterX (offset 0..1.0 of screen width) * gui_CenterY (scaling 0..1.0 of screen height) The HUD GUI (weapon display, pickup messages, lockpicks, compass, lightgem etc) as already been edited to use the new scaling. Ditto for the ingame objectives. Missing are the readables, overlay messages, message boxes, and maps, and a few small things like the lightgem crouch modifier. |
|
As per request from the "team", the actual GUI changes are in a sep. branch in the main repository now. Anybody who wishes to test them needs to change to the "tels_playground" branch. The code changes (minus the support for the spyglass and lightgem, which are both not yet written) are in the source trunk, and should thus be available to everyone once v1.06 is released. |
|
Can be more easily done when we have the source. | |
Superseded by 4393 | |
Date Modified | Username | Field | Change |
---|---|---|---|
21.03.2011 20:39 | tels | New Issue | |
23.03.2011 20:59 | tels | Assigned To | => tels |
23.03.2011 20:59 | tels | Status | new => assigned |
23.03.2011 21:02 | tels | Note Added: 0003779 | |
06.04.2011 19:57 | tels | Note Added: 0003795 | |
02.06.2011 08:39 | greebo | Target Version | TDM 1.06 => |
14.11.2011 21:42 | tels | Note Added: 0004148 | |
14.11.2011 21:42 | tels | Status | assigned => suspended |
14.11.2011 21:42 | tels | Assigned To | tels => |
09.10.2016 13:36 | nbohr1more | Relationship added | related to 0004393 |
12.10.2016 12:57 | Obsttorte | Assigned To | => Obsttorte |
12.10.2016 12:57 | Obsttorte | Status | suspended => assigned |
12.10.2017 18:36 | nbohr1more | Note Added: 0009462 | |
12.10.2017 18:37 | nbohr1more | Status | assigned => resolved |
12.10.2017 18:37 | nbohr1more | Resolution | open => fixed |
12.10.2017 18:37 | nbohr1more | Fixed in Version | => TDM 2.06 |
12.10.2017 18:37 | nbohr1more | Target Version | => TDM 2.06 |