summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
AgeCommit message (Collapse)Author
2022-08-20ADDED: Support M3D model file format (meshes and materials) #2648Ray
2022-08-01REMOVED: Config option: `SUPPORT_MOUSE_CURSOR_POINT`Ray
2022-07-25Update yearRay
2022-07-25Update config.hRay
2022-07-05WARNING: BREAKING: REMOVED: `*StorageValue()` functionsRay
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-06-12REVIEWED: `FilePathList`, consider maximum capacityRay
2022-06-11Update config.hRay
2021-12-21Re-enable QOI support (#2236)Uneven Prankster
* Updated QOI to latest version. * Enable back QOI support! * Stray extra space! Should be good now.
2021-12-04Support custom modules inclusionRay
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-12-01Disabled QOI image formatraysan5
2021-11-27ADDED: Support for QOI image formatRay
2021-11-11Expose `MAX_KEYBOARD_KEYS` and `MAX_MOUSE_BUTTONS` #2127Ray
2021-10-19Reviewed latest PR formatting and detailsraysan5
2021-10-19Support create OpenGL debug context in OpenGL 4.3 (#2068)warzes
* - support create OpenGL debug context in OpenGL 4.3 * - additional events in debug message - fixed glEnable(GL_DEBUG_OUTPUT) * Reviewed OpenGL Debug Context
2021-10-05REVIEWED: API functions specifiersraysan5
2021-09-22WARNING: MODULES RENAMING!!!Ray
raylib modules have been slightly renamed to add some identity and note that they are independent modules that can be used as standalone separate parts of raylib if required. The renamed modules are: - `core` -> `rcore` - `shapes` -> `rshapes` - `textures` -> `rtextures` - `text` -> `rtext` - `models` -> `rmodels` - `camera` -> `rcamera` - `gestures` -> `rgestures` - `core` -> `rcore` All the build systems has been adapted to this change.
2021-09-10REVIEWED: Touch input system #1975 #1960Ray
- ADDED: `GetTouchPointCount()` to core module, removed from gestures module. - Support multiple touch points: `MAX_TOUCH_POINTS`.
2021-09-04new models_magicavoxel_loading example (#1940)procfxgen
* new models_magicavoxel_loading example * Portable header-only file "magicavoxel_loader.h" for MagicaVoxel loader example. * models_magicavoxel_loading example added to CMakeLists.txt and Makefile * fix models_magicavoxel_loading example for linux. * * vox_loader into "src/external/vox_loader.h" * vox file support for "models.c" * updated example "models/models_magicavoxel_loading.c" * * Fix Vox_FreeArrays (removed memory leak) * * removed magicavoxel_loader.h * * Revert vs2019 solution
2021-07-31REVIEWED: rlgl defines for consistencyraysan5
2021-07-30REVIEWED: Added new mechanism to avoid data types collision between modules ↵raysan5
that share same data types and can be used in standalone mode
2021-07-26Remove unused UWP defines (#1894)Uneven Prankster
* Unused UWP define removal * Further removal of unusued UWP defines
2021-06-25WARNING: REVIEWED: Default shader uniform namesRay
When a shader is loaded, by default, several locations are tried to be set automatically.
2021-06-23WARNING: BREAKING: Functions renamed!Ray
RENAMED: GetCodepoints() -> LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer. ADDED: UnloadCodepoints() to safely free loaded codepoints RENAMED: GetNextCodepoint() -> GetCodepoint()
2021-06-19Disable `SUPPORT_EVENTS_AUTOMATION` by defaultraysan5
2021-06-17Avoid SUPPORT_MOUSE_CURSOR_POINTRay
2021-06-17RENAMED: `SwapBuffers()` -> `SwapScreenBuffer()`Ray
Avoid possible symbol collisions
2021-06-17WARNING: Exposed `SUPPORT_CUSTOM_FRAME_CONTROL` #1729Ray
2021-06-17Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINTRay
2021-06-11NEW CRAZY FEATURE: EVENTS AUTOMATION!Ray
https://youtu.be/3dZenkpmRzM
2021-05-07Convert the half sleep to a sleep that is a fraction of the target FPS ↵Jeffery Myers
(Default 95%) to reduce CPU use. (#1756) Co-authored-by: Jeffery Myers <[email protected]>
2021-05-04Expose RAYLIB_VERSION in raylib.h #1747Ray
2021-04-18WARNING: REDESIGNED: rlLoadExtensions() #1295Ray
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-06REDESIGNED: Vr stereo renderingRay
2021-04-05Update version to raylib 3.7raysan5
2021-04-02Remove old flagraysan5
2021-03-21[AUDIO] Use device native sample rates (#1660)Jeffery Myers
* Init MinAudio to a sample rate of 0 to let the device pick the rate. Read the rate from the device after it starts up. Convert AUDIO_DEVICE_SAMPLE_RATE from a #def into an int, that is set from the device's rate Set all sample systems to use the AUDIO_DEVICE_SAMPLE_RATE as the target rate to minimize resampling. * use device sample rate instead of separate var let config define a device sample rate if it wants to, but let the default be 0 for native rate. * Don't use fixed sample rates for tracker files. Remove config default audio buffer size and replace with a function that computes one for a reasonable frame rate at the output sample rate.
2021-03-20BIG CHANGE: REDESIGNED: Vr device simulator #1582Ray
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
2021-03-19Removed trailing spacesRay
2021-03-12Add config flag: SUPPORT_WINMM_HIGHRES_TIMER #1641Ray
Useful to avoid WinMM requirement and useful to avoid possible performance issues.
2021-03-04ADDED: Config flag: SUPPORT_STANDARD_FILEIORay
This new flag allows omitting stdio.h library in case of a custom implementation is used.
2021-02-22LoadMusicStreamFromMemory (#1606)Agnis "NeZvērs" Aldiņš
* define SUPPORT_FILEFORMAT_MOD in config.h * RLAPI LoadModuleFromData() definition in raylib.h * LoadModuleFromData() definition in raudio.h * LoadModuleFromData implementation in raudio.c * Rename API to LoadMusicStreamFromMemory & default unload. * raudio.c tabs to spaces * Styling curly bracket and removing dev debugging TRACELOG Co-authored-by: nezvers <[email protected]>
2021-02-21[models] Move vboId ALLOC/FREE to rlgl module #1603Ray
Actually, it seems more logical that rlgl takes care of OpenGL data than the models module... Also, models module loaded vertex data is unloaded by models module.
2021-01-25Removing config.h.in file (#1546)hristo
CMake relied on this file for configurations and also was interfering in the regular config.h by having a separate definition if building with CMake. This was not entirely correct so instead we will define compile time definitions separately through CMake (CompileDefinitions.cmake) and also will use the provided EXTERNAL_CONFIG_FLAGS that I found that will not use config.h in through the build process. I also introduced a new compiler option (CUSTOMIZE_BUILD) that when OFF will use the default config.h and when ON will show other options for redefining your own options. Fixed an error in rlgl.h where if you have both RLGL_STANDALONE and SUPPORT_VR_SIMULATOR you get a compile time error.
2021-01-13Big cmake changes (#1514)hristo
* Delete emscripten.cmake This file is not needed at this point. EMSDK provides a toolchain file that has a lot more things in it and is better supported. Project currently works fine with the documentation provided in Emscripten SDK on how to build projects. * First pass file separation. The main two files are cleaner now. Only important things can be seen. Major changes include: - raylib_static is now the alias instead of raylib - Repeating segments are removed and pulled into separate files into <root>/cmake - File is reordered to make more sense - Installs are better structured - Library is build into an output directory "raylib" instead of "src" - All public header files are now set as a public header file - Source files need to be listed (it is a bad practice to capture them using wildcards and file globs) - CMakeLists are better commented * Second pass on the example dirs. They are quite complex so I'm more hesitant to do major changes. Also it works pretty well. Noticed that I forgot one of the seperated files and added it into src/CMakeLists.txt. * Returned the header copy as it was convenient to have the public headers copied. * A better description to the variable RAYLIB_IS_MAIN Co-authored-by: Rob Loach <[email protected]> * Remove debug message Co-authored-by: Rob Loach <[email protected]> * Improvements based on review. * Simplify the install condition to not be platform specific as it was before. Co-authored-by: Alexander Neumann <[email protected]> * Remove some CMAKE variables as they don't affect the build in any way Co-authored-by: Alexander Neumann <[email protected]> Co-authored-by: Rob Loach <[email protected]> Co-authored-by: Alexander Neumann <[email protected]>
2021-01-12REDESIGN: Compresion APIRay
Now it compresses/decompresses valid DEFLATE streams instead of zlib streams. It uses the minimal and efficient libraries: sdefl/sinfl.
2021-01-02Update year to 2021raysan5
2020-12-19Set version for raylib 3.5Ray
2020-11-30Review some config optionsRay
2020-11-23REDESIGNED: Window state config #1367 -WIP-Ray
Some flags not working properly yet...
2020-11-20REPLACED: rgif.h by msf_gif.hRay
The improvement in performance is considerable!