From aefdb9f9cf10e768cc1818cf6ef7887110833810 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 21 Aug 2021 23:57:41 +0200 Subject: [PATCH] REMOVED: Old function names defines As far as next raylib version will be 4.0, no backward compatibility hacks will be maintained. --- src/raylib.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/raylib.h b/src/raylib.h index c7b4b282b..11ff587df 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -134,6 +134,8 @@ // Other modules (raymath, rlgl) also require some of those types, so, // to be able to use those other modules as standalone (not depending on raylib) // this defines are very useful for internal check and avoid type (re)definitions +#define RL_COLOR_TYPE +#define RL_RECTANGLE_TYPE #define RL_VECTOR2_TYPE #define RL_VECTOR3_TYPE #define RL_VECTOR4_TYPE @@ -170,14 +172,6 @@ #define MAGENTA CLITERAL(Color){ 255, 0, 255, 255 } // Magenta #define RAYWHITE CLITERAL(Color){ 245, 245, 245, 255 } // My own White (raylib logo) -// WARNING: Temporal hacks to avoid breaking old codebases using -// deprecated raylib implementations or definitions -#define GetImageData LoadImageColors -#define FILTER_POINT TEXTURE_FILTER_POINT -#define FILTER_BILINEAR TEXTURE_FILTER_BILINEAR -#define MAP_DIFFUSE MATERIAL_MAP_DIFFUSE -#define UNCOMPRESSED_R8G8B8A8 PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 - //---------------------------------------------------------------------------------- // Structures Definition //----------------------------------------------------------------------------------