Intentando arreglar los include para evitar duplicate symbols
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "struct.h"
|
||||
#include "sprite.h"
|
||||
#include "const.h"
|
||||
#include "globals.h"
|
||||
#include "globals2.h"
|
||||
|
||||
#ifndef BALLOON_H
|
||||
#define BALLOON_H
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "struct.h"
|
||||
#include "sprite.h"
|
||||
#include "const.h"
|
||||
#include "globals.h"
|
||||
#include "globals2.h"
|
||||
|
||||
#ifndef BULLET_H
|
||||
#define BULLET_H
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
#ifndef CONST_H
|
||||
#define CONST_H
|
||||
|
||||
@@ -105,7 +103,4 @@ const int BUTTON_START = 11;
|
||||
const int BUTTON_L = 6;
|
||||
const int BUTTON_R = 7;
|
||||
|
||||
//Estado del teclado SDL
|
||||
//const Uint8 *keystates;
|
||||
|
||||
#endif
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "ltexture.h"
|
||||
#include "menu.h"
|
||||
#include "player.h"
|
||||
#include "struct.h"
|
||||
#include "text.h"
|
||||
|
||||
#ifndef GAMEDIRECTOR_H
|
||||
|
||||
@@ -7,6 +7,14 @@
|
||||
#ifndef GLOBALS_H
|
||||
#define GLOBALS_H
|
||||
|
||||
//Estructura para definir un circulo
|
||||
struct Circle
|
||||
{
|
||||
Uint16 x;
|
||||
Uint16 y;
|
||||
Uint8 r;
|
||||
};
|
||||
|
||||
//La ventana donde dibujamos
|
||||
SDL_Window *gWindow = NULL;
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include "const.h"
|
||||
#include "globals2.h"
|
||||
#include "globals.h"
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -37,9 +37,6 @@ un tipo asociado diferente a NO_KIND
|
||||
*/
|
||||
#define TEST_
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include "background.h"
|
||||
#include "balloon.h"
|
||||
#include "bullet.h"
|
||||
@@ -52,7 +49,6 @@ un tipo asociado diferente a NO_KIND
|
||||
#include "player.h"
|
||||
#include "sprite.h"
|
||||
#include "spriteanimated.h"
|
||||
#include "struct.h"
|
||||
#include "text.h"
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "sprite.h"
|
||||
#include "const.h"
|
||||
#include "globals.h"
|
||||
#include "globals2.h"
|
||||
#include "text.h"
|
||||
|
||||
#ifndef MENU_H
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "struct.h"
|
||||
#include "spriteanimated.h"
|
||||
#include "const.h"
|
||||
#include "globals.h"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include "ltexture.h"
|
||||
|
||||
#ifndef SPRITE_H
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include "sprite.h"
|
||||
#include "const.h"
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
#ifndef STRUCT_H
|
||||
#define STRUCT_H
|
||||
|
||||
//Estructura para definir un circulo
|
||||
struct Circle
|
||||
{
|
||||
Uint16 x;
|
||||
Uint16 y;
|
||||
Uint8 r;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user