Manages game main menu system, including rendering and user interactions. More...
Go to the source code of this file.
Functions | |
| void | Menu_PrepareTextures () |
| Prepares and loads all menu textures. | |
| void | Menu_Update () |
| Updates the menu state based on user input. | |
| void | Menu_Render () |
| Renders the menu to the screen. | |
Manages game main menu system, including rendering and user interactions.
| void Menu_PrepareTextures | ( | ) |
Prepares and loads all menu textures.
Prepares and loads all menu textures.
Initializes all resources needed for the main menu, including the background, title, and button elements.
| void Menu_Render | ( | ) |
Renders the menu to the screen.
Renders the menu to the screen.
Renders the background, title, and interactive button elements with appropriate hover effects.
| void Menu_Update | ( | ) |
Updates the menu state based on user input.
Updates the menu state based on user input.
Handles mouse hover and click events for the menu buttons, changing their appearance and triggering appropriate actions.