Reestructurar código moviendo utilidades a source/external/

- Crear directorio source/external/ para componentes externos
- Mover sprite.h/.cpp, texture.h/.cpp, dbgtxt.h, stb_image.h a external/
- Actualizar includes en main.cpp y ball.h para nueva estructura
- Modificar CMakeLists.txt y Makefile para incluir external/*.cpp
- Mantener lógica del juego (ball.h/.cpp, main.cpp) en source/
- Mejorar organización y separación de responsabilidades

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-15 08:31:52 +02:00
parent bd40109f57
commit b3c70449dd
9 changed files with 4 additions and 4 deletions

View File

@@ -14,9 +14,9 @@
#include <string> // for operator+, string, to_string
#include <vector> // for vector
#include "ball.h" // for Ball
#include "dbgtxt.h" // for dbg_init, dbg_print
#include "external/dbgtxt.h" // for dbg_init, dbg_print
#include "defines.h" // for SCREEN_WIDTH, SCREEN_HEIGHT, WINDOW_SIZE
#include "texture.h" // for Texture
#include "external/texture.h" // for Texture
// Variables globales
SDL_Window *window = nullptr;