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