Reestructurados los ficheros en carpetas

This commit is contained in:
2022-10-20 16:31:22 +02:00
parent ce509c6aa6
commit 764463fa56
40 changed files with 50 additions and 50 deletions

27
source/globals.h Normal file
View File

@@ -0,0 +1,27 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>
#ifndef GLOBALS_H
#define GLOBALS_H
//La ventana donde dibujamos
SDL_Window *gWindow = NULL;
//El renderizador de la ventana
SDL_Renderer *gRenderer = NULL;
//Manejador para el mando 1
SDL_Joystick* gGameController = NULL;
//Objetos con la música del juego
Mix_Music *gTitleMusic = NULL;
Mix_Music *gPlayingMusic = NULL;
//Objetos con los efectos de sonido del juego
Mix_Chunk *gPopBalloonFX = NULL;
Mix_Chunk *gBulletFX = NULL;
#endif