Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: All All
: P3 normal
Assignee: Zack Middleton
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-06-10 00:17 EDT by Zack Middleton
Modified: 2011-06-21 07:37:24 EDT
1 user (show)

See Also:


Attachments
Fill whole screen and allow cursor to move to edge in widescreen (3.38 KB, patch)
2011-06-10 00:17 EDT, Zack Middleton
Fill whole screen (engine) and allow cursor to move to edge in widescreen (vm) (2.39 KB, patch)
2011-06-11 12:23 EDT, Zack Middleton
Check if uivm is loaded before using it (462 bytes, patch)
2011-06-17 12:44 EDT, Zack Middleton

Description Zack Middleton 2011-06-10 00:17:16 EDT
Created attachment 2767 [details]
Fill whole screen and allow cursor to move to edge in widescreen

q3_ui in widescreen does not fill the whole screen, this is an issue when opening setting menu in game. It leave sides of screen from previous frame, but should be black.

In q3_ui widescreen the menu cursor is forced to stay in the 4:3 area, it looks nicer when it can move to edges.
Comment 1 Thilo Schulz 2011-06-11 11:23:31 EDT
Does this affect performance when not in UI mode?
Can't test this right now.
Comment 2 Thilo Schulz 2011-06-11 11:32:15 EDT
(In reply to comment #1)
> Does this affect performance when not in UI mode?
> Can't test this right now.

I'm asking because it seems to draw a new rectangle in the background. As long as that only happens when the game is in UI mode thats fine. But does it happen when it's playing, too?
Comment 3 Zack Middleton 2011-06-11 12:23:38 EDT
Created attachment 2773 [details]
Fill whole screen (engine) and allow cursor to move to edge in widescreen (vm)

Thilo, it does not affect performance during gameplay. The rectangle is only drawn in game when a fullscreen menu (setup or server info) is open. New patch fixes drawing two rectangles behind main menu (also cleaner and no longer in vm).
Comment 4 Thilo Schulz 2011-06-11 16:19:21 EDT
Yes, I agree, seems to be better in the engine. This will fix all old mods as well then.
Committed!
Comment 5 Zack Middleton 2011-06-17 12:44:29 EDT
Created attachment 2787 [details]
Check if uivm is loaded before using it

Patch adds a check for uivm before using it, fixes running dedicated server using client binary.

Missing uivm check pointed out by Ensiform.
Comment 6 Thilo Schulz 2011-06-21 07:37:24 EDT
thank you, applied r2047