default binds

This commit is contained in:
2025-11-03 14:33:42 -06:00
parent 3ef6205ea3
commit b4fb7bf99f
7 changed files with 49 additions and 1 deletions

View File

@@ -15,7 +15,11 @@ screen_t SCREEN;
void screenInit() {
memoryZero(&SCREEN, sizeof(screen_t));
#if DISPLAY_SIZE_DYNAMIC == 1
SCREEN.mode = SCREEN_MODE_FIXED_HEIGHT;
SCREEN.fixedHeight.height = DISPLAY_SCREEN_HEIGHT_DEFAULT;
cameraInitOrthographic(&SCREEN.framebufferCamera);
SCREEN.framebufferCamera.viewType = CAMERA_VIEW_TYPE_2D;
SCREEN.framebufferCamera._2d.position[0] = 0;