From a95c9bd65c1eb84dbbee37ba3b8505a6aa4361b6 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Sun, 29 Jun 2025 17:12:52 +0200 Subject: [PATCH] - Llevats els ultims vestigis de GCWZERO - Updatat Makefile pa SDL3 --- default.gcw0.desktop | 10 ---------- jdraw8.cpp | 5 ----- makefile | 4 ++-- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 default.gcw0.desktop diff --git a/default.gcw0.desktop b/default.gcw0.desktop deleted file mode 100644 index 6888015..0000000 --- a/default.gcw0.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=AEE -Comment=Aventures En Egipte -Icon=icon -Exec=aee -Categories=games;Game;SDL; -Terminal=false - diff --git a/jdraw8.cpp b/jdraw8.cpp index ba6373e..7b9e0bd 100644 --- a/jdraw8.cpp +++ b/jdraw8.cpp @@ -4,13 +4,8 @@ #include "gif.h" #include "jshader.h" -#ifdef GCWZERO -#define SCREEN_WIDTH 320 -#define SCREEN_HEIGHT 240 -#else #define SCREEN_WIDTH 960 #define SCREEN_HEIGHT 720 -#endif JD8_Surface screen = NULL; JD8_Palette main_palette = NULL; diff --git a/makefile b/makefile index 9248eac..0e99dab 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,9 @@ TARGET=aee linux: - g++ *.cpp -lSDL2 -lSDL2_mixer -lGL -o $(TARGET) + g++ *.cpp -lSDL3 -lGL -o $(TARGET) windows: - g++ *.cpp -lmingw32 -lSDL2 -lSDL2_mixer -lopengl32 -mwindows -o $(TARGET) + g++ *.cpp -lmingw32 -lSDL3 -lopengl32 -mwindows -o $(TARGET) clean: rm -rf ./$(TARGET)