add aspect ratio pref

This commit is contained in:
Chris Danford
2004-12-23 06:50:19 +00:00
parent 0e2ceed54c
commit 9b457eb241
11 changed files with 75 additions and 15 deletions
+2 -2
View File
@@ -153,8 +153,8 @@ void Lua::UpdateGlobals()
ASSERT( L );
/* Important: explicitly refresh cached metrics that we use. */
SCREEN_WIDTH.Read();
SCREEN_HEIGHT.Read();
THEME_SCREEN_WIDTH.Read();
THEME_SCREEN_HEIGHT.Read();
lua_pushnumber( L, SCREEN_WIDTH );
lua_setglobal( L, "SCREEN_WIDTH" );