mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-15 11:39:09 -04:00
update defines for new format etc (#5760)
This commit is contained in:
@ -252,6 +252,9 @@
|
||||
#ifndef SUPPORT_FILEFORMAT_PIC
|
||||
#define SUPPORT_FILEFORMAT_PIC 0 // Disabled by default
|
||||
#endif
|
||||
#ifdef SUPPORT_FILEFORMAT_PNM
|
||||
#define SUPPORT_FILEFORMAT_PNM 0 // Disabled by default
|
||||
#endif
|
||||
#ifndef SUPPORT_FILEFORMAT_KTX
|
||||
#define SUPPORT_FILEFORMAT_KTX 0 // Disabled by default
|
||||
#endif
|
||||
|
||||
18
src/raudio.c
18
src/raudio.c
@ -11,22 +11,22 @@
|
||||
* - Play/Stop/Pause/Resume loaded audio
|
||||
*
|
||||
* CONFIGURATION:
|
||||
* #define SUPPORT_MODULE_RAUDIO
|
||||
* #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
|
||||
* #define SUPPORT_FILEFORMAT_OGG
|
||||
* #define SUPPORT_FILEFORMAT_MP3
|
||||
* #define SUPPORT_FILEFORMAT_QOA
|
||||
* #define SUPPORT_FILEFORMAT_FLAC
|
||||
* #define SUPPORT_FILEFORMAT_XM
|
||||
* #define SUPPORT_FILEFORMAT_MOD
|
||||
* #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, comment unrequired #define in this module
|
||||
* supported by default, to remove support, #define as 0 in this module or your build system
|
||||
*
|
||||
* DEPENDENCIES:
|
||||
* miniaudio.h - Audio device management lib (https://github.com/mackron/miniaudio)
|
||||
|
||||
16
src/rcore.c
16
src/rcore.c
@ -35,31 +35,31 @@
|
||||
* - Memory framebuffer output, using software renderer, no OS required
|
||||
*
|
||||
* CONFIGURATION:
|
||||
* #define SUPPORT_CAMERA_SYSTEM
|
||||
* #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
|
||||
* #define SUPPORT_GESTURES_SYSTEM 1
|
||||
* Gestures module is included (rgestures.h) to support gestures detection: tap, hold, swipe, drag
|
||||
*
|
||||
* #define SUPPORT_MOUSE_GESTURES
|
||||
* #define SUPPORT_MOUSE_GESTURES 1
|
||||
* Mouse gestures are directly mapped like touches and processed by gestures system
|
||||
*
|
||||
* #define SUPPORT_BUSY_WAIT_LOOP
|
||||
* #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
|
||||
* #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
|
||||
* #define SUPPORT_SCREEN_CAPTURE 1
|
||||
* Allow automatic screen capture of current screen pressing F12, defined in KeyCallback()
|
||||
*
|
||||
* #define SUPPORT_COMPRESSION_API
|
||||
* #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
|
||||
* #define SUPPORT_AUTOMATION_EVENTS 1
|
||||
* Support automatic events recording and playing, useful for automated testing systems or AI based game playing
|
||||
*
|
||||
* DEPENDENCIES:
|
||||
|
||||
@ -3,19 +3,19 @@
|
||||
* rmodels - Basic functions to draw 3d shapes and load and draw 3d models
|
||||
*
|
||||
* CONFIGURATION:
|
||||
* #define SUPPORT_MODULE_RMODELS
|
||||
* #define SUPPORT_MODULE_RMODELS 1
|
||||
* rmodels module is included in the build
|
||||
*
|
||||
* #define SUPPORT_FILEFORMAT_OBJ
|
||||
* #define SUPPORT_FILEFORMAT_MTL
|
||||
* #define SUPPORT_FILEFORMAT_IQM
|
||||
* #define SUPPORT_FILEFORMAT_GLTF
|
||||
* #define SUPPORT_FILEFORMAT_GLTF_WRITE
|
||||
* #define SUPPORT_FILEFORMAT_VOX
|
||||
* #define SUPPORT_FILEFORMAT_M3D
|
||||
* #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
|
||||
* #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
|
||||
*
|
||||
|
||||
@ -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
|
||||
* #define SUPPORT_MODULE_RSHAPES 1
|
||||
* rshapes module is included in the build
|
||||
*
|
||||
* #define SUPPORT_QUADS_DRAW_MODE
|
||||
* #define SUPPORT_QUADS_DRAW_MODE 1
|
||||
* Use QUADS instead of TRIANGLES for drawing when possible. Lines-based shapes still use LINES
|
||||
*
|
||||
*
|
||||
|
||||
16
src/rtext.c
16
src/rtext.c
@ -3,22 +3,22 @@
|
||||
* rtext - Basic functions to load fonts and draw text
|
||||
*
|
||||
* CONFIGURATION:
|
||||
* #define SUPPORT_MODULE_RTEXT
|
||||
* #define SUPPORT_MODULE_RTEXT 1
|
||||
* rtext module is included in the build
|
||||
*
|
||||
* #define SUPPORT_FILEFORMAT_FNT
|
||||
* #define SUPPORT_FILEFORMAT_TTF
|
||||
* #define SUPPORT_FILEFORMAT_BDF
|
||||
* #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, comment unrequired #define in this module
|
||||
* supported by default, to remove support, #define as 0 in this module or your build system
|
||||
*
|
||||
* #define TEXTSPLIT_MAX_TEXT_BUFFER_LENGTH
|
||||
* #define MAX_TEXT_BUFFER_LENGTH 1024
|
||||
* TextSplit() function static buffer max size
|
||||
*
|
||||
* #define MAX_TEXTSPLIT_COUNT
|
||||
* #define MAX_TEXTSPLIT_COUNT 128
|
||||
* TextSplit() function static substrings pointers array (pointing to static buffer)
|
||||
*
|
||||
* #define FONT_ATLAS_CORNER_REC_SIZE
|
||||
* #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()]
|
||||
|
||||
@ -3,31 +3,31 @@
|
||||
* rtextures - Basic functions to load and draw textures
|
||||
*
|
||||
* CONFIGURATION:
|
||||
* #define SUPPORT_MODULE_RTEXTURES
|
||||
* #define SUPPORT_MODULE_RTEXTURES 1
|
||||
* rtextures module is included in the build
|
||||
*
|
||||
* #define SUPPORT_FILEFORMAT_BMP
|
||||
* #define SUPPORT_FILEFORMAT_PNG
|
||||
* #define SUPPORT_FILEFORMAT_TGA
|
||||
* #define SUPPORT_FILEFORMAT_JPG
|
||||
* #define SUPPORT_FILEFORMAT_GIF
|
||||
* #define SUPPORT_FILEFORMAT_QOI
|
||||
* #define SUPPORT_FILEFORMAT_PSD
|
||||
* #define SUPPORT_FILEFORMAT_HDR
|
||||
* #define SUPPORT_FILEFORMAT_PIC
|
||||
* #define SUPPORT_FILEFORMAT_PNM
|
||||
* #define SUPPORT_FILEFORMAT_DDS
|
||||
* #define SUPPORT_FILEFORMAT_PKM
|
||||
* #define SUPPORT_FILEFORMAT_KTX
|
||||
* #define SUPPORT_FILEFORMAT_PVR
|
||||
* #define SUPPORT_FILEFORMAT_ASTC
|
||||
* Select desired fileformats to be supported for image data loading. Some of those formats are
|
||||
* supported by default, to remove support, comment unrequired #define in this module
|
||||
* #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
|
||||
* #define SUPPORT_IMAGE_EXPORT 1
|
||||
* Support image export in multiple file formats
|
||||
*
|
||||
* #define SUPPORT_IMAGE_GENERATION
|
||||
* #define SUPPORT_IMAGE_GENERATION 1
|
||||
* Support procedural image generation functionality (gradient, spot, perlin-noise, cellular)
|
||||
*
|
||||
* DEPENDENCIES:
|
||||
|
||||
Reference in New Issue
Block a user