View Issue Details

IDProjectCategoryView StatusLast Update
0002703The Dark ModGUIpublic12.10.2017 18:37
Reportertels Assigned ToObstler  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 1.05 
Target VersionTDM 2.06Fixed in VersionTDM 2.06 
Summary0002703: Need a way to scale the GUI
DescriptionNow 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 InformationuiManager->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.
TagsNo tags attached.

Relationships

related to 0004393 resolvedObstler Add the possibility to change the size of the gui elements via a slider in the menu. 

Activities

tels

tels

23.03.2011 21:02

developer   ~0003779

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.
tels

tels

06.04.2011 19:57

developer   ~0003795

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.
tels

tels

14.11.2011 21:42

developer   ~0004148

Can be more easily done when we have the source.
nbohr1more

nbohr1more

12.10.2017 18:36

developer   ~0009462

Superseded by 4393

Issue History

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 Obstler Assigned To => Obstler
12.10.2016 12:57 Obstler 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