summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2021-08-21 23:57:41 +0200
committerRay <[email protected]>2021-08-21 23:57:41 +0200
commitaefdb9f9cf10e768cc1818cf6ef7887110833810 (patch)
treeb2e7d64cb406ebef4254bec18a7ca2085b330058
parentff523d55ac8e7a715379e8493382a37f43531b85 (diff)
downloadraylib-aefdb9f9cf10e768cc1818cf6ef7887110833810.tar.gz
raylib-aefdb9f9cf10e768cc1818cf6ef7887110833810.zip
REMOVED: Old function names defines
As far as next raylib version will be 4.0, no backward compatibility hacks will be maintained.
-rw-r--r--src/raylib.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/raylib.h b/src/raylib.h
index c7b4b282..11ff587d 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
//----------------------------------------------------------------------------------