View Issue Details

IDProjectCategoryView StatusLast Update
0003807The Dark ModGUIpublic24.08.2014 19:11
ReporterAluminumHaste Assigned Tograyman  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindows OS7 
Product VersionSVN 
Target VersionTDM 2.03Fixed in VersionTDM 2.03 
Summary0003807: Use different overlay guis depending on resolution aspect ratio
Descriptionuse a different overlay depending on the resolution applied in game? I would not be a lot of work to make 3 or 4 different spyglass guis to accommodate different aspect ratios; 4:3, 16:9, 16:10, 21:9 etc.
Additional InformationCurrently working on replacement spyglass gui.
TagsNo tags attached.
Attached Files
correct.7z (824,187 bytes)

Relationships

related to 0003831 closed script events to query screen resolution 

Activities

AluminumHaste

AluminumHaste

06.08.2014 23:16

developer   ~0006828

Last edited: 06.08.2014 23:51

I've attached the FOUR overlay guis for the different aspect ratios.

grayman

grayman

08.08.2014 00:19

viewer   ~0006836

Have you committed the images to SVN?
AluminumHaste

AluminumHaste

08.08.2014 01:53

developer   ~0006837

Yes, added just now, revision: 13941
AluminumHaste

AluminumHaste

08.08.2014 18:17

developer   ~0006841

Do you need me to make a material def for each one?
grayman

grayman

08.08.2014 19:06

viewer   ~0006842

No thanks. I'll copy the original.
grayman

grayman

24.08.2014 04:42

viewer   ~0006882

Query the aspect ratio at game start and use it to display the correct background for the spyglass gui when the spyglass is used.

Rev. 6087:

GameLocal.cpp
GameLocal.h
Player.cpp
Player.h

Rev. 13961:

spyglass.gui
tdm_playertools.script
grayman

grayman

24.08.2014 04:44

viewer   ~0006883

I tested the aspect ratios that work for me, and everything worked.

Aspect ratios larger than my 1360x768 tv screen don't paint properly, so the test results are meaningless.

We'll need to get a variety of people to test the various aspect ratios.
AluminumHaste

AluminumHaste

24.08.2014 06:03

developer   ~0006884

Last edited: 24.08.2014 06:06

I started the game in 16:10 @ 1920x1200, spyglass looks fine.
Changed resolution to 16:9 @ 1920x1080, used vid_restart in console, but the game is using the 16x10 spyglass gui.

I have to exit the game for it to work.
Can you change the code to check the aspect ration on every vid_restart also?

There is a Restart Game button in Video Settings menu, but once you start a mission, that option disappears. Is this by design, or is this a bug?

grayman

grayman

24.08.2014 13:42

viewer   ~0006885

Add vid_restart support.

Rev. 6088:

GameLocal.cpp
grayman

grayman

24.08.2014 13:46

viewer   ~0006886

"There is a Restart Game button in Video Settings menu, but once you start a mission, that option disappears. Is this by design, or is this a bug?"

This is by design. The gui doesn't include that button if there's an active mission.
AluminumHaste

AluminumHaste

24.08.2014 13:47

developer   ~0006887

yup works now. Thank you.

Issue History

Date Modified Username Field Change
05.08.2014 18:36 AluminumHaste New Issue
05.08.2014 18:36 AluminumHaste Status new => assigned
05.08.2014 18:36 AluminumHaste Assigned To => grayman
06.08.2014 23:16 AluminumHaste Note Added: 0006828
06.08.2014 23:48 AluminumHaste File Added: correct.7z
06.08.2014 23:51 AluminumHaste Note Edited: 0006828
08.08.2014 00:19 grayman Note Added: 0006836
08.08.2014 01:53 AluminumHaste Note Added: 0006837
08.08.2014 18:17 AluminumHaste Note Added: 0006841
08.08.2014 19:06 grayman Note Added: 0006842
24.08.2014 04:42 grayman Note Added: 0006882
24.08.2014 04:42 grayman Status assigned => feedback
24.08.2014 04:42 grayman Resolution open => fixed
24.08.2014 04:42 grayman Fixed in Version => TDM 2.03
24.08.2014 04:44 grayman Note Added: 0006883
24.08.2014 06:03 AluminumHaste Note Added: 0006884
24.08.2014 06:03 AluminumHaste Status feedback => assigned
24.08.2014 06:06 AluminumHaste Note Edited: 0006884
24.08.2014 13:42 grayman Note Added: 0006885
24.08.2014 13:46 grayman Note Added: 0006886
24.08.2014 13:47 AluminumHaste Note Added: 0006887
24.08.2014 14:59 grayman Status assigned => resolved
24.08.2014 19:11 tels Relationship added related to 0003831