Initial commit
This commit is contained in:
14
lua/includes/extensions/client/globals.lua
Normal file
14
lua/includes/extensions/client/globals.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
if ( SERVER ) then return end
|
||||
|
||||
|
||||
function ScreenScale( width )
|
||||
return width * ( ScrW() / 640.0 )
|
||||
end
|
||||
|
||||
function ScreenScaleH( height )
|
||||
return height * ( ScrH() / 480.0 )
|
||||
end
|
||||
|
||||
SScale = ScreenScale
|
||||
Reference in New Issue
Block a user