Buildings as entities instead of map layer
This commit is contained in:
@@ -5,7 +5,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
f32 uiGetScale() {
|
||||
return GetScreenHeight() / 720.0f;
|
||||
// Assuming 16:9 aspect
|
||||
f32 scaleX = GetScreenWidth() / 1280.0f;
|
||||
f32 scaleY = GetScreenHeight() / 720.0f;
|
||||
return BZ_MIN(scaleX, scaleY);
|
||||
}
|
||||
|
||||
Font getFont() {
|
||||
|
||||
Reference in New Issue
Block a user