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

Initializes SDL libraries, renderer, windows and other required systems. More...

#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include <app.h>
#include <SDL_mixer.h>

Go to the source code of this file.

Functions

int Initialize_SDL ()
 Initializes SDL and its subsystems.
 

Detailed Description

Initializes SDL libraries, renderer, windows and other required systems.

This function is called only once inside App_Start(), so it's not a big deal.

Author
Mango
Date
2025-02-28

Function Documentation

◆ Initialize_SDL()

int Initialize_SDL ( )

Initializes SDL and its subsystems.

Returns
0 on success, -1 on failure.