Update to SDL3 (#1283)

This commit is contained in:
Gustavo Ribeiro Croscato
2026-08-22 12:09:53 -04:00
committed by GitHub
parent 75ceaec54e
commit a8cc0ec12a
68 changed files with 786 additions and 704 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#define HELP_DEFINITION
#include "UtilityClass.h"
#include <SDL.h>
#include <SDL3/SDL.h>
#include <sstream>
#include "Constants.h"
@@ -216,7 +216,7 @@ std::string UtilityClass::number_words(int _t, const char* number_class)
bool UtilityClass::intersects( SDL_Rect A, SDL_Rect B )
{
return (SDL_HasIntersection(&A, &B) == SDL_TRUE);
return (SDL_HasRectIntersection(&A, &B) == true);
}
void UtilityClass::updateglow(void)