Primer commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include "ltexture.h"
|
||||
|
||||
#ifndef GLOBALS_H
|
||||
#define GLOBALS_H
|
||||
|
||||
//La ventana donde dibujamos
|
||||
SDL_Window *gWindow = NULL;
|
||||
|
||||
//El renderizador de la ventana
|
||||
SDL_Renderer *gRenderer = NULL;
|
||||
|
||||
//Texturas con gráficos
|
||||
LTexture gPlayerTexture;
|
||||
LTexture gGameBackgroundTexture;
|
||||
LTexture gTitleBackgroundTexture;
|
||||
LTexture gWhiteFontTexture;
|
||||
LTexture gBlackFontTexture;
|
||||
LTexture gMenuTexture;
|
||||
LTexture gBalloonTexture;
|
||||
LTexture gBulletTexture;
|
||||
LTexture gMiscTexture;
|
||||
|
||||
//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
|
||||
Reference in New Issue
Block a user