|
|
@ -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 |
|
|
|
//---------------------------------------------------------------------------------- |
|
|
|