From 96e30549f5f79611bd11c1899e36fb6008e886a1 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 16 Apr 2026 00:05:23 +0200 Subject: [PATCH] Align default values on comments for config variables --- src/raudio.c | 16 ++++++++-------- src/rcore.c | 14 +++++++------- src/rmodels.c | 18 +++++++++--------- src/rshapes.c | 4 ++-- src/rtext.c | 16 ++++++++-------- src/rtextures.c | 36 ++++++++++++++++++------------------ 6 files changed, 52 insertions(+), 52 deletions(-) diff --git a/src/raudio.c b/src/raudio.c index 3cd6b37aa..d624755ad 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -11,20 +11,20 @@ * - Play/Stop/Pause/Resume loaded audio * * CONFIGURATION: -* #define SUPPORT_MODULE_RAUDIO 1 +* #define SUPPORT_MODULE_RAUDIO 1 * raudio module is included in the build * * #define RAUDIO_STANDALONE * Define to use the module as standalone library (independently of raylib) * Required types and functions are defined in the same module * -* #define SUPPORT_FILEFORMAT_WAV 1 -* #define SUPPORT_FILEFORMAT_OGG 1 -* #define SUPPORT_FILEFORMAT_MP3 1 -* #define SUPPORT_FILEFORMAT_QOA 1 -* #define SUPPORT_FILEFORMAT_FLAC 0 -* #define SUPPORT_FILEFORMAT_XM 1 -* #define SUPPORT_FILEFORMAT_MOD 1 +* #define SUPPORT_FILEFORMAT_WAV 1 +* #define SUPPORT_FILEFORMAT_OGG 1 +* #define SUPPORT_FILEFORMAT_MP3 1 +* #define SUPPORT_FILEFORMAT_QOA 1 +* #define SUPPORT_FILEFORMAT_FLAC 0 +* #define SUPPORT_FILEFORMAT_XM 1 +* #define SUPPORT_FILEFORMAT_MOD 1 * Selected desired fileformats to be supported for loading. Some of those formats are * supported by default, to remove support, #define as 0 in this module or your build system * diff --git a/src/rcore.c b/src/rcore.c index 46d964961..eb48cc9ad 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -35,31 +35,31 @@ * - Memory framebuffer output, using software renderer, no OS required * * CONFIGURATION: -* #define SUPPORT_CAMERA_SYSTEM 1 +* #define SUPPORT_CAMERA_SYSTEM 1 * Camera module is included (rcamera.h) and multiple predefined cameras are available: * free, 1st/3rd person, orbital, custom * -* #define SUPPORT_GESTURES_SYSTEM 1 +* #define SUPPORT_GESTURES_SYSTEM 1 * Gestures module is included (rgestures.h) to support gestures detection: tap, hold, swipe, drag * -* #define SUPPORT_MOUSE_GESTURES 1 +* #define SUPPORT_MOUSE_GESTURES 1 * Mouse gestures are directly mapped like touches and processed by gestures system * -* #define SUPPORT_BUSY_WAIT_LOOP 1 +* #define SUPPORT_BUSY_WAIT_LOOP 1 * Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used * * #define SUPPORT_PARTIALBUSY_WAIT_LOOP 0 * Use a partial-busy wait loop, in this case frame sleeps for most of the time and runs a busy-wait-loop at the end * -* #define SUPPORT_SCREEN_CAPTURE 1 +* #define SUPPORT_SCREEN_CAPTURE 1 * Allow automatic screen capture of current screen pressing F12, defined in KeyCallback() * -* #define SUPPORT_COMPRESSION_API 1 +* #define SUPPORT_COMPRESSION_API 1 * Support CompressData() and DecompressData() functions, those functions use zlib implementation * provided by stb_image and stb_image_write libraries, so, those libraries must be enabled on textures module * for linkage * -* #define SUPPORT_AUTOMATION_EVENTS 1 +* #define SUPPORT_AUTOMATION_EVENTS 1 * Support automatic events recording and playing, useful for automated testing systems or AI based game playing * * DEPENDENCIES: diff --git a/src/rmodels.c b/src/rmodels.c index 1b39bed5c..012bf24c3 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -3,19 +3,19 @@ * rmodels - Basic functions to draw 3d shapes and load and draw 3d models * * CONFIGURATION: -* #define SUPPORT_MODULE_RMODELS 1 +* #define SUPPORT_MODULE_RMODELS 1 * rmodels module is included in the build * -* #define SUPPORT_FILEFORMAT_OBJ 1 -* #define SUPPORT_FILEFORMAT_MTL 1 -* #define SUPPORT_FILEFORMAT_IQM 1 -* #define SUPPORT_FILEFORMAT_GLTF 1 -* #define SUPPORT_FILEFORMAT_GLTF_WRITE 0 -* #define SUPPORT_FILEFORMAT_VOX 1 -* #define SUPPORT_FILEFORMAT_M3D 1 +* #define SUPPORT_FILEFORMAT_OBJ 1 +* #define SUPPORT_FILEFORMAT_MTL 1 +* #define SUPPORT_FILEFORMAT_IQM 1 +* #define SUPPORT_FILEFORMAT_GLTF 1 +* #define SUPPORT_FILEFORMAT_GLTF_WRITE 0 +* #define SUPPORT_FILEFORMAT_VOX 1 +* #define SUPPORT_FILEFORMAT_M3D 1 * Selected desired fileformats to be supported for model data loading * -* #define SUPPORT_MESH_GENERATION 1 +* #define SUPPORT_MESH_GENERATION 1 * Support procedural mesh generation functions, uses external par_shapes.h library * NOTE: Some generated meshes DO NOT include generated texture coordinates * diff --git a/src/rshapes.c b/src/rshapes.c index 0ceeaa68d..cdd440cf0 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -16,10 +16,10 @@ * a single draw call and it also allows users to configure it the same way with their own fonts * * CONFIGURATION: -* #define SUPPORT_MODULE_RSHAPES 1 +* #define SUPPORT_MODULE_RSHAPES 1 * rshapes module is included in the build * -* #define SUPPORT_QUADS_DRAW_MODE 1 +* #define SUPPORT_QUADS_DRAW_MODE 1 * Use QUADS instead of TRIANGLES for drawing when possible. Lines-based shapes still use LINES * * diff --git a/src/rtext.c b/src/rtext.c index 41f943f26..7b9d5f2c8 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -3,22 +3,22 @@ * rtext - Basic functions to load fonts and draw text * * CONFIGURATION: -* #define SUPPORT_MODULE_RTEXT 1 +* #define SUPPORT_MODULE_RTEXT 1 * rtext module is included in the build * -* #define SUPPORT_FILEFORMAT_FNT 1 -* #define SUPPORT_FILEFORMAT_TTF 1 -* #define SUPPORT_FILEFORMAT_BDF 0 +* #define SUPPORT_FILEFORMAT_FNT 1 +* #define SUPPORT_FILEFORMAT_TTF 1 +* #define SUPPORT_FILEFORMAT_BDF 0 * Selected desired fileformats to be supported for loading. Some of those formats are * supported by default, to remove support, #define as 0 in this module or your build system * -* #define MAX_TEXT_BUFFER_LENGTH 1024 -* TextSplit() function static buffer max size +* #define MAX_TEXT_BUFFER_LENGTH 1024 +* Text functions using static buffer max size * -* #define MAX_TEXTSPLIT_COUNT 128 +* #define MAX_TEXTSPLIT_COUNT 128 * TextSplit() function static substrings pointers array (pointing to static buffer) * -* #define FONT_ATLAS_CORNER_REC_SIZE 3 +* #define FONT_ATLAS_CORNER_REC_SIZE 3 * On font atlas image generation [GenImageFontAtlas()], add a NxN pixels white rectangle * at the bottom-right corner of the atlas. It can be useful to for shapes drawing, to allow * drawing text and shapes with a single draw call [SetShapesTexture()] diff --git a/src/rtextures.c b/src/rtextures.c index 8a815abef..bfe9efe36 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -3,31 +3,31 @@ * rtextures - Basic functions to load and draw textures * * CONFIGURATION: -* #define SUPPORT_MODULE_RTEXTURES 1 +* #define SUPPORT_MODULE_RTEXTURES 1 * rtextures module is included in the build * -* #define SUPPORT_FILEFORMAT_BMP 1 -* #define SUPPORT_FILEFORMAT_PNG 1 -* #define SUPPORT_FILEFORMAT_TGA 0 -* #define SUPPORT_FILEFORMAT_JPG 0 -* #define SUPPORT_FILEFORMAT_GIF 1 -* #define SUPPORT_FILEFORMAT_QOI 1 -* #define SUPPORT_FILEFORMAT_PSD 0 -* #define SUPPORT_FILEFORMAT_HDR 0 -* #define SUPPORT_FILEFORMAT_PIC 0 -* #define SUPPORT_FILEFORMAT_PNM 0 -* #define SUPPORT_FILEFORMAT_DDS 1 -* #define SUPPORT_FILEFORMAT_PKM 0 -* #define SUPPORT_FILEFORMAT_KTX 0 -* #define SUPPORT_FILEFORMAT_PVR 0 -* #define SUPPORT_FILEFORMAT_ASTC 0 +* #define SUPPORT_FILEFORMAT_BMP 1 +* #define SUPPORT_FILEFORMAT_PNG 1 +* #define SUPPORT_FILEFORMAT_TGA 0 +* #define SUPPORT_FILEFORMAT_JPG 0 +* #define SUPPORT_FILEFORMAT_GIF 1 +* #define SUPPORT_FILEFORMAT_QOI 1 +* #define SUPPORT_FILEFORMAT_PSD 0 +* #define SUPPORT_FILEFORMAT_HDR 0 +* #define SUPPORT_FILEFORMAT_PIC 0 +* #define SUPPORT_FILEFORMAT_PNM 0 +* #define SUPPORT_FILEFORMAT_DDS 1 +* #define SUPPORT_FILEFORMAT_PKM 0 +* #define SUPPORT_FILEFORMAT_KTX 0 +* #define SUPPORT_FILEFORMAT_PVR 0 +* #define SUPPORT_FILEFORMAT_ASTC 0 * Selected desired fileformats to be supported for image data loading. Some of those formats are * supported by default, to remove support, #define as 0 in this module or your build system * -* #define SUPPORT_IMAGE_EXPORT 1 +* #define SUPPORT_IMAGE_EXPORT 1 * Support image export in multiple file formats * -* #define SUPPORT_IMAGE_GENERATION 1 +* #define SUPPORT_IMAGE_GENERATION 1 * Support procedural image generation functionality (gradient, spot, perlin-noise, cellular) * * DEPENDENCIES: