diff options
Diffstat (limited to 'src/screens/infoScreen.c')
-rw-r--r-- | src/screens/infoScreen.c | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/src/screens/infoScreen.c b/src/screens/infoScreen.c index 745ea03..9e7f8d5 100644 --- a/src/screens/infoScreen.c +++ b/src/screens/infoScreen.c @@ -44,7 +44,7 @@ const EntityUserInfo infoScreenEntityInfo[INFO_SCREEN_ENTITY_COUNT] = { (EntityUserInfo){ .type = ENTITY_MUSSOLINI, .assetId = MUSSOLINI_ASSET, - .cameraDistance = 100.0, + .cameraDistance = 150.0, .msg = "A deadly mother fucker named after the Italian fascist dictator" } }; @@ -58,6 +58,12 @@ void initInfoScreen(Game * game) { infoScreen->nextButton = (Rectangle){100.0, 85.0, 100.0, 50.0}; infoScreen->resetButton = (Rectangle){0.0, 145.0, 100.0, 50.0}; + // Shitty thingy. + infoScreen->controlsPosition = (Vector2){ + 10.0, + infoScreen->resetButton.y + infoScreen->resetButton.height + 10 + }; + // Camera. infoScreen->camera = (Camera3D){ .position = (Vector3){0.0, 0.0, infoScreenEntityInfo[0].cameraDistance}, @@ -144,7 +150,7 @@ void drawInfoScreenUI(Game * game, InfoScreen * infoScreen) { int currentEntity = infoScreen->currentEntity; // Back to main menu button. - if (GuiButton(infoScreen->goBackButton, "Main menu")) + if (GuiButton(infoScreen->goBackButton, "Main Menu")) game->screenId = SCREEN_MAIN_MENU; // Back button. @@ -156,9 +162,19 @@ void drawInfoScreenUI(Game * game, InfoScreen * infoScreen) { infoScreenNext(infoScreen); // Reset button. - if (GuiButton(infoScreen->resetButton, "Reest")) + if (GuiButton(infoScreen->resetButton, "Reset")) infoScreenResetEntity(infoScreen); + // I need to tell the stupid players how to use this fucker. + const char * stupidFuck = "-Right click and mouse to change angle\n" + "-Middle click with right click for a different type of rotation\n" + "-scroll wheel to zoom in and out\n" + "-r to reset\n" + "-right and left arrows to go to next and previous entities"; + + DrawText(stupidFuck, infoScreen->controlsPosition.x, infoScreen->controlsPosition.y, + ENTITY_INFO_FONT_SIZE, GREEN); + // Draw ship name. EntityType type = infoScreenEntityInfo[currentEntity].type; const char * name = entityTypeInfo[type].name; |