mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-15 07:40:44 +02:00
Added FPS/UnrealEd-style right-mouse camera navigation to the camera view, with configurable movement keys, mouse look, modifier movement, Caps Lock speed scaling, and mouse-wheel zoom.
Added camera-view helper tools from the list, including reticle drawing, quick select during nav mode, teleport-to-looked-at-object, target lock/orbit mode, and entity/material info display. Added nav-mode texture adjustment controls for position, scale, and rotation, and fixed the existing Alt texture-drag condition so Alt+Shift and Alt+Ctrl can actually trigger scale/rotate behavior. Added widescreen support. Changed up the menus and UI for build.
This commit is contained in:
@@ -47,7 +47,7 @@ idUserInterfaceManager * uiManager = &uiManagerLocal;
|
||||
*/
|
||||
|
||||
void idUserInterfaceManagerLocal::Init() {
|
||||
screenRect = idRectangle(0, 0, 640, 480);
|
||||
screenRect = idRectangle(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
dc.Init();
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ bool idUserInterfaceLocal::InitFromFile( const char *qpath, bool rebuild, bool c
|
||||
desktop->SetFlag( WIN_DESKTOP );
|
||||
desktop->name = "Desktop";
|
||||
desktop->text = va( "Invalid GUI: %s", qpath );
|
||||
desktop->rect = idRectangle( 0.0f, 0.0f, 640.0f, 480.0f );
|
||||
desktop->rect = idRectangle( 0.0f, 0.0f, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
desktop->drawRect = desktop->rect;
|
||||
desktop->foreColor = idVec4( 1.0f, 1.0f, 1.0f, 1.0f );
|
||||
desktop->backColor = idVec4( 0.0f, 0.0f, 0.0f, 1.0f );
|
||||
|
||||
Reference in New Issue
Block a user