1
0
forked from 0ad/0ad

main now displays g_CameraZoom

This was SVN commit r464.
This commit is contained in:
janwas 2004-06-09 18:02:33 +00:00
parent 5a59c28e95
commit ca1994892e
2 changed files with 3 additions and 3 deletions

View File

@ -367,8 +367,8 @@ static void Render()
// view params
glLoadIdentity();
glTranslatef(10, 90, 0);
extern float ViewFOV;
glprintf("FOV=%.1f", RADTODEG(ViewFOV));
extern float g_CameraZoom;
glprintf("zoom=%.1f", g_CameraZoom);
#ifndef NO_GUI
// Temp GUI message GeeTODO

View File

@ -32,7 +32,7 @@ int g_TransTexCounter = 0;
int g_TickCounter = 0;
double g_LastTime;
static float g_CameraZoom = 10;
float g_CameraZoom = 10;
const int NUM_ALPHA_MAPS = 13;
const float ViewScrollSpeed = 60;