]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/renderer.cpp
picomodel: white default color of fm, md2 (was one white and rest black)
[xonotic/netradiant.git] / contrib / camera / renderer.cpp
index 3a44485b4865959625d60e3f8ea611c487693ce4..ac270836ad7c4d72ea1060e0e73f3c13a69d3b51 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1999-2007 id Software, Inc. and contributors.
+   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
    For a list of contributors, see the accompanying CONTRIBUTORS file.
 
    This file is part of GtkRadiant.
@@ -97,7 +97,7 @@ void CRenderer::Draw3D() {
 
        if ( g_iPreviewRunning ) {
                if ( g_iPreviewRunning == 1 ) {
-                       start = g_FuncTable.m_pfnQGetTickCount();
+                       start = Q_QGetTickCount();
                        GetCurrentCam()->GetCam()->startCamera( start );
                        cycle = GetCurrentCam()->GetCam()->getTotalTime();
                        msecs = (long)( cycle * 1000 );
@@ -112,7 +112,7 @@ void CRenderer::Draw3D() {
                        GetCurrentCam()->GetCam()->getCameraInfo( current, &origin[0], &dir[0], &fov );
                        VectorSet( angles, asin( dir[2] ) * 180 / 3.14159, atan2( dir[1], dir[0] ) * 180 / 3.14159, 0 );
                        g_CameraTable.m_pfnSetCamera( origin, angles );
-                       current = g_FuncTable.m_pfnQGetTickCount();
+                       current = Q_QGetTickCount();
                }
                else {
                        g_iPreviewRunning = 0;