]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/camwindow.h
Q3map2:
[xonotic/netradiant.git] / radiant / camwindow.h
index 8e578c8598fb830eba65750c7d9773065370e4af..146105503193fa399a21f72355b46923a0d059fd 100644 (file)
@@ -41,8 +41,6 @@ void CamWnd_setParent( CamWnd& camwnd, GtkWindow* parent );
 
 void GlobalCamera_setCamWnd( CamWnd& camwnd );
 
-typedef struct _GtkMenu GtkMenu;
-void fill_view_camera_menu( GtkMenu* menu );
 typedef struct _GtkToolbar GtkToolbar;
 void CamWnd_constructToolbar( GtkToolbar* toolbar );
 void CamWnd_registerShortcuts();
@@ -52,6 +50,8 @@ void GlobalCamera_Benchmark();
 const Vector3& Camera_getOrigin( CamWnd& camwnd );
 void Camera_setOrigin( CamWnd& camwnd, const Vector3& origin );
 
+void GlobalCamera_FocusOnSelected();
+
 enum
 {
        CAMERA_PITCH = 0, // up / down
@@ -70,10 +70,13 @@ struct camwindow_globals_t
 
        int m_nCubicScale;
 
+       bool m_bZoomInToPointer;
+
        camwindow_globals_t() :
                color_cameraback( 0.25f, 0.25f, 0.25f ),
                color_selbrushes3d( 1.0f, 0.f, 0.f ),
-               m_nCubicScale( 13 ){
+               m_nCubicScale( 14 ),
+               m_bZoomInToPointer( true ){
        }
 
 };