Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
pause.h File Reference

Manages the game's pause screen functionality and display. More...

Go to the source code of this file.

Functions

void Pause_Start ()
 Initializes the pause menu.
 
void Pause_Update ()
 Updates the pause menu state based on user input.
 
void Pause_Render ()
 Renders the pause menu to the screen.
 

Detailed Description

Manages the game's pause screen functionality and display.

Author
Mango
Date
2025-03-21

Function Documentation

◆ Pause_Render()

void Pause_Render ( )

Renders the pause menu to the screen.

Returns
void

Renders the pause menu to the screen.

Renders the "Paused" header and buttons with appropriate hover effects.

◆ Pause_Start()

void Pause_Start ( )

Initializes the pause menu.

Returns
void

Initializes the pause menu.

Creates the text elements that make up the pause menu screen, positioning them appropriately on the screen.

◆ Pause_Update()

void Pause_Update ( )

Updates the pause menu state based on user input.

Returns
void

Updates the pause menu state based on user input.

Checks for button interactions and keyboard input to handle actions like resuming the game, viewing controls, or returning to the main menu.