Añadido #pragma once

This commit is contained in:
2022-10-20 13:52:48 +02:00
parent eb7538ab59
commit 52ce550ba6
13 changed files with 26 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
#pragma once
#include "sprite.h"
#ifndef BACKGROUND_H

View File

@@ -1,3 +1,5 @@
#pragma once
#include "struct.h"
#include "sprite.h"

View File

@@ -1,3 +1,5 @@
#pragma once
#include "struct.h"
#include "sprite.h"

View File

@@ -1,3 +1,5 @@
#pragma once
#include <SDL2/SDL.h>
#ifndef CONST_H

View File

@@ -1,3 +1,5 @@
#pragma once
#include "player.h"
#include "balloon.h"
#include "bullet.h"

View File

@@ -1,3 +1,5 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>

View File

@@ -1,3 +1,5 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <stdio.h>

2
menu.h
View File

@@ -1,3 +1,5 @@
#pragma once
#include "sprite.h"
#ifndef MENU_H

View File

@@ -1,3 +1,5 @@
#pragma once
#include "struct.h"
#include "spriteanimated.h"

View File

@@ -1,3 +1,5 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include "ltexture.h"

View File

@@ -1,3 +1,5 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include "sprite.h"

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef STRUCT_H
#define STRUCT_H

2
text.h
View File

@@ -1,3 +1,5 @@
#pragma once
#include "sprite.h"
#ifndef TEXT_H