From 2b2b822540f6c9a35405f1830f3ce1ac5b7ddedf Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 8 Aug 2022 18:35:04 +0200 Subject: [PATCH] Actualizado gitignore --- .gitignore | 2 +- source/director.cpp | 1 - source/map.cpp | 4 ---- source/smartsprite.h | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 8ba086c..60d91cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .vscode/* .DS_Store thumbs.db -bin +bin/* diff --git a/source/director.cpp b/source/director.cpp index d6d8a8b..44af72a 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -1,5 +1,4 @@ #include "const.h" -#include "struct.h" #include "director.h" #include diff --git a/source/map.cpp b/source/map.cpp index 8857f9a..4a2bccc 100644 --- a/source/map.cpp +++ b/source/map.cpp @@ -17,8 +17,6 @@ Map::~Map() sprite_actor = nullptr; background = nullptr; - //free(tile); - //free(actor); delete[] tile; delete[] actor; } @@ -38,8 +36,6 @@ void Map::init(SDL_Renderer *renderer, LTexture *texture1, LTexture *texture2, L src_rect = {0, 0, 0, 0}; dst_rect = {0, 0, 0, 0}; - //tile = (Uint8 *)malloc(1000 * sizeof(Uint8)); - //actor = (Uint8 *)malloc(1000 * sizeof(Uint8)); w = 0; h = 0; room = 0; diff --git a/source/smartsprite.h b/source/smartsprite.h index a7b6251..654bda9 100644 --- a/source/smartsprite.h +++ b/source/smartsprite.h @@ -1,5 +1,4 @@ #pragma once -#include "struct.h" #include "animatedsprite.h" #ifndef SMARTSPRITE_H