Reballats tots els .h i .cpp en la mateixa carpeta
This commit is contained in:
1 parent
9d7e975952
commit
0de9188547
57 files changed
+90
-90
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/movingsprite.h"
|
#include "movingsprite.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Esta clase es la encargada de dibujar el fondo que aparece durante la sección
|
Esta clase es la encargada de dibujar el fondo que aparece durante la sección
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/animatedsprite.h"
|
#include "animatedsprite.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
// Tipos de bala
|
// Tipos de bala
|
||||||
#define BULLET_UP 1
|
#define BULLET_UP 1
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
// Tamaño de bloque
|
// Tamaño de bloque
|
||||||
#define BLOCK 8
|
#define BLOCK 8
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "director.h"
|
#include "director.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "common/dbgtxt.h"
|
#include "dbgtxt.h"
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|||||||
+6
-6
@@ -1,12 +1,12 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "fade.h"
|
#include "fade.h"
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "balloon.h"
|
#include "balloon.h"
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/texture.h"
|
#include "texture.h"
|
||||||
#include "common/animatedsprite.h"
|
#include "animatedsprite.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
struct explosion_texture_t
|
struct explosion_texture_t
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/texture.h"
|
#include "texture.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
// Tipos de fundido
|
// Tipos de fundido
|
||||||
#define FADE_FULLSCREEN 0
|
#define FADE_FULLSCREEN 0
|
||||||
|
|||||||
+9
-9
@@ -3,15 +3,15 @@
|
|||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "balloon.h"
|
#include "balloon.h"
|
||||||
#include "bullet.h"
|
#include "bullet.h"
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/movingsprite.h"
|
#include "movingsprite.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/smartsprite.h"
|
#include "smartsprite.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "fade.h"
|
#include "fade.h"
|
||||||
#include "item.h"
|
#include "item.h"
|
||||||
|
|||||||
+4
-4
@@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/smartsprite.h"
|
#include "smartsprite.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
|
|
||||||
// Clase GameLogo
|
// Clase GameLogo
|
||||||
|
|||||||
File renamed without changes.
@@ -1,13 +1,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
#include "fade.h"
|
#include "fade.h"
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -1,13 +1,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
#include "tiledbg.h"
|
#include "tiledbg.h"
|
||||||
|
|||||||
+7
-7
@@ -1,13 +1,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/smartsprite.h"
|
#include "smartsprite.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "common/writer.h"
|
#include "writer.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/animatedsprite.h"
|
#include "animatedsprite.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
// Tipos de objetos
|
// Tipos de objetos
|
||||||
#define ITEM_POINTS_1_DISK 1
|
#define ITEM_POINTS_1_DISK 1
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6
-6
@@ -1,12 +1,12 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Esta clase sirve para añadir elementos hiScoreEntry_r a un vector (tabla), de manera
|
Esta clase sirve para añadir elementos hiScoreEntry_r a un vector (tabla), de manera
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
|
|
||||||
extern param_t param;
|
extern param_t param;
|
||||||
|
|||||||
+5
-5
@@ -1,11 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/animatedsprite.h"
|
#include "animatedsprite.h"
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/texture.h"
|
#include "texture.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
// Estados del jugador
|
// Estados del jugador
|
||||||
#define PLAYER_STATUS_WALKING_LEFT 0
|
#define PLAYER_STATUS_WALKING_LEFT 0
|
||||||
|
|||||||
+5
-5
@@ -1,11 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
@@ -5,7 +5,7 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "../const.h"
|
#include "const.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#define SCREEN_FILTER_NEAREST 0
|
#define SCREEN_FILTER_NEAREST 0
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
|
|
||||||
// Modos de funcionamiento para el tileado de fondo
|
// Modos de funcionamiento para el tileado de fondo
|
||||||
|
|||||||
+9
-9
@@ -1,15 +1,15 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include "common/asset.h"
|
#include "asset.h"
|
||||||
#include "common/input.h"
|
#include "input.h"
|
||||||
#include "common/jail_audio.h"
|
#include "jail_audio.h"
|
||||||
#include "common/movingsprite.h"
|
#include "movingsprite.h"
|
||||||
#include "common/screen.h"
|
#include "screen.h"
|
||||||
#include "common/smartsprite.h"
|
#include "smartsprite.h"
|
||||||
#include "common/sprite.h"
|
#include "sprite.h"
|
||||||
#include "common/text.h"
|
#include "text.h"
|
||||||
#include "common/utils.h"
|
#include "utils.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "fade.h"
|
#include "fade.h"
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user